// Tool · Derivative Calculator
Derivative Calculator: f′(x) with the Rules Used, Tangent Line and Graph
Type and get a tidy with term-by-term working that names each rule. Choose the order up to 4, evaluate at a point for the slope and tangent line, and see and its derivative on one graph.
Calculator
How to type a function
- Multiplication can be implied:
3x,x sin(x),(x+1)(x-2). Powers:x^3. Division:(x^2+1)/(x-1). - Functions:
sin cos tan sec csc cot,asin acos atan,sinh cosh tanh,expore^x,ln,log(base 10),sqrt,abs. - Letters other than the variable are constants:
a*x^2 + b*xgives . - To differentiate with respect to another variable, type its name in the “Variable” box.
The differentiation rules used
| Rule | Formula |
|---|---|
| Power rule | |
| Product rule | |
| Quotient rule | |
| Chain rule | |
| Exponential and logarithm | , , |
| Trigonometric | , , |
| Inverse trigonometric | , |
| Function to the power of a function |
A worked example by hand
Differentiate . It is a product of and , with and (chain rule).
At : , the slope of the tangent line there.
How answers are checked
The derivative comes from symbolic rules, so it is exact rather than an approximation. It is then checked against a 4th-order finite-difference derivative at 10 test points. The form may differ from a textbook's answer (a common factor may not be pulled out), but the value is the same.
Learn the theory
Frequently asked questions
My answer looks different from the book. Is it wrong?
Usually not. A derivative can be written in several forms; 2 sin x cos x and sin 2x are equal. Substitute a value of x into both to compare. This calculator checks numerically every time.
Can it do partial derivatives?
Yes. Type a function of several variables, such as x^2*y + sin(y), and name the variable in the “Variable” box. Other letters are held constant, which is exactly a partial derivative.
Which base is log?
log is base 10 and ln is the natural logarithm.
How high can the order go?
Up to the 4th order, and every intermediate derivative is shown.