Derivatives

Math · Calculus

Question 1 of 10

0

    Given , find .

    Decimals (0.75 or 0,75), fractions (3/4) and mixed numbers (1 1/2) are accepted. Do not use thousands separators.

    How to type your answer
    • Fractions: 3/4. Mixed numbers: 1 1/2.
    • Decimals with a point or a comma: 0.75 or 0,75.
    • Negative numbers start with a minus: -3/4.
    • Percentages need the % sign: 75%.

    Stuck? Read the explanation

    Unlocks at a streak of 5 correct answers in a row.

    Print a free worksheet (PDF)

    Embed this practice on your site or class page

    Paste this HTML into your page. Students practise right there; it is free and needs no account.

    Derivatives explained

    The derivative of a function measures its instantaneous rate of change: the gradient (slope) of its graph at a single point. If y=f(x)y = f(x), the derivative is written f′(x)f'(x) or dydx\dfrac{dy}{dx}. In physics, the derivative of position with respect to time is velocity.

    The core rules:

    • Power rule: ddxxn=nxn−1\dfrac{d}{dx}x^n = nx^{n-1}. Bring the power down, then reduce it by one.
    • Constants: the derivative of a constant is 0, and constant multiples stay: ddx5x3=15x2\dfrac{d}{dx}5x^3 = 15x^2.
    • Sums: differentiate term by term.
    • Product rule: (uv)′=u′v+uv′(uv)' = u'v + uv'.
    • Chain rule: ddxf(g(x))=f′(g(x))⋅g′(x)\dfrac{d}{dx}f(g(x)) = f'(g(x)) \cdot g'(x).
    • Standard results: (sin⁡x)′=cos⁡x(\sin x)' = \cos x, (cos⁡x)′=−sin⁡x(\cos x)' = -\sin x, (ex)′=ex(e^x)' = e^x, (ln⁡x)′=1x(\ln x)' = \tfrac{1}{x}.

    Rewrite roots and fractions as powers first: x=x1/2\sqrt{x} = x^{1/2} and 1x2=x−2\tfrac{1}{x^2} = x^{-2}. Then the power rule handles them like any other term, and you can turn the result back into root form at the end. A positive derivative means the graph is going up at that point, a negative one means it is going down, and zero means it is momentarily flat.

    Worked example

    Find the gradient of y=3x2−4x+1y = 3x^2 - 4x + 1 at x=2x = 2.

    1. Differentiate each term: dydx=6x−4\dfrac{dy}{dx} = 6x - 4.
    2. Substitute x=2x = 2: 6(2)−4=86(2) - 4 = 8.

    The gradient at x=2x = 2 is 8. Setting dydx=0\dfrac{dy}{dx} = 0 finds the turning point instead: 6x−4=06x - 4 = 0 gives x=23x = \tfrac{2}{3}, where the curve has its minimum.

    Step by step

    1. Write every term as a number times a power of xx. A plain xx is x1x^1 and a constant is x0x^0.
    2. For each term, multiply the coefficient by the power, then lower the power by 1. A constant becomes 0 and disappears.
    3. Only after differentiating, substitute the value of xx if the question asks for a gradient at a point.

    The practice questions give a polynomial f(x)f(x) of degree 1, 2 or 3 and ask for f′(a)f'(a), a single number. The hard level also allows a negative leading coefficient, and negative values of aa can appear at any level. Two things make these questions slip: signs when aa is negative, and forgetting to differentiate before substituting. The examples below show both.

    Worked example 2

    Given f(x)=4x3+3x2+x+6f(x) = 4x^3 + 3x^2 + x + 6, find f′(−2)f'(-2).

    1. Differentiate term by term: 4x3→12x24x^3 \to 12x^2, 3x2→6x3x^2 \to 6x, x→1x \to 1, 6→06 \to 0.
    2. f′(x)=12x2+6x+1f'(x) = 12x^2 + 6x + 1.
    3. Substitute x=−2x = -2: f′(−2)=12(−2)2+6(−2)+1f'(-2) = 12(-2)^2 + 6(-2) + 1.
    4. The square is positive: 12×4=4812 \times 4 = 48. Then 48−12+1=3748 - 12 + 1 = 37.

    So f′(−2)=37f'(-2) = 37. The gradient of the curve at x=−2x = -2 is 37, which means the curve is rising steeply there. Notice that the value of f(−2)f(-2) itself is never needed.

    Worked example 3

    Given f(x)=−3x3+5x2−2xf(x) = -3x^3 + 5x^2 - 2x, find f′(−3)f'(-3).

    1. −3x3→−9x2-3x^3 \to -9x^2, 5x2→10x5x^2 \to 10x, −2x→−2-2x \to -2.
    2. f′(x)=−9x2+10x−2f'(x) = -9x^2 + 10x - 2.
    3. Substitute x=−3x = -3 and keep the brackets: f′(−3)=−9(−3)2+10(−3)−2f'(-3) = -9(-3)^2 + 10(-3) - 2.
    4. (−3)2=9(-3)^2 = 9, so the first term is −9×9=−81-9 \times 9 = -81. The second is 10×(−3)=−3010 \times (-3) = -30.
    5. −81−30−2=−113-81 - 30 - 2 = -113.

    So f′(−3)=−113f'(-3) = -113. The curve is falling very steeply there. The big number comes from the square: x2x^2 grows quickly, so a cubic has steep gradients away from the origin.

    Worked example 4

    For f(x)=2x3−9x2+12x+1f(x) = 2x^3 - 9x^2 + 12x + 1, find the turning points and say what kind each is.

    1. f′(x)=6x2−18x+12=6(x2−3x+2)=6(x−1)(x−2)f'(x) = 6x^2 - 18x + 12 = 6(x^2 - 3x + 2) = 6(x - 1)(x - 2).
    2. A turning point has gradient 0, so x=1x = 1 or x=2x = 2.
    3. Find the heights: f(1)=2−9+12+1=6f(1) = 2 - 9 + 12 + 1 = 6 and f(2)=16−36+24+1=5f(2) = 16 - 36 + 24 + 1 = 5.
    4. Test the gradient either side. At x=0x = 0: f′(0)=12>0f'(0) = 12 > 0 (rising). At x=1.5x = 1.5: f′(1.5)=6(0.5)(−0.5)=−1.5<0f'(1.5) = 6(0.5)(-0.5) = -1.5 < 0 (falling). At x=3x = 3: f′(3)=6(2)(1)=12>0f'(3) = 6(2)(1) = 12 > 0 (rising).

    Rising then falling means (1,6)(1, 6) is a maximum. Falling then rising means (2,5)(2, 5) is a minimum.

    Notice that the maximum (height 6) is higher than the minimum (height 5). That is normal for a cubic with a positive leading coefficient: it comes up from the left, turns down, then turns up again. A local maximum is not necessarily the highest point of the whole graph.

    Common mistakes

    • Substituting xx into f(x)f(x) instead of f′(x)f'(x). The question asks for the gradient, so differentiate first.
    • Forgetting that a constant term vanishes, or leaving a +6+ 6 in the derivative.
    • Losing the sign: −9(−3)2-9(-3)^2 is −81-81, not +81+81. Square the bracket first, then multiply by −9-9.
    • Writing (−3)2(-3)^2 as −9-9. A negative number in brackets squares to a positive.
    • Lowering the power but not multiplying by it, for example turning 4x34x^3 into 4x24x^2.
    • Treating xx as having no power. xx differentiates to 1.

    Exam tips

    • Write f′(x)f'(x) as its own line before substituting. If the final number is wrong you still earn the method mark.
    • Use brackets round every negative value you substitute, and enter them in brackets on the calculator too.
    • Check the sign with the graph in mind. A positive leading coefficient with a very negative xx on a cubic usually gives a positive gradient, as in example 2.
    • For turning points, set f′(x)=0f'(x) = 0, then show how you know the type: test the gradient either side, or use the second derivative.

    What you will practise

    New numbers every time you practise. Levels: Easy, Medium, Hard. Each answer is followed by a worked explanation.

    Example questions

    • Easy

      For f(x) = 4x^2 + 4x, what is f'(3)?

    • Medium

      For f(x) = 2x^2 + 2x + 6, what is f'(3)?

    • Hard

      For f(x) = 3x + 5, what is f'(1)?