Basic Differentiation Rules (AA HL)

Differentiation finds the gradient function f′(x)f'(x), which gives the gradient of a curve at any point. Use the power rule, the standard derivatives of sin⁡x\sin x, cos⁡x\cos x, exe^x and ln⁡x\ln x, and differentiate sums and constant multiples term by term. It also covers differentiating from first principles. It's part of the broader Differentiation topic.

29 questions on this sub-topic.

Syllabus

CodeSyllabus content
SL5.6Derivative of xnx^n, sin⁡x\sin x, cos⁡x\cos x, exe^x and ln⁡x\ln x. Differentiation of a sum and a multiple of these functions. The chain rule for composite functions. The product and quotient rules.

Official IB source: Mathematics: analysis and approaches subject brief (PDF, ibo.org).

Skills practised on this page:

The building blocks

Both the power rule and the standard derivatives below are in the formula booklet.

Power rule

f(x)=xn⇒f′(x)=nxn−1f(x)=x^n \Rightarrow f'(x)=nx^{n-1}

Multiply by the old power, then reduce the power by one. Works for any real nn, including negative and fractional powers.

In the formula booklet

Standard derivatives

ddx(sin⁡x)=cos⁡x,ddx(cos⁡x)=−sin⁡x\dfrac{d}{dx}(\sin x) = \cos x,\quad \dfrac{d}{dx}(\cos x) = -\sin x

ddx(ex)=ex,ddx(ln⁡x)=1x\dfrac{d}{dx}(e^x) = e^x,\quad \dfrac{d}{dx}(\ln x) = \dfrac{1}{x}

These four apply directly, or combine with the sum, chain, product and quotient rules for more complex functions.

In the formula booklet

Need the full syllabus wording and formula-booklet reference table? See Differentiation.

Key terms

What is the derivative of a function?

The derivative f′(x)f'(x), also written dydx\dfrac{dy}{dx}, is a function giving the gradient of the tangent at each point. It measures the instantaneous rate of change.

e.g. For f(x)=x2f(x)=x^2, f′(x)=2xf'(x)=2x, so the gradient at x=3x=3 is 66.

How do you differentiate a sum or a constant multiple?

Differentiate each term separately and keep any constant multiplier. A constant term differentiates to zero.

e.g. ddx(5x3−2x+9)=15x2−2\dfrac{d}{dx}(5x^3-2x+9)=15x^2-2.

How do you differentiate a root or a reciprocal?

Rewrite it as a power of xx first, then use the power rule.

e.g. x=x12\sqrt{x}=x^{\frac12} differentiates to 12x−12\dfrac12x^{-\frac12}, and 6x2=6x−2\dfrac{6}{x^2}=6x^{-2} differentiates to −12x−3-12x^{-3}.

What is differentiation from first principles?

It defines the derivative as a limit, f′(x)=limh→0f(x+h)−f(x)hf'(x)=\displaystyle\lim_{h\to0}\dfrac{f(x+h)-f(x)}{h}, the limit of the gradient of a chord as the chord shrinks to a point.

e.g. For f(x)=x2f(x)=x^2, (x+h)2−x2h=2xh+h2h=2x+h\dfrac{(x+h)^2-x^2}{h}=\dfrac{2xh+h^2}{h}=2x+h, which tends to 2x2x as h→0h\to0.

Worked examples

1
Easy
No calc
[2 marks]

Differentiate y=x4−3x2+7.y = x^4 - 3x^2 + 7.

Worked solution

Apply the power rule term by term: M1
dydx=4x3−6x.\dfrac{dy}{dx} = 4x^3 - 6x. A1

M1 Power rule A1 Correct answer of 4x3−6x4x^3-6x
2
Medium
No calc
[5 marks]

Use the definition f′(x)=limh→0f(x+h)−f(x)hf'(x)=\displaystyle\lim_{h\to0}\dfrac{f(x+h)-f(x)}{h} to find the derivative of f(x)=x2−3x.f(x)=x^2-3x.

Worked solution

f(x+h)=(x+h)2−3(x+h)f(x+h) = (x+h)^2 - 3(x+h) M1 =x2+2xh+h2−3x−3h.= x^2 + 2xh + h^2 - 3x - 3h. A1
f(x+h)−f(x)=h(2x+h−3).f(x+h) - f(x) = h(2x + h - 3). M1
f(x+h)−f(x)h=2x+h−3.\dfrac{f(x+h)-f(x)}{h} = 2x + h - 3. A1
as h→0h\to0, f′(x)=2x−3.f'(x) = 2x - 3. A1

M1 Expand f(x+h)f(x+h) A1 Correct expansion M1 Subtract & factor A1 Divide by hh A1 Limit
3
Easy
No calc
[3 marks]

Differentiate y=2x3+4x.y = 2x^3 + \dfrac{4}{x}.

Worked solution

Write y=2x3+4x−1.y = 2x^3 + 4x^{-1}. M1
dydx=6x2−4x−2\dfrac{dy}{dx} = 6x^2 - 4x^{-2} A1
dydx=6x2−4x2.\dfrac{dy}{dx} = 6x^2 - \dfrac{4}{x^2}. A1

M1 Rewrite 4x\tfrac4x A1 Differentiating 2x3+4x−12x^3 + 4x^{-1} term by term A1 Correct answer of 6x2−4x26x^2-\frac{4}{x^2}
4
Hard
GDC
[5 marks]

Find the equation of the tangent to y=exy=e^{x} at x=ln⁡2.x=\ln2.

Worked solution

y(ln⁡2)=eln⁡2=2y(\ln 2)=e^{\ln 2}=2, so the tangent point is (ln⁡2,2).(\ln 2,2). A1
y′=exy'=e^x, so the slope at x=ln⁡2x=\ln 2 is eln⁡2e^{\ln 2} M1 =2.=2. A1
y−2=2(x−ln⁡2)⇒yy-2=2(x-\ln 2)\Rightarrow y M1 =2x+2−2ln⁡2.=2x+2-2\ln 2. A1On the GDC. Evaluate the slope eln⁡2=2e^{\ln 2}=2 and (2ln 2) directly.

TI-84 Plus CE: home screen.
Casio fx-CG50: Run-Matrix.
Casio fx-CG100: HOME → Calculate.
TI-Nspire CX: Calculator.

A1 Point M1 Derivative A1 Slope M1 Point-slope A1 Correct final equation y=2x+2−2ln⁡2y=2x+2-2\ln2

Common mistakes

  • Misapplying the power rule to negative or fractional powers. ddx(x−2)=−2x−3\dfrac{d}{dx}(x^{-2}) = -2x^{-3}, not −2x−1-2x^{-1} - the power still just drops by one, even when it starts negative or as a fraction.
  • Mixing up the sign on cos⁡x\cos x. ddx(sin⁡x)=cos⁡x\dfrac{d}{dx}(\sin x) = \cos x but ddx(cos⁡x)=−sin⁡x\dfrac{d}{dx}(\cos x) = -\sin x - the minus sign only appears on the second one, and it's easy to drop or add it to the wrong derivative under pressure.
  • Rewriting a root or reciprocal incorrectly before differentiating. x\sqrt{x} must become x1/2x^{1/2} and 1x3\dfrac{1}{x^3} must become x−3x^{-3} before the power rule can be applied - differentiating the un-rewritten form directly is a common source of errors.

Using your GDC

Every step below is a real button sequence, not a vague "use your calculator" hint - covering the TI-84 Plus, TI-Nspire, and Casio fx-9860/fx-CG50. Pick your model to filter down to just the steps that apply to you.

Show steps for:
Numerical derivative at a point

Gives a gradient instantly to check your differentiation or when a function is awkward.

  1. MATH → 8:nDeriv(, then enter nDeriv(f(x), x, a). Or graph and use 2nd → CALC → 6:dy/dx.TI-84
  2. menu → Calculus → Numerical Derivative at a Point.Nspire
  3. Run-Matrix → MATH (F4) → d/dx, then enter the function and the x-value.Casio
  4. Read off the gradient - useful for tangent slopes without algebra.

Tip: Handy for checking the gradient at a point or finding a tangent's slope.

See the full GDC guide for more calculator models and topics.

Quick questions

What is the power rule for differentiation?

If f(x)=xnf(x) = x^n, then f′(x)=nxn−1f'(x) = nx^{n-1}. Multiply by the old power, then reduce the power by one. It applies for any real nn, including negative and fractional powers.

What are the standard derivatives I need to know?

ddx(sin⁡x)=cos⁡x\dfrac{d}{dx}(\sin x) = \cos x, ddx(cos⁡x)=−sin⁡x\dfrac{d}{dx}(\cos x) = -\sin x, ddx(ex)=ex\dfrac{d}{dx}(e^x) = e^x, and ddx(ln⁡x)=1x\dfrac{d}{dx}(\ln x) = \dfrac{1}{x}. All four are in the formula booklet and combine with the sum, chain, product and quotient rules for more complex functions.

What is the derivative of a constant?

It is zero, because a constant has zero gradient everywhere. For example, ddx(7)=0\dfrac{d}{dx}(7)=0, so a constant term disappears when you differentiate.

Why is the derivative of cos x negative?

Near x=0x=0, cos⁡x\cos x falls from 11, so its gradient is negative for small positive xx. This matches −sin⁡x-\sin x, which is negative just after x=0x=0.

How do I find the gradient of a curve at a given point?

Differentiate, then substitute the xx-value. For f(x)=x4−3x2+7f(x)=x^4-3x^2+7, f′(x)=4x3−6xf'(x)=4x^3-6x, so at x=2x=2 the gradient is 32−12=2032-12=20.

Ready to practise properly?

29 basic-differentiation questions, marked instantly like the real exam.

Need a calculator refresher? See Using your GDC on the full Differentiation page.

← Back to Analysis & Approaches HL topics