Derivative Rules, Formulas, and Examples: Complete Reference
Solver AI TeamPublished Updated 11 min read
This is your one-stop reference for every derivative rule you need in calculus. Covers power, product, quotient, and chain rules plus trig, exponential, and log derivatives.
Frequently asked questions
How do you know when to use the product, quotient, or chain rule?
Look at the last operation you would do when evaluating the function. If two functions are multiplied, use the product rule. If one is divided by another, use the quotient rule. If one function sits inside another, like sin(3x) or (x² + 1)⁵, use the chain rule.
What is the derivative of x to the n?
The power rule gives d/dx [xⁿ] = nxⁿ⁻¹. It works for negative and fractional exponents too. For example, d/dx [x⁻²] = −2x⁻³, and d/dx [√x] = d/dx [x^(1/2)] = 1/(2√x). The derivative of a constant is 0, so d/dx [5] = 0.
What are the derivatives of sin x, cos x, and tan x?
The derivative of sin x is cos x, the derivative of cos x is −sin x, and the derivative of tan x is sec² x. These formulas only hold when x is measured in radians. A common slip is dropping the minus sign on the derivative of cosine.
What is the derivative of e^x and ln x?
The derivative of eˣ is eˣ, which is why e is special. The derivative of ln x is 1/x for x > 0. For a general base, d/dx [aˣ] = aˣ ln a. If the exponent or the log's input is more than x, also apply the chain rule.
How do you remember the quotient rule?
The rule is (f/g)′ = (f′g − fg′) / g². Many students say it as low d-high minus high d-low, over the square of what is below. Order matters because of the subtraction. For example, d/dx [x/(x + 1)] = [(1)(x + 1) − x(1)]/(x + 1)² = 1/(x + 1)².
The power rule is the most frequently used derivative rule in all of calculus.
The Rule — Power Rule
It states: if f(x) = xⁿ, then f'(x) = nxⁿ⁻¹. This works for any real number exponent n — positive, negative, or fractional.
Examples — applying the power rule
d/dx [x⁵] = 5x⁴.
d/dx [x⁻²] = −2x⁻³ = −2/x³.
d/dx [x^(1/2)] = (1/2)x^(−1/2) = 1/(2√x).
d/dx [x] = 1 (since x = x¹).
d/dx [constant] = 0 (since a constant = cx⁰, but more fundamentally because constants do not change).
When a constant multiplies a power, it just carries through: d/dx [7x³] = 21x².
The Key Insight
The power rule also applies to terms like 1/x² = x⁻² and √x = x^(1/2). Getting comfortable rewriting expressions using exponents before differentiating is an essential skill.
The Takeaway
Once the power rule is second nature, you can differentiate any polynomial term by term in seconds. This single rule handles roughly half of all the derivatives you will encounter in a first calculus course.
Sum, Difference, and Constant Multiple Rules
These rules let you break complex functions into simpler pieces.
The Rule — Sum Rule
The sum rule: the derivative of a sum is the sum of the derivatives. d/dx [f(x) + g(x)] = f'(x) + g'(x).
The Rule — Difference Rule
The difference rule is identical but with subtraction: d/dx [f(x) − g(x)] = f'(x) − g'(x).
The Rule — Constant Multiple Rule
The constant multiple rule: d/dx [c · f(x)] = c · f'(x).
These rules mean you can differentiate any polynomial term by term.
These three rules are so natural that experienced calculus students apply them without thinking. Together with the power rule, they handle all polynomial and many algebraic functions. The key habit is to always rewrite roots and fractions as power expressions before differentiating.
The Product Rule
When two functions are multiplied together, you need the product rule.
The Rule — Product Rule
d/dx [f(x) · g(x)] = f'(x) · g(x) + f(x) · g'(x). A common mnemonic is "derivative of the first times the second, plus the first times the derivative of the second."
A critical warning: the derivative of a product is not the product of the derivatives. That is, (fg)' ≠ f' · g'. This is one of the most common calculus mistakes.
The Takeaway
The product rule extends to three or more factors: (fgh)' = f'gh + fg'h + fgh', though this situation is less common. Use the product rule whenever you see two non-constant functions multiplied at the outermost level of an expression.
The Quotient Rule
When one function is divided by another, use the quotient rule.
The Rule — Quotient Rule
d/dx [f(x)/g(x)] = [f'(x) · g(x) − f(x) · g'(x)] / [g(x)]². The mnemonic "low d-high minus high d-low, all over the square of what's below" helps many students remember the formula.
Using the quotient rule: [cos(x) cos(x) − sin(x)(−sin(x))] / cos²(x) = (cos²(x) + sin²(x)) / cos²(x) = 1/cos²(x) = sec²(x).
Answersec²(x)
This is how the derivative of tangent is derived.
The Key Insight
Tip: You can often avoid the quotient rule by rewriting the expression. For instance, 1/x² = x⁻², so use the power rule instead: d/dx [x⁻²] = −2x⁻³. Solver AI will show you both approaches when applicable.
Derivatives of Trig, Exponential, and Log Functions
Beyond polynomial functions, you need to know the derivatives of the standard transcendental functions.
d/dx [eˣ] = eˣ — the exponential function is its own derivative, one of its most remarkable properties. d/dx [aˣ] = aˣ ln(a) for any positive constant a.
Memorize these derivatives — they are the building blocks that, combined with the product, quotient, and chain rules, let you differentiate virtually any function. A flashcard deck of these formulas is one of the most efficient study investments for calculus.
Derivative Formula Cheat Sheet
Here is a consolidated reference of all the derivative formulas you need, organized for quick lookup.
Print this page or save it to your phone as a study reference. When practicing, try to recall the formula before looking it up. With Solver AI, you can verify any derivative instantly — type in the function and compare your hand-calculated result against the AI's step-by-step solution.