Calculus Tool
Difference Quotient Calculator
Enter any function f(x) to compute the full difference quotient with step-by-step solution.
Use: x^n, sqrt(), sin(), cos(), tan(), ln(), log(), e^(), abs(), pi
Numeric value to plug in after simplification
Step-by-Step Solution
Difference Quotient
Definition
The difference quotient is [f(x+h) − f(x)] / h. It measures the average rate of change of f(x) over an interval of width h. As h → 0, it becomes the derivative f′(x) — the instantaneous rate of change.
Steps to solve manually
1. Find f(x+h) by replacing every x with (x+h).
2. Compute f(x+h) − f(x) and expand/simplify.
3. Divide by h and cancel common factors.
4. Optionally take lim h→0 to get f′(x).
Supported input syntax
x^2 → x²
3x^4 → 3x⁴
sqrt(x) → √x
sin(x) → sin x
cos(x) → cos x
tan(x) → tan x
ln(x) → ln x
log(x) → log x
e^(x) → eˣ
abs(x) → |x|
1/x → 1/x
pi → π