calculator.onl
Categories50

Derivative calculator

Differentiate elementary expressions symbolically, choose a variable and order, and evaluate at a real point.

A worked example

Compare the first and second derivatives of x³ at x = 3.

Symbolic derivative(cos((x^2))*(2*x))Value at the point-2.6145744834544478Real-domain conditionsℝ
Enter an elementary expression, for example sin(x^2) or x^2*y. Use +, -, *, /, ^, parentheses and decimal points; trigonometric arguments are in radians.

Choose the differentiation variable; other supported variables are held constant.

Choose an integer from 1 to 5. Expression-size limits also apply to the result.

Choose a symbolic answer or additionally evaluate it at a real point.

Enter a real constant such as 2, 1/3 or pi. The original function and derivative must both be defined here.

Updates as you type

Use a dot or comma for decimals. No thousands separators.

YOUR RESULT

Symbolic derivative

(cos((x^2))*(2*x))

Calculated from your inputs

Value at the point-2.6145744834544478
Real-domain conditionsℝ
Rule count2
The numbers, at a glance

Calculations run in your browser.
UNDERSTAND THE RESULT

A little context. A clearer answer.

↑ Back to calculator

When this calculator is useful

Find a first or higher derivative, including a partial derivative with respect to x, y, z or t. The result shows the rules used and retains the original domain restrictions. For a related calculation, try Antiderivative and integral calculator.

What to enter

InputWhat it meansExample value
ExpressionEnter an elementary expression, for example sin(x^2) or x^2*y. Use +, -, *, /, ^, parentheses and decimal points; trigonometric arguments are in radians.sin(x^2)
VariableChoose the differentiation variable; other supported variables are held constant.x
Derivative orderChoose an integer from 1 to 5. Expression-size limits also apply to the result.1
Evaluate at a pointChoose a symbolic answer or additionally evaluate it at a real point.Evaluate at a point
Point valueEnter a real constant such as 2, 1/3 or pi. The original function and derivative must both be defined here.2

How the calculation works

  1. Enter the expression and select its variable and derivative order.
  2. Choose whether to evaluate at a point; check the displayed real-domain constraints.
  3. Read the symbolic result and rule list. Compare the solid function curve with the dashed derivative.
The formula(uv)′ = u′v + uv′; (f(g))′ = f′(g)g′

A worked example

For x^3, choose x and order 1: the derivative is 3*x^2 and its value at x = 2 is 12.

Example you can load

What to enter
Result for this example · Symbolic derivative(cos((x^2))*(2*x))

This is a fixed example; changing the form above does not change these numbers.

Assumptions & limits

Use +, -, *, /, ^ and parentheses; write decimal points. Functions: sin, cos, tan, exp, log/ln, sqrt, asin, acos, atan, sinh, cosh and abs. Trigonometric arguments use radians. Variables are x, y, z and t; constants pi and e. Use explicit multiplication between variables. At most 600 characters. Calculations run locally and can be cancelled; the tool does not save the input or put it in a share link. Derivative orders 1–5. Other supported variables stay symbolic in partial derivatives; evaluating a point requires only the selected variable. Conditions are explicit constraints, not a complete interval solver. At a cusp or pole the point value is rejected. A sampled plot is illustrative only.

Frequently asked questions

Can it calculate a partial derivative?

Yes. For x^2*y with variable x, y is treated as a constant and the derivative is 2*x*y. Point evaluation is available only when no other variables remain in the original input.

Does the derivative erase the original domain?

No. For log(x), the derivative is 1/x but the original real domain is still x > 0. Domain constraints are retained even when algebraic simplification removes a denominator.

Is the answer a numerical difference?

No. The engine applies symbolic differentiation rules. The plotted samples and optional decimal value are additional numerical views; they do not replace the symbolic derivative.