Derivatives sit at the heart of calculus, yet they often feel mysterious the first time you meet them. The good news? Once you learn a handful of rules and practice a few examples, finding a derivative becomes as routine as multiplying or factoring. In this guide you will learn exactly how to find derivatives, from the basic idea of what a derivative is to the power rule, product rule, quotient rule, and chain rule, all with fully worked examples that show every single step.
We have written this for students from middle school explorers through early-college calculus, and for parents helping at the kitchen table. You do not need to be a math genius. You just need a clear path, and that is what we will give you. By the end, you will be able to differentiate polynomials, products, quotients, and composite functions with confidence.
Want to check your work instantly while you read? You can verify any step with our free calculus solver, which shows the worked solution, not just the final answer. Keep it open in another tab and compare your results as you go.
What Is a Derivative?
A derivative measures how fast something is changing. If a function tells you where something is, its derivative tells you how quickly that thing is moving. Two everyday ways to picture it:
- Slope of a curve. The derivative at a point is the slope of the line that just touches the curve there (the tangent line). A steep curve has a large derivative; a flat curve has a derivative of zero.
- Rate of change. If a function describes the position of a car over time, the derivative is its speed. If it describes the height of a plant over days, the derivative is its growth rate.
We write the derivative of a function \( f(x) \) in two common ways: prime notation \( f'(x) \) and Leibniz notation \( \dfrac{dy}{dx} \). They mean the same thing, and you will see both throughout your courses.
Key idea
A derivative turns a function into a new function that gives the slope (the instantaneous rate of change) at every input value. Finding a derivative is called differentiation.
The Limit Definition of a Derivative
Every shortcut rule you are about to learn comes from one foundational formula, the limit definition:
$$ f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h} $$This says: take two points on the curve that are a tiny distance \( h \) apart, compute the slope between them, and then slide them together until \( h \) shrinks to zero. Let us use it once on \( f(x) = x^2 \) so you can see where the rules come from.
Step 1 — Write the difference quotient.
$$ f'(x) = \lim_{h \to 0} \frac{(x+h)^2 - x^2}{h} $$Step 2 — Expand \( (x+h)^2 \).
$$ f'(x) = \lim_{h \to 0} \frac{x^2 + 2xh + h^2 - x^2}{h} $$Step 3 — Cancel \( x^2 - x^2 \).
$$ f'(x) = \lim_{h \to 0} \frac{2xh + h^2}{h} $$Step 4 — Factor and simplify. Divide the top and bottom by \( h \):
$$ f'(x) = \lim_{h \to 0} \left( 2x + h \right) $$Step 5 — Let \( h \to 0 \). The \( h \) term vanishes:
Notice the pattern: the derivative of \( x^2 \) is \( 2x \). That is the power rule in action, and it saves us from doing limits every time. If limits themselves feel shaky, our companion guide Understanding Limits in Calculus (with Worked Examples) walks through them gently.
How to Find Derivatives: The Essential Rules
Here is the toolkit. Memorize these and you can differentiate the vast majority of functions you will meet. In every rule, \( c \) is a constant and \( n \) is any real number.
| Rule | Formula | Quick example |
|---|---|---|
| Constant rule | \( \dfrac{d}{dx}(c) = 0 \) | \( \dfrac{d}{dx}(7) = 0 \) |
| Power rule | \( \dfrac{d}{dx}(x^n) = n x^{n-1} \) | \( \dfrac{d}{dx}(x^5) = 5x^4 \) |
| Constant multiple | \( \dfrac{d}{dx}\big(c\,f(x)\big) = c\,f'(x) \) | \( \dfrac{d}{dx}(4x^3) = 12x^2 \) |
| Sum / difference | \( (f \pm g)’ = f’ \pm g’ \) | \( \dfrac{d}{dx}(x^2 + x) = 2x + 1 \) |
| Product rule | \( (fg)’ = f’g + fg’ \) | see Example 2 |
| Quotient rule | \( \left(\dfrac{f}{g}\right)’ = \dfrac{f’g - fg’}{g^2} \) | see Example 3 |
| Chain rule | \( \dfrac{d}{dx} f\big(g(x)\big) = f’\big(g(x)\big)\cdot g'(x) \) | see Example 4 |
You should also know a short list of common derivatives that appear constantly:
| Function | Derivative |
|---|---|
| \( \sin x \) | \( \cos x \) |
| \( \cos x \) | \( -\sin x \) |
| \( e^x \) | \( e^x \) |
| \( \ln x \) | \( \dfrac{1}{x} \) |
Notation tip
The power rule even works for roots and fractions. Rewrite \( \sqrt{x} \) as \( x^{1/2} \) and \( \dfrac{1}{x^2} \) as \( x^{-2} \) before differentiating. Then just apply \( n x^{n-1} \).
Worked Examples, Step by Step
Reading rules is one thing; using them is another. Let us work through five examples that build from simple to combined. Try each one on paper first, then read the solution.
Example 1 — Power Rule and Sum Rule
Find the derivative of \( f(x) = 3x^4 - 5x^2 + 7x - 9 \).
Step 1 — Differentiate each term separately using the sum/difference rule.
Step 2 — Apply the power rule and constant multiple rule to every term.
- \( \dfrac{d}{dx}(3x^4) = 3 \cdot 4x^{3} = 12x^3 \)
- \( \dfrac{d}{dx}(-5x^2) = -5 \cdot 2x^{1} = -10x \)
- \( \dfrac{d}{dx}(7x) = 7 \) (since \( x^1 \) becomes \( 1 \cdot x^0 = 1 \))
- \( \dfrac{d}{dx}(-9) = 0 \) (constant rule)
Step 3 — Combine the results.
Bonus — evaluate the slope at \( x = 2 \). Substitute:
$$ f'(2) = 12(2)^3 - 10(2) + 7 = 12 \cdot 8 - 20 + 7 = 96 - 20 + 7 = 83 $$So the curve rises with a slope of \( 83 \) at \( x = 2 \). That is steep!
Example 2 — The Product Rule
Find the derivative of \( f(x) = (x^2 + 1)(3x - 2) \).
This is a product of two functions, so we use \( (fg)’ = f’g + fg’ \).
Step 1 — Label the two factors.
- \( u = x^2 + 1 \quad\Rightarrow\quad u’ = 2x \)
- \( v = 3x - 2 \quad\Rightarrow\quad v’ = 3 \)
Step 2 — Plug into the product rule \( f’ = u’v + uv’ \).
$$ f'(x) = (2x)(3x - 2) + (x^2 + 1)(3) $$Step 3 — Expand each piece.
$$ f'(x) = (6x^2 - 4x) + (3x^2 + 3) $$Step 4 — Combine like terms.
Study tip
You can check this by multiplying first: \( (x^2+1)(3x-2) = 3x^3 - 2x^2 + 3x - 2 \). Differentiating term by term gives \( 9x^2 - 4x + 3 \), the same answer. Whenever a product is easy to expand, that is a great self-check.
Example 3 — The Quotient Rule
Find the derivative of \( f(x) = \dfrac{2x + 1}{x - 3} \).
This is a quotient, so we use \( \left(\dfrac{f}{g}\right)’ = \dfrac{f’g - fg’}{g^2} \). A handy memory phrase is “low d-high minus high d-low, over low squared.”
Step 1 — Identify the top and bottom.
- Top: \( f = 2x + 1 \quad\Rightarrow\quad f’ = 2 \)
- Bottom: \( g = x - 3 \quad\Rightarrow\quad g’ = 1 \)
Step 2 — Substitute into the quotient rule.
$$ f'(x) = \frac{(2)(x - 3) - (2x + 1)(1)}{(x - 3)^2} $$Step 3 — Expand the numerator carefully. Watch the signs.
$$ f'(x) = \frac{2x - 6 - (2x + 1)}{(x - 3)^2} = \frac{2x - 6 - 2x - 1}{(x - 3)^2} $$Step 4 — Combine like terms in the numerator. The \( 2x \) and \( -2x \) cancel:
Because the numerator is always negative and the denominator is always positive, this function is decreasing everywhere it is defined. Derivatives reveal that kind of behavior at a glance.
Common mistake
The quotient rule has \( f’g - fg’ \) on top, and order matters because of the minus sign. Swapping the terms flips the sign of your answer. Always write the derivative of the numerator times the denominator first.
Example 4 — The Chain Rule
Find the derivative of \( f(x) = (3x^2 + 1)^5 \).
Here we have a function inside another function (a power wrapped around a polynomial), so we use the chain rule: differentiate the outside, then multiply by the derivative of the inside.
Step 1 — Identify the outer and inner functions.
- Outer: \( (\,\cdot\,)^5 \), whose derivative is \( 5(\,\cdot\,)^4 \)
- Inner: \( g(x) = 3x^2 + 1 \), whose derivative is \( g'(x) = 6x \)
Step 2 — Differentiate the outer function, keeping the inside unchanged.
$$ \frac{d}{dx}(3x^2 + 1)^5 = 5(3x^2 + 1)^4 \cdot \frac{d}{dx}(3x^2 + 1) $$Step 3 — Multiply by the derivative of the inside.
$$ f'(x) = 5(3x^2 + 1)^4 \cdot 6x $$Step 4 — Simplify the constants \( 5 \cdot 6 = 30 \).
The chain rule trips up almost every calculus student at first, so it is worth dedicated practice. Our deep-dive guide, The Chain Rule Explained with Examples, breaks it down with even more cases.
Example 5 — Combining a Trig Function with the Chain Rule
Find the derivative of \( f(x) = \sin(x^2) \).
This is another composite function: the inner function \( x^2 \) is plugged into \( \sin \).
Step 1 — Differentiate the outer function. The derivative of \( \sin(\,\cdot\,) \) is \( \cos(\,\cdot\,) \), so we get \( \cos(x^2) \), leaving the inside alone.
Step 2 — Multiply by the derivative of the inside, \( \dfrac{d}{dx}(x^2) = 2x \).
$$ f'(x) = \cos(x^2) \cdot 2x $$Step 3 — Write it cleanly.
Try it yourself
Stuck on a tricky derivative or want to confirm your steps line up? Solve it instantly with our step-by-step derivative calculator and compare each line against your own work.
Common Mistakes to Avoid
Most lost points in derivative problems come from a small set of slip-ups. Watch for these:
- Forgetting to reduce the exponent. The power rule lowers the power by one. The derivative of \( x^4 \) is \( 4x^3 \), not \( 4x^4 \).
- Ignoring the chain rule. The derivative of \( (2x+1)^3 \) is not \( 3(2x+1)^2 \). You must also multiply by the inside derivative \( 2 \), giving \( 6(2x+1)^2 \).
- Mixing up product and quotient rules. A product uses a plus sign \( (u’v + uv’) \); a quotient uses a minus sign and a squared denominator.
- Dropping a negative sign. The derivative of \( \cos x \) is \( -\sin x \), not \( \sin x \). Small signs change everything.
Common mistake
Do not apply the power rule to a function like \( 2^x \). The power rule is only for a variable raised to a constant (such as \( x^3 \)), not a constant raised to a variable. Exponential functions follow their own rule.
A Simple Strategy for Any Derivative
When you face a new problem, slow down and ask a few questions in order. This decision flow handles almost everything:
- Is it a sum or difference? If so, differentiate each piece on its own.
- Is each piece a single power of \( x \)? Use the power rule.
- Are two functions multiplied? Use the product rule.
- Is one function divided by another? Use the quotient rule.
- Is there a function inside another function? Use the chain rule, and remember it can combine with the rules above.
With practice, this checklist becomes automatic. You will glance at a function and instantly know which rule (or combination of rules) to reach for.
Tips for Mastering Derivatives
Study tip
Practice in short, daily bursts rather than one long cram session. Differentiating five functions a day for a week builds far more fluency than thirty in one sitting. Mix the rules so your brain learns to choose, not just compute.
- Rewrite before you differentiate. Turn radicals and fractions into exponents. \( \dfrac{3}{x} \) becomes \( 3x^{-1} \), which differentiates instantly to \( -3x^{-2} \).
- Keep a rules card. Write the seven rules on an index card and reference it until you have them memorized.
- Always simplify last. Get the raw derivative first, then clean up like terms and signs. Trying to simplify mid-step causes errors.
- Verify your answers. Confidence grows when you confirm results. Check tricky problems against a worked solution so you learn from any mismatch right away.
Derivatives are also the gateway to the rest of calculus. Once you are comfortable differentiating, the natural next topic is the reverse process. Our guide How to Solve Integrals: A Beginner’s Guide shows how integration “undoes” what you have learned here.
Conclusion
Finding derivatives is a skill, and like any skill it grows with structured practice. Start with the limit definition so you understand why the rules work, then lean on the power, constant multiple, sum, product, quotient, and chain rules to work quickly. Always identify the structure of the function first, apply the matching rule, simplify carefully, and double-check signs and exponents. Do that consistently and derivatives will feel natural in no time.
Ready to put it into practice? Head to our free calculus solver to work through your own problems with full step-by-step solutions, and explore more clear, beginner-friendly tutorials on the Math Solver AI blog. The more you practice with feedback, the faster differentiation becomes second nature.
