Ln
The natural logarithm, the inverse of Exp.
Natural logarithmMathWorldNaturalLogarithmWikidataQ204037Britannicatopic/natural-logarithmDLMF4.2.E2FungrimLog!Fungrim entryWolfram LanguageLog✓Typed signatures
| Type | Package | Applies |
|---|---|---|
(complex | infinity, base: (complex | infinity)?) -> complex | infinity | analyticreplaces compute-engine | always |
(complex | infinity, base: (complex | infinity)?) -> complex | infinity | compute-engine | always |
Details
- Inverse of Exp: .
- The natural logarithm. Note compute-engine's own Log is not a synonym: it defaults to base 10 (see that entry).
- . A negative real argument reduces to the principal value for a positive rational (
@enumeratio/analytic); compute-engine's own plain evaluation would otherwise leave it symbolic.
Plot
Examples
5 more kept as data, checked against the oraclesScope #
, the principal value past the branch cut, overriding compute-engine's plain policy of leaving a negative-real Ln symbolic
live ↗Interval arithmetic: is increasing, so is the interval of the endpoint values -- folds to (see the unit-fraction example above)
live ↗Ln(-Infinity) is +Infinity: , and the magnitude alone diverges as
live ↗Known value · DLMF 4.2.5
Properties #
Known value · Wolfram MathematicalFunctionData, Log:Natural, Bailey-Borwein-Plouffe formula
Known value · Wolfram MathematicalFunctionData, Log:Natural, Bailey-Borwein-Plouffe formula
Known value · Wolfram MathematicalFunctionData, Log:Natural, Bailey-Borwein-Plouffe formula
Known value · Wolfram MathematicalFunctionData, Log:Natural, Bailey-Borwein-Plouffe formula
Known value · Wolfram MathematicalFunctionData, Log:Natural, Bailey-Borwein-Plouffe formula
Known value · Wolfram MathematicalFunctionData, Log:Natural, Bailey-Borwein-Plouffe formula
Known value · Wolfram MathematicalFunctionData, Log:Natural, Bailey-Borwein-Plouffe formula
Known value · Wolfram MathematicalFunctionData, Log:Natural, Bailey-Borwein-Plouffe formula
Known value · Wolfram MathematicalFunctionData, Log:Natural, NielsenâRamanujan constants
Known value · Wolfram MathematicalFunctionData, Log:Natural, NielsenâRamanujan constants
About
| Examples | 59 |
|---|---|
| Checked against | Wolfram Language 59 agreeSageMath 48 agree2 errorSymPy 46 agree2 differ3 unevaluatedmpmath 33 agree1 differJulia 32 agree3 errorRust 21 agree9 error |
| Crosswalk | WikipediaMathWorldWikidataBritannicaDLMFFungrimFungrim entry ×93Wolfram LanguageSageMathSymPympmathJuliaRust |
Implementation
sympypackages/oracle/src/mappings.tsmpmathpackages/oracle/src/mappings.tssagepackages/oracle/src/mappings.tsrustpackages/oracle/src/mappings.tsjuliapackages/oracle/src/mappings.ts