Differentiation AI SL
Differentiation turns a function into its gradient function, which gives the gradient of the curve, and so the rate of change, at every point. You also meet the idea of a limit, estimated from a table or graph: as the input gets closer to a number, which value does the output approach? You differentiate polynomials with the power rule, and when a question asks you to find the derivative you show that working. The calculator can also generate a derivative or give the gradient at a point, which is a good check. Start with basic differentiation, then use the gradient to find the equation of a tangent or a normal.
Formulas at a glance
The power rule for differentiation is in the formula booklet, and so is the point-gradient form of the equation of a straight line. The rule for the gradient of a normal, the negative reciprocal, is not in the booklet. Polynomials are differentiated with the power rule; the calculator's numerical derivative gives a gradient at a point and is a good check.
Power rule for differentiation
In the bookletEquation of a tangent at a known point
In the bookletWhich method to use
Differentiate a polynomial with the power rule, and show that working when the question asks you to find the derivative. The calculator can generate a derivative, check a gradient at a point or draw a tangent, but it does not replace the working a question asks for.
| The question has | Use | Notes |
|---|---|---|
| A polynomial to differentiate, possibly with a term such as | The power rule on each term separately | Rewrite a fraction as a negative power first, and a constant term gives zero |
| The gradient of a curve at a given | Differentiate, then substitute the -value into | Substituting into gives the height, not the gradient. The numerical derivative on the calculator checks the value |
| The rate of change of a quantity at a given time or input | Differentiate, substitute, then give the units as output units per input unit | The sign says whether the quantity is increasing or decreasing |
| The value of where the gradient has a given value | Set equal to that value and solve | The calculator's equation solver is fine if the equation is awkward |
| The equation of the tangent at a point | Find the -coordinate, find the gradient from , then | The calculator can draw the tangent to check the equation |
| The equation of the normal at a point | The gradient of the normal is , then the same line form | A horizontal tangent has a vertical normal, |
| A point where the tangent has a given gradient, or is parallel to a given line | Set equal to that gradient, solve for , then find | A parallel line has the same gradient |
Basic differentiation
The derivative gives the gradient of the graph of at any point. For a term the power rule gives , and it is applied to each term of a polynomial in turn. The topic covers rewriting fractions as negative powers first, and substituting a value to find the gradient at a point.
The power rule
The power rule is in the formula booklet, so you do not need to memorise it, but you do need to apply it fluently.
Power rule
Multiply by the exponent, then reduce the exponent by one. Applies term-by-term to any sum such as
Gradient at a point
= gradient of the curve at
Differentiate first, then substitute the given -value into the derivative - not into the original function.
Most GDCs can also evaluate a numerical derivative at a point directly - see Using your GDC below for the exact keystrokes.
Key terms
What is a limit?
As gets closer and closer to a number, the limit is the value that the output gets closer and closer to. You can estimate it from a table of values or from a graph.
e.g. For , the values give , so the limit as approaches is .
What is a derivative?
The derivative of a function is a new function that gives the gradient of the original graph at each value of . It is written or .
e.g. If then , so the gradient at is .
What does f'(a) mean?
The value is the gradient of the curve at the point where . To find it, differentiate first and then substitute .
e.g. For , , so .
What happens to a constant term when you differentiate?
A constant has a horizontal graph with gradient zero, so its derivative is zero and the term disappears.
e.g. The derivative of is .
How do you differentiate a term such as 5x?
Write as and use the power rule. The derivative of is always the constant .
e.g. The derivative of is , and the derivative of is .
Worked example, step by step
The question Calculator used only to check the gradient [5 marks]
A venue charges a fixed hire fee, so the cost per guest of a dinner depends on the number of guests. For guests, the cost per guest, in dollars, is modelled by
(a) Find .
(b) Find the value of and interpret it in context.
Worked solution: worked example
Answer: (a) (b) : at 30 guests the cost per guest is falling by $0.46 for each extra guest.
Step 1 - Rewrite the fraction as a power.
Write as , so that
Why? The power rule only works on terms of the form . A fraction with in the denominator has to be written as a negative power before you differentiate.
Step 2 - Differentiate each term.
Use on each term in turn. The constant gives . The term gives . The term gives . So M1 - Attempt to differentiate, with the power rule applied to at least one term A1 -
Why? Each term is differentiated on its own, then the results are added. A constant has zero gradient, so it disappears, and a term always gives the constant .
Step 3 - Substitute n = 30 into the derivative.
M1 - Substitute into A1 -
Why? A gradient or rate of change is a value of , not of , so the number goes into the derivative. Putting into would give the cost per guest instead.
Step 4 - Interpret the sign and the units.
. When there are 30 guests, the cost per guest is falling by about $0.46 for each extra guest. A1 - The cost per guest is falling by $0.46 for each extra guest (decreasing, with units)
Why? The derivative is a rate of change, measured in output units per input unit: here dollars per guest, for each extra guest. A negative sign means the quantity is decreasing.
Step 5 - Check with the calculator.
Open the numerical derivative at a point on the home screen. Enter the expression , the variable and the point . The calculator shows , which agrees.
Why? The numerical derivative is a quick check on a gradient. It does not replace the working, because the question asks you to find as an expression.
M1 Attempt to differentiate, with the power rule applied to at least one term
A1
M1 Substitute into
A1
A1 The cost per guest is falling by $0.46 for each extra guest (decreasing, with units)
Now you try: enter your answers to be marked
These are real practice questions. Type your answer in each box and press Mark it. The worked solution and mark scheme appear straight away, and your first attempt is the one that counts. Use the keyboard for powers, roots and trig, and the working box for your notes.
Worked solution: practice question 1
Worked solution: practice question 2
Worked solution: practice question 3
Your score so far: 0 out of 10 marks
Calculator steps: Numerical derivative at a point
Common mistakes
- Substituting into instead of when a gradient is asked for. "Find the gradient at " means differentiate first, then substitute - substituting into the original function gives the -value, not the gradient.
- Forgetting to rewrite fractions as powers before differentiating. A term like must first become - the power rule can't be applied directly to a term written any other way.
- Leaving the constant term in the derivative. In the has gradient zero, so with no constant.
Section 2 of 2 SL5.4
Tangents and normals
A tangent is the straight line that touches a curve at a point and has the same gradient as the curve there, and the normal is the line through that point perpendicular to the tangent. To find either equation, differentiate to get the gradient at the point, then use . For the normal, the gradient is first changed to its negative reciprocal.
Tangent and normal gradients
The point-gradient form of a straight line is in the formula booklet; the derivative supplies the gradient. The rule for the gradient of a normal is not in the booklet.
Tangent
The gradient of the tangent at is simply - the value of the derivative at that point.
Normal
The normal is perpendicular to the tangent, so its gradient is the negative reciprocal of .
Some calculators can draw the tangent or return directly - see Using your GDC below for the exact keystrokes.
Key terms
What is a tangent to a curve?
A tangent is a straight line that touches the curve at a given point and has the same gradient as the curve at that point. That gradient is the value of at the point.
e.g. The tangent to at has gradient , because when .
What is a normal to a curve?
The normal at a point is the straight line through that point which is perpendicular to the tangent there. Its gradient is the negative reciprocal of the tangent gradient.
e.g. If the tangent has gradient , the normal has gradient .
How do you find the gradient at a given point?
Differentiate to get the gradient function, then substitute the -coordinate of the point into the derivative, not into the original function.
e.g. For , , so at the gradient is .
How do you write a line's equation from a point and a gradient?
Use , where is the point and is the gradient. Rearrange to if the question asks for that form.
e.g. A line with gradient through is , which simplifies to .
Worked example, step by step
The question Calculator used only to check the gradient [6 marks]
The top edge of a curved garden wall is modelled by where and are in metres. The point lies on the wall.
(a) Find the equation of the tangent to the wall at . Give your answer in the form .
(b) A drainage pipe is laid along the normal to the wall at . Find the equation of the normal. Give your answer in the form .
Worked solution: worked example
Answer: (a) (b)
Step 1 - Check that P is on the curve.
When : . So does lie on the curve.
Why? The tangent touches the curve at , so must satisfy the equation. When the question gives the point, this check takes seconds and catches a misread number.
Step 2 - Differentiate and find the gradient at P.
At : The gradient of the tangent is . M1 - Attempt to differentiate and substitute A1 - Gradient
Why? The gradient of the tangent at a point is the value of the derivative there, so goes into , not into . Check it with the numerical derivative on the calculator: enter and the point , and it shows .
Step 3 - Write the equation of the tangent.
Use with and : M1 - Substitute their gradient and into A1 -
Why? A line is fixed by one point and its gradient, and this form uses them directly. Expand and collect terms to reach , as the question asks.
Step 4 - Find the gradient of the normal.
The normal is perpendicular to the tangent, so its gradient is the negative reciprocal of : M1 - Negative reciprocal of their tangent gradient
Why? Two perpendicular lines have gradients whose product is . The two operations are to flip the fraction and to change its sign.
Step 5 - Write the equation of the normal.
To check, gives , which is the point . A1 -
Why? The normal passes through the same point as the tangent, so the point stays the same and only the gradient changes. Putting back into the line is a quick check.
M1 Attempt to differentiate and substitute
A1 Gradient
M1 Substitute their gradient and into
A1
M1 Negative reciprocal of their tangent gradient
A1
Now you try: enter your answers to be marked
Worked solution: practice question 1
Worked solution: practice question 2
Worked solution: practice question 3
Your score so far: 0 out of 11 marks
Calculator steps: Draw a tangent and read its gradient, Numerical derivative at a point
Common mistakes
- Using the function value instead of the derivative as the gradient. The gradient of the tangent at a point is , not - substitute into the derivative, not the original function.
- Forgetting to take the negative reciprocal for a normal. If the tangent gradient is , the normal gradient is , not and not - two separate operations, flip and negate.
- Substituting the -coordinate into the wrong expression when writing the final line. Once the gradient and point are both found, the equation is using the original point , not a point from an intermediate working line.
Using your GDC
The exact key presses for the TI-84 Plus CE, Casio fx-CG50, Casio fx-CG100 and TI-Nspire CX, with what the screen shows. Pick your calculator.
Numerical derivative at a point
Used in: Basic differentiation, Tangents and normals
How to find a numerical derivative at a point on a TI-84 Plus CE
The nDeriv( template on the home screen | |
Press 2nd mode (QUIT) to reach the home screen. Press math and choose 8:nDeriv(. In MathPrint mode this pastes a template with a box for the expression and a box for the x-value. |
|
In the first box type the function: X,T,θ,n ^ 3 ▶ − 2 X,T,θ,n (the ▶ after the 3 leaves the exponent box, so the 3 is the whole power). Press ▶ to move to the x-value box and type 2. |
d/dx(X^3-2X)|x=2 |
Press enter. The screen shows the value of the derivative at . ; the screen shows 10.000001 because the calculator estimates the derivative. The answer is a numerical estimate, so the last digits can differ slightly from the exact value. |
d/dx(X^3-2X)|x=2 10.000001 |
Another way: type the command | |
If your calculator shows the command form (Classic mode, or you prefer typing), enter | |
Another way: from the graph | |
With the function graphed, 2nd trace (CALC) and 6:dy/dx read the gradient at a typed x-value, and the DRAW menu can draw the tangent. The steps are in draw a tangent and read its gradient. | |
The variable in the command must match the letter in the expression: use X in both. If the template does not appear, check the calculator is in MathPrint mode, or type the command form.
The full guide: Numerical derivative at a point
Draw a tangent and read its gradient
Used in: Tangents and normals
How to draw a tangent and read its gradient on a TI-84 Plus CE
Graph the function | |
Press Y=, clear any old functions with clear, then type 0 . 2 X,T,θ,n ^ 3 − X,T,θ,n next to Y1=. |
Plot1 Plot2 Plot3 \Y1=0.2X^3-X \Y2= \Y3= |
Press window and set Xmin = −3, Xmax = 4, Ymin = −4, Ymax = 6. For a negative number use the (−) key, not the subtraction key. Press graph. The point you want must be on the screen. |
|
Draw the tangent and read its equation | |
Press 2nd prgm (DRAW) and choose 5:Tangent(. The graph appears with a cursor on Y1. If more than one function is graphed, use ▲ or ▼ to put the cursor on the right one. |
|
Type the x-value, here 2, then press enter. You can instead move along the curve with ◀ and ▶, but typing the number lands exactly on the point. The tangent is drawn. The screen shows X=2 and the equation of the line, Y=1.4X-3.2, so the gradient is and the equation is . |
|
Another way: read only the gradient | |
With the graph shown, press 2nd trace (CALC) and choose 6:dy/dx. Type 2 and press enter. The screen shows dy/dx at , the gradient . The value is a numerical estimate, so it may show a very small error in the last digits. |
|
Type the x-value rather than moving the cursor, so the tangent touches the curve exactly where the question says. Draw the tangent again at another point by repeating the steps; press 2nd prgm (DRAW) and choose 1:ClrDraw first if you want to remove old lines.
The full guide: Draw a tangent and read its gradient
See the full list of GDC guides for every calculator task.
Syllabus content covered
| Code | Syllabus content |
|---|---|
| SL5.1 | Introduction to the concept of a limit. Estimation of the value of a limit from a table or graph. Derivative interpreted as gradient function and as rate of change. Forms of notation: , , or for the first derivative. |
| SL5.3 | The derivative of is , . The derivative of functions of the form where all exponents are integers. |
| SL5.4 | Tangents and normals at a given point, and their equations. Use of both analytic approaches and technology. |
Official IB source: Mathematics: applications and interpretation subject brief (PDF, ibo.org).
Quick questions
What is the power rule for differentiation?
If , then . Multiply by the exponent, then reduce the exponent by one. It applies term by term to any sum of power terms.
How do you find the equation of a tangent to a curve?
Find the -coordinate at the given -value, differentiate to get the gradient function, substitute in the -value to get the gradient, then use with that point and gradient.
How do you differentiate a term with x in the denominator?
Rewrite it using a negative index first - for example becomes - then apply the power rule as normal.
How is the gradient of a normal related to the gradient of the tangent?
The normal is perpendicular to the tangent at that point, so its gradient is the negative reciprocal of the tangent gradient: if the tangent gradient is , the normal gradient is .
What is the difference between f'(x) and dy/dx?
They are two notations for the same derivative. If then .
What happens when the tangent is horizontal?
A horizontal tangent has gradient , so its equation is . The normal is then vertical, with equation , because a negative reciprocal of cannot be found. For at the tangent is and the normal is .
How do I differentiate a product of brackets?
Expand the brackets first so the function is a sum of power terms, then differentiate each term. For example, , which has derivative .
How can I check my tangent equation is correct?
Substitute the coordinates of the given point into your equation, which must be satisfied. Then check that the gradient of your line is the value of at that point.
Why is the derivative of a straight line a constant?
A straight line has the same gradient everywhere, so its derivative does not depend on . For , at every point.
How do I find where a tangent crosses the axes?
Put to find the -intercept and to find the -intercept. For the tangent , these are and .
Ready to practise properly?
Practice questions on every section, marked instantly like the real exam.