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.

In this lesson

Before you start
  • Chain, product and quotient rules
  • Logarithm laws
  • Natural logarithms
01 / LEARN

Understand the idea.

The reciprocal rate of a logarithm

The derivative of lnx is 1x for x>0. For a positive differentiable input u⁢(x), the chain rule multiplies this reciprocal by the inner rate, giving u′(x)u⁢(x).

For a fixed valid base b, change of base writes logbu=lnulnb. Since lnb is constant, it remains in the denominator of the derivative. The original positive-input restriction still applies.

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

Domain first, then choose an efficient method

Determine the domain before simplifying. Although ln(x2) has derivative 2x for x≠0, writing it as 2lnx would lose the entire negative branch. An identity must be valid on every domain interval being used.

A logarithmic factor does not replace other derivative rules. For a product such as xlnx, differentiate each factor in turn. For a tangent, evaluate the original function for the point and the derivative for the gradient.

02 / WORKED EXAMPLES

See the method in action.

EXAMPLE 01

Chain rule with a positive input

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

Worked solution

  1. 1

    Check the logarithm input.

    1+x2≥1>0for all ⁢x∈ℝ

    The logarithm exists for every real x.

  2. 2

    Find the inner derivative.

    u⁢(x)=1+x2,u′(x)=2⁢x

    The chain rule needs the rate of the full logarithm input.

  3. 3

    Divide the inner rate by its input.

    f⁡′(x)=u′(x)u⁢(x)=2⁢x1+x2,x∈ℝ

    The denominator never vanishes, so the derivative has the same real domain as the function.

Answer

f⁡′(x)=2⁢x⁢/⁢(1+x2), x∈ℝ.

EXAMPLE 02

A tangent involving a logarithm

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

Worked solution

  1. 1

    Find the curve point.

    x>0,y⁢(1)=1ln1=0

    The stated input is valid and the original function supplies the contact point.

  2. 2

    Differentiate the product.

    y′=1⋅lnx+x⋅1x=lnx+1

    Both x and ln x change, so both product-rule contributions are required.

  3. 3

    Evaluate the gradient.

    y′(1)=ln1+1=1

    The logarithm vanishes at input 1.

  4. 4

    Write the tangent equation.

    y−0=1⁢(x−1)⟹y=x−1

    Point-gradient form combines the point (1,0) with gradient 1.

Answer

y=x−1

03 / YOUR TURN

Try it yourself.

Check your understanding

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

Show answer & reasoning

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

The input condition is 5−2⁢x>0, so x<52. Its derivative is −2, hence dd⁢xln(5−2⁢x)=−25−2⁢x throughout that domain.

Keep practising

6 worksheet questions · 16 marks

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−x2 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=77⁢x=1x.

    1x, 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>−52
  3. Differentiate (lnx)2.
    2 marks

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

    2lnxx, 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⁢xx2−9; x<−3 or x>3
  5. Find the stationary point of f⁡(x)=lnx−x2 and classify it.
    4 marks

    f⁡′=1x−12=0 gives x=2.

    f⁡′⁢′=−1x2<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 22−1=2.

    y=2⁢x−2
Checking saved progress…
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 ↗

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