DDerivative Rules
Derivative Rules: The Formulas and When to Use Each
Derivative Rulesphrase
Derivative rules are shortcut formulas that give you the derivative of a function directly, so you do not have to work through a limit every time you need a slope. The four that do most of the work are the power rule, the product rule, the quotient rule and the chain rule.
Each rule matches a shape of function: a plain power, two things multiplied, one thing divided by another, or one function nested inside another. Once you can recognise the shape, the formula is mechanical. The skill is in choosing the right rule and not skipping a step.
What are derivative rules?
The derivative of a function measures how fast its output changes as the input changes. It is defined with a difference quotient and a limit:
Geometrically, is the slope of the tangent line to the graph at that point. Computing that limit for every new function is slow, so mathematicians did it once in general and stored the results as rules.
The word comes from the Latin derivare, “to draw off a stream”, built on rivus, “stream”. A derivative is something drawn off from an original function. Joseph-Louis Lagrange helped fix the French term fonction dérivée in the late 1700s, which is why the prime mark () is still called Lagrange notation.
What are the basic derivative rules?
Seven rules cover almost everything in a first calculus course. Here they are with as a constant and , as differentiable functions:
- Constant rule:
- Constant multiple rule:
- Sum and difference rule:
- Power rule:
- Product rule:
- Quotient rule:
- Chain rule:
The first three are linear bookkeeping: they let you split an expression into terms and pull out any constant multiplier. The last four are the ones that cause mistakes, so most of this page is about them.
Every rule above can be proved from the limit definition. Memorising them is not a leap of faith, just a way of reusing work that has already been checked.
How do you use the power rule and sum rule?
The power rule says to bring the exponent down as a multiplier and lower the exponent by one. The sum rule lets you do this term by term. For :
The vanishes because a constant has slope . The becomes because , and .
The rule works for any exponent in the real numbers, not only positive whole numbers. Since , you get . A fraction like becomes easy once you rewrite it with a negative exponent: has derivative , which is .
A classic non-example: is a constant, so its derivative is , not . The power rule needs a variable in the base.
Quick check
The power rule turns into , the term becomes , and the constant disappears because its slope is zero.
Product rule vs quotient rule: what is the difference?

Both rules handle two expressions that contain , but the signs and structure differ. The product rule adds two terms. The quotient rule subtracts, then divides by the square of the denominator.
| Product rule | Quotient rule | |
|---|---|---|
| Use when | two expressions with are multiplied | one expression with is divided by another |
| Formula | ||
| Does order matter? | No, the two terms can swap | Yes, because of the minus sign |
| Common slip | writing | swapping the numerator terms, or forgetting |
The most common misconception is that the derivative of a product is the product of the derivatives. Test it with and . The true derivative of is , but . The product rule gets it right: .
For a worked product, take :
For a quotient, take . The numerator is , so
A rhyme many students use is “low d-high minus high d-low, over the square of what’s below.”
Quick check
Differentiating directly gives , while multiplying the two derivatives gives only , so the shortcut fails.
How does the chain rule work?
The chain rule handles a composite function, where an inside function feeds an outside one. The recipe: differentiate the outside function, leave the inside alone, then multiply by the derivative of the inside.
For , the outside is “raise to the 4th power” and the inside is :
In Leibniz notation, with , the rule reads . The terms look as if they cancel like fractions. That is a helpful memory aid, not a proof.
The usual error is forgetting the final factor . If your answer to a nested problem has no derivative of the inside in it, check again.
Try this: Differentiate twice. First use the chain rule, which gives . Then expand it to and use the power rule. Both routes should give .
Derivative rules for trig, exponential and log functions
Beyond powers, you need a short list of base derivatives. The rules above then combine them.
| Function | Derivative |
|---|---|
| (with ) | |
| (for ) |
Pages on the derivative of trigonometric functions, the derivative of tan x and the derivative of ln x show where each one comes from.
The big trap here is applying the power rule to an exponential. In the variable is the base. In it is the exponent, and the correct derivative is . The number is special because , which is why is its own derivative.
When the inside is more than plain , the chain rule joins in. For example, and .
Quick check
In the variable sits in the exponent, so the correct result is , not a power rule answer.
Which derivative rule should you use first?
Ask what the last operation would be if you evaluated the function for a specific . That operation decides the outermost rule.
- A sum or difference of pieces: split it and differentiate each piece.
- A multiplication of two expressions with : product rule.
- A division of two expressions with : quotient rule.
- A function applied to something other than plain : chain rule.
Many problems need two rules. Take . The last step is multiplying, so the product rule comes first. Its second factor needs the chain rule:
Simplify before you differentiate whenever you can. The function is just , which the power rule handles in one line, with no quotient rule needed.
How is a derivative written in different books?
The same derivative has several names, and which one you see depends on the book and the subject.
- Lagrange notation: or , short and common in algebra-based texts and many European courses.
- Leibniz notation: , the favourite in most US and UK calculus courses because it makes the chain rule readable.
- Euler notation: or , where the subscript names the variable you differentiate by.
- Newton notation: , a dot over the variable, used in physics for rates with respect to time.
These all mean the same thing. A good habit is to translate the notation at the start of a problem, so a line like and are read identically.
Where do derivative rules show up in real life?
Whenever something changes, a derivative describes the rate. Velocity is the derivative of position, and acceleration is the derivative of velocity. In economics, marginal cost is the derivative of total cost. In biology and finance, growth rates come from differentiating exponentials.
Optimisation uses derivative rules to find extrema: set and solve to locate the highest or lowest points. The derivative also reverses with integral rules, which is the link between rates and totals, and it powers Taylor series, differential equations and machine learning, where the chain rule is repeated through many layers during backpropagation.
The Weierstrass function, published in 1872, is continuous at every point yet has no derivative at any point. Derivative rules only work where a derivative actually exists.
A smaller surprise: the product rule and chain rule are not separate inventions. The quotient rule follows from them, because , which is why strong students often keep only three rules in their heads.
Common questions
What are the basic derivative rules?
There are seven that cover most of first-year calculus: the constant, constant multiple, sum and difference, power, product, quotient and chain rules. Add a short table of derivatives for , , and and you can differentiate almost any function you will meet.
How do you know whether to use the product rule or the chain rule?
Look at the last operation you would perform when evaluating the function. If it is a multiplication, use the product rule. If it is applying a function such as a power, sine or to an inner expression, use the chain rule.
Why is the derivative of a constant zero?
A constant never changes, so its graph is a flat horizontal line with slope . In the limit definition, is always for a constant, so the limit is .
Can you avoid using the quotient rule?
Often, yes. Rewrite as and use the product and chain rules, or simplify first. If the denominator is just a number, such as , multiply by its reciprocal and use the power rule.
Does every function have a derivative rule?
Every combination of standard functions (powers, trig, exponentials, logarithms) can be handled by these rules. Some functions have points where no derivative exists at all, such as at , and the rules cannot create a derivative that is not there.