Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

Every rule for finding a derivative

Which differentiation rule actually applies to the shape in front of you.

Read the expression's outermost structure first. A single power of x (or a constant multiple/sum of them) is the power rule. Two factors multiplied together is the product rule; one function divided by another is the quotient rule. A function plugged inside another function is the chain rule — and it composes with the other three, so a product or quotient whose pieces are themselves composite functions needs the chain rule applied inside the product/quotient rule, not instead of it. An equation that isn't already solved for y calls for implicit differentiation. Everything else in this course's differentiation toolkit is one of these five ideas combined, never a sixth technique.

From first principles

The instantaneous rate of change of a function — the slope of its tangent line at a point.

Every rule below is a shortcut derived from this same difference-quotient limit.

The basic shapes

For any real exponent n, \frac{d}{dx}\left[x^n\right] = nx^{n-1}. A constant multiple and a sum of terms each differentiate independently: \dfrac{d}{dx}[cf(x)] = c f'(x) and \dfrac{d}{dx}[f(x)+g(x)] = f'(x)+g'(x).

Example

\dfrac{d}{dx}[x^5] = 5x^4.
\frac{d}{dx}\left[f(x)g(x)\right] = f'(x)g(x) + f(x)g'(x).

Example

\dfrac{d}{dx}[x^2\sin x] = 2x\sin x + x^2\cos x.
\frac{d}{dx}\left[\frac{f(x)}{g(x)}\right] = \frac{f'(x)g(x) - f(x)g'(x)}{[g(x)]^2}, \qquad g(x) \neq 0.

Example

\dfrac{d}{dx}\left[\dfrac{x}{x+1}\right] = \dfrac{1}{(x+1)^2}.

A function inside a function

If y = f(u) and u = g(x), then \frac{dy}{dx} = f'(g(x)) \cdot g'(x).

Example

\dfrac{d}{dx}[(3x+1)^5] = 15(3x+1)^4.

When y isn't isolated

Differentiating both sides of an equation that isn't already solved for y, treating y as a function of x.

Example

For x^2+y^2=25: 2x+2yy'=0, so y'=-x/y.

Inverse functions

Graph settings

Calculator