Advanced Mathematics

Rules of Differentiation

The rules that differentiate any formula built from powers, exponentials, logarithms and trig functions: product, quotient and chain rules.

Needs a step first: 7

With the derivatives of a few basic functions (xnx^n, exe^x, ln⁡x\ln x, sin⁡x\sin x, cos⁡x\cos x) and three rules for combining them, you can differentiate almost any formula without returning to limits. The chain rule, ddxf(g(x))=f′(g(x)) g′(x)\frac{d}{dx}f(g(x)) = f'(g(x))\,g'(x), is the most important: it says rates multiply along a chain of dependencies. Implicit differentiation extends it to curves like x2+y2=25x^2 + y^2 = 25, and in many variables it becomes the multivariable chain rule behind backpropagation.

Where it shows up: Backpropagation is the chain rule applied layer by layer, from the loss back to every weight.

How to hold it: By hand, until automatic

Differentiate products, quotients and compositions of the basic functions without stopping to think, so the chain rule never slows you down.

What knowing it looks like

  • Differentiate x2sin⁡xx^2 \sin x, exx\frac{e^x}{x} and ln⁡(cos⁡x)\ln(\cos x), naming the rule used at each step.
  • Use implicit differentiation to find the slope of x2+y2=25x^2 + y^2 = 25 at (3,4)(3, 4).
  • Check a derivative numerically by computing f(x+h)−f(x)h\frac{f(x+h) - f(x)}{h} for a small hh.

Test yourself

Differentiate (a) y=e2xsin⁡3xy = e^{2x}\sin 3x and (b) y=ln⁡(x2+1)y = \ln(x^2 + 1).
Show the worked answer
(a) Product rule, with the chain rule inside each factor: y′=2e2xsin⁡3x+e2x⋅3cos⁡3x=e2x(2sin⁡3x+3cos⁡3x)y' = 2e^{2x}\sin 3x + e^{2x} \cdot 3\cos 3x = e^{2x}(2\sin 3x + 3\cos 3x). (b) Chain rule with outer function ln⁡u\ln u and inner u=x2+1u = x^2 + 1: y′=1x2+1⋅2x=2xx2+1y' = \frac{1}{x^2 + 1} \cdot 2x = \frac{2x}{x^2 + 1}. The common slip is forgetting the inner factors 2 and 3 in (a).

Needs a step first: 7

Learn it with an AI

Copy this prompt into any AI assistant. It will take you through step by step at your level and finish with the test above.

Be my maths tutor. I'm learning "Rules of Differentiation" (Core tier): The rules that differentiate any formula built from powers, exponentials, logarithms and trig functions: product, quotient and chain rules.
I already know: The Derivative, Exponentials and Logarithms, Trigonometric Functions and Radians.
Teach it Socratically: first ask what I already know; then explain the core idea with one concrete example and why it's true; then give me three problems, one at a time, easy to hard. Wait for my answer, check every step, and point out mistakes without giving the answer away.
Finish by testing me with this: Differentiate (a) $y = e^{2x}\sin 3x$ and (b) $y = \ln(x^2 + 1)$.
Use LaTeX for formulas. When you say where it's used later (machine learning, quantum mechanics), be specific.

On the way to

Recommended