Courses / Computer Science I
Calculus

Derivatives and Rates of Change

Computer Science I 195 words Free to read

The Instantaneous Rate

The derivative measures how fast a function changes at one exact instant. It is the limit of average rates of change over shrinking intervals:

f(x)=limh0f(x+h)f(x)hf'(x) = \lim_{h \to 0} \frac{f(x + h) - f(x)}{h}

This fraction is the slope between two points. As h0h \to 0, the points merge into the slope of the tangent line.

ConceptMeaningReal-world example
f(t)f'(t)VelocityRate position changes
f(x)>0f'(x) > 0IncreasingCurve rises steeply
f(x)=0f'(x) = 0HorizontalPeak, valley, or flat

Notation varies: f(x)f'(x), dfdx\frac{df}{dx}, and dydx\frac{dy}{dx} all mean the same thing.

Limits and Pitfalls

A function with a sharp corner or a jump is not differentiable there because the slope has no single value.

Every differentiable function is continuous, but not vice versa. A corner is continuous yet not differentiable.

Common pitfall: Confusing the derivative (slope) with the function value (height).

f(x)f'(x) tells you how fast it changes, not where it sits. f(x)=0f'(x) = 0 means the function is momentarily flat, not that f(x)=0f(x) = 0.

Derivatives and Rates of Change

Practise this lesson

The explanation above is free to read. The graded practice for this lesson lives in the Tryals app.

10practice questions
2interactive scenes

Calculus