Derivative Calculator (First Principles)



Enter your function. Use ‘x’ as the variable. Supported functions: +, -, *, /, ^ (power), sin(), cos(), tan(), exp(), log(), sqrt().


Enter the specific value of ‘x’ for which you want the derivative.


A small positive value approaching zero. The smaller it is, the more accurate the approximation.



Calculation Results


N/A

N/A

N/A

N/A

N/A

The derivative using the first principles is calculated as the limit of the difference quotient as h approaches 0:
f'(a) = lim (h→0) [f(a + h) – f(a)] / h
This calculator approximates this limit by using a very small value for ‘h’.

Intermediate Calculation Steps
Step Description Value
1 Function f(x) N/A
2 Point ‘a’ N/A
3 Delta ‘h’ N/A
4 Calculate f(a) N/A
5 Calculate a + h N/A
6 Calculate f(a + h) N/A
7 Calculate f(a + h) – f(a) (Numerator) N/A
8 Calculate [f(a + h) – f(a)] / h (Approx. Derivative) N/A

Visualizing the Derivative Approximation

■ Secant Line Slope
● Function Value Point