Derivative Calculator
Free derivative calculator with step-by-step solutions. Compute derivatives of polynomials, trig, exponential, and log functions with interactive graph.
= x^3 + 2x^2 - 5x + 3
Derivative
3x^2 + 2 · 2x - 5
Graph
f(x) and f'(x)
Step-by-Step Solution
Differentiation steps applied
Power Rule
d/dx[u^n] = n · u^(n-1) · u'
u = x, n = 3
3x^2
Power Rule
d/dx[u^n] = n · u^(n-1) · u'
u = x, n = 2
2x
Constant Multiple Rule
d/dx[c · f] = c · f'
c = 2, f' = 2x
2 · 2x
Sum Rule
d/dx[f + g] = f' + g'
f' = 3x^2, g' = 2 · 2x
3x^2 + 2 · 2x
Identity Rule
d/dx[x] = 1
1
Constant Multiple Rule
d/dx[c · f] = c · f'
c = 5, f' = 1
5
Difference Rule
d/dx[f - g] = f' - g'
f' = 3x^2 + 2 · 2x, g' = 5
3x^2 + 2 · 2x - 5
Constant Rule
d/dx[c] = 0
c = 3
0
Sum Rule
d/dx[f + g] = f' + g'
f' = 3x^2 + 2 · 2x - 5, g' = 0
3x^2 + 2 · 2x - 5
Common Derivative Rules
Quick reference for standard differentiation formulas
What Is a Derivative?
The fundamental concept of calculus that measures rate of change
A derivative measures how a function changes as its input changes. Formally, the derivative of f(x) at a point is defined as the limit of the difference quotient: f'(x) = lim(h→0) [f(x+h) - f(x)] / h. It represents the slope of the tangent line to the function at that point.
Derivatives are used throughout science and engineering to model velocity, acceleration, rates of reaction, marginal cost, and optimization problems. The notation f'(x), dy/dx, and Df(x) all refer to the derivative.
Limit Definition
f'(x) = limh→0 [f(x + h) − f(x)] / h
Leibniz
dy/dx
Lagrange
f'(x)
Newton
ẏ
Key Differentiation Rules
The building blocks for computing any derivative
Power Rule
d/dx[xⁿ] = n · xⁿ⁻¹
Chain Rule
d/dx[f(g(x))] = f'(g(x)) · g'(x)
Product Rule
d/dx[f · g] = f'g + fg'
Quotient Rule
d/dx[f/g] = (f'g − fg') / g²
Exponential Rule
d/dx[eˣ] = eˣ
Logarithmic Rule
d/dx[ln(x)] = 1/x
Trigonometric
d/dx[sin(x)] = cos(x)
Inverse Trig
d/dx[arctan(x)] = 1/(1+x²)
This calculator applies these rules automatically, including combinations like the chain rule nested inside a product rule. It supports polynomials, trigonometric, exponential, logarithmic, inverse trigonometric, and hyperbolic functions.
Worked Examples
Step-by-step walkthroughs of common derivative problems
Polynomial: d/dx[x³ + 2x² − 5x + 3]
Apply power rule to each term:
3x² + 2·2x¹ − 5·1 + 0
= 3x² + 4x − 5
Chain Rule: d/dx[sin(x²)]
Outer: d/du[sin(u)] = cos(u)
Inner: d/dx[x²] = 2x
Multiply: cos(x²) · 2x
= 2x · cos(x²)
Product Rule: d/dx[x² · eˣ]
f = x², f' = 2x
g = eˣ, g' = eˣ
f'g + fg' = 2x·eˣ + x²·eˣ
= eˣ(2x + x²)
Quotient Rule: d/dx[x/(x² + 1)]
f = x, f' = 1, g = x²+1, g' = 2x
(f'g − fg') / g² = (1·(x²+1) − x·2x) / (x²+1)²
= (1 − x²) / (x² + 1)²
Higher-Order Derivatives
Understanding second, third, and nth derivatives
The second derivative f''(x) measures the rate of change of the rate of change — in physics, this is acceleration. If f''(x) > 0, the function is concave up; if f''(x) < 0, it is concave down.
Higher-order derivatives provide increasingly detailed information about a function's behavior. They appear in Taylor series expansions, beam deflection equations, and signal processing. This calculator can compute up to the 10th derivative by repeatedly applying differentiation rules.
Taylor Series Expansion
f(x) ≈ f(a) + f'(a)(x−a) + f''(a)(x−a)²/2! + f'''(a)(x−a)³/3! + …
1st Derivative
Slope / Velocity
2nd Derivative
Concavity / Acceleration
3rd Derivative
Jerk / Rate of Acceleration
Real-World Applications
How derivatives are used across science, engineering, and economics
Physics
Velocity is the derivative of position; acceleration is the derivative of velocity. Every equation of motion relies on differentiation.
Economics
Marginal cost and marginal revenue are derivatives of total cost and total revenue functions, used to find profit-maximizing output.
Engineering
Signal processing uses derivatives to detect edges, analyze frequency response, and design control systems (PID controllers).
Biology
Population growth rates, enzyme kinetics (Michaelis-Menten), and neural firing rates are all modeled with derivatives.
Machine Learning
Gradient descent — the backbone of neural network training — computes partial derivatives (gradients) to minimize loss functions.
Finance
The Greeks (delta, gamma, theta) in options pricing are derivatives of the Black-Scholes formula with respect to price, time, and volatility.
Common Differentiation Mistakes
Errors to watch for when computing derivatives
Forgetting the Chain Rule
d/dx[sin(3x)] = 3cos(3x), not just cos(3x). Always multiply by the inner derivative.
Wrong Power Rule on eˣ
d/dx[eˣ] = eˣ, not x · eˣ⁻¹. The power rule only applies to xⁿ, not aˣ.
Quotient Rule Sign Error
It's (f'g − fg')/g², not (fg' − f'g). The order matters — "low d-high minus high d-low."
Confusing d/dx with ∂/∂x
For single-variable functions, d/dx treats everything else as constant. Partial derivatives (∂) are for multivariable functions.
Frequently Asked Questions
Common questions about derivatives and differentiation
Embed Derivative Calculator
Add this calculator to your website or blog for free.
You Might Also Like
Related calculators from other categories
Last updated Apr 1, 2026