Chapter 2: The Paradox of the DerivativeΒΆ

The OxymoronΒΆ

People say: β€œThe derivative measures an instantaneous rate of change”

But think about it… change requires time!
How can something be changing at a single instant?

This is the central paradox of calculus.

import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns

sns.set_style('whitegrid')
plt.rcParams['figure.figsize'] = (14, 10)

1. The Paradox IllustratedΒΆ

Consider a car’s position: s(t) = tΒ²

At exactly t = 2 seconds:

  • The car is at position s(2) = 4 meters

  • What is its velocity?

Problem: Velocity = distance/time
But at a single instant, both distance and time traveled are zero!

\[ v = \frac{0}{0} = \text{???} \]
def show_paradox():
    """Demonstrate the 0/0 paradox."""
    print("The Derivative Paradox\n")
    print("=" * 50)
    print("\nAt t = 2, with s(t) = tΒ²:")
    print("  Position: s(2) = 4")
    print("  Distance traveled in 0 time: 0")
    print("  Time elapsed: 0")
    print("  Velocity = 0/0 = ???\n")
    print("We need a better approach!")
    print("=" * 50)

show_paradox()

2. The Resolution: LimitsΒΆ

Instead of asking β€œwhat is ds/dt at a point?”, we ask:

β€œWhat does ds/dt approach as the interval shrinks?”

\[ \frac{ds}{dt} = \lim_{\Delta t \to 0} \frac{s(t + \Delta t) - s(t)}{\Delta t} \]

The key insight: Even though both numerator and denominator approach 0,
their ratio approaches a specific finite value!

def demonstrate_limit():
    """Show how the limit works for s(t) = tΒ²."""
    
    def s(t):
        return t**2
    
    t0 = 2
    dt_values = [1, 0.5, 0.1, 0.01, 0.001, 0.0001]
    
    print("Computing the Limit\n")
    print("For s(t) = tΒ² at t = 2:\n")
    print("Ξ”t        | Ξ”s         | Ξ”s/Ξ”t (velocity)")
    print("-" * 50)
    
    for dt in dt_values:
        ds = s(t0 + dt) - s(t0)
        velocity = ds / dt
        print(f"{dt:8.4f}  | {ds:10.6f} | {velocity:.6f}")
    
    print("-" * 50)
    print(f"\nLimit as Ξ”t β†’ 0: {2*t0:.1f}")
    print("\nNotice: Both Ξ”s and Ξ”t approach 0,")
    print("but their ratio approaches 4!")

demonstrate_limit()

SummaryΒΆ

The ParadoxΒΆ

Instantaneous change seems impossible - it’s a 0/0 situation!

The ResolutionΒΆ

Use limits: Let the interval shrink to zero and see what the ratio approaches.

\[ \boxed{\frac{ds}{dt} = \lim_{\Delta t \to 0} \frac{\Delta s}{\Delta t}} \]

This is not 0/0, but the limit of a ratio.

Next: How to actually compute derivatives!