C4
Calculator4You
math6 min read

How to Find a Derivative — Power Rule, Examples & Common Functions

Learn how to find a derivative using the power rule with worked examples. Covers derivatives of polynomials, sin, cos, e^x, ln(x) and more basic calculus rules.

If calculus gives you headaches, you're not alone. Most students freeze up when they see f(x) and start wondering what any of it means. Good news: finding a derivative is easier than your teacher probably made it sound. This post will walk you through the basics, show a few rules you actually need to remember, and give you examples you can follow step by step.

What is a derivative, really?

A derivative tells you how fast something is changing. That's it. If you plot a curve on a graph, the derivative at any point is the slope of the line that just touches the curve there. Picture a car speedometer. Your position keeps changing as you drive, and the speedometer reading is the derivative of your position with respect to time.

In math notation we write it as f'(x) or dy/dx. Both mean the same thing. Don't let the symbols scare you.

The power rule (learn this first)

About 80% of the derivatives you'll see in a basic calculus class use the power rule. It looks like this:

If f(x) = x^n, then f'(x) = n · x^(n-1)

Sounds complicated? It's not. You just bring the exponent down in front and subtract one from it. Let me show you:

  • f(x) = x³ becomes f'(x) = 3x²
  • f(x) = x⁵ becomes f'(x) = 5x⁴
  • f(x) = x becomes f'(x) = 1 (because x is really x¹)
  • f(x) = 7 (a constant) becomes f'(x) = 0

That last one catches people off guard. A constant has no slope because it's not changing, so its derivative is zero. Makes sense when you think about it.

A worked example

Say your teacher hands you this: f(x) = 4x³ + 2x² - 5x + 9. Find f'(x).

Take it one term at a time. The power rule works on each piece separately.

  1. 4x³: bring the 3 down, multiply by 4, subtract 1 from the power. You get 12x².
  2. 2x²: same idea. 2 comes down, times 2 equals 4, power drops to 1. You get 4x.
  3. -5x: the power is 1, so you bring it down (still -5) and drop to x⁰ which is just 1. You get -5.
  4. +9: a constant, derivative is 0.

Put it together: f'(x) = 12x² + 4x - 5. Done.

Common functions you should know

Outside of polynomials, there are a few other derivatives worth memorizing. They show up constantly.

  • d/dx(sin x) = cos x
  • d/dx(cos x) = -sin x (the negative sign trips people up, watch for it)
  • d/dx(e^x) = e^x (yes, the only function that's its own derivative)
  • d/dx(ln x) = 1/x
  • d/dx(tan x) = sec²x

If you can recall those six or seven rules, you'll get through most homework without looking anything up.

When the power rule isn't enough

Sometimes you get products of two functions, or a function inside another function. That's where the product rule and chain rule come in. We won't dig into those here, but just know they exist and you'll learn them soon.

Use our calculator to check your work

Doing derivatives by hand is great practice, but nobody wants to grind through a problem and find out at the end they made a sign error in step two. Plug your function into our derivative calculator to verify your answer. If the two match, you know you did it right. If they don't, you can work backwards and find where you slipped.

A few tips that helped me

When I was learning this stuff, three things made it click:

  • Write out every step. Skipping steps causes errors you won't catch until the test.
  • Do 10 problems a day for a week instead of 70 in one sitting. Spread it out.
  • Say the rule out loud as you use it. Sounds silly, works great.

Related calculators

If you're working through calculus homework, you might also want our quadratic formula calculator for the roots of polynomials, and the scientific calculator for evaluating expressions along the way. Good luck with your calc class — it gets easier, I promise.

Try our free calculator

Open Derivative Calculator

Related Calculators