What is a derivative?
The derivative of a function f at x is the slope of the tangent line at that point, defined as the limit of (f(x + h) − f(x)) / h as h → 0. It measures the instantaneous rate of change. Where f′(x) > 0 the graph rises, where f′(x) < 0 it falls, and where f′(x) = 0 it may have a maximum or minimum.
f(x)=x^3-3xf'(x)
Core derivative rules
| Rule | Formula |
|---|---|
| Power | d/dx xⁿ = n·xⁿ⁻¹ |
| Constant multiple | d/dx c·f = c·f′ |
| Sum | (f + g)′ = f′ + g′ |
| Product | (fg)′ = f′g + fg′ |
| Quotient | (f/g)′ = (f′g − fg′)/g² |
| Chain | (f(g(x)))′ = f′(g(x))·g′(x) |
| Exponential | d/dx eˣ = eˣ |
| Logarithm | d/dx ln x = 1/x |
| Trig | (sin x)′ = cos x, (cos x)′ = −sin x |
Graph a function and its derivative
In the graphing calculator, define a function and use prime notation:
f(x) = x^3 − 3x
f'(x)
The red curve f′(x) = 3x² − 3 crosses zero exactly where the blue curve turns around, at x = −1 (a maximum) and x = 1 (a minimum). Prime notation works for any function you define, including f''(x) for the second derivative.
What the derivative tells you about the graph
- f′ > 0: f is increasing.
- f′ < 0: f is decreasing.
- f′ changes sign: f has a local maximum or minimum.
- f″ > 0: f is concave up; f″ < 0: concave down; f″ changes sign at an inflection point.
Frequently asked questions
What is the derivative of a constant?
Zero. A constant function is a horizontal line, which has slope 0 everywhere.
Can I get a symbolic derivative online?
Yes. The derivative calculator on this site returns the simplified symbolic derivative, the value at a point and the tangent line, and graphs all three.
Does every function have a derivative?
No. |x| has no derivative at x = 0 because of its corner, and functions are not differentiable where they are discontinuous.