Close
Close window
ln - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

ln

The Natural Logarithm

log

The General Logarithm

log10

The Common Logarithm

log2

The Binary Logarithm

Calling Sequence

ln(x)

log(x)

log10(x)

log2(x)

log[b](x)

logbx

log(x, b)

Parameters

x

-

expression

b

-

base

Description

The natural logarithm, ln, is the logarithm with base &ExponentialE;=2.71828... For 0<x we have lnx=y <==> x=&ExponentialE;y.

For complex-valued expressions x, lnx=lnx+Iargx, where π<argument(x)<=π. Throughout Maple, this computation is taken to be the definition of the principal branch of the logarithm.

The log function is the general logarithm. For 0<x and 0<b we have logbx=y<==>x=by. log is extended to general complex b and x by logbx=lnxlnb.

The default value of the base b is &ExponentialE;.

You can enter the function log with base b using either the 1-D or 2-D calling sequence. The base can be entered as an index or as the second argument. Similarly, e can also be entered as exp(1) in 1-D. See exp for more about the exponential function.

log10x=log10x.

log2x=log2x.

lnx=log&ExponentialE;x.

Examples

>

ln1

0

(1)
>

difflnx&comma;x

1x

(2)
>

ln3.14+2.71I

1.422562238+0.7120258406I

(3)
>

ln3+4I

ln3+4I

(4)
>

evalc

ln5+Iarctan43

(5)
>

ln10000

4ln10

(6)

The default value of the base b is &ExponentialE;.

>

log10000

4ln10

(7)
>

logexp3

3

(8)
>

log1010000

4

(9)
>

log10100

2

(10)
>

log16&comma;8

43

(11)
>

logexp1x

lnx

(12)
>

logbx

lnxlnb

(13)
>

log1065

ln65ln10

(14)
>

log2exp1

1ln2

(15)
>

evalf

1.442695041

(16)
>

log55xlog5x

ln5xln5lnxln5

(17)
>

simplify

1

(18)
>

solvelog62y=2&comma;y

18

(19)
>

convertarcsinx&comma;ln

−IlnIx+x2+1

(20)

Compatibility

The log2 command was introduced in Maple 2021.

For more information on Maple 2021 changes, see Updates in Maple 2021 .


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /