Numeravo

Numeravo

Smart calculators

← Student calculators

Math

Derivative Calculator

Enter a function of one variable. The derivative is computed in your browser, checked against math.js, and graphed with the tangent line.

The calculator runs in this browser.

How it works

The expression is parsed with the same math.js engine NumeraFlow uses for symbolic derivatives. Sine, cosine, and tangent are in radians. ln(x) and log(x) both mean the natural logarithm. Multiplication can be written with * , and functions need parentheses, as in sin(x).

Order 1 through 8 repeats differentiation. A rule tag is added only when this page builds that step itself and the step matches the math.js derivative. Power, chain, product, and quotient are the tagged derivative rules. If a breakdown does not verify, the math.js derivative is still shown and no rule is invented for it.

The graph draws f and the first derivative. The white line is the tangent at the point you choose. Drag that point or edit the value. Evaluating at a point where the expression is undefined leaves the symbolic derivative on the page and says the number is undefined.

Formulas

These are the derivative rules the page can tag. Each row's example is an example, not a result from your expression.

Derivative Calculator rules
RuleFormulaExample
Powerd/dx of x^n = n x^(n-1), when n is a constantExample: d/dx of x^3 = 3x^2.
Chaind/dx of f(g(x)) = f'(g(x)) times g'(x)Example: d/dx of sin(x^2) = 2x cos(x^2).
Productd/dx of u v = u' v + u v'Example: d/dx of x e^x = e^x (x + 1).
Quotientd/dx of u/v = (u' v - u v') / v^2Example: d/dx of x/(x+1) = 1/(x+1)^2.

Worked examples

  1. Example: d/dx of x^3 at x = 2 is 12

    The power rule gives 3x^2. At x = 2, 3 times 4 is 12. The function value there is 8, so the tangent line is y - 8 = 12(x - 2).

  2. Example: d/dx of sin(x^2) uses the chain rule

    The outside is sine and the inside is x^2. Cosine of the inside, times the derivative 2x, is 2x cos(x^2). The angle is in radians.

Pro tips

  • Trigonometric functions on this page are in radians. sin(90) is not 1. sin(pi/2) is 1.
  • A rule tag appears only after the step matches math.js. An untagged derivative is still the computed derivative.
  • The tangent uses the first derivative even when you ask for a higher order. The higher-order result is the value in the result panel.
  • If the expression is undefined at the point you chose, the symbolic derivative stays visible and the value is reported as undefined.

FAQ

Which variable and derivative order can I use?

Choose x, t, y, u, or type another name that is not a function and is not e, pi, or i. Order is a whole number from 1 to 8. The expression may use that variable, e, and pi.

Why is a derivative shown with no rule tag?

A tag is added only when this page can build that power, chain, product, or quotient step and the step matches math.js. The derivative of sqrt(x) is 1/(2 sqrt(x)). It is checked, and it is not tagged as the chain rule because the inside is the variable itself.

Are sine, cosine, and tangent in radians?

Yes. The math engine uses radians. sin(pi/2) is 1. sin(90) is the sine of 90 radians, not the sine of 90 degrees.

Is the expression sent to a server?

No. Parsing, differentiation, graphing, and evaluation run in this browser. The expression is not stored on a Numeravo server and is not used to train a model.

Sources