A derivative answers one question: at this exact instant, how fast is the output changing? Everything in differential calculus — every rule sheet, every exam problem, every optimization in economics and physics — is machinery built around that single question. The good news for any student arriving anxious: there are only about six differentiation rules, and once the power rule clicks, the rest stack on top of it like floors of the same building. This guide walks each rule with the smallest example that shows it, then the mistake each rule exists to prevent.
What a Derivative Actually Measures
Geometry first. The derivative of a function at a point is the slope of the tangent line drawn there — the direction the curve is heading at that instant, not across a wide interval. Physically: position's derivative is velocity; velocity's derivative is acceleration. Economically: cost's derivative is marginal cost, the price of one more unit. This is why "find the derivative" and "find the rate of change" are the same instruction wearing two outfits. Notation-wise you'll meet both f'(x) — Lagrange's clean prime — and dy/dx — Leibniz's fraction, which survives because it behaves like one in the chain rule.
The Power Rule: the Floor Everything Stands On
”For f(x) = x^n, the derivative is f'(x) = n·x^(n-1)." Bring the exponent down as a multiplier, reduce the exponent by one. One sentence, ninety percent of routine differentiation:
- f(x) = x^5 → f'(x) = 5x^4
- f(x) = x^10 → f'(x) = 10x^9
- f(x) = x → f'(x) = 1 (the exponent drops to zero; x^0 = 1)
- f(x) = 7 (a constant) → f'(x) = 0 — nothing changes, so the pace of change is zero
The rule survives negative and fractional exponents, which is where beginners balk and shouldn't:
- f(x) = 1/x = x^(-1) → f'(x) = −1·x^(-2) = −1/x²
- f(x) = √x = x^(1/2) → f'(x) = (1/2)·x^(-1/2) = 1/(2√x)
Rewrite before you differentiate: a root is a fractional power, a reciprocal is a negative power. Students who convert first almost never mis-apply the rule; students who improvise on the radical frequently do. Also worth installing immediately — linearity: derivatives pass through sums and constants, so (5x³ + 2x)' = 15x² + 2, and any polynomial is just the power rule applied term by term. There is no separate "polynomial rule" to learn; the power rule applied three times is the polynomial rule.
Two Special Rates You Should Memorize by Reflex
Two functions deserve special attention because they describe growth of their own kind:
- Exponential: f(x) = e^x → f'(x) = e^x. The only function that is its own derivative — the signature of "growth proportional to current size," which is why compound growth and radioactive decay both live in exponentials. More generally, (e^(kx))' = k·e^(kx).
- Natural log: f(x) = ln(x) → f'(x) = 1/x. The inverse pair of the line above. And with any base, (a^x)' = a^x·ln(a) — the ln(a) factor is the only factor that distinguishes one growth base from another.
Derivatives of sin and cos: the Oscillator Family
Four facts that cover the whole trigonometric family:
- (sin x)' = cos x
- (cos x)' = −sin x
- (tan x)' = 1/cos²x (a.k.a. sec²x)
- The chain revisits all of them: (sin(2x))' = 2·cos(2x)
The minus sign on cos' isn't cruelty — cosine is decreasing wherever sine is near its peak, and the derivative reports that drop. Draw both curves once and the sign becomes visible rather than memorized.
The Product Rule: When Two Things Multiply
(f·g)' = f'·g + f·g'. The derivative of a product is not the product of the derivatives — the single most common midterm answer. Intuition for the structure: a small change in the product comes from the change in f (weighted by g's current size) plus the change in g (weighted by f's current size). Both factors usually receive a contribution.
Example: f(x) = x²·sin(x)
- f-part: derivative of x² is 2x → 2x·sin(x)
- g-part: derivative of sin(x) is cos(x) → x²·cos(x)
- Total: 2x·sin(x) + x²·cos(x)
One caution with three factors (x·e^x·ln x): apply the rule pairwise — treat "x·e^x" as one function and differentiate its product with ln x, or expand into three terms directly. Same structure, one extra pass.
The Quotient Rule: the Product Rule's Clumsier Sibling
(f/g)' = (f'·g − f·g')/g². Order matters: the numerator's derivative comes first, and the subtraction is not symmetric.
Example: f(x) = (x²)/(e^x): f' = (2x·e^x − x²·e^x)/e^(2x) = (2x − x²)/e^x. Where the numerator goes negative (beyond x = 2), the original ratio is already falling — the quotient rule reports what the graph was doing anyway.
Pro shortcut: rewrite a quotient as a product with the negative power — (f/g) = f·g^(-1) — then use the product and chain rules. Same answer, fewer slots for sign errors, and for many students the cleaner path.
The Chain Rule: Functions Inside Functions
(f(g(x)))' = f'(g(x)) · g'(x). Differentiate the outer function, leaving the inside untouched, then multiply by the derivative of the inside. It's reading a sentence from the outside in.
- sin(x²): outer sin' = cos, inner (x²)' = 2x → 2x·cos(x²)
- sin(5x): outer cos, inner 5 → 5·cos(5x)
- (3x + 1)^10: outer power rule, inner 3 → 30(3x+1)^9. Notice the classic blunder: forgetting the ×3 and answering as if the inside were bare x.
- e^(−x²): outer e^u, inner −2x → −2x·e^(−x²), the bell curve's own slope
Leibniz notation reveals why the rule feels inevitable: dy/dx = dy/du · du/dx — the du's "cancel" like fraction numerators, which is exactly treating it as the sentence it is. Long compositions chain multiple times: e^(sin(x²)) differentiates outer-to-inner in three passes, and each pass contributes its own factor.
A Worked Full Example, Start to Finish
Take f(x) = x²·e^(3x) and differentiate at x = 0:
- Product rule frame: g = x², h = e^(3x)
- g' = 2x, h' = 3·e^(3x) (chain rule supplies the 3)
- f' = 2x·e^(3x) + x²·3·e^(3x)
- Evaluate at 0: the first term is 0, the second is 0 → f'(0) = 0. The curve is momentarily flat at the origin; both terms collapse to zero there.
Every computation above is one of the four rules from this page — nothing invented, just stacked. Homework accuracy is mostly order-of-operations discipline: name the outermost operation first, then recurse inward.
What Derivatives Are Actually For: Three Standard Uses
- Maxima and minima: set f'(x) = 0, solve for critical points, then test with the second derivative (positive → valley, negative → peak). This is how you price a product for maximum revenue or dimension a box for maximum volume.
- Rates and kinematics: position s(t) → velocity s'(t) → acceleration s''(t). A falling object under gravity: s(t) = −4.9t², so velocity is −9.8t, acceleration a clean constant −9.8 m/s².
- Sensitivities (the economist's favorite): how much does revenue move if price moves a hair? The derivative gives the local answer; multiply by proportionalities and you get elasticity.
The Mistake Checklist: Where differentiation Answer Sheets Go Wrong
Before checking answers — the calculator and grades both reward this — audit against the five errors graders see most:
- Product of derivatives for a product rule problem. Wrong on principle; (x²·sin(x))' is never 2x·cos(x).
- Missing inner derivative after the chain rule. (3x+1)^10 differentiating to 30(3x+1)^9 without the ×3.
- Forgot the radical conversion: differentiating √x as if the ½ weren't hiding inside it. Rewrite roots as fractional powers first.
- Lost minus sign on cos'(x) = −sin(x) or on negative exponents — the two highest-frequency sign slips in student work.
- Quotient rule order flip: writing f·g' − f'·g in the numerator and losing the sign of the whole answer.
Each of these five errors is a habit, not an accident. Collectively they cost about a full letter grade in a semester of calculus. The fix is dull and reliable: name the rule you're invoking in words before every line, and let the sentence enforce the structure.
Questions Students Ask
- What is the derivative of xⁿ?
- By the power rule, d/dx(xⁿ) = n·x^(n-1). The derivative of x^10 is 10x^9; the derivative of 1/x = x^(-1) is −1/x²; the derivative of √x = x^(1/2) is 1/(2√x). It works for every real exponent.
- What is the derivative of sin(x) and cos(x)?
- sin(x)' = cos(x) and cos(x)' = −sin(x). For composites, apply the chain rule: sin(5x)' = 5·cos(5x).
- How do I differentiate a product?
- Product rule: (f·g)' = f'·g + f·g'. For x²·sin(x): 2x·sin(x) + x²·cos(x).
- When do I need the chain rule?
- Whenever one function lives inside another: sin(x²), (3x+1)^10, e^(−x²). Outer derivative first (inner intact), then multiply by the inner derivative.
- How do I find maxima and minima?
- Solve f'(x) = 0 for critical points, then classify with the second derivative: f'' > 0 means a minimum, f'' < 0 a maximum.
- How can I check my answer?
- Plug a small x value into your derivative and a numeric slope estimate into the original function — they should nearly agree. Or verify instantly with the Derivative Calculator, which shows the result and lets you reproduce each rule by hand.
Check every step of your homework with our Derivative Calculator, and for integrals — the derivative's mirror operation — see the companion guide. For grade tracking across the semester, the Grade Calculator does the arithmetic while you do the calculus.