I can
- differentiate sin(x) and cos(x), also with a chain rule
- differentiate ln(x), e^x and a^x
- use the chain rule and the product rule with these functions
Key idea
With x in radians: the derivative of sin(x) is cos(x), and the derivative of cos(x) is −sin(x).
The derivative of ln(x) is 1/x and of e^x is e^x. For a base a, the derivative of a^x is a^x × ln(a), and the derivative of log base a of x is 1/(x ln(a)).
Chain rule: differentiate the outside, keep the inside, then multiply by the derivative of the inside. So sin(5x) gives 5cos(5x), e^(3x) gives 3e^(3x), and ln(3x + 1) gives 3/(3x + 1).
Product rule: the derivative of uv is u'v + uv'.
Worked examples
Example 1: y = 3sin(x) + 2cos(x)
Watch it: y = 3sin(x) + 2cos(x), step by step:
- Differentiate each term.
- The derivative of sin x is cos x.
- The derivative of cos x is −sin x.
- Put the two parts together.
- The derivative of 3sin(x) is 3cos(x).
- The derivative of 2cos(x) is −2sin(x).
dy/dx = 3cos(x) − 2sin(x)
Example 2: y = sin(5x)
Watch it: y = sin(5x), step by step:
- Use the chain rule: outside, then inside.
- The derivative of sin is cos, keeping 5x inside.
- Differentiate the inside.
- Multiply the two parts.
- The outside is sin, so we get cos(5x).
- The inside 5x has derivative 5.
dy/dx = 5cos(5x)
Example 3: y = ln(3x + 1)
Watch it: y = ln(3x + 1), step by step:
- Use the chain rule again.
- So we get 1/(3x + 1).
- Differentiate the inside.
- Multiply: 3 × 1/(3x + 1).
- The derivative of ln(inside) is 1/(inside).
- Multiply by the derivative of the inside, which is 3.
dy/dx = 3/(3x + 1)
Try it
Show answer
-sin(x)+4Show answer
3cos(3x)Show answer
5e^(5x)Show answer
1/x+2xShow answer
2^x ln(2)Common mistakes
- Writing the derivative of cos(x) as sin(x). It has a minus sign.
- Leaving out the factor from the inside, such as the 5 in sin(5x).
- Saying the derivative of 2^x is x × 2^(x − 1). That rule is for powers of x only.
Remember
- sin goes to cos. cos goes to −sin.
- ln(x) goes to 1/x. e^x stays e^x.
Practise this
Worksheets 161 to 180 of Level 16 practise this note. Sign in to Mathhh, write your answers by hand and see your marks straight away.
Open Mathhh