BAC MathsOffline
Progress saved to your account.Saving to your account…Offline. Progress stays on this device and uploads later.Sync did not work. It will try again.Progress on this device is not in your account.This device’s progress belongs to another account, so it is not synced.
Settings

Working draft: this text has not been reviewed yet.

4.2Logarithmic functions

Decimal Logarithm, Equations, Derivatives & Function Study

Reading time
35 min
In the programme of
SEMTM
Contents
  1. 1The Decimal Logarithm
  2. 2Solving Equations and Inequalities
  3. 2.1Worked Example
  4. 2.2The Substitution X = ln x
  5. 3The Derivative of ln u
  6. 3.1Worked Example
  7. 4The Study of ln
  8. 5Recap

The Decimal Logarithm

Divide ln⁡\ln by the constant ln⁡10\ln 10 and you get a logarithm that counts in powers of ten.

Definition · Decimal logarithm

The decimal logarithm (base-10 logarithm), written log⁡\log or log⁡10\log_{10}, is defined for all x∈]0,+∞[x \in ]0, +\infty[ by:

log⁡(x)=ln⁡(x)ln⁡(10)\boxed{\log(x) = \frac{\ln(x)}{\ln(10)}}

Theorem · Properties of the decimal logarithm

  • log⁡(1)=ln⁡1ln⁡10=0\log(1) = \frac{\ln 1}{\ln 10} = 0 and log⁡(10)=ln⁡10ln⁡10=1\log(10) = \frac{\ln 10}{\ln 10} = 1.
  • For every integer n∈Zn \in \mathbb{Z}:
log⁡(10n)=ln⁡(10n)ln⁡10=nln⁡10ln⁡10=n\begin{aligned} & \log(10^n) \\ = {} & \frac{\ln(10^n)}{\ln 10} \\ = {} & \frac{n \ln 10}{\ln 10} \\ = {} & n \end{aligned}
  • For all a>0a > 0, b>0b > 0 and n∈Zn \in \mathbb{Z}:
log⁡(a⋅b)=log⁡(a)+log⁡(b)log⁡(ab)=log⁡(a)−log⁡(b)log⁡(an)=nlog⁡(a)\begin{gathered} \log(a \cdot b) = \log(a) + \log(b) \\ \log\left(\frac{a}{b}\right) = \log(a) - \log(b) \\ \log(a^n) = n \log(a) \end{gathered}
  • Derivative, since ln⁡10≈2.3026>0\ln 10 \approx 2.3026 > 0:
(log⁡(x))′=1ln⁡10⋅1x=1xln⁡10>0\begin{aligned} & (\log(x))' \\ = {} & \frac{1}{\ln 10} \cdot \frac{1}{x} \\ = {} & \frac{1}{x \ln 10} > 0 \end{aligned}

So log⁡\log has exactly the same variations as ln⁡\ln.

The curve of log⁡\log passes through (1,0)(1, 0) and (10,1)(10, 1). Like ln⁡\ln, it plunges along x=0x = 0 and keeps rising, more slowly still.

The decimal logarithm is the one used in science, for instance for the pH of a solution and for sound levels in decibels.

Quick check

Compute log⁡(1000)\log(1000).

Solution

1000=1031000 = 10^3, so log⁡(1000)=3\log(1000) = 3.

Compute log⁡(0.01)\log(0.01).

Hint

0.01=10−20.01 = 10^{-2}.

Solution

0.01=10−20.01 = 10^{-2}, so log⁡(0.01)=−2\log(0.01) = -2.


Solving Equations and Inequalities

How many times does the curve of ln⁡\ln reach a given level kk? Move the line and count.

k = 1c ≈ 2.718

Whatever the level kk, the line y=ky = k meets the curve of ln⁡\ln exactly once, at x=ekx = e^k. Unlike ex=ke^x = k, the equation ln⁡x=k\ln x = k has a solution for every real kk.

Theorem · ln is strictly increasing

For all real numbers u>0u > 0 and v>0v > 0:

ln⁡u=ln⁡v  ⟺  u=vln⁡u<ln⁡v  ⟺  u<v\begin{gathered} \boxed{\ln u = \ln v \iff u = v} \\ \boxed{\ln u < \ln v \iff u < v} \end{gathered}

For every real number kk: ln⁡x=k  ⟺  x=ek\ln x = k \iff x = e^k.

Method · The three-step protocol

  1. Domain: for ln⁡(u(x))=ln⁡(v(x))\ln(u(x)) = \ln(v(x)), write u(x)>0u(x) > 0 and v(x)>0v(x) > 0 and solve: this is the domain of validity DED_E.
  2. Remove the logarithms: solve u(x)=v(x)u(x) = v(x) algebraically.
  3. Filter: keep only the roots that belong to DED_E.

Worked Example

  1. Solve in R\mathbb{R}:

    ln⁡(x−2)+ln⁡(x+1)=ln⁡(4)\ln(x - 2) + \ln(x + 1) = \ln(4)
  2. Domain:

    {x−2>0  ⟹  x>2x+1>0  ⟹  x>−1  ⟹  DE=]2,+∞[\begin{aligned} & \begin{cases} x - 2 > 0 \implies x > 2 \\ x + 1 > 0 \implies x > -1 \end{cases} \\ \implies {} & D_E = \htmlClass{hl}{]2, +\infty[} \end{aligned}
  3. Algebra: for x∈DEx \in D_E, the product rule gives

    ln⁡[(x−2)(x+1)]=ln⁡(4)  ⟺  (x−2)(x+1)=4\begin{aligned} & \ln[(x - 2)(x + 1)] = \ln(4) \\ \iff {} & (x - 2)(x + 1) = 4 \end{aligned}
    x2−x−2=4  ⟺  x2−x−6=0  ⟺  (x−3)(x+2)=0\begin{aligned} & x^2 - x - 2 = 4 \\ \iff {} & x^2 - x - 6 = 0 \\ \iff {} & (x - 3)(x + 2) = 0 \end{aligned}

    So x1=3x_1 = 3 and x2=−2x_2 = -2.

  4. Filter: 3∈ ]2,+∞[3 \in\, ]2, +\infty[ is accepted; −2∉ ]2,+∞[-2 \notin\, ]2, +\infty[ is rejected (ln⁡(−4)\ln(-4) does not exist).

    S={3}\htmlClass{hl-3}{\mathcal{S} = \{3\}}

Pitfall · A root of the algebra is not yet a solution

Step 2 works with (x−2)(x+1)(x - 2)(x + 1), which also exists for x<−1x < -1. The root −2-2 comes from there: only the domain found in step 1 can reject it.

The Substitution X = ln x

Method · Equations of the form a(ln x)² + b ln x + c = 0

  1. Set X=ln⁡xX = \ln x, for x>0x > 0. Unlike the substitution X=exX = e^x (where X>0X > 0), here XX can be any real number, positive or negative.
  2. Solve aX2+bX+c=0aX^2 + bX + c = 0.
  3. For each real root XkX_k, the solution is x=eXk>0x = e^{X_k} > 0.
  1. Solve on ]0,+∞[]0, +\infty[:

    (ln⁡x)2−ln⁡x−2=0(\ln x)^2 - \ln x - 2 = 0
  2. Set X=ln⁡xX = \ln x:

    X2−X−2=0  ⟺  (X−2)(X+1)=0  ⟺  X=2 or X=−1\begin{aligned} & X^2 - X - 2 = 0 \\ \iff {} & (X - 2)(X + 1) = 0 \\ \iff {} & \htmlClass{hl}{X = 2} \text{ or } \htmlClass{hl}{X = -1} \end{aligned}

    Both roots are kept: XX may be negative.

  3. Back to xx: ln⁡x=2  ⟺  x=e2\ln x = 2 \iff x = e^2 and ln⁡x=−1  ⟺  x=e−1\ln x = -1 \iff x = e^{-1}.

    S={e−1,e2}\htmlClass{hl-3}{\mathcal{S} = \left\{e^{-1}, e^2\right\}}

Quick check

Solve in R\mathbb{R}: ln⁡(x)+ln⁡(x−3)=ln⁡(4)\ln(x) + \ln(x - 3) = \ln(4). The equation has exactly one solution: type it. The equation has exactly one solution: type it.

Hint

Domain first: x>0x > 0 and x>3x > 3. Then solve x(x−3)=4x(x - 3) = 4.

Solution

DE=]3,+∞[D_E = ]3, +\infty[. Then x2−3x−4=0  ⟺  (x−4)(x+1)=0x^2 - 3x - 4 = 0 \iff (x - 4)(x + 1) = 0. Only 44 belongs to DED_E: S={4}\mathcal{S} = \{4\}.

Solve on ]0,+∞[]0, +\infty[: (ln⁡x)2−3ln⁡x+2=0(\ln x)^2 - 3\ln x + 2 = 0. Give both solutions, the smaller first, separated by ";".

Hint

With X=ln⁡xX = \ln x: X2−3X+2=(X−1)(X−2)X^2 - 3X + 2 = (X - 1)(X - 2).

Solution

X=1X = 1 or X=2X = 2, so x=ex = e or x=e2x = e^2.

Solve in R\mathbb{R}: ln⁡(2x−1)<0\ln(2x - 1) < 0.

Hint

Domain first: 2x−1>02x - 1 > 0. Then write 0=ln⁡(1)0 = \ln(1) and use that ln⁡\ln is strictly increasing.

Solution

DE=]12,+∞[D_E = \left]\frac{1}{2}, +\infty\right[. On DED_E: ln⁡(2x−1)<ln⁡(1)  ⟺  2x−1<1  ⟺  x<1\ln(2x - 1) < \ln(1) \iff 2x - 1 < 1 \iff x < 1. So S=]12,1[\mathcal{S} = \left]\frac{1}{2}, 1\right[.


The Derivative of ln u

Theorem · Derivative of ln u

Let uu be a function differentiable on an interval II with u(x)>0u(x) > 0 for all x∈Ix \in I. Then f(x)=ln⁡(u(x))f(x) = \ln(u(x)) is differentiable on II and:

[ln⁡(u(x))]′=u′(x)u(x)\boxed{[\ln(u(x))]' = \frac{u'(x)}{u(x)}}

Theorem · Derivative of ln of the absolute value of u

Let uu be differentiable on II with u(x)≠0u(x) \neq 0 for all x∈Ix \in I. Then f(x)=ln⁡∣u(x)∣f(x) = \ln\lvert u(x) \rvert is differentiable on II and:

[ln⁡∣u(x)∣]′=u′(x)u(x)\boxed{[\ln\lvert u(x) \rvert]' = \frac{u'(x)}{u(x)}}
Proof
  • If u(x)>0u(x) > 0, then ∣u(x)∣=u(x)\lvert u(x) \rvert = u(x), so [ln⁡(u)]′=u′u[\ln(u)]' = \frac{u'}{u}.
  • If u(x)<0u(x) < 0, then ∣u(x)∣=−u(x)\lvert u(x) \rvert = -u(x), so [ln⁡(−u)]′=(−u)′−u=−u′−u=u′u[\ln(-u)]' = \frac{(-u)'}{-u} = \frac{-u'}{-u} = \frac{u'}{u}.

Method · Studying the variations of ln u

  1. Find the domain: u(x)>0u(x) > 0.
  2. Name uu and compute u′u', then write f′=u′uf' = \frac{u'}{u}.
  3. On the domain u(x)>0u(x) > 0, so f′f' has the same sign as u′u': ln⁡u\ln u varies like uu.

The tangent rolls along the curve of f(x)=ln⁡(x2+1)f(x) = \ln(x^2 + 1); its slope draws f′f'.

x₀ = 1f′(x₀) = 1(T): y ≈ (x − 1) + 0.693
x−∞0+∞
f′(x)−0+
f(x)+∞0min+∞

Here u(x)=x2+1>0u(x) = x^2 + 1 > 0 on R\mathbb{R} and f′(x)=2xx2+1f'(x) = \frac{2x}{x^2 + 1}, of the sign of u′(x)=2xu'(x) = 2x. The derivative is negative, then positive: ff decreases, then increases, with its minimum f(0)=ln⁡1=0f(0) = \ln 1 = 0.

Worked Example

  1. f(x)=ln⁡(x2+1)f(x) = \ln(x^2 + 1) on R\mathbb{R}: u(x)=x2+1>0u(x) = x^2 + 1 > 0 and u′(x)=2xu'(x) = 2x, so

    f′(x)=2xx2+1f'(x) = \frac{\htmlClass{hl}{2x}}{x^2 + 1}
  2. g(x)=ln⁡∣x−2∣g(x) = \ln\lvert x - 2 \rvert on R∖{2}\mathbb{R} \setminus \{2\}: u(x)=x−2≠0u(x) = x - 2 \neq 0 and u′(x)=1u'(x) = 1, so

    g′(x)=1x−2g'(x) = \frac{\htmlClass{hl}{1}}{x - 2}
  3. Sign of g′g': negative on ]−∞,2[]-\infty, 2[, positive on ]2,+∞[]2, +\infty[. Here uu takes both signs, so the sign of u′u\frac{u'}{u} depends on u′u' and on uu.

Quick check

Let f(x)=ln⁡(3x+1)f(x) = \ln(3x + 1) on ]−13,+∞[\left]-\frac{1}{3}, +\infty\right[. Compute f′(0)f'(0).

Hint

u(x)=3x+1u(x) = 3x + 1, u′(x)=3u'(x) = 3.

Solution

f′(x)=33x+1f'(x) = \frac{3}{3x + 1}, so f′(0)=31=3f'(0) = \frac{3}{1} = 3.


The Study of ln

Everything about f(x)=ln⁡(x)f(x) = \ln(x) fits in one table: f′(x)=1x>0f'(x) = \frac{1}{x} > 0 on ]0,+∞[]0, +\infty[.

xx00+∞+\infty
f′(x)f'(x)++
f(x)f(x)−∞-\infty↗\nearrow+∞+\infty

Theorem · Concavity

f′′(x)=(1x)′=−1x2<0f''(x) = \left(\frac{1}{x}\right)' = -\frac{1}{x^2} < 0 for all x>0x > 0, so ln⁡\ln is strictly concave on ]0,+∞[]0, +\infty[. Its curve lies below each of its tangents, and meets that tangent only at the point of contact.

The tangent (T1)(T_1) at the point (1,0)(1, 0):

y=f′(1)(x−1)+f(1)=1⋅(x−1)+0=x−1\begin{aligned} y &= f'(1)(x - 1) + f(1) \\ &= 1 \cdot (x - 1) + 0 = x - 1 \end{aligned}

Theorem · The fundamental inequality

Because the curve lies below its tangent (T1)(T_1):

ln⁡(x)≤x−1for all x∈]0,+∞[\boxed{\ln(x) \le x - 1 \quad \text{for all } x \in ]0, +\infty[}

with equality if and only if x=1x = 1.

The dashed oblique line is the tangent (T1)(T_1), not an asymptote. The shaded gap between it and the curve closes only at x=1x = 1.

Quick check

Where is the curve of ln⁡\ln with respect to the line y=x−1y = x - 1?

Hint

f′′(x)=−1x2<0f''(x) = -\frac{1}{x^2} < 0.

Solution

ln⁡\ln is concave, so its curve lies below its tangent y=x−1y = x - 1 and meets it only at (1,0)(1, 0): ln⁡x≤x−1\ln x \le x - 1.


Recap

  • log⁡(x)=ln⁡xln⁡10\log(x) = \frac{\ln x}{\ln 10}: log⁡(10n)=n\log(10^n) = n, same rules and same variations as ln⁡\ln.
  • Equations: domain first, then remove the logarithms, then filter. With X=ln⁡xX = \ln x, XX can be any real number.
  • [ln⁡u]′=u′u[\ln u]' = \frac{u'}{u}, also for ln⁡∣u∣\ln\lvert u \rvert; where u>0u > 0, ln⁡u\ln u varies like uu.
  • ln⁡\ln is increasing and concave: ln⁡x≤x−1\ln x \le x - 1, with equality only at x=1x = 1.

What is next: exercises and a BAC problem on the logarithm.

Mark it when you have worked through the lesson: it counts in your chapter progress.

A new version of the site is ready.

Progress saved to your account.Saving to your account…Offline. Progress stays on this device and uploads later.Sync did not work. It will try again.Progress on this device is not in your account.This device’s progress belongs to another account, so it is not synced.
Settings