ASCENTLEARNING
Join a weekly class
Skip to learning content
Year 12 · Logarithmic functions · 24 min

Differentiating logarithms and composite logarithms

Differentiate logarithmic expressions while retaining their original domains.

01 / LEARN

The idea, step by step

The reciprocal rate of a logarithm

The derivative of lnx is 1⁢/⁢x on x>0. For a positive differentiable input u⁢(x), the chain rule gives u′(x)⁢/⁢u⁢(x). For a fixed base b, use change of base first: logbu=lnu⁢/lnb. The constant lnb remains in the denominator.

dd⁢xlnu⁢(x)=u′(x)u⁢(x);dd⁢xlogbu⁢(x)=u′(x)u⁢(x)lnb

Domain first, then choose an efficient method

A derivative formula does not restore points missing from the original function. For example, the derivative of ln(x2) is 2⁢/⁢x on x≠0, whereas 2lnx only describes its positive branch. Products such as xlnx still require the product rule. Simplify only with identities valid on the domain you are using.

A common trap

dd⁢xln(3⁢x+1)=1⁢/⁢(3⁢x+1).

Instead: The chain rule also multiplies by the derivative of 3⁢x+1: the answer is 3⁢/⁢(3⁢x+1) on x>−1⁢/3.

02 / WORKED EXAMPLES

See the thinking

Example 1

Chain rule with a positive input

Differentiate f⁡(x)=ln(1+x2) and state its domain.

  1. The input 1+x2 is positive for every real x.
  2. Use u=1+x2, so u′=2⁢x.
  3. Divide the input derivative by the input.
f⁡′(x)=2⁢x⁢/⁢(1+x2), x∈ℝ.
Example 2

A tangent involving a logarithm

Find the tangent to y=xlnx at x=1.

  1. The point is (1,0).
  2. Product rule gives y′=lnx+1.
  3. At x=1, the gradient is 1, so y−0=1⁢(x−1).
y=x−1

Check your understanding

Differentiate ln(5−2⁢x) on its real domain.

Show answer

−2⁢/⁢(5−2⁢x), for x<5⁢/2.

The input derivative is −2; divide by the positive input 5−2⁢x.

03 / WORKSHEET

Your turn

6 questions · 16 marks · Work at your own pace.

Read the questions online
  1. Differentiate ln(7⁢x), retaining its domain.
    2 marks
  2. Differentiate log3(2⁢x+5).
    2 marks
  3. Differentiate (lnx)2.
    2 marks
  4. Differentiate y=ln(x2−9) and state the domain.
    3 marks
  5. Find the stationary point of f⁡(x)=lnx−x⁢/2 and classify it.
    4 marks
  6. Find the tangent to y=ln(2⁢x−1) at x=1.
    3 marks
Read the worked solutions

Equivalent correct methods earn the corresponding marks. Include units where asked.

  1. Differentiate ln(7⁢x), retaining its domain.
    2 marks

    u′/⁢u=7⁢/⁢(7⁢x)=1⁢/⁢x.

    1⁢/⁢x, x>0
  2. Differentiate log3(2⁢x+5).
    2 marks

    Use change of base, then apply the chain rule.

    2⁢/⁢((2⁢x+5)ln3), x>−5⁢/2
  3. Differentiate (lnx)2.
    2 marks

    The outer square contributes 2lnx and the inner derivative is 1⁢/⁢x.

    2lnx⁢/⁢x, x>0
  4. Differentiate y=ln(x2−9) and state the domain.
    3 marks

    Solve x2−9>0 before applying the chain rule.

    y′=2⁢x⁢/⁢(x2−9); x<−3 or x>3
  5. Find the stationary point of f⁡(x)=lnx−x⁢/2 and classify it.
    4 marks

    f⁡′=1⁢/⁢x−1⁢/2=0 gives x=2.

    f⁡′⁢′=−1⁢/x2<0.

    (2,ln2−1), a local maximum.
  6. Find the tangent to y=ln(2⁢x−1) at x=1.
    3 marks

    The point is (1,0) and the gradient is 2⁢/⁢(2−1)=2.

    y=2⁢x−2
Checking saved progress…

Continue learning

Logarithmic modelling

Next lesson
Curriculum reference & lesson scope

SACE Board of South Australia

Stage 2 Mathematical Methods: logarithmic functions and their applications; reciprocal-linear antiderivatives are taught in the Integration chapter.

Official curriculum source ↗
Back to Logarithmic functions

Save your next step.

Create a free account to save your learning progress. Lessons and downloads stay free, with or without an account.

Create free account