DoAssignment.ca

SL 5.3 · Differentiate powers, trigonometric, exponential, and logarithmic functions

Learn to differentiate powers, trigonometric, exponential, and logarithmic functions through clear examples and targeted practice.

International Baccalaureate (IB) IB AA SL: Mathematics: Analysis and Approaches SL

Calculus

AA SL 5.3: derivative rules, meaning and applications

Differentiation describes how quickly a function changes. For a graph, the derivative at a point is the gradient of the tangent there. In context, it can represent a rate such as change in height per second. This lesson focuses on rules for powers, trigonometric, exponential and logarithmic functions. You should be comfortable with powers, function notation, basic algebra and the fact that trigonometric derivatives use angles measured in radians.

What you will learn

1. From gradients to derivative notation

For a straight line, the gradient is constant. For a curve, the gradient usually changes with the input. The derivative gives the gradient at a particular input. If the function is written as y=f(x)y=f(x), its derivative may be written as f′(x)f'(x) or dydx\frac{dy}{dx}. The derivative is itself a function: substituting a particular xx gives the gradient at that point.
A numerical estimate of the gradient near x=ax=a can be made by choosing a nearby value hh and calculating the change in output divided by the change in input: f(a+h)−f(a)h\frac{f(a+h)-f(a)}{h}. Smaller values of hh generally give a closer estimate, though calculator rounding can affect the result. Differentiation rules give the exact derivative, rather than an estimate.
A derivative has units. If f(x)f(x) is a distance in metres and xx is time in seconds, then f′(x)f'(x) is measured in metres per second. The graph of f' can also be useful: positive values indicate that ff is increasing, and negative values indicate that it is decreasing.
f′(x)=dydxf'(x)=\frac{dy}{dx}

2. The core differentiation rules

For a power of xx, multiply by the exponent and reduce the exponent by one. This applies to positive, zero and negative integer powers wherever the original function is defined. For example, the rule for x5x^5 gives 5x45x^4. A constant has derivative zero, and a constant multiple can be kept in front of the derivative.
Trigonometric differentiation uses radians. The derivative of sine is cosine, and the derivative of cosine is negative sine. The derivative of tangent is the reciprocal of cosine squared, at inputs where tangent is defined. These rules describe how the graph’s gradient changes with its angle input; using degrees would require an additional conversion factor.
For the natural exponential function exe^x, the derivative is unchanged. For a general exponential function axa^x, where a>0a>0 and a≠1a\ne1, the derivative is axln⁡aa^x\ln a. The logarithm is the natural logarithm. Thus the base matters: not every exponential function has itself as its derivative.
The natural logarithm has derivative 1/x1/x for x>0x>0. A logarithm with base aa can be written as ln⁡xln⁡a\frac{\ln x}{\ln a}, so its derivative is 1xln⁡a\frac{1}{x\ln a}, again for x>0x>0. The domain restriction is important: the real-valued logarithm is not defined for zero or negative inputs.
When a rule is applied to an inner expression, use the chain rule: differentiate the outer function with respect to its input, then multiply by the derivative of the inner expression. For example, differentiating sin⁡(3x)\sin(3x) gives cos⁡(3x)\cos(3x) multiplied by 33. The chain rule also applies to powers, exponentials and logarithms.
ddx(xn)=nxn−1,ddx(sin⁡x)=cos⁡x,ddx(cos⁡x)=−sin⁡x,ddx(ex)=ex,ddx(ax)=axln⁡a,ddx(ln⁡x)=1x\begin{aligned}\frac{d}{dx}(x^n)&=nx^{n-1},&\frac{d}{dx}(\sin x)&=\cos x,\\\frac{d}{dx}(\cos x)&=-\sin x,&\frac{d}{dx}(e^x)&=e^x,\\\frac{d}{dx}(a^x)&=a^x\ln a,&\frac{d}{dx}(\ln x)&=\frac{1}{x}\end{aligned}

3. Reading derivatives in different ways

Symbolically, differentiation turns a rule for f(x)f(x) into a rule for f′(x)f'(x). Graphically, the value f′(a)f'(a) is the gradient of the tangent to the graph of ff at x=ax=a. If f′(a)=0f'(a)=0, the tangent is horizontal; this alone does not tell you whether the point is a maximum, a minimum or neither.
Numerically, a graphing calculator can display a tangent or estimate the derivative at a chosen input. Use that output as a check: first find the derivative by a rule, then compare the calculator’s gradient with the value of f′(a)f'(a). Check that the input is in the function’s domain and that angle settings are in radians for trigonometric functions.
In a context, explain what the derivative measures and include units. If a height model is measured in metres and time in seconds, the derivative is a vertical rate in metres per second. The sign tells the direction of change relative to the chosen positive direction.
f′(a)=gradient at x=af'(a)=\text{gradient at }x=a

4. A reliable method for differentiation questions

First identify the function type and any inner expression. Apply the matching rule and, if needed, the chain rule. Simplify the result only as far as useful. Then check the domain: a logarithm may restrict the input, and tangent is undefined where cosine is zero. Finally, substitute a requested input and interpret the value with the correct units.
For an exam-style response, make the reasoning visible. Name the relevant rule in words, show the derivative, and state any requested value or interpretation. If using technology to check a result, give the analytical derivative as well; a calculator display alone does not show why the answer is correct.
ddxf(g(x))=f′(g(x))g′(x)\frac{d}{dx}f(g(x))=f'(g(x))g'(x)

Worked example

A power combined with a trigonometric function

Differentiate f(x)=4x3−2sin⁡xf(x)=4x^3-2\sin x and find the gradient at x=0x=0.
  1. Differentiate each term
    Use the power rule on the first term and the sine rule on the second. The constant multiplier remains in front.
    f′(x)=12x2−2cos⁡xf'(x)=12x^2-2\cos x
  2. Evaluate at the input
    Substitute x=0x=0. Since cos⁡0=1\cos 0=1, the gradient is negative two.
    f′(0)=12(0)2−2cos⁡0=−2f'(0)=12(0)^2-2\cos 0=-2
Answer: The derivative is f′(x)=12x2−2cos⁡xf'(x)=12x^2-2\cos x, and the gradient at x=0x=0 is −2-2.
Check: A graphing calculator in radian mode should show a tangent gradient of approximately −2-2 at x=0x=0. The derivative rule gives the exact value.

Worked example

An exponential with an inner expression

Differentiate g(x)=52x−1g(x)=5^{2x-1} and find g′(1)g'(1) to three significant figures.
  1. Apply the exponential rule
    For aua^{u}, differentiate with respect to the inner input to obtain auln⁡aa^u\ln a, then multiply by the derivative of uu. Here the inner expression is 2x−12x-1, whose derivative is 22.
    g′(x)=52x−1ln⁡5⋅2g'(x)=5^{2x-1}\ln 5\cdot 2
  2. Substitute and evaluate
    At x=1x=1, the exponent is 11. Evaluating 10ln⁡510\ln 5 gives approximately 16.116.1 to three significant figures.
    g′(1)=10ln⁡5≈16.1g'(1)=10\ln 5\approx16.1
Answer: The derivative is g′(x)=2⋅52x−1ln⁡5g'(x)=2\cdot5^{2x-1}\ln 5, and g′(1)≈16.1g'(1)\approx16.1 to three significant figures.
Check: A calculator derivative estimate near x=1x=1 should be close to 16.116.1. The factor 22 is required because the exponent changes at rate 22.

Worked example

A logarithm and a contextual rate

A model gives H(t)=3ln⁡(t+2)H(t)=3\ln(t+2) metres, where tt is time in seconds and t≥0t\geq0. Find the rate of change at t=2t=2.
  1. Differentiate the model
    The outer logarithm has derivative equal to one over its input. Multiply by the derivative of the inner expression t+2t+2, which is 11; retain the multiplier 33.
    H′(t)=3t+2H'(t)=\frac{3}{t+2}
  2. Evaluate and include units
    Substitute t=2t=2. The result is a positive rate, so the modelled height is increasing at that instant.
    H′(2)=34=0.75 m s−1H'(2)=\frac{3}{4}=0.75\text{ m s}^{-1}
Answer: At t=2t=2 seconds, the height is increasing at 0.750.75 metres per second.
Check: The model is defined for t≥0t\geq0, so t=2t=2 is allowed. The derivative’s units are metres per second because height is measured in metres and time in seconds.

Common mistakes and how to avoid them

Reducing the power without multiplying by the original exponent.
Correction: For xnx^n, multiply by nn and then reduce the exponent by one.
Writing the derivative of axa^x as just axa^x for every base.
Correction: Include the factor ln⁡a\ln a unless the base is ee.
Forgetting to multiply by the derivative of an inner expression.
Correction: Apply the chain rule: differentiate the outer function, then multiply by the inner derivative.
Using trigonometric derivative rules with degree-mode angles.
Correction: These rules assume angles are measured in radians; set calculator angle mode to radians when checking.
Giving a logarithm derivative without considering its domain.
Correction: For ln⁡u\ln u, require u>0u>0 in the real-valued setting.

Lesson summary

Check your understanding

Question 1

What is the derivative of x4x^4?
  1. 4x34x^3
  2. x3x^3
  3. 4x44x^4
  4. x5x^5
Show answer and explanation
4x34x^3
The power rule multiplies by the exponent and reduces the exponent by one.

Question 2

What is the derivative of 3x3^x?
  1. 3x3^x
  2. 3xln⁡33^x\ln 3
  3. x3x−1x3^{x-1}
  4. 1xln⁡3\frac{1}{x\ln 3}
Show answer and explanation
3xln⁡33^x\ln 3
The derivative of axa^x is axln⁡aa^x\ln a, so the base 33 contributes the factor ln⁡3\ln 3.

Question 3

For y=cos⁡xy=\cos x, what is the gradient at x=0x=0?
  1. 11
  2. 00
  3. −1-1
  4. It is undefined.
Show answer and explanation
00
The derivative is −sin⁡x-\sin x. At x=0x=0, this is 00.

Key terms

Derivative
A function giving the gradient of a curve at each input, or the corresponding rate of change.
Tangent
A straight line that touches a curve at a point and has the curve’s gradient there.
Chain rule
A rule for differentiating a function of an inner expression: differentiate the outer function and multiply by the inner derivative.
Natural logarithm
The logarithm with base ee, written ln⁡x\ln x for positive xx.

Continue through IB AA SL

View the complete IB AA SL International Baccalaureate (IB) IB AA SL: Mathematics: Analysis and Approaches SL curriculum and lessons

About this lesson and its review

Published by DoAssignment. This AI-assisted lesson follows International Baccalaureate (IB) IB AA SL: Mathematics: Analysis and Approaches SL, study topic SL 5.3. It is a study resource, not an official curriculum publication.

Before publication, the draft is checked for structure, mathematical or chemical notation, calculations, course boundaries, and readability, and then requires administrator approval. Errors can still occur, so corrections are welcomed.

Official curriculum reference

Report a correction or ask a question