Introduction to Derivatives: Rate of Change and Slopes


Motivation: Why Study Rate of Change?

Imagine you're driving a car. Your average speed from one town to another might be 60 km/h. But at a given moment — say, when a police radar checks you — your instantaneous speed might be 72 km/h.

This difference is key in calculus:

Derivatives measure how fast something is changing at a single moment — not just over an interval.


The Big Idea: From Average to Instantaneous Rate of Change

In algebra, we learned how to compute the slope between two points:

Average Rate of Change=f(x2)f(x1)x2x1\text{Average Rate of Change} = \frac{f(x_2) - f(x_1)}{x_2 - x_1}

But what if we want the rate of change at exactly one point?
We need a new idea — a limit — which leads to the derivative.


Connecting to Graphs: Secant and Tangent Lines

As the two points of the secant get closer together, the secant line becomes the tangent line.


Interactive Example: Average Speed Between Two Times

We define a position function:

s(t)=t32t2t+3s(t) = t^3 - 2t^2 - t + 3

It models a moving object's position over time.

Use the sliders below to choose a starting and ending time (t0t_0 and t1t_1) to see:

As you bring t0t_0 and t1t_1 closer, the red secant line approaches the tangent line.

Interactive Graph

Move the sliders to explore how the average rate of change behaves!

Interactive Average Speed

t₀ = 1.0, t₁ = 3.0
Average speed (slope) = ?
Line equation: y = mt + b

Additional Example: A Leaking Water Tank

Scenario 1: Constant Leak

Suppose a tank leaks water at a steady rate of 2 liters per minute.

V(t)=1002tV(t) = 100 - 2t

This is a linear function. The slope (rate) is always the same. We don’t even need calculus to describe how fast it's leaking — the rate of change is already constant.


Scenario 2: Increasing Leak (Crack Worsens Over Time)

Now suppose the leak gets worse over time — the more water that escapes, the faster it leaks.

V(t)=100t2V(t) = 100 - t^2

Now the leak starts slowly, but over time the rate of leakage increases.

Let’s compute average rates:

Even though both intervals are 2 minutes long, the tank is losing water more quickly later on.
This is where derivatives shine — they tell us exactly how fast the leak is worsening at any moment.


Summary of Concepts

Concept Description
Average Rate of Change Slope between two points on a curve
Instantaneous Rate Slope at a single point (the derivative)
Secant Line Line connecting two points on the curve
Tangent Line Line just touching the curve at one point

Practice Exercises

1. Estimating Speed of a Thrown Ball

A ball’s height after tt seconds is:

h(t)=5t2+20th(t) = -5t^2 + 20t


2. Table of Values (Function: f(x)=x2f(x) = x^2)

x f(x)
1 1
1.5 2.25
2 4

3. Graph-Based Estimation

A function f(x)f(x) (e.g. x2x^2) is plotted.


4. Real-Life Scenario

A runner covers:


5. Conceptual Challenge: Constant Acceleration

A car’s speed increases by 3 m/s every second.


Extra Advanced Exercises

1. Approaching the Instantaneous Rate with Limits

Let the position of an object be given by:

s(t)=t+1s(t) = \sqrt{t + 1}

Challenge: Try computing

s(3+h)s(3)h\frac{s(3+h) - s(3)}{h}

for small values of $ h$ like 0.001,0.00010.001, 0.0001, and guess the limit as h0h \to 0.


2. Sharp Corner Behavior

Let f(x)=x2f(x) = |x - 2|


3. Multidimensional Rate

A balloon moves vertically and horizontally:

(a) Find the average vertical rate of change from t=2t = 2 to t=4t = 4.
(b) Compute total distance traveled.
(c) Estimate how fast the total distance is changing at t=3t = 3.


4. Instantaneous Rate from a Rational Function

Let the position of a car be given by:

s(t)=t2+3t+1t+1s(t) = \frac{t^2 + 3t + 1}{t + 1}


5. Function with Unpredictable Slope

Consider the function:

f(x)=xsin(1x),for x0,f(0)=0f(x) = x \cdot \sin\left(\frac{1}{x}\right), \quad \text{for } x \neq 0,\quad f(0) = 0

(a) Plot or sketch this function (use Desmos or another graphing tool)
(b) What happens to the slope of the secant line as x0x \to 0?
(c) Can we estimate the slope at x=0x = 0? Why is this difficult?

Hint: This function is continuous at 0 but wildly oscillatory nearby.


Conclusion

In our next session, we’ll formally define the derivative using limits!

Recommendation:
Watch 3Blue1Brown's video on introdcution to derivatives and his series on calculus.