What is a derivative in plain words?
A derivative tells you how quickly something is changing right now. If you ride a bike, your position changes over time. How fast it changes is your speed. The derivative of position with respect to time is exactly that speed.
The word applies to any quantity. The derivative of the water level in a tank tells you how fast it is filling. The derivative of a company's profit tells you how fast profit grows when output rises. Calculus gives a single method for all of these: measure the rate of change at a point.
How is a derivative related to slope?
For a straight line, the slope is rise over run. It stays the same everywhere. For a curve, the steepness changes, so the slope at one point differs from the slope at another.
The derivative gives the slope at a single point. Imagine zooming in on a smooth curve until it looks like a straight line. The slope of that tiny line is the derivative at that point. The line itself is called the tangent line. When the derivative is positive, the curve is rising. When it is negative, the curve is falling. When it is zero, the curve is flat for a moment.
What is the limit definition?
Start with two points on the curve, a distance h apart. The slope of the line through them is the change in y divided by the change in x. Now shrink h toward zero. The slope of the line approaches the slope of the tangent.
Apply it to f(x) = x².
- Write the difference quotient: ((x + h)² − x²) ÷ h.
- Expand: (x² + 2xh + h² − x²) ÷ h = (2xh + h²) ÷ h.
- Divide by h: 2x + h.
- Let h go to 0: f'(x) = 2x.
So the derivative of x² is 2x. At x = 3 the slope is 6, and at x = −1 the slope is −2.
How do you use rules instead of limits?
For polynomials, the power rule does the work. Multiply the coefficient by the exponent, then lower the exponent by one.
The derivative of a sum is the sum of the derivatives, and the derivative of a constant is zero. For f(x) = 5x⁴ − 3x² + 7x − 2:
- 5x⁴ becomes 20x³.
- −3x² becomes −6x.
- 7x becomes 7.
- −2 becomes 0.
So f'(x) = 20x³ − 6x + 7. Try your own polynomial in the derivative calculator and compare its steps with yours. Our guide on the power rule for derivatives and integrals gives more examples.
How do you find a tangent line?
You need a point and a slope. The point comes from the function. The slope comes from the derivative.
Find the tangent line to f(x) = x² at x = 3.
- The point: f(3) = 9, so the point is (3, 9).
- The slope: f'(x) = 2x, so f'(3) = 6.
- Use the point-slope form: y − 9 = 6(x − 3).
- Simplify: y = 6x − 9.
This line touches the parabola at (3, 9) and has the same slope there. It is a good local approximation of the curve near x = 3.
What does the derivative say about speed?
If s(t) gives position, then s'(t) gives velocity, and the derivative of velocity gives acceleration. Say a ball's height in meters is s(t) = 4t² + 3t, where t is in seconds.
- Velocity: s'(t) = 8t + 3.
- At t = 2 seconds: s'(2) = 8 × 2 + 3 = 19 meters per second.
- Acceleration: the derivative of 8t + 3 is 8 meters per second squared.
The velocity is not constant. It grows by 8 meters per second each second. You can use the same steps for any quantity that changes with time. For other units, such as dollars per day, the method is the same.
How do you find maximum and minimum points?
At the top of a hill or the bottom of a valley, the tangent line is flat. So the derivative equals zero there. Solve f'(x) = 0 to find the candidates, then test each one.
Take f(x) = x³ − 3x.
- Differentiate: f'(x) = 3x² − 3.
- Set equal to zero: 3x² − 3 = 0, so x² = 1 and x = 1 or x = −1.
- Find the second derivative: f''(x) = 6x.
- At x = 1, f'' = 6, which is positive, so this is a local minimum. The value is f(1) = −2.
- At x = −1, f'' = −6, which is negative, so this is a local maximum. The value is f(−1) = 2.
A positive second derivative means the curve bends upward, like a cup. A negative one means it bends downward, like a cap. Engineers and economists use this test to find the cheapest design or the most profitable price.
What can the derivative not do?
A derivative needs a smooth curve. At a sharp corner, such as the point of the graph of |x| at x = 0, the slope jumps from −1 to 1. There is no single tangent line, so the derivative does not exist there. The same is true at a jump or a gap in the graph.
Also, the derivative tells you about rate of change, not the value itself. A function can be very large while changing slowly. Keep the two ideas apart.
Our derivative calculator handles polynomials, sin, cos, tan, e^x, ln and roots, and it applies the product, quotient and chain rules when it needs them. It also does log, abs, implicit equations such as x² + y² = 25, and second and third derivatives.
What are common mistakes?
- Forgetting to lower the exponent. The new exponent is n − 1.
- Differentiating a constant as if it had x. The derivative of 5 is 0, not 5.
- Mixing up the function and its derivative. f(3) is a height, and f'(3) is a slope.
- Writing the derivative of x as x. It is 1.
- Dropping the minus sign. Keep signs with each term.
- Using the wrong notation. Both f'(x) and dy/dx mean the same thing.
Practice problems
- Differentiate f(x) = 6x² − 4x + 9. The answer is 12x − 4.
- Find the slope of f(x) = x³ at x = 2. The derivative is 3x², so the slope is 12.
- Find the tangent line to f(x) = x² + 1 at x = 1. The point is (1, 2), the slope is 2, and the line is y = 2x.
- Find where f(x) = x² − 6x + 5 has a minimum. Set f'(x) = 2x − 6 = 0, so x = 3. The minimum value is f(3) = −4.
Check each result with the calculator, then try to explain in words what the derivative means in each case.