MTH 102 · Elementary Mathematics II
Our notes
2 min readStandard derivatives
| y | dy/dx |
|---|---|
| c (constant) | 0 |
| xⁿ | nxⁿ⁻¹ |
| sin x | cos x |
| cos x | −sin x |
| tan x | sec²x |
| eˣ | eˣ |
| eᵃˣ | aeᵃˣ |
| ln x | 1/x |
| aˣ | aˣ ln a |
Also: d/dx[k f(x)] = k f′(x), and the derivative of a sum is the sum of the derivatives.
Worked example. y = 4x³ − 2x² + 7x − 9 → dy/dx = 12x² − 4x + 7.
Worked example. y = 3/x² + √x = 3x⁻² + x^(1/2) → dy/dx = −6x⁻³ + (1/2)x^(−1/2) = −6/x³ + 1/(2√x).
Product rule
If y = uv: dy/dx = u dv/dx + v du/dx.
Worked example. y = x² sin x: u = x², v = sin x.
dy/dx = x² cos x + 2x sin x.
Quotient rule
If y = u/v: dy/dx = (v du/dx − u dv/dx) / v².
Worked example. y = (2x + 1)/(x − 3):
dy/dx = [(x − 3)(2) − (2x + 1)(1)] / (x − 3)² = (2x − 6 − 2x − 1)/(x − 3)² = −7/(x − 3)².
Chain rule (function of a function)
If y = f(u) and u = g(x): dy/dx = dy/du × du/dx.
Short way: differentiate the outside, keep the inside, multiply by the derivative of the inside.
Worked example. y = (3x² + 1)⁵: dy/dx = 5(3x² + 1)⁴ × 6x = 30x(3x² + 1)⁴.
Worked example. y = sin(4x): dy/dx = 4 cos 4x.
Worked example. y = e^(x²): dy/dx = 2x e^(x²).
Worked example. y = ln(x² + 1): dy/dx = 2x/(x² + 1).
Higher derivatives
The second derivative d²y/dx² (or f″(x)) is the derivative of dy/dx.
Worked example. y = x⁴ − 3x²: dy/dx = 4x³ − 6x, d²y/dx² = 12x² − 6.
Choosing the rule
- Two functions multiplied → product rule.
- One function divided by another → quotient rule (or write as a product with a negative power).
- A function inside another → chain rule.
- Often you need more than one: y = x(2x + 1)³ uses the product rule with the chain rule inside.
Exams usually ask: differentiate using each rule; combinations of rules; second derivatives; derivatives of trigonometric, exponential and logarithmic functions.
Common mistake: in the chain rule, forgetting to multiply by the derivative of the inside: d/dx (3x² + 1)⁵ is not just 5(3x² + 1)⁴.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Calculus Volume 1, 3.3 Differentiation Rules
(opens openstax.org in a new tab)
OpenStax, Calculus Volume 1, 3.3 Differentiation Rules, CC BY-NC-SA 4.0 · licence
-
Calculus Volume 1, 3.6 The Chain Rule
(opens openstax.org in a new tab)
OpenStax, Calculus Volume 1, 3.6 The Chain Rule, CC BY-NC-SA 4.0 · licence
-
Calculus 1
Free lessons and practice with instant feedback.
(opens khanacademy.org in a new tab)
-
Single Variable Calculus (18.01SC)
A full MIT course: lecture videos, notes and problem sets with solutions. Harder than 100 level in places.
(opens ocw.mit.edu in a new tab)
MIT OpenCourseWare, Single Variable Calculus (18.01SC), CC BY-NC-SA 4.0 · licence
Watch
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.