← Year 12: Calculus

NSWMaths AdvancedSyllabus dot point

How do we differentiate and integrate exponential and logarithmic functions, and how do they appear in modelling?

Find derivatives and integrals of $e^x$ and $\ln x$, including composed forms, and apply them to modelling problems

A focused answer to the HSC Maths Advanced dot point on the calculus of exponential and logarithmic functions. Derivatives and integrals of e^x and ln(x), composed forms via the chain rule, and worked examples.

Generated by Claude OpusReviewed by Better Tuition Academy8 min answer

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

What this dot point is asking

NESA wants you to differentiate and integrate exe^x, ln⁑x\ln x and their composed forms with confidence. These functions appear in nearly every applied calculus problem: growth and decay, finance, biology and physics. Mastery here unlocks the modelling questions.

The answer

Standard derivatives

ddx(ex)=ex\frac{d}{dx}(e^x) = e^x

ddx(ln⁑x)=1x(x>0)\frac{d}{dx}(\ln x) = \frac{1}{x} \quad (x > 0)

The exponential function is the unique function (up to a constant multiple) that is its own derivative. The logarithm is the inverse of exe^x.

Composed derivatives (chain rule)

ddx(ef(x))=fβ€²(x)ef(x)\frac{d}{dx}(e^{f(x)}) = f'(x) e^{f(x)}

ddx(ln⁑f(x))=fβ€²(x)f(x)\frac{d}{dx}(\ln f(x)) = \frac{f'(x)}{f(x)}

The second result is the basis of "logarithmic differentiation" and of the reverse-chain-rule integral ∫fβ€²f=ln⁑∣f∣\int \frac{f'}{f} = \ln |f|.

Standard integrals

∫ex dx=ex+C\int e^x \, dx = e^x + C

∫1x dx=ln⁑∣x∣+C\int \frac{1}{x} \, dx = \ln |x| + C

The absolute value handles negative xx, since ln⁑\ln is only defined for positive numbers. In a definite integral, the interval must not include x=0x = 0.

Composed integrals

For a linear inside argument:

∫ekx dx=ekxk+C\int e^{k x} \, dx = \frac{e^{k x}}{k} + C

For the reverse chain rule on a logarithm:

∫fβ€²(x)f(x) dx=ln⁑∣f(x)∣+C\int \frac{f'(x)}{f(x)} \, dx = \ln |f(x)| + C

If the numerator is a constant multiple of fβ€²(x)f'(x), factor that constant out first.

Non-ee bases

For axa^x with a>0a > 0, write ax=exln⁑aa^x = e^{x \ln a}. Then

ddx(ax)=(ln⁑a)ax,∫ax dx=axln⁑a+C.\frac{d}{dx}(a^x) = (\ln a) a^x, \qquad \int a^x \, dx = \frac{a^x}{\ln a} + C.

For log⁑ax\log_a x, use log⁑ax=ln⁑xln⁑a\log_a x = \frac{\ln x}{\ln a}, giving ddx(log⁑ax)=1xln⁑a\frac{d}{dx}(\log_a x) = \frac{1}{x \ln a}.

Worked examples

Chain rule with IMATH_24

Differentiate y=esin⁑xy = e^{\sin x}.

dydx=cos⁑xβ‹…esin⁑x\frac{dy}{dx} = \cos x \cdot e^{\sin x}.

Product rule with IMATH_27

Differentiate y=xln⁑xy = x \ln x.

u=xu = x, v=ln⁑xv = \ln x. uβ€²=1u' = 1, vβ€²=1xv' = \frac{1}{x}.

dydx=1β‹…ln⁑x+xβ‹…1x=ln⁑x+1\frac{dy}{dx} = 1 \cdot \ln x + x \cdot \frac{1}{x} = \ln x + 1.

This derivative is zero at x=eβˆ’1x = e^{-1}, which marks the minimum of xln⁑xx \ln x for x>0x > 0.

Quotient with IMATH_37

Differentiate y=exxy = \frac{e^x}{x}.

Quotient rule: dydx=exβ‹…xβˆ’exβ‹…1x2=ex(xβˆ’1)x2\frac{dy}{dx} = \frac{e^x \cdot x - e^x \cdot 1}{x^2} = \frac{e^x (x - 1)}{x^2}.

Reverse chain rule integral

Evaluate ∫3x2x3+4 dx\int \frac{3 x^2}{x^3 + 4} \, dx.

The numerator is fβ€²(x)f'(x) for f(x)=x3+4f(x) = x^3 + 4, so the integral is ln⁑∣x3+4∣+C\ln |x^3 + 4| + C.

Definite integral

Evaluate ∫1e1x dx\int_1^e \frac{1}{x} \, dx.

∫1e1x dx=[ln⁑x]1e=ln⁑eβˆ’ln⁑1=1βˆ’0=1\int_1^e \frac{1}{x} \, dx = [\ln x]_1^e = \ln e - \ln 1 = 1 - 0 = 1.

This is the classic geometric definition of ee: the number for which the area under y=1/xy = 1/x from 11 to ee equals one.

Common traps

**∫1x dxβ‰ x00\int \frac{1}{x} \, dx \neq \frac{x^0}{0}.** The power rule for integration excludes n=βˆ’1n = -1. The antiderivative of 1x\frac{1}{x} is ln⁑∣x∣\ln |x|, not a power.

Forgetting absolute value bars. Write ∫1x dx=ln⁑∣x∣+C\int \frac{1}{x} \, dx = \ln |x| + C. The bars are essential for intervals where x<0x < 0.

Treating e2xe^{2 x} like 2ex2 e^x. They are different functions. ddx(e2x)=2e2x\frac{d}{dx}(e^{2 x}) = 2 e^{2 x} by the chain rule.

Dropping the chain rule on ln⁑\ln. ddx(ln⁑(3x))=33x=1x\frac{d}{dx}(\ln(3 x)) = \frac{3}{3 x} = \frac{1}{x}, but ddx(ln⁑(x2))=2xx2=2x\frac{d}{dx}(\ln(x^2)) = \frac{2 x}{x^2} = \frac{2}{x} (which also equals ddx(2ln⁑x)\frac{d}{dx}(2 \ln x)).

Splitting ln⁑(a+b)\ln(a + b). ln⁑(a+b)\ln(a + b) does not equal ln⁑a+ln⁑b\ln a + \ln b. Only ln⁑(ab)=ln⁑a+ln⁑b\ln(a b) = \ln a + \ln b and ln⁑(a/b)=ln⁑aβˆ’ln⁑b\ln(a/b) = \ln a - \ln b.

In one sentence

The exponential function is its own derivative, the natural logarithm differentiates to 1/x1/x, and chain-rule and reverse-chain-rule patterns handle every composed form on the HSC Maths Advanced course.

Past exam questions, worked

Real questions from past NESA papers on this dot point, with our answer explainer.

2023 HSC Q123 marksDifferentiate $y = \ln(3 x^2 + 1)$.
Show worked answer β†’

Use ddxln⁑f(x)=fβ€²(x)f(x)\frac{d}{dx} \ln f(x) = \frac{f'(x)}{f(x)} with f(x)=3x2+1f(x) = 3 x^2 + 1.

fβ€²(x)=6xf'(x) = 6 x.

dydx=6x3x2+1\frac{dy}{dx} = \frac{6 x}{3 x^2 + 1}.

Markers reward identifying the inside function, stating the standard rule, and writing a clean unsimplified-but-correct quotient.

2018 HSC Q143 marksFind $\int \frac{2 x}{x^2 + 5} \, dx$.
Show worked answer β†’

Notice that the numerator is exactly the derivative of the denominator. Use ∫fβ€²(x)f(x) dx=ln⁑∣f(x)∣+C\int \frac{f'(x)}{f(x)} \, dx = \ln |f(x)| + C.

With f(x)=x2+5f(x) = x^2 + 5, fβ€²(x)=2xf'(x) = 2 x.

∫2xx2+5 dx=ln⁑(x2+5)+C\int \frac{2 x}{x^2 + 5} \, dx = \ln (x^2 + 5) + C.

No absolute value bars are needed since x2+5>0x^2 + 5 > 0 for all real xx.

Markers reward recognising the reverse chain rule pattern and stating the integral with the correct constant of integration.

Related dot points