Differentiation AA SL
Differentiation gives the gradient function of a curve: a formula for the slope at any point, without drawing the graph. This page shows how to differentiate powers, roots, fractions and the standard functions term by term, how to use the chain rule when one function sits inside another, and how to use the product and quotient rules when two functions are multiplied or divided, with worked examples and exam-style questions.
Formulas at a glance
The derivatives of , , , and , the chain rule, and the product and quotient rules are all in the formula booklet. Know which rule goes with which kind of function, because the booklet does not say when to use each one.
Power rule
In the bookletChain rule
In the bookletProduct rule
In the bookletQuotient rule
In the bookletWhich rule to use
Look at how the function is built, then choose the rule.
| The function is | Use | Notes |
|---|---|---|
| A power of , or a sum of terms such as | The power rule term by term | Multiply by the power, then reduce the power by . A constant differentiates to and differentiates to |
| A root or a fraction in , such as or | Rewrite as powers, then the power rule | and . Only a single term in the denominator can be split like this |
| , , or , alone or with a constant multiple | The standard derivatives | differentiates to . For and , must be in radians |
| A function of a function, such as , , or | The chain rule | Differentiate the outside, keep the inside, then multiply by the derivative of the inside |
| Two functions of multiplied, such as | The product rule | Write down , , and first. If a factor is a composite function, use the chain rule to find its derivative |
| One function divided by another whose denominator contains , such as | The quotient rule | The order in the numerator matters. If the denominator is only a number, just take the constant factor out |
| The gradient or rate of change at a point | Differentiate, then substitute the value | Or use the calculator's numerical derivative to check an answer. Give exact values if the question asks for them |
Section 1 of 3 SL5.1 SL5.3 SL5.6
Basic differentiation rules
The derivative of is : multiply by the power, then reduce the power by . Differentiate a sum term by term, and rewrite roots and fractions as powers first. The derivative gives the gradient of the curve, and the standard derivatives of , , and are included.
The rules you need
Standard derivatives
These four are given exactly as shown in the formula booklet - no derivation needed, just recall which one goes with which function.
In the formula bookletKey terms
What does the derivative represent?
The derivative , or , gives the gradient of the curve at a point, which is the rate of change of with respect to .
e.g. For , , so the gradient at is .
What are the derivatives of and ?
and , with in radians. Note the minus sign for cosine.
e.g. has .
What are the derivatives of and ?
and . Constant multiples stay as multipliers.
e.g. has .
What happens to a constant term when you differentiate?
The derivative of a constant is , because a constant does not change as changes. A term of the form differentiates to .
e.g. has .
Worked example, step by step
The question No calculator needed [4 marks]
Let , for .
(a) Find .
(b) Find the gradient of the graph of at the point where .
Worked solution: worked example
Answer: (a) . (b) The gradient is ().
Step 1 - Rewrite as powers of x.
, so M1 - Rewrite the root and the fraction as a power of ,
Why? The power rule only works on a term of the form . Roots and fractions have to be written as powers first. The term stays as it is because it has its own standard derivative.
Step 2 - Differentiate term by term.
so A1 -
Why? Multiply by the power and subtract from it: . The two negatives in make a positive. A constant multiple such as stays in front of the standard derivative .
Step 3 - Substitute x = 4.
The gradient at is . M1 - Substitute into
Why? The gradient of a curve at a point is the value of the derivative at that point. The second part asks for a number, so put into , not into .
Step 4 - Evaluate with exact values.
, so A1 - (or )
Why? Work out the fractional power as a root first: . Then the three terms are easy to add by hand.
Step 5 - Check.
Use the calculator's numerical derivative of at . It should give , which is .
Why? A numerical derivative is a quick check on the algebra. It does not replace the working, which is where the marks are.
M1 Rewrite the root and the fraction as a power of ,
A1
M1 Substitute into
A1 (or )
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 8 marks
Calculator steps: Numerical derivative at a point
Common mistakes
- Differentiating a root or fraction without rewriting it as a power first. and can't be differentiated directly - convert to and , apply the power rule, then convert back if the question expects roots or fractions in the answer.
- Dropping the minus sign when differentiating . The derivative of is , not - this sign is easy to lose under time pressure.
- Stopping at the derivative when the question asks for a gradient at a point. is a formula, not the answer - you still need to substitute the given -value and evaluate.
Section 2 of 3 SL5.6
The chain rule
The chain rule differentiates a composite function using . Differentiate the outer function, leaving the inner function unchanged, then multiply by the derivative of the inner function. Identifying which function is inside and which is outside is the key first step.
The formula
Chain rule
Differentiate the outer function, then multiply by the derivative of the inner function.
In the formula bookletKey terms
What are the inner and outer functions?
In , the function is the inner function, applied first, and is the outer function. Naming them correctly is the first step of the chain rule.
e.g. In , the inner function is and the outer function is raising to the power .
How do you use the chain rule with a power of a bracket?
For , .
e.g. has .
How do you apply the chain rule to and ?
Differentiate the outer function as usual, keep the inside unchanged, and multiply by the derivative of the inside: and .
e.g. has , and has .
What is the inner derivative?
The inner derivative is the derivative of the function inside the bracket or inside the argument. It is the factor that is most often forgotten.
e.g. For , the inner function has inner derivative , so .
Worked example, step by step
The question No calculator needed [4 marks]
Let .
(a) Find .
(b) Find the value of .
Worked solution: worked example
Answer: (a) . (b) .
Step 1 - Identify the inner and outer functions.
Write . The outer function is and the inner function is . M1 - Identify an inner function and an outer power
Why? A square root of an expression is a function of a function, so the chain rule is needed. Writing the root as a power of lets you use the power rule on the outer function.
Step 2 - Differentiate each part.
A1 - and
Why? Differentiate the outer function with respect to , and the inner function with respect to . The inner derivative is the factor that is most often forgotten.
Step 3 - Multiply the two derivatives.
A1 -
Why? The chain rule says to multiply. Put back in once you have multiplied, so that the answer is in terms of . The negative power means the bracket goes under the .
Step 4 - Substitute x = 1.
A1 -
Why? Substitute after differentiating, not before. Putting into first would turn it into a constant, which has derivative .
Step 5 - Check.
The derivative is positive for , and is increasing for because the square root of a larger number is larger, so is sensible.
Why? A quick check of sign or size catches a lost minus sign or a missing factor. You can also confirm with the calculator's numerical derivative at .
M1 Identify an inner function and an outer power
A1 and
A1
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 9 marks
Calculator steps: Numerical derivative at a point
Common mistakes
- Forgetting the inner derivative in the chain rule. Differentiating as instead of drops the multiplier from the inner function .
- Sign errors with negative or fractional exponents in the power rule. , not - the exponent's own sign carries through to the new coefficient.
- Misidentifying the inner and outer functions. In the outer function is cosine and the inner is - swapping this order, or trying to differentiate and separately without the multiplication step, gives the wrong derivative entirely.
Section 3 of 3 SL5.6
Product and quotient rule
When a function is a product of two functions of , or one function divided by another, the power rule alone is not enough and you use the product rule or the quotient rule. Label the two parts and , differentiate each, and substitute into the formula. Then simplify the result, factorising where possible.
The two rules
Product rule
For a product of two functions - differentiate one at a time and add the results.
In the formula bookletQuotient rule
For a fraction of two functions - order matters in the numerator, unlike the product rule.
In the formula bookletKey terms
How do you choose between the product rule and the quotient rule?
Use the product rule when two functions of are multiplied, and the quotient rule when one function is divided by another. If the denominator is just a constant, scale the numerator instead.
e.g. is a product, is a quotient, and is simply .
How do you set out and ?
Write down , , and before substituting, so that each part is checked on its own.
e.g. For : , , and , so .
How do you simplify after using the quotient rule?
Expand the numerator, collect like terms, and cancel any common factor with the denominator. Leave the denominator as unless it simplifies.
e.g. For , the numerator is , so .
When does a product rule term need the chain rule too?
If one factor is itself a composite function, differentiate that factor with the chain rule inside the product rule.
e.g. For , .
Worked example, step by step
The question No calculator needed [5 marks]
Let , for .
(a) Find , giving your answer in the form .
(b) Find the gradient of the curve at the point where .
Worked solution: worked example
Answer: (a) . (b) The gradient is .
Step 1 - Choose the rule and name u and v.
The function is one expression divided by another, so use the quotient rule. Let and . M1 - Use the quotient rule with and
Why? Writing and down first lets you check each derivative separately before you put them into the formula.
Step 2 - Differentiate u and v.
(chain rule, inner derivative ) and . A1 - and
Why? is a composite function, so its derivative needs the chain rule: is kept and multiplied by . Forgetting the is a common slip.
Step 3 - Substitute into the quotient rule.
M1 - Substitute into
Why? The numerator is times minus times , in that order. Swapping the two terms changes the sign of the answer.
Step 4 - Simplify.
Factorise the numerator with : So and . A1 -
Why? Taking out the common factor gives the form asked for and makes the next part easier. Expand carefully: it is .
Step 5 - Find the gradient at x = 0.
A1 -
Why? The gradient is the value of the derivative at . Remember that .
M1 Use the quotient rule with and
A1 and
M1 Substitute into
A1
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 9 marks
Calculator steps: Numerical derivative at a point
Common mistakes
- Getting the sign wrong in the quotient rule numerator. It's , not the other way round - swapping and here flips the sign of the whole answer.
- Using the product rule when a term should just be scaled. is a constant multiple, not a product of two functions of - the product rule is only needed when both factors actually depend on in a way that needs differentiating separately.
- Forgetting the chain rule inside a product or quotient rule term. If inside a product rule calculation, is , not - the inner derivative from the chain rule still has to be applied before combining terms.
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 rules, The chain rule, Product and quotient rule
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 x² ln X,T,θ,n ). Press ▶ to move to the x-value box and type 2. |
d/dx(X²ln(X))|x=2 |
Press enter. The screen shows the value of the derivative at . to 6 significant figures, which is to 3 significant figures. The answer is a numerical estimate, so the last digits can differ slightly from the exact value. |
d/dx(X²ln(X))|x=2 4.77259 |
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
See the full list of GDC guides for every calculator task.
Syllabus content covered
| Code | Syllabus content |
|---|---|
| SL5.1 | Derivative interpreted as gradient function and as rate of change. Forms of notation: , , , for the first derivative. Informal understanding of the gradient of a curve as a limit. |
| SL5.3 | Derivative of is , . The derivative of functions of the form , where all exponents are integers. |
| SL5.6 | Derivative of (), , , and . Differentiation of a sum and a multiple of these functions. The chain rule for composite functions. The product and quotient rules. |
Official IB source: Mathematics: analysis and approaches subject brief (PDF, ibo.org).
Quick questions
What is the power rule for differentiation?
: multiply by the power, then reduce the power by 1. It works for any rational exponent, including negative and fractional ones.
What is the chain rule?
If and , then . In practice: differentiate the outer function, keeping the inner function unchanged, then multiply by the derivative of the inner function.
What is the product rule?
If , then . Differentiate each factor in turn, keeping the other one unchanged, and add the two results.
How do you differentiate a square root or a fraction like ?
Rewrite it as a power first: and . Then apply the power rule to each term before simplifying back to root or fraction form if needed.
How do you know when a function needs the chain rule?
Whenever one function is applied to another - a bracket raised to a power, a trig function of an expression, to the power of an expression, or of an expression - you have a composite function and need the chain rule.
What is the quotient rule?
If , then . The order in the numerator matters - it isn't symmetric like the product rule.
How do I find the gradient of a curve at a point?
Differentiate to find , then substitute the -value of the point. For at , .
How do I differentiate a bracket with a negative or fractional power?
The same rule applies: bring down the power, reduce it by , and multiply by the inner derivative. For , .
Is the derivative of a product the product of the derivatives?
No. is not . For , the correct derivative is , but multiplying the two derivatives would give .
How do I differentiate a constant multiple of a function?
Keep the constant and differentiate the function: . So .
Ready to practise properly?
Practice questions on every section, marked instantly like the real exam.