|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
http://functions.wolfram.com/01.21.27.0041.01
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Tanh[z] == (-I) Sqrt[Sec[I z]^2 - 1] (-1)^Floor[-((2 Im[z])/Pi)]
(1 - (1 + (-1)^(Floor[-(Im[z]/Pi)] + Floor[Im[z]/Pi])) UnitStep[-Re[z]])
(1 - (1 + (-1)^(Floor[1/2 - Im[z]/Pi] + Floor[-(1/2) + Im[z]/Pi]))
UnitStep[Re[z]])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Cell[BoxData[RowBox[List[RowBox[List["Tanh", "[", "z", "]"]], "\[Equal]", RowBox[List[RowBox[List["-", "\[ImaginaryI]"]], SqrtBox[RowBox[List[SuperscriptBox[RowBox[List["Sec", "[", RowBox[List["\[ImaginaryI]", " ", "z"]], "]"]], "2"], "-", "1"]]], " ", SuperscriptBox[RowBox[List["(", RowBox[List["-", "1"]], ")"]], RowBox[List["Floor", "[", RowBox[List["-", FractionBox[RowBox[List["2", " ", RowBox[List["Im", "[", "z", "]"]]]], "\[Pi]"]]], "]"]]], " ", RowBox[List["(", RowBox[List["1", "-", RowBox[List[RowBox[List["(", RowBox[List["1", "+", SuperscriptBox[RowBox[List["(", RowBox[List["-", "1"]], ")"]], RowBox[List[RowBox[List["Floor", "[", RowBox[List["-", FractionBox[RowBox[List["Im", "[", "z", "]"]], "\[Pi]"]]], "]"]], "+", RowBox[List["Floor", "[", FractionBox[RowBox[List["Im", "[", "z", "]"]], "\[Pi]"], "]"]]]]]]], ")"]], " ", RowBox[List["UnitStep", "[", RowBox[List["-", RowBox[List["Re", "[", "z", "]"]]]], "]"]]]]]], ")"]], " ", RowBox[List["(", RowBox[List["1", "-", RowBox[List[RowBox[List["(", RowBox[List["1", "+", SuperscriptBox[RowBox[List["(", RowBox[List["-", "1"]], ")"]], RowBox[List[RowBox[List["Floor", "[", RowBox[List[FractionBox["1", "2"], "-", FractionBox[RowBox[List["Im", "[", "z", "]"]], "\[Pi]"]]], "]"]], "+", RowBox[List["Floor", "[", RowBox[List[RowBox[List["-", FractionBox["1", "2"]]], "+", FractionBox[RowBox[List["Im", "[", "z", "]"]], "\[Pi]"]]], "]"]]]]]]], ")"]], " ", RowBox[List["UnitStep", "[", RowBox[List["Re", "[", "z", "]"]], "]"]]]]]], ")"]]]]]]]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<math xmlns='http://www.w3.org/1998/Math/MathML' mathematica:form='TraditionalForm' xmlns:mathematica='http://www.wolfram.com/XML/'> <semantics> <mrow> <mrow> <mi> tanh </mi> <mo> ⁡ </mo> <mo> ( </mo> <mi> z </mi> <mo> ) </mo> </mrow> <mo> ⩵ </mo> <mrow> <mrow> <mo> - </mo> <mi> ⅈ </mi> </mrow> <mo> ⁢ </mo> <msqrt> <mrow> <mrow> <msup> <mi> sec </mi> <mn> 2 </mn> </msup> <mo> ( </mo> <mrow> <mi> ⅈ </mi> <mo> ⁢ </mo> <mi> z </mi> </mrow> <mo> ) </mo> </mrow> <mo> - </mo> <mn> 1 </mn> </mrow> </msqrt> <mo> ⁢ </mo> <msup> <mrow> <mo> ( </mo> <mrow> <mo> - </mo> <mn> 1 </mn> </mrow> <mo> ) </mo> </mrow> <mrow> <mo> ⌊ </mo> <mrow> <mo> - </mo> <mfrac> <mrow> <mn> 2 </mn> <mo> ⁢ </mo> <mrow> <mi> Im </mi> <mo> ⁡ </mo> <mo> ( </mo> <mi> z </mi> <mo> ) </mo> </mrow> </mrow> <mi> π </mi> </mfrac> </mrow> <mo> ⌋ </mo> </mrow> </msup> <mo> ⁢ </mo> <mrow> <mo> ( </mo> <mrow> <mn> 1 </mn> <mo> - </mo> <mrow> <mrow> <mo> ( </mo> <mrow> <mn> 1 </mn> <mo> + </mo> <msup> <mrow> <mo> ( </mo> <mrow> <mo> - </mo> <mn> 1 </mn> </mrow> <mo> ) </mo> </mrow> <mrow> <mrow> <mo> ⌊ </mo> <mfrac> <mrow> <mi> Im </mi> <mo> ⁡ </mo> <mo> ( </mo> <mi> z </mi> <mo> ) </mo> </mrow> <mi> π </mi> </mfrac> <mo> ⌋ </mo> </mrow> <mo> + </mo> <mrow> <mo> ⌊ </mo> <mrow> <mo> - </mo> <mfrac> <mrow> <mi> Im </mi> <mo> ⁡ </mo> <mo> ( </mo> <mi> z </mi> <mo> ) </mo> </mrow> <mi> π </mi> </mfrac> </mrow> <mo> ⌋ </mo> </mrow> </mrow> </msup> </mrow> <mo> ) </mo> </mrow> <mo> ⁢ </mo> <mrow> <mi> θ </mi> <mo> ⁡ </mo> <mo> ( </mo> <mrow> <mo> - </mo> <mrow> <mi> Re </mi> <mo> ⁡ </mo> <mo> ( </mo> <mi> z </mi> <mo> ) </mo> </mrow> </mrow> <mo> ) </mo> </mrow> </mrow> </mrow> <mo> ) </mo> </mrow> <mo> ⁢ </mo> <mrow> <mo> ( </mo> <mrow> <mn> 1 </mn> <mo> - </mo> <mrow> <mrow> <mo> ( </mo> <mrow> <mn> 1 </mn> <mo> + </mo> <msup> <mrow> <mo> ( </mo> <mrow> <mo> - </mo> <mn> 1 </mn> </mrow> <mo> ) </mo> </mrow> <mrow> <mrow> <mo> ⌊ </mo> <mrow> <mfrac> <mrow> <mi> Im </mi> <mo> ⁡ </mo> <mo> ( </mo> <mi> z </mi> <mo> ) </mo> </mrow> <mi> π </mi> </mfrac> <mo> - </mo> <mfrac> <mn> 1 </mn> <mn> 2 </mn> </mfrac> </mrow> <mo> ⌋ </mo> </mrow> <mo> + </mo> <mrow> <mo> ⌊ </mo> <mrow> <mfrac> <mn> 1 </mn> <mn> 2 </mn> </mfrac> <mo> - </mo> <mfrac> <mrow> <mi> Im </mi> <mo> ⁡ </mo> <mo> ( </mo> <mi> z </mi> <mo> ) </mo> </mrow> <mi> π </mi> </mfrac> </mrow> <mo> ⌋ </mo> </mrow> </mrow> </msup> </mrow> <mo> ) </mo> </mrow> <mo> ⁢ </mo> <mrow> <mi> θ </mi> <mo> ⁡ </mo> <mo> ( </mo> <mrow> <mi> Re </mi> <mo> ⁡ </mo> <mo> ( </mo> <mi> z </mi> <mo> ) </mo> </mrow> <mo> ) </mo> </mrow> </mrow> </mrow> <mo> ) </mo> </mrow> </mrow> </mrow> <annotation-xml encoding='MathML-Content'> <apply> <eq /> <apply> <tanh /> <ci> z </ci> </apply> <apply> <times /> <apply> <times /> <cn type='integer'> -1 </cn> <imaginaryi /> </apply> <apply> <power /> <apply> <plus /> <apply> <power /> <apply> <sec /> <apply> <times /> <imaginaryi /> <ci> z </ci> </apply> </apply> <cn type='integer'> 2 </cn> </apply> <cn type='integer'> -1 </cn> </apply> <cn type='rational'> 1 <sep /> 2 </cn> </apply> <apply> <power /> <cn type='integer'> -1 </cn> <apply> <floor /> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <times /> <cn type='integer'> 2 </cn> <apply> <imaginary /> <ci> z </ci> </apply> <apply> <power /> <pi /> <cn type='integer'> -1 </cn> </apply> </apply> </apply> </apply> </apply> <apply> <plus /> <cn type='integer'> 1 </cn> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <times /> <apply> <plus /> <cn type='integer'> 1 </cn> <apply> <power /> <cn type='integer'> -1 </cn> <apply> <plus /> <apply> <floor /> <apply> <times /> <apply> <imaginary /> <ci> z </ci> </apply> <apply> <power /> <pi /> <cn type='integer'> -1 </cn> </apply> </apply> </apply> <apply> <floor /> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <times /> <apply> <imaginary /> <ci> z </ci> </apply> <apply> <power /> <pi /> <cn type='integer'> -1 </cn> </apply> </apply> </apply> </apply> </apply> </apply> </apply> <apply> <ci> θ </ci> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <real /> <ci> z </ci> </apply> </apply> </apply> </apply> </apply> </apply> <apply> <plus /> <cn type='integer'> 1 </cn> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <times /> <apply> <plus /> <cn type='integer'> 1 </cn> <apply> <power /> <cn type='integer'> -1 </cn> <apply> <plus /> <apply> <floor /> <apply> <plus /> <apply> <times /> <apply> <imaginary /> <ci> z </ci> </apply> <apply> <power /> <pi /> <cn type='integer'> -1 </cn> </apply> </apply> <apply> <times /> <cn type='integer'> -1 </cn> <cn type='rational'> 1 <sep /> 2 </cn> </apply> </apply> </apply> <apply> <floor /> <apply> <plus /> <cn type='rational'> 1 <sep /> 2 </cn> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <times /> <apply> <imaginary /> <ci> z </ci> </apply> <apply> <power /> <pi /> <cn type='integer'> -1 </cn> </apply> </apply> </apply> </apply> </apply> </apply> </apply> </apply> <apply> <ci> θ </ci> <apply> <real /> <ci> z </ci> </apply> </apply> </apply> </apply> </apply> </apply> </apply> </annotation-xml> </semantics> </math>
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| Cell[BoxData[RowBox[List[RowBox[List["HoldPattern", "[", RowBox[List["Tanh", "[", "z_", "]"]], "]"]], "\[RuleDelayed]", RowBox[List[RowBox[List["-", "\[ImaginaryI]"]], " ", SqrtBox[RowBox[List[SuperscriptBox[RowBox[List["Sec", "[", RowBox[List["\[ImaginaryI]", " ", "z"]], "]"]], "2"], "-", "1"]]], " ", SuperscriptBox[RowBox[List["(", RowBox[List["-", "1"]], ")"]], RowBox[List["Floor", "[", RowBox[List["-", FractionBox[RowBox[List["2", " ", RowBox[List["Im", "[", "z", "]"]]]], "\[Pi]"]]], "]"]]], " ", RowBox[List["(", RowBox[List["1", "-", RowBox[List[RowBox[List["(", RowBox[List["1", "+", SuperscriptBox[RowBox[List["(", RowBox[List["-", "1"]], ")"]], RowBox[List[RowBox[List["Floor", "[", RowBox[List["-", FractionBox[RowBox[List["Im", "[", "z", "]"]], "\[Pi]"]]], "]"]], "+", RowBox[List["Floor", "[", FractionBox[RowBox[List["Im", "[", "z", "]"]], "\[Pi]"], "]"]]]]]]], ")"]], " ", RowBox[List["UnitStep", "[", RowBox[List["-", RowBox[List["Re", "[", "z", "]"]]]], "]"]]]]]], ")"]], " ", RowBox[List["(", RowBox[List["1", "-", RowBox[List[RowBox[List["(", RowBox[List["1", "+", SuperscriptBox[RowBox[List["(", RowBox[List["-", "1"]], ")"]], RowBox[List[RowBox[List["Floor", "[", RowBox[List[FractionBox["1", "2"], "-", FractionBox[RowBox[List["Im", "[", "z", "]"]], "\[Pi]"]]], "]"]], "+", RowBox[List["Floor", "[", RowBox[List[RowBox[List["-", FractionBox["1", "2"]]], "+", FractionBox[RowBox[List["Im", "[", "z", "]"]], "\[Pi]"]]], "]"]]]]]]], ")"]], " ", RowBox[List["UnitStep", "[", RowBox[List["Re", "[", "z", "]"]], "]"]]]]]], ")"]]]]]]]] |
|
|
|
|
|
|
|
|
|
|
Date Added to functions.wolfram.com (modification date)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|