How to use it
- Type the function the way you would type it into a calculator:
x^3 - 4x,sin(x),ln(2x),sqrt(x),x*e^x. Implied multiplication works, so2xand3(x + 1)are fine. - The derivative appears as you type, together with the second derivative.
- Fill in At x = to get f(x), f′(x) and f″(x) as numbers there. The point can be an expression
itself:
pi/2,1/3,2^10. - Differentiating with respect to something other than
x? Change the letter in With respect to. Every other letter is then treated as a constant: d/dt ofa t²is2at. - The address bar holds the function, so a link or a bookmark brings it back — and sends it to someone else exactly as you left it.
Which rules it uses
| What you type | Rule | Derivative |
|---|---|---|
x^n |
Power rule | n·xⁿ⁻¹ |
f + g, f - g |
Sum rule | f′ ± g′ |
f*g |
Product rule | f′g + fg′ |
f/g |
Quotient rule | (f′g − fg′) / g² |
sin(2x) |
Chain rule | 2·cos(2x) |
sqrt(x), root(x, 3) |
Root as a power | 1 / (2√x), 1 / (3∛x²) |
ln(x), log(x), log(x, b) |
Logarithms | 1/x, 1/(x·ln 10), 1/(x·ln b) |
e^x, 2^x |
Exponentials | eˣ, 2ˣ·ln 2 |
sin, cos, tan |
Trigonometry, in radians | cos x, −sin x, 1/cos²x |
Constants differentiate to zero, which is why x^3 - 4x + 7 and x^3 - 4x have the same derivative.
Worked examples
A polynomial. x^3 - 4x differentiates term by term: the power rule turns x³ into 3x², and the
derivative of −4x is −4. So f′(x) = 3x² − 4. At x = 2 that is 8, so the curve is climbing there. The
second derivative, 6x, is 12 at the same point: the curve is also bending upwards.
A product. x*e^x needs the product rule: the derivative of x times eˣ, plus x times the derivative
of eˣ. Both terms contain eˣ, so f′(x) = eˣ + x·eˣ.
Inside another function. ln(2x) is the chain rule: the derivative of ln is 1 over its argument,
times the derivative of the argument, which is 2. That gives 2/(2x) — and since the 2s cancel,
1/x. The derivative of ln(kx) is 1/x for every constant k, which is worth remembering.
Where the derivative is used
The derivative is the slope of the curve at a point, and that single idea is why it turns up everywhere:
- f′(x) = 0 marks a maximum, a minimum or a stationary point of inflection. The second derivative often says which: negative is a maximum, positive is a minimum, and zero leaves it open.
- f′(x) > 0 means the function is increasing there, f′(x) < 0 that it is falling.
- The tangent line at x = a is y = f(a) + f′(a)·(x − a), which is what the three numbers in the point panel are for.
- In physics, the derivative of position is velocity and the derivative of velocity is acceleration — the same function differentiated twice, which is why the second derivative is shown here too.
The way back, from the derivative to the function, is integration. The integral calculator handles that, with the same way of typing the function.
Frequently asked questions
Does it show the steps?
Not yet. It applies the rules and simplifies the result, but it does not write out which rule it used
where. The table above names the rule for each kind of expression, and the worked examples follow
three of them by hand.
Why are angles in radians?
Because the derivative of sin x is cos x only in radians. In degrees it would be (π/180)·cos x, which
is true but is not what a derivative calculator is asked for. If you want trigonometry in degrees,
use the scientific calculator.
What can it not differentiate?
Absolute values, rounding, factorials, permutations and combinations, and statistics. Those can be
calculated but not written as a formula this page can differentiate, so it says so by name rather
than quietly ignoring them. It also takes one variable at a time: no partial or implicit
differentiation.
Can I write y = x^2 instead of just x^2?
Yes. The name is dropped and the function on the right is differentiated, because that is how a
textbook writes it.
Why is the derivative of a constant zero?
The derivative measures how fast the value changes. A constant never changes, so its rate of change
is zero — and that is why you cannot recover a constant from a derivative, which is where the +C in
integration comes from.