Change language

Learn to calculate by playing with Derivative calculator

A short game to see where the result comes from. Pick a language and start; you can stop halfway and come back.

Loading the game…

← Back to Derivative calculator

What you will practise

Differentiate functions symbolically and evaluate the derivative at a given point.

How it works

The function is turned into an operation tree and the matching rule is applied at every node. The result is then simplified by removing additions of zero and multiplications by one.

If you supply a point, both f and f′ are evaluated there.

Formula

(f + g)′ = f′ + g′

(f · g)′ = f′·g + f·g′

(f / g)′ = (f′·g − f·g′) / g²

(f(g(x)))′ = f′(g(x)) · g′(x)

(xⁿ)′ = n·xⁿ⁻¹

Worked example

f(x) = x³ − 4x + sin(x)

f′(x) = 3x² − 4 + cos(x)
f″(x) = 6x − sin(x)

At x = 2: f′(2) = 12 − 4 + cos(2) = 7.5839

How to play

First pick your language. Then work through the challenges one by one: each sets out a case with real numbers and, if you get stuck, you can ask for a hint. When you answer, you see whether you got it right and why. Progress is saved only in your browser, so you can stop halfway and carry on another day.