Arcsin
Arcsine, the inverse of Sin restricted to .
✓ checked against that system · ! checked, with disagreements (hover a chip)Wikipedia
Inverse trigonometric functionsMathWorldInverseSineInverseTrigonometricFunctionsWikidataQ674533nLabinverse trigonometric functionBritannicatopic/arc-sineDLMF4.23.ii.p1FungrimAsin✓Fungrim entry087a7c✓584a61✓7954adf0bcb5✓Wolfram LanguageArcSin!Arcsin(x)the principal value with .SageMath
arcsin(x)SymPyasin(x)mpmathasin(x)Juliaenumeratio_ball(_asin, x)Rustasin(x)Typed signatures
| Type | Package | Applies |
|---|---|---|
(complex | quantity) -> number | analyticreplaces compute-engine | always |
(complex | quantity) -> number | compute-engine | always |
Details
- Real-valued only for ; outside that range the result is complex.
- Odd function: .
- Co-function with Arccos: .
- Undoes Sin on its principal branch: for .
- Past , a rational reduces to the exact closed form (
@enumeratio/analytic) -- the branch compute-engine's own N(Arcsin(x)) takes. - 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 andwolframscripton a grid of rationals to double precision. A float andN(...)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. Principal branch, cuts on and : the value on is the limit from below, so (mpmathasin(2)), and oddness gives the other cut.
Examples
Scope #
Outside , reduces to the exact closed form -- the branch compute-engine's own already takes, overriding its plain policy of leaving the call symbolic
live ↗InOut
live ↗
InOut
Arcsin(+Infinity) is a directed infinity along the negative imaginary axis: as
live ↗Known value · DLMF 4.23.19
Properties #
The radical is , recognised in this spelling too
live ↗InOut
Known value · Wolfram MathematicalFunctionData, ArcSin
Possible issues #
Arcsin(ComplexInfinity) is ComplexInfinity: grows in every direction, though the direction itself varies
live ↗Known value · DLMF 4.23.19
About
| Examples | 45 |
|---|---|
| Checked against | Wolfram Language 42 agree3 differSageMath 39 agree2 differ2 errorSymPy 39 agree4 differmpmath 35 agree2 differJulia 35 agree2 errorRust 30 agree4 error |
| Crosswalk | WikipediaMathWorld ×2WikidatanLabBritannicaDLMFFungrimFungrim entry ×4Wolfram LanguageSageMathSymPympmathJuliaRust |
Implementation
mapped
sympypackages/oracle/src/mappings.tsmapped
mpmathpackages/oracle/src/mappings.tsmapped
sagepackages/oracle/src/mappings.tsmapped
juliapackages/oracle/src/mappings.tsmapped
rustpackages/oracle/src/mappings.ts