Skip to content

Search topics

Practise for free Sign in

Worked example Differentiation

Differentiate simple functions worked example

In one sentence

6 worked examples on Differentiate simple functions, each solved step by step.

Last checked Source: Differentiate simple functions Source: Differentiate simple functions qualifications.pearson.com (opens in a new tab)

Differentiate simple functions for your study of A-level maths, with its source.

Related pages include Laws of logarithms, Gradient of exponential functions, The functions e^x and ln x and Differential equations.

Points to check

  • Leaving the constant term in the derivative.
  • Letting h = 0 before dividing, which gives 0/0.

Study brief

  • Preparing for the a level maths requires the ability to differentiate simple functions. This includes finding derivatives for expressions such as x2 + 3x - 5 or functions involving rational values of n, such as 1/x where x > 0. Students should be able to differentiate expressions like kx or x^n. Beyond simple power rules, skills are expected in differentiating functions generated from standard forms using the product rule, quotient rule, and chain rule. This includes more complex forms such as e3x, 2x sin x, 4/x, cos2 x, and tan2 2x. Furthermore, differentiation of cosec x, cot x, and sec x is required. More advanced topics involve differentiating functions where x = sin y or x = 3 tan 2y, alongside the use of inverse functions. These mathematical skills are essential for finding equations of tangents and normals to curves, whether given parametrically or implicitly. Understanding the first derivative f'(x) is necessary to locate maximum or minimum points, specifically where f'(x) = 0. Additionally, students must recognize that at an inflection point, f''(x) changes sign, while cases where f''(x) = 0 and f'(x) = 0 may occur in functions like y = x^n where n > 2.

Worked examples

Example 1

Problem

Differentiate y = 3x² − 5x + 2 and find the gradient at x = 2.

Solution, step by step

Try it yourself first, then open a step to see why it works.

  1. 1 Use d/dx(xⁿ) = nxⁿ⁻¹ on each term.

    Why: Multiply by the power then reduce it by one.

  2. 2 dy/dx = 6x − 5.

    Why: Constants differentiate to zero.

  3. 3 At x = 2: dy/dx = 7.

    Why: Substitute.

Answer

dy/dx = 6x − 5; gradient 7

Example 2

Problem

Differentiate f(x) = x^2 from first principles.

Solution, step by step

Try it yourself first, then open a step to see why it works.

  1. 1 f(x + h) − f(x) = (x + h)^2 − x^2 = h² + 2hx.

    Why: Expand the bracket.

  2. 2 Divide by h: h + 2x.

    Why: Every remaining term contains h.

  3. 3 Let h → 0: f′(x) = 2x.

    Why: Only the term without h survives.

Answer

f′(x) = 2x

Example 3

Problem

Differentiate y = 2x³ + 6x² − 1 and find the gradient at x = 2.

Solution, step by step

Try it yourself first, then open a step to see why it works.

  1. 1 Use d/dx(xⁿ) = nxⁿ⁻¹ on each term.
  2. 2 dy/dx = 6x² + 12x.
  3. 3 At x = 2: dy/dx = 48.

Answer

dy/dx = 6x² + 12x; gradient 48

Example 4

Problem

Differentiate f(x) = x^3 from first principles.

Solution, step by step

Try it yourself first, then open a step to see why it works.

  1. 1 f(x + h) − f(x) = (x + h)^3 − x^3 = h³ + 3h²x + 3hx².
  2. 2 Divide by h: h² + 3hx + 3x².
  3. 3 Let h → 0: f′(x) = 3x².

Answer

f′(x) = 3x²

Example 5

Problem

Differentiate y = x⁴ + 2x³ − 3x² + 5 and find the gradient at x = 2.

Solution, step by step

Try it yourself first, then open a step to see why it works.

  1. 1 Use d/dx(xⁿ) = nxⁿ⁻¹ on each term.
  2. 2 dy/dx = 4x³ + 6x² − 6x.
  3. 3 At x = 2: dy/dx = 44.

Answer

dy/dx = 4x³ + 6x² − 6x; gradient 44

Example 6

Problem

Differentiate y = 4x³ − 7x + 1 and find the gradient at x = 2.

Solution, step by step

Try it yourself first, then open a step to see why it works.

  1. 1 Use d/dx(xⁿ) = nxⁿ⁻¹ on each term.
  2. 2 dy/dx = 12x² − 7.
  3. 3 At x = 2: dy/dx = 41.

Answer

dy/dx = 12x² − 7; gradient 41

Practise for free

Test yourself with exam-style questions and see why each answer is right or wrong.

Start practising
Free practice, no card Start without an account Sources checked Every fact names its official source
Works on any device Phone, tablet or desktop
Contact us Questions or a correction