Derivative Calculator
Solve derivative problems step-by-step with our free calculator. See formulas, worked examples, and clear explanations.
Reviewed by Manoj Kumar, Mathematics Educator
Formula
f'(x) โ [f(x+h) - f(x-h)] / (2h) | f''(x) โ [f(x+h) - 2f(x) + f(x-h)] / hยฒ
Central difference formula for numerical differentiation. The first derivative uses the symmetric difference quotient (error O(hยฒ)). The second derivative uses the second-order central difference.
Worked Examples
Example 1: d/dx(xยณ) at x=2
Problem:f(x) = xยณ, find derivative at x = 2
Solution:f'(x) = 3xยฒ โ f'(2) = 12
Result:f'(2) โ 12.00000000
Example 2: Derivative of sin(x) at x=0
Problem:f(x) = sin(x), find derivative at x = 0
Solution:f'(x) = cos(x) โ f'(0) = cos(0) = 1
Result:f'(0) โ 1.00000000
References
Reviewed by Manoj Kumar, Mathematics Educator ยท Editorial policy