Skip to content

Arccsc ​

Arccosecant, the inverse of Csc.

✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram LanguageArcCsc!
Arccsc(x)the value yy with csc⁡(y)=x\csc(y) = x.
SageMatharccsc(x)SymPyacsc(x)mpmathacsc(x)Juliaenumeratio_ball(_acsc, x)Rustasin(n(1) / x)
Typed signatures
TypePackageApplies
(complex | infinity | quantity) -> numberanalyticreplaces compute-enginealways
(complex | infinity | quantity) -> numbercompute-enginealways

Domain: Elementary functions

Details
  • Differs from Wolfram: past its real domain a rational argument reduces to the exact principal value, on every inverse trigonometric and hyperbolic head alike (Arcsin, Arccos, Arcsec, Arccsc, Arcosh, Artanh, Arcoth, Arsech); Wolfram leaves the exact call unevaluated and gives the same number from N[...]. Checked against mpmath and wolframscript on a grid of rationals to double precision. A float and N(...) already took the same branch. Compiled code is separate: the JavaScript target is real-valued (NaN past the domain), the WGSL target returns a complex pair, and Arcsin and Arccos decline to compile. For 0<∣x∣<10<|x|<1, arccsc⁡(x)=arcsin⁡(1/x)\operatorname{arccsc}(x) = \arcsin(1/x), so arccsc⁡(1/2)=π2−iln⁡(2+3)\operatorname{arccsc}(1/2) = \frac{\pi}{2} - i\ln(2+\sqrt3) (mpmath acsc(0.5)).

Examples

Basic #
live ↗
Inarccsc(1)\mathrm{arccsc}(1)Outπ2\frac{π}{2}
live ↗
Inarccsc(2)\mathrm{arccsc}(2)Outπ6\frac{π}{6}
Scope #

arccsc⁡2=π/4\operatorname{arccsc}\sqrt2 = \pi/4

live ↗
Inarccsc(2)\mathrm{arccsc}(\sqrt{2})Outπ4\frac{π}{4}

An odd function

live ↗
Inarccsc(−2)\mathrm{arccsc}(-2)Out−π6-\frac{π}{6}

Inside (−1,1)(-1, 1) the value is complex

live ↗
Inarccsc(0.5)\mathrm{arccsc}(0.5)Out1.570 796 326 794 896 6−1.316 957 896 924 816 6i1.570\,796\,326\,794\,896\,6-1.316\,957\,896\,924\,816\,6i
live ↗
Inarccsc(∞)\mathrm{arccsc}(∞)Out00

A pole: arccsc⁡0\operatorname{arccsc} 0 is complex infinity

live ↗
Inarccsc(0)\mathrm{arccsc}(0)Out∞~\tilde∞

Derivative, for real ∣x∣>1|x| > 1

live ↗
Indarccsc(x)dx\frac{\mathrm{d}\mathrm{arccsc}(x)}{\mathrm{d}x}Out−1∣x∣x2−1-\frac{1}{\vert x\vert\sqrt{x^2-1}}

Fifty digits of a reciprocal-sine angle

live ↗
InN(arccsc(5),50)N(\mathrm{arccsc}(5), 50)Out0.201 357 920 790 330 791 455 125 552 217 623 410 240 038 081 402 230.201\,357\,920\,790\,330\,791\,455\,125\,552\,217\,623\,410\,240\,038\,081\,402\,23

Threads over a matrix; a zero entry gives complex infinity

live ↗
Inarccsc([[2,−21/2],[0,−21/2]])\mathrm{arccsc}(\bigl\lbrack\bigl\lbrack\sqrt{2}, -2^{1/2}\bigr\rbrack, \bigl\lbrack0, -2^{1/2}\bigr\rbrack\bigr\rbrack)Out[[π4,−π4],[∞~,−π4]]\bigl\lbrack\bigl\lbrack\frac{π}{4}, -\frac{π}{4}\bigr\rbrack, \bigl\lbrack\tilde∞, -\frac{π}{4}\bigr\rbrack\bigr\rbrack

Reciprocal-sine values at ±π/4\pm\pi/4 and ±π/3\pm\pi/3

live ↗
In[arccsc(−2),arccsc(−233),arccsc(233),arccsc(2)]\bigl\lbrack\mathrm{arccsc}(-\sqrt{2}), \mathrm{arccsc}(-\frac{2\sqrt{3}}{3}), \mathrm{arccsc}(\frac{2\sqrt{3}}{3}), \mathrm{arccsc}(\sqrt{2})\bigr\rbrackOut[−π4,−π3,π3,π4]\bigl\lbrack-\frac{π}{4}, -\frac{π}{3}, \frac{π}{3}, \frac{π}{4}\bigr\rbrack

At complex infinity 1/z→01/z \to 0, so the value is 0

live ↗
Inarccsc(∞~)\mathrm{arccsc}(\tilde∞)Out00

Zero has no finite csc preimage and gives complex infinity

live ↗
Inarccsc([1,−1,0])\mathrm{arccsc}(\bigl\lbrack1, -1, 0\bigr\rbrack)Out[π2,−π2,∞~]\bigl\lbrack\frac{π}{2}, -\frac{π}{2}, \tilde∞\bigr\rbrack

As a matrix function the zero entry becomes 0, unlike entrywise

live ↗
InMatrixFunction(_1⁡↦arccsc(_1⁡),[[2,−21/2],[0,−21/2]])\mathrm{MatrixFunction}(\operatorname{\_1}↦\mathrm{arccsc}(\operatorname{\_1}), \bigl\lbrack\bigl\lbrack\sqrt{2}, -2^{1/2}\bigr\rbrack, \bigl\lbrack0, -2^{1/2}\bigr\rbrack\bigr\rbrack)Out[[π4,−π4],[0,−π4]]\bigl\lbrack\bigl\lbrack\frac{π}{4}, -\frac{π}{4}\bigr\rbrack, \bigl\lbrack0, -\frac{π}{4}\bigr\rbrack\bigr\rbrack

For 0<∣x∣<10<|x|<1 the value is arcsin⁡(1/x)\arcsin(1/x): arccsc⁡(1/2)=π2−iln⁡(2+3)\operatorname{arccsc}(1/2) = \frac{\pi}{2} - i\ln(2+\sqrt3)

live ↗
Inarccsc(12)\mathrm{arccsc}(\frac{1}{2})Outπ2−iln⁡(2+3)\frac{π}{2}-i\ln(2+\sqrt{3})

Odd: arccsc⁡(−1/2)\operatorname{arccsc}(-1/2) is the negative of arccsc⁡(1/2)\operatorname{arccsc}(1/2)

live ↗
Inarccsc(−12)\mathrm{arccsc}(-\frac{1}{2})Outiln⁡(2+3)−π2i\ln(2+\sqrt{3})-\frac{π}{2}
Properties #

Undoes Csc: csc⁡(arccsc(x))=x\csc(\text{arccsc}(x)) = x

live ↗
Incsc⁡(arccsc(2))=2\csc(\mathrm{arccsc}(2))=2OutTrue\mathrm{True}

csc⁡(−π/2)=−1\csc(-\pi/2) = -1

live ↗
Inarccsc(−1)\mathrm{arccsc}(-1)Out−π2-\frac{π}{2}

Known value · Wolfram MathematicalFunctionData, ArcCsc

An algebraic argument with value 5π/125\pi/12

live ↗
Inarccsc(6−2)\mathrm{arccsc}(\sqrt{6}-\sqrt{2})Out5π12\frac{5π}{12}

Known value · Wolfram MathematicalFunctionData, ArcCsc

Swapping the terms flips the sign of the angle

live ↗
Inarccsc(2−6)\mathrm{arccsc}(\sqrt{2}-\sqrt{6})Out−5π12-\frac{5π}{12}

Known value · Wolfram MathematicalFunctionData, ArcCsc

Stays unevaluated; the radical is not matched to a rational multiple of π\pi

live ↗
Inarccsc(212+2)\mathrm{arccsc}(2\sqrt{\frac{1}{2+\sqrt{2}}})Outarccsc(22+2)\mathrm{arccsc}(\frac{2}{\sqrt{2+\sqrt{2}}})

Known value · Wolfram MathematicalFunctionData, ArcCsc

Likewise for the negated argument

live ↗
Inarccsc(−212+2)\mathrm{arccsc}(-2\sqrt{\frac{1}{2+\sqrt{2}}})Outarccsc(−22+2)\mathrm{arccsc}(-\frac{2}{\sqrt{2+\sqrt{2}}})

Known value · Wolfram MathematicalFunctionData, ArcCsc

csc⁡(π/3)=23\csc(\pi/3) = \frac{2}{\sqrt3}

live ↗
Inarccsc(233)\mathrm{arccsc}(\frac{2\sqrt{3}}{3})Outπ3\frac{π}{3}

Known value · Wolfram MathematicalFunctionData, ArcCsc

Odd symmetry gives −π/3-\pi/3

live ↗
Inarccsc(−233)\mathrm{arccsc}(-\frac{2\sqrt{3}}{3})Out−π3-\frac{π}{3}

Known value · Wolfram MathematicalFunctionData, ArcCsc

The golden-ratio cosecant gives 3π/103\pi/10

live ↗
Inarccsc(5−1)\mathrm{arccsc}(\sqrt{5}-1)Out3π10\frac{3π}{10}

Known value · Wolfram MathematicalFunctionData, ArcCsc

Negative counterpart gives −3π/10-3\pi/10

live ↗
Inarccsc(1−5)\mathrm{arccsc}(1-\sqrt{5})Out−3π10-\frac{3π}{10}

Known value · Wolfram MathematicalFunctionData, ArcCsc

csc⁡(−π/4)=−2\csc(-\pi/4) = -\sqrt2

live ↗
Inarccsc(−2)\mathrm{arccsc}(-\sqrt{2})Out−π4-\frac{π}{4}

Known value · Wolfram MathematicalFunctionData, ArcCsc

live ↗
Inarccsc(2−255)\mathrm{arccsc}(\sqrt{2-\frac{2\sqrt{5}}{5}})Out2π5\frac{2π}{5}

Known value · Wolfram MathematicalFunctionData, ArcCsc

live ↗
Inarccsc(−2−2×51/25)\mathrm{arccsc}(-\sqrt{2-\frac{2×5^{1/2}}{5}})Out−2π5-\frac{2π}{5}

Known value · Wolfram MathematicalFunctionData, ArcCsc

live ↗
Inarccsc(2+255)\mathrm{arccsc}(\sqrt{2+\frac{2\sqrt{5}}{5}})Outπ5\frac{π}{5}

Known value · Wolfram MathematicalFunctionData, ArcCsc

live ↗
Inarccsc(−2+2×51/25)\mathrm{arccsc}(-\sqrt{2+\frac{2×5^{1/2}}{5}})Out−π5-\frac{π}{5}

Known value · Wolfram MathematicalFunctionData, ArcCsc

About
Examples31
Checked againstWolfram Language 30 agree1 differSageMath 26 agree3 differ1 unevaluatedSymPy 30 agree1 unevaluatedmpmath 25 agree3 errorJulia 24 agree4 errorRust 21 agree6 error
CrosswalkWolfram LanguageSageMathSymPympmathJuliaRust

Implementation

mappedsympypackages/oracle/src/mappings.ts
mappedmpmathpackages/oracle/src/mappings.ts
mappedsagepackages/oracle/src/mappings.ts
mappedjuliapackages/oracle/src/mappings.ts
mappedrustpackages/oracle/src/mappings.ts

asin of the reciprocal, the principal value off 0.

See also: Csc, Arcsin