Scottish Higher Maths2 min read

Basic differentiation

Understand the derivative as a gradient function, apply the power rule to polynomials, and evaluate a derivative at a point.

On this page

What differentiation does

A curve can have a different gradient at every point. Differentiation turns the original function into a gradient function: a rule that gives the gradient for any chosen value of xx.

If y=f(x)y=f(x), the derivative may be written as f(x)f'(x) or dydx\frac{dy}{dx}. These notations both refer to the gradient function. A value such as f(2)f'(2) means the gradient when x=2x=2.

The power rule

Worked example

Differentiate a single power

Differentiate f(x)=6x4f(x)=6x^4.

  1. Step 1

    Bring down the power

    Multiply the coefficient by the power: 6×4=246\times4=24.

  2. Step 2

    Reduce the power

    Reduce the power from 4 to 3, giving f(x)=24x3f'(x)=24x^3.

Final answer

f(x)=24x3f'(x)=24x^3

The coefficient and power are multiplied before the power is reduced by 1.

Worked example

Differentiate a polynomial

Differentiate y=4x35x2+7y=4x^3-5x^2+7

  1. Step 1

    Differentiate the first term

    4x34x^3 becomes 12x212x^2.

  2. Step 2

    Differentiate the second term

    5x2-5x^2 becomes 10x-10x.

  3. Step 3

    Remove the constant

    The derivative of 7 is 0.

Final answer

dydx=12x210x\frac{dy}{dx}=12x^2-10x

Each term is differentiated independently, and the subtraction sign is retained.

Do not leave the constant 7 in the derivative.

Gradient at a point

To find the gradient at a point, differentiate first and then substitute the given xx-value into the derivative. Substituting into the original function finds a coordinate, not a gradient.

Worked example

Find a gradient at a point

For f(x)=x3+2xf(x)=x^3+2x, find f(2)f'(2).

  1. Step 1

    Find the gradient function

    Differentiate term by term: f(x)=3x2+2f'(x)=3x^2+2.

  2. Step 2

    Evaluate at the point

    Substitute x=2x=2: f(2)=3(2)2+2=14f'(2)=3(2)^2+2=14.

Final answer

f(2)=14f'(2)=14

The value 14 is the gradient of the curve when x=2x=2.

Self-checkQuick self-check

Differentiate g(x)=5x34x+9g(x)=5x^3-4x+9, then find g(2)g'(2).

Answer

g(x)=15x24,g(2)=56g'(x)=15x^2-4,\qquad g'(2)=56

Differentiate each term, remove the constant, and only then substitute x=2x=2.

Recap

Differentiation produces a gradient function. Apply the power rule term by term, remove constants, and substitute into the derivative when a gradient at a point is required.

Continue to Foundations
Orthic — Learn with Precision