Derivative Basics: Power Rule, Product Rule, Chain Rule Explained

Your calculus reference for computing derivatives step by step, with worked examples

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:

The rule survives negative and fractional exponents, which is where beginners balk and shouldn't:

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:

Derivatives of sin and cos: the Oscillator Family

Four facts that cover the whole trigonometric family:

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)

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.

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:

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

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:

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.

​