Skip to main content
ExamExplained
WA · Math Methods
Math Methods study scene
§-Syllabus dot point
WAMath MethodsSyllabus dot point

How do we differentiate the natural logarithm function and logarithms of more complex expressions?

Establish and use the derivative of the natural logarithm function, including the chain rule for the logarithm of a function of x

WACE Year 12 Mathematics Methods Unit 3 derivatives of logarithmic functions: the derivative of natural log x, the chain rule giving f-prime over f, using log laws to simplify before differentiating, with worked SCSA-style examples.

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. The derivative of lnx\ln x
  3. The chain rule with logarithms
  4. Simplify first with log laws
  5. Logarithms inside products and quotients
  6. Tangents and rates with logarithms
  7. A logarithm inside a chain rule
  8. Base-aa logarithms

What this dot point is asking

SCSA Unit 3 treats the natural logarithm lnx\ln x as the inverse of exe^{x}, and this dot point asks you to differentiate it and any composite logarithm. The result is examined in both examination sections and underpins later integration of 1x\dfrac{1}{x}.

The derivative of lnx\ln x

Because lnx\ln x is the inverse of exe^{x}, write y=lnxy=\ln x so that x=eyx=e^{y}. Differentiating x=eyx=e^{y} with respect to xx gives

1=eydydx    dydx=1ey=1x.1=e^{y}\frac{dy}{dx}\;\Rightarrow\;\frac{dy}{dx}=\frac{1}{e^{y}}=\frac{1}{x}.

So the gradient of lnx\ln x at any point is the reciprocal of the xx-coordinate.

The chain rule with logarithms

For a logarithm of a function, the chain rule divides the derivative of the inside by the inside itself. If y=ln(f(x))y=\ln(f(x)) with outer lnu\ln u and inner u=f(x)u=f(x), then dydx=1uu=f(x)f(x)\dfrac{dy}{dx}=\dfrac{1}{u}\cdot u'=\dfrac{f'(x)}{f(x)}.

Simplify first with log laws

Logarithm laws let you turn products, quotients and powers into sums, differences and multiples before differentiating, which avoids the quotient rule entirely.

Logarithms inside products and quotients

A logarithm often appears as a factor in a product, where the product rule combines with ddxlnx=1x\dfrac{d}{dx}\ln x=\dfrac{1}{x}. The result ddx(xlnx)=lnx+1\dfrac{d}{dx}(x\ln x)=\ln x+1 is worth recognising: it shows that the antiderivative of lnx\ln x is xlnxxx\ln x-x, a result used later in integration. When a logarithm sits in the numerator or denominator of a quotient, expanding with log laws first usually avoids the quotient rule entirely, as in the worked expansion above.

Tangents and rates with logarithms

Because ddxlnx=1x\dfrac{d}{dx}\ln x=\dfrac{1}{x} is large near x=0+x=0^{+} and small for large xx, the logarithm curve is steep at first then flattens. This is why lnx\ln x models diminishing-returns growth. To find a tangent, evaluate 1x\dfrac{1}{x} at the point for the gradient, then use yy1=m(xx1)y-y_{1}=m(x-x_{1}). For example, the tangent to y=lnxy=\ln x at x=1x=1 has gradient 11=1\dfrac{1}{1}=1 and passes through (1,0)(1,0), giving y=x1y=x-1.

A logarithm inside a chain rule

When a logarithm is composed with another function, layer the rules. For y=(lnx)3y=\bigl(\ln x\bigr)^{3}, treat it as an outer power with inner lnx\ln x:

dydx=3(lnx)21x=3(lnx)2x.\frac{dy}{dx}=3\bigl(\ln x\bigr)^{2}\cdot\frac{1}{x}=\frac{3(\ln x)^{2}}{x}.

The factor 1x\dfrac{1}{x} comes from differentiating the inner lnx\ln x. Contrast this with ln(x3)\ln(x^{3}), which log laws simplify to 3lnx3\ln x with derivative 3x\dfrac{3}{x}. Reading whether the power is inside or outside the logarithm changes the method entirely.

Base-aa logarithms

For a logarithm to base aa, use the change of base logax=lnxlna\log_{a}x=\dfrac{\ln x}{\ln a}, so ddxlogax=1xlna\dfrac{d}{dx}\log_{a}x=\dfrac{1}{x\ln a}. The constant lna\ln a is just a multiplier. SCSA Methods calculus almost always uses the natural logarithm.

Exam-style practice questions

Practice questions written in the style of SCSA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

WACE 20215 marksCalculator-free. Differentiate with respect to xx: (a) y=ln(3x2+1)y=\ln(3x^{2}+1); (b) y=xlnxy=x\ln x; (c) y=ln ⁣(2xx+1)y=\ln\!\left(\dfrac{2x}{x+1}\right).
Show worked answer →

Calculator-free logarithmic differentiation across three structures.

(a) Chain rule f(x)f(x)\dfrac{f'(x)}{f(x)} with f(x)=3x2+1f(x)=3x^{2}+1: dydx=6x3x2+1\dfrac{dy}{dx}=\dfrac{6x}{3x^{2}+1}.

(b) Product rule with u=xu=x, v=lnxv=\ln x: u=1u'=1, v=1xv'=\dfrac{1}{x}, so dydx=lnx+x1x=lnx+1\dfrac{dy}{dx}=\ln x + x\cdot\dfrac{1}{x}=\ln x + 1.

(c) Expand first: y=ln(2x)ln(x+1)=ln2+lnxln(x+1)y=\ln(2x)-\ln(x+1)=\ln 2+\ln x-\ln(x+1). Then dydx=1x1x+1\dfrac{dy}{dx}=\dfrac{1}{x}-\dfrac{1}{x+1}.

Markers reward the chain rule in (a), the product rule simplifying to lnx+1\ln x+1 in (b), and expanding with log laws in (c) rather than using the quotient rule.

WACE 20234 marksCalculator-assumed. The curve y=lnxy=\ln x has a tangent at the point where x=2x=2. Find the equation of this tangent, giving the gradient and intercepts to two decimal places where appropriate.
Show worked answer →

A tangent-line application of the logarithm derivative.

Gradient. dydx=1x\dfrac{dy}{dx}=\dfrac{1}{x}, so at x=2x=2 the gradient is 12=0.5\dfrac{1}{2}=0.5.

Point. At x=2x=2, y=ln20.69y=\ln 2\approx 0.69.

Tangent. yln2=12(x2)y-\ln 2=\dfrac{1}{2}(x-2), that is y=0.5x1+ln20.5x0.31y=0.5x-1+\ln 2\approx 0.5x-0.31.

Markers reward the derivative 1x\dfrac{1}{x} evaluated at x=2x=2, the point (2,ln2)(2,\ln 2), and a correctly assembled tangent equation.

ExamExplained