A step-by-step guide to the power rule, product rule, and chain rule, with worked examples for each.
To find a derivative, identify the rule that matches your function's structure, then apply it to get an expression for the rate of change at any point. Most calculus problems reduce to three rules: the power rule, the product rule, and the chain rule.
A derivative tells you how fast a function is changing at any given input. Geometrically, it is the slope of the tangent line to the curve at that point. Practically, derivatives show up whenever something is moving or changing: speed is the derivative of position, acceleration is the derivative of speed, and marginal cost in economics is the derivative of total cost.
The notation d/dx means "derivative with respect to x." So d/dx of f(x), often written f'(x), gives you a new function whose output is the slope of f at each x. For a full formal treatment, see Wolfram MathWorld on the derivative.
If you want to check your work on a specific function, our derivative calculator will show the result with the rule applied.
The power rule handles any term of the form x raised to a constant exponent. It is the workhorse of basic differentiation.
Bring the exponent down in front as a coefficient, then reduce the exponent by one. That is it. The rule works for positive integers, negative exponents, and fractions.
A few quick results worth memorizing: the derivative of x is 1 (since x = x^1, and 1 * x^0 = 1). The derivative of any constant is 0, because a constant has no rate of change. The derivative of x^3 is 3x^2. Each one follows the same pattern.
Find the derivative of f(x) = 4x^3 + 5x^2 - 7x + 2.
Each term is handled independently. That is because differentiation is a linear operation: you can split a sum and differentiate piece by piece.
When two functions are multiplied together, you cannot simply differentiate each and multiply the results. You need the product rule.
The pattern is: differentiate the first, leave the second alone, then add the first left alone times the derivative of the second. Some people remember it as "first times d-second plus second times d-first."
Find the derivative of h(x) = x^2 * (3x + 1).
You can verify this by expanding h(x) = 3x^3 + x^2 first, then differentiating directly. The answer is the same either way: 9x^2 + 2x.
The chain rule handles composite functions: situations where one function is plugged inside another. If y = f(g(x)), the derivative is f'(g(x)) times g'(x). In plain terms: differentiate the outer function, leave the inner function in place, then multiply by the derivative of the inner function.
A classic example: the derivative of (3x + 1)^5. The outer function is something raised to the 5th power; the inner function is 3x + 1. Differentiate the outer (bring down the 5, reduce the exponent): 5 * (3x + 1)^4. Then multiply by the derivative of the inner (which is 3): result is 15 * (3x + 1)^4. Short and clean once you see the structure.
The rule you reach for depends on how the function is built.
Real problems often stack these. You might need the chain rule and the product rule on the same term. Work from the outside in, identify the outermost structure first, then handle what is inside.
Related reading: if you are working on linear functions, our guide on how to find the slope of a line covers the geometry that derivatives generalize.
The derivative of x squared is 2x. Apply the power rule: bring the exponent (2) down as a coefficient and reduce the exponent by one. So d/dx of x^2 = 2 * x^(2-1) = 2x. At x = 3, for example, the slope of the curve is 6.
Rewrite the fraction as a negative exponent, then apply the power rule. For example, 1/x is the same as x^(-1), so its derivative is -1 * x^(-2), which equals -1/x^2. For fractions where both numerator and denominator contain x, use the quotient rule: (f/g)' = (f'g - fg') / g^2.
A derivative measures the rate of change of a function at any point, giving you the slope of the curve there. An integral sums up infinitely small slices to find the area under a curve or an accumulated total. The two are inverses of each other, a relationship called the Fundamental Theorem of Calculus: if you differentiate an integral, you get the original function back.
No. A function must be continuous and smooth at a point to have a derivative there. Functions with sharp corners, jumps, or vertical tangents are not differentiable at those specific points. The absolute value function |x| is not differentiable at x = 0 because the slope jumps from -1 to 1 with no defined value in between.

Editor at Encore Editorial, Chris Terry sets the editorial standards here and turns dense topics into plain English. He has written widely on education, finance, and consumer markets.