Calculus
Derivative Rules Explained with Worked Examples
By MathSolver Pro Editorial Team · Published
Computing derivatives from the limit definition is slow. A small set of rules, each proved once from that definition, lets you differentiate almost any formula in a few lines. This guide explains each rule, why it works and how to combine them.
Why rules instead of limits
The derivative is defined as a limit, , and the article what is a derivative works through that definition for simple functions. Doing so for every problem would be painful. Instead, mathematicians proved general rules once, and those rules now handle polynomials, roots, exponentials, logarithms, trigonometric functions and any combination of them.
Think of the rules in two groups: derivatives of the basic building blocks, and rules for combining blocks through sums, products, quotients and compositions.
The basic rules: constants, powers and sums
A constant never changes, so its rate of change is zero. The power rule works for any real exponent , not just positive whole numbers, which makes it far more useful than it first appears. Constant multiples pass straight through, and the derivative of a sum is the sum of the derivatives.
Example 1: a polynomial
- Differentiate term by term.
- .
Example 2: roots and reciprocals
- Rewrite as powers first: and .
- .
- .
Rewrite roots and fractions with in the denominator as powers before differentiating. Most power rule errors come from skipping this step.
Exponential, logarithmic and trigonometric functions
These derivatives are worth memorising, because every larger problem is built from them:
The function is its own derivative, which is why appears throughout calculus. The trigonometric rules require the angle in radians; in degrees, an extra factor of appears. The remaining trig derivatives are , and , all of which follow from the quotient rule below.
The product rule
The derivative of a product is not the product of the derivatives. To see why, picture a rectangle with sides and . When both sides grow slightly, the area gains a strip of size along one side and a strip of size along the other, plus a tiny corner that vanishes in the limit.
Example 3:
- Let and , so and .
- .
- At : .
The quotient rule
Order matters here because of the subtraction. A common memory aid is low d-high minus high d-low, over low squared, where high is the numerator and low the denominator.
Example 4:
- , ; , .
- .
- Simplify the numerator: , so .
Applying it to gives , confirming the table above.
The chain rule
The chain rule handles compositions, functions inside functions. If , then:
In words: differentiate the outer function, leaving the inside alone, then multiply by the derivative of the inside. In Leibniz notation, with , it reads . Rates multiply: if changes 3 times as fast as and changes 2 times as fast as , then changes 6 times as fast as . Recognising the inner and outer functions is the skill practised in function composition.
Example 5: four chain rule derivatives
- .
- .
- .
- .
Combining the rules
Real problems mix rules. Work from the outside in: decide what the last operation in the expression is, apply its rule, and then handle each piece.
Example 6:
- The outermost operation is a product, so use the product rule.
- The derivative of needs the chain rule: .
- .
Example 7: logarithmic differentiation of
- Neither the power rule nor the exponential rule applies, because both base and exponent vary.
- Take logs: .
- Differentiate both sides, using the chain rule on the left: .
- So for .
When cannot be isolated at all, as in , the chain rule still works through implicit differentiation.
Common mistakes
- Forgetting the inner derivative in the chain rule, for example writing for the derivative of .
- Multiplying derivatives for a product instead of using the product rule.
- Reversing the order in the numerator of the quotient rule, which flips the sign.
- Applying the power rule to or to ; those are exponential functions, not powers.
- Using degrees in trigonometric derivatives.
To check an answer, the derivative calculator shows which rule it applies at every step, and the graphing calculator lets you compare the slope of a curve with your derivative's values.
Inverse trigonometric functions
The inverse trigonometric functions have algebraic derivatives, which surprises many students the first time they see them. They come from differentiating the inverse relationship implicitly; for example, if then , and differentiating both sides gives . Since on the range of arcsine, the result follows:
These two results matter more in integration than in differentiation, because they explain why integrals such as produce an arctangent.
Higher derivatives
Differentiating a derivative gives the second derivative, and the same rules apply each time. For , the derivatives are , then , then , then 24, and every derivative after that is 0. A polynomial of degree always vanishes after differentiations.
Sine and cosine cycle instead: the derivatives of are , , and then again, repeating every four steps. The exponential never changes at all. These patterns are the starting point for building Taylor series, which approximate functions using all of their derivatives at a single point.
Practice problems with answers
Try each one before reading the answer. Decide first which rule is the outermost one.
- . Answer: .
- . Answer: , by the product rule.
- . Answer: , by the chain rule.
- . Answer: , by the quotient rule.
- . Answer: , by the chain rule with the power .
Rules in context: rates that depend on each other
The chain rule is what makes related rates problems possible. Suppose a circular ripple spreads on a pond so that its radius grows at 2 cm per second. The area is , and differentiating with respect to time gives . When the radius is 10 cm, the area is growing at square centimetres per second.
The same idea answers questions about a ladder sliding down a wall, a balloon being inflated or the shadow of a person walking away from a street light. In each case you write an equation linking the quantities, differentiate every term with respect to time using the chain rule, and then substitute the values at the moment you care about. Substituting before differentiating is a classic mistake, because it turns changing quantities into constants.
Frequently asked questions
Does the power rule work for negative and fractional exponents?
Yes. It holds for every real exponent, so and . Rewrite roots and reciprocals as powers first.
Can I avoid the quotient rule?
Often. Write as and use the product and chain rules, or simplify the fraction first. Both routes give the same answer, though it may need simplifying to look identical.
How do I know when to use the chain rule?
Whenever something other than plain sits inside a function: a power of a bracket, a trig function of , raised to anything other than , or a log of an expression. If the inside is just , its derivative is 1 and the chain rule changes nothing.
Why is the derivative of e to the x equal to itself?
The number is exactly the base for which the slope of at equals 1. With that property, the limit definition shows that the slope at every point equals the function's value there.
What order should I apply derivative rules in?
Start with the last operation you would perform if you were evaluating the expression for a number. If that is a multiplication, use the product rule; if it is applying a function to a bracket, use the chain rule. Then apply the same question to each piece, working inwards.