-2 -1 1 2 -1 1 0 x y Δx Δy m = 1.93 P₁ P₂ Secant through P₁ and P₂: m = Δy/Δx = 1.93
Derivatives: Definition, Rules & Techniques › The Difference Quotient and Its Limit
-2 -1 1 2 -1 1 0 x y c P = (c, f(c)) slope = 0.00 Horizontal tangent: slope = 0.00 at a local maximum
Derivatives: Definition, Rules & Techniques › Derivative Graph Analysis
-2 -1 1 2 -1 1 0 x y c P f″(c) = 0.00 f″(c) = 0.00 at an inflection point
Derivatives: Definition, Rules & Techniques › Higher-Order Derivatives
-5
-4
-3
-2
-1
1
2
3
4
5
-5
-4
-3
-2
-1
1
2
3
4
5
x
y
f(x) = x²
f′(x) = 2x
f(x) = x² and f′(x) = 2x, marked at x = 1
Common Derivatives: Formulas & Examples › Power Functions
-5
-4
-3
-2
-1
1
2
3
4
5
-5
-4
-3
-2
-1
1
2
3
4
5
x
y
f(x) = sin(x)
f′(x) = cos(x)
f(x) = sin x and f′(x) = cos x, marked at x = 1
Common Derivatives: Formulas & Examples › Trigonometric Functions — Sine and Cosine
-5
-4
-3
-2
-1
1
2
3
4
5
-5
-4
-3
-2
-1
1
2
3
4
5
x
y
f(x) = eˣ
f′(x) = eˣ
f(x) = eˣ and f′(x) = eˣ coincide
Common Derivatives: Formulas & Examples › Exponential Functions
-5
-4
-3
-2
-1
1
2
3
4
5
-5
-4
-3
-2
-1
1
2
3
4
5
x
y
f(x) = ln(x)
f′(x) = 1/x
f(x) = ln x and f′(x) = 1/x, marked at x = 1
Common Derivatives: Formulas & Examples › Logarithmic Functions
|x| has slope -1 on the left and +1 on the right: two tangent directions at the corner x y −3 −2 −1 1 2 3 −2 −1 1 2 3 y = |x| slope +1 continued slope −1 continued A corner: two finite one-sided slopes that disagree, so no tangent Two slopes at one point
Differentiability: Corners, Cusps & Continuity › Corners
x^(2/3) has a cusp at 0: the slope goes to minus infinity from the left and plus infinity from the right x y −3 −2 −1 1 2 3 −1 1 2 3 y = x^(2/3) both sides arrive vertically slope → −∞ slope → +∞ A cusp: one-sided slopes are infinite with opposite signs Infinite slopes from opposite sides
Differentiability: Corners, Cusps & Continuity › Cusps
x^(1/3) passes smoothly through 0 with a vertical tangent: the slope goes to plus infinity from both sides x y −3 −2 −1 1 2 3 −2 −1 1 2 tangent: x = 0 y = x^(1/3) slope → +∞ from both sides A vertical tangent: no sharp point, but the slope is infinite A smooth curve with a vertical tangent
Differentiability: Corners, Cusps & Continuity › Vertical Tangents
-3
-2
-1
1
2
3
-4
-3
-2
-1
1
2
3
4
x
y
f(x) = x for x<0; x+1 for x≥0
Jump at x = 0: the two sides disagree
Differentiability: Corners, Cusps & Continuity › Discontinuities
f(x) = x^2 from x = 1 with dx = 1: the tangent rises dy = 2, the curve rises delta y = 3, the gap is 1 x y 1 2 3 −1 1 2 3 4 5 dx = 1 tangent at x = 1 y = x² Δy = 3 (curve) error 1 dy = 2 (tangent) dy follows the tangent, Δy follows the curve; the gap is the error dy and Δy side by side
Differentials: Linear Approximation & Error › dy Versus Δy
-2 -1 1 2 -1 1 0 x y c P = (c, f(c)) slope = 1.89 The tangent line at P is the linear approximation
Differentials: Linear Approximation & Error › Differential Notation
-5
-4
-3
-2
-1
1
2
3
4
5
-5
-4
-3
-2
-1
1
2
3
4
5
x
y
f(x) = x³
f′(x) = 3x²
f(x) = x³ above, f′(x) = 3x² below
Derivatives as Functions: Graphing & Properties › Derivative Notation: Function vs Point
x^2 + 3, x^2 and x^2 - 2 have the same derivative 2x: at x = 1.5 all three tangents have slope 3 x y −3 −2 −1 1 2 3 −3 −2 −1 1 2 3 4 5 6 7 8 9 x² + 3 x² x² − 2 same slope 3 at x = 1.5 f′ fixes every slope but not the height: f is known only up to + C One derivative, many functions
Derivatives as Functions: Graphing & Properties › Graphing f from f'
-2 -1 1 2 -1 1 0 x y c P = (c, f(c)) slope = 1.89 Tangent at P with slope f′(c) = 1.89
Graph Analysis with Derivatives: Extrema & Curves › Tangent Lines
-5
5
-25
-20
-15
-10
-5
5
10
15
20
25
x
y
f(x) = x³ − 3x
f'(x)
f''(x)
x³ − 3x on [−3, 3]: critical points at x = ±1
Graph Analysis with Derivatives: Extrema & Curves › Critical Points
-5
5
-25
-20
-15
-10
-5
5
10
15
20
25
x
y
f(x) = x³
f'(x)
f''(x)
A critical point that is neither max nor min
Graph Analysis with Derivatives: Extrema & Curves › The First Derivative Test
-2 -1 1 2 -1 1 0 x y c P f″(c) = 2.60 f″(c) = 2.60: concave up, a cup
Graph Analysis with Derivatives: Extrema & Curves › The Second Derivative Test
-2 -1 1 2 -1 1 0 x y c P f″(c) = -2.60 f″(c) = −2.60: concave down
Graph Analysis with Derivatives: Extrema & Curves › Concavity
-2 -1 1 2 -1 1 0 x y c P f″(c) = 0.00 f″(c) = 0.00: the bending changes sides
Graph Analysis with Derivatives: Extrema & Curves › Inflection Points
-5
5
-25
-20
-15
-10
-5
5
10
15
20
25
x
y
f(x) = x⁴ − 4x²
f'(x)
f''(x)
x⁴ − 4x² on [−3, 3]: critical points and endpoints
Graph Analysis with Derivatives: Extrema & Curves › Optimization
-2 -1 1 2 -1 1 0 x y c P f″(c) = 2.60 f″(c) = 2.60: the slope is increasing
Higher Order Derivatives: Second, Third & nth › Notation for Higher-Order Derivatives
sin x and its derivative cos x: the derivative is the same wave shifted left by pi/2 x y −4 −3 −2 −1 1 2 3 4 5 6 7 −2 −1 1 2 shift π/2 sin x cos x = (sin x)′ each derivative moves the wave π/2 to the left four shifts make a full period: the 4-cycle (sin x)′ = sin(x + π/2): each derivative shifts the wave by π/2 Differentiating sine is a shift
Higher Order Derivatives: Second, Third & nth › Patterns in Repeated Differentiation — Sine and Cosine
Taylor polynomials of sin x at 0 of degree 1, 3 and 5 fit on wider and wider intervals x y −4 −3 −2 −1 1 2 3 4 −2 −1 1 2 sin x degree 1 (dashed) degree 3 (navy) degree 5 (amber) More derivatives at 0, closer fit: degrees 1, 3, 5 for sin x Taylor polynomials of sin x at 0
Higher Order Derivatives: Second, Third & nth › Higher-Order Derivatives and Taylor Series
x|x| looks smooth, but its derivative 2|x| has a corner at 0: C1 but not C2 x y −2 −1 1 2 −3 −2 −1 1 2 3 4 5 f(x) = x|x| f′(x) = 2|x| corner in f′: f″(0) does not exist x|x| has a continuous derivative with a corner: class C¹, not C² Smooth to the eye, not twice differentiable
Higher Order Derivatives: Second, Third & nth › Existence and Smoothness Classes
Rectangle with sides f and g grown by small steps: the new area is f times g plus two strips g times delta f and f times delta g plus a tiny corner f · g g·Δf f · Δg Δf · Δg f g Δ(fg) = g · Δf + f · Δg + Δf · Δg divide by Δx and let Δx → 0: the corner term vanishes (fg)′ = f′g + fg′ Each factor grows while the other stays fixed The product rule as a growing rectangle
Derivative Rules: Formulas & Theorems › Product Rule
-4
-2
2
4
-4
-2
2
4
6
8
10
12
14
16
18
20
22
24
x
y
f(x) = x²
y = f(a) + 0·(x − a)
y = f(c) + 0·(x − c)
Secant over [a, b] and the parallel tangent at c
Derivative Rules: Formulas & Theorems › Mean Value Theorem
-5
-4
-3
-2
-1
1
2
3
4
5
-1
1
x
y
f(x) = sin(x)
y = f(a) + 0·(x − a)
y = f(c) + 0·(x − c)
y = f(c) + 0·(x − c)
Rolle’s theorem on a full period of sine
Derivative Rules: Formulas & Theorems › Rolle's Theorem
sin 2x and x both vanish at 0 with slopes 2 and 1, so sin 2x / x tends to 2 x y −1 1 −1 1 slopes at 0: 2 and 1 x = 0.3: 0.565 / 0.3 ≈ 1.88 blue: sin 2x navy: y = x dashed: y = 2x, tangent at 0 Near 0 the ratio of heights tends to the ratio of slopes: 2 / 1 = 2 Why the derivatives decide 0/0
Derivative Rules: Formulas & Theorems › L'Hôpital's Rule
arcsin x and its derivative 1/sqrt(1 - x^2): the derivative blows up at x = -1 and x = 1 where arcsin has vertical tangents x y −1 1 −2 −1 1 2 3 4 arcsin x slope → ∞ at x = ±1 f′(x) = 1/√(1 − x²) arcsin x turns vertical at ±1, where its derivative blows up arcsin x and its derivative
Special Derivatives: Inverse Trig & Hyperbolic › Inverse Trigonometric Functions — Arcsine and Arccosine
arctan x rises everywhere between the asymptotes y = -pi/2 and pi/2; its derivative 1/(1 + x^2) is positive and tends to 0 x y −6 −5 −4 −3 −2 −1 1 2 3 4 5 6 −2 −1 1 2 y = π/2 y = −π/2 arctan x 1/(1 + x²) Positive derivative fading to 0: arctan rises toward ±π/2 arctan x and its derivative
Special Derivatives: Inverse Trig & Hyperbolic › Inverse Trigonometric Functions — Arctangent and Arccotangent
x^2 for x <= 1 and 2x - 1 for x > 1 meet at (1, 1) with the same slope 2: the join is smooth x y −1 1 2 3 −1 1 2 3 4 5 2x − 1 (x > 1) both pieces: value 1, slope 2 at x = 1 x² (x ≤ 1) Same value and same slope at the boundary: f′(1) = 2 exists A boundary where the pieces join smoothly
Special Derivatives: Inverse Trig & Hyperbolic › Piecewise Functions
The circle x^2 + y^2 = 25 with its tangent at (3, 4), slope -x/y = -3/4 x y −6 −5 −4 −3 −2 −1 1 2 3 4 5 6 7 −5 −4 −3 −2 −1 1 2 3 4 5 slope −3/4 (3, 4) x² + y² = 25 dy/dx = −x/y = −3/4 No formula for y needed: the slope −x/y reads both coordinates A slope from the equation alone
Differentiation Techniques: Implicit & More › Implicit Differentiation
e^x has slope 2 at (ln 2, 2); its inverse ln x has slope 1/2 at the mirrored point (2, ln 2) x y −2 −1 1 2 3 4 −2 −1 1 2 3 4 y = x eˣ ln x slope 2 slope 1/2 Mirrored points, reciprocal slopes: 2 on eˣ, 1/2 on ln x Reciprocal slopes at mirrored points
Differentiation Techniques: Implicit & More › Differentiating Inverse Functions
-5
-4
-3
-2
-1
1
2
3
4
5
-5
-4
-3
-2
-1
1
2
3
4
5
x
y
f(x) = x
f′(x) = 1
Identity, frozen at x0 = 1
Derivative Visualizer › Identity: a Constant Derivative
-5
-4
-3
-2
-1
1
2
3
4
5
-5
-4
-3
-2
-1
1
2
3
4
5
x
y
f(x) = x²
f′(x) = 2x
Quadratic, frozen at x0 = 1
Derivative Visualizer › Quadratic: a Derivative That Grows Linearly
-5
-4
-3
-2
-1
1
2
3
4
5
-5
-4
-3
-2
-1
1
2
3
4
5
x
y
f(x) = x³
f′(x) = 3x²
Cubic, frozen at x0 = 1
Derivative Visualizer › Cubic: a Flat Spot That Is Not an Extremum
-5
-4
-3
-2
-1
1
2
3
4
5
-5
-4
-3
-2
-1
1
2
3
4
5
x
y
f(x) = sin(x)
f′(x) = cos(x)
Sine, frozen at x0 = 1
Derivative Visualizer › Sine: the Derivative Is a Quarter Turn
-5
-4
-3
-2
-1
1
2
3
4
5
-5
-4
-3
-2
-1
1
2
3
4
5
x
y
f(x) = cos(x)
f′(x) = −sin(x)
Cosine, frozen at x0 = 1
Derivative Visualizer › Cosine: the Same Wave With a Sign
-5
-4
-3
-2
-1
1
2
3
4
5
-5
-4
-3
-2
-1
1
2
3
4
5
x
y
f(x) = eˣ
f′(x) = eˣ
Exponential, frozen at x0 = 1
Derivative Visualizer › Exponential: Its Own Derivative
-5
-4
-3
-2
-1
1
2
3
4
5
-5
-4
-3
-2
-1
1
2
3
4
5
x
y
f(x) = ln(x)
f′(x) = 1/x
Logarithm, frozen at x0 = 1
Derivative Visualizer › Logarithm: a Derivative That Blows Up
-5
-4
-3
-2
-1
1
2
3
4
5
-7
-6
-5
-4
-3
-2
-1
1
2
3
4
5
6
7
x
y
f(x) = x
y = f(a) + 1·(x − a)
y = f(c) + 1·(x − c)
y = f(c) + 1·(x − c)
y = f(c) + 1·(x − c)
y = f(c) + 1·(x − c)
Identity on [-2, 2], frozen
Mean Value Theorem Visualizer › Identity: Every Point Is a c
-4
-2
2
4
-4
-2
2
4
6
8
10
12
14
16
18
20
22
24
x
y
f(x) = x²
y = f(a) + 0·(x − a)
y = f(c) + 0·(x − c)
Quadratic on [-2, 2], frozen
Mean Value Theorem Visualizer › Quadratic: Rolle's Theorem in Disguise
-5
5
-25
-20
-15
-10
-5
5
10
15
20
25
x
y
f(x) = x³
y = f(a) + 4·(x − a)
y = f(c) + 4·(x − c)
y = f(c) + 4·(x − c)
Cubic on [-2, 2], frozen
Mean Value Theorem Visualizer › Cubic: Two Solutions at Once
-5
-4
-3
-2
-1
1
2
3
4
5
-1
1
x
y
f(x) = sin(x)
y = f(a) + 0·(x − a)
y = f(c) + 0·(x − c)
y = f(c) + 0·(x − c)
Sine on [0, 2π], frozen
Mean Value Theorem Visualizer › Sine: a Full Period With a Flat Secant
-5
-4
-3
-2
-1
1
2
3
4
5
-1
1
x
y
f(x) = cos(x)
y = f(a) + -0.637·(x − a)
y = f(c) + -0.637·(x − c)
y = f(c) + -0.637·(x − c)
Cosine on [0, π], frozen
Mean Value Theorem Visualizer › Cosine: a Secant That Is Not Flat
-4
-2
2
4
-4
-2
2
4
6
8
10
12
14
16
18
20
22
24
x
y
f(x) = eˣ
y = f(a) + 1.718·(x − a)
y = f(c) + 1.718·(x − c)
Exponential on [0, 1], frozen
Mean Value Theorem Visualizer › Exponential: Where the Average Rate Is Attained
-5
5
-15
-10
-5
5
10
15
20
25
x
y
f(x) = x²
f'(x)
f''(x)
Quadratic on [-3, 3], frozen
Optimization Visualizer › Quadratic: One Critical Point, No Ambiguity
-5
5
-25
-20
-15
-10
-5
5
10
15
20
25
x
y
f(x) = x³ − 3x
f'(x)
f''(x)
x³ - 3x on [-3, 3], frozen
Optimization Visualizer › x³ − 3x: a Maximum and a Minimum
-5
5
-25
-20
-15
-10
-5
5
10
15
20
25
x
y
f(x) = x³
f'(x)
f''(x)
x³ on [-3, 3], frozen
Optimization Visualizer › x³: Where the Second-Derivative Test Fails
-5
5
-25
-20
-15
-10
-5
5
10
15
20
25
x
y
f(x) = x⁴ − 4x²
f'(x)
f''(x)
x⁴ - 4x² on [-3, 3], frozen
Optimization Visualizer › x⁴ − 4x²: Three Critical Points in a W
-5
-4
-3
-2
-1
1
2
3
4
5
-1
1
x
y
f(x) = sin(x)
f'(x)
f''(x)
sin(x) on [-2π, 2π], frozen
Optimization Visualizer › sin(x): Four Critical Points Over Two Periods
-5
-4
-3
-2
-1
1
2
3
4
5
-2
-1
1
x
y
f(x) = e⁻ˣ²
f'(x)
f''(x)
e^(-x²) on [-3, 3], frozen
Optimization Visualizer › The Gaussian: One Maximum and Two Inflections That Are Not Critical
-5
5
-20
-15
-10
-5
5
10
15
20
x
y
f(t) = t³
F(x) = x⁴/4 − a⁴/4
f(t) = t³ shaded from 0 to 2; F(2) = 4
Integrals: Definite, Indefinite & Techniques › Two Types of Integrals
1
2
3
-2
-1
1
2
3
4
5
6
7
8
9
10
11
x
y
f(x) = x²
Midpoint sum for x² on [0, 3] with n = 8
Integrals: Definite, Indefinite & Techniques › Definite Integrals
1
2
3
-2
-1
1
2
3
4
5
6
7
8
9
10
11
x
y
f(x) = x²
Left-endpoint sum for x² on [0, 3], n = 8
Definite Integrals: Riemann Sums & Properties › The Riemann Sum Construction
-5
-4
-3
-2
-1
1
2
3
4
5
-1
1
2
x
y
f(t) = sin(t)
F(x) = −cos(x) + cos(a)
sin t from 0 to 2: area counted with sign
Definite Integrals: Riemann Sums & Properties › Definite Integral Notation
sin x on [0, 2 pi]: area +2 above the axis and -2 below cancel, so the integral is 0 x y 1 2 3 4 5 6 7 −1 1 y = sin x +2 −2 integral over [0, 2π]: 2 − 2 = 0 Signed area: the part below the axis counts negative Area above and below the axis
Definite Integrals: Riemann Sums & Properties › Signed Area Interpretation
-5
5
-20
-15
-10
-5
5
10
15
20
x
y
f(t) = t²
F(x) = x³/3 − a³/3
∫₀² t² dt = F(2) − F(0) = 8/3
Definite Integrals: Riemann Sums & Properties › Computing Definite Integrals
x^2 on [0, 3] has average value 3: the excess above y = 3 balances the shortfall below; reached at x = sqrt 3 x y 1 2 3 4 −1 1 2 3 4 5 6 7 8 9 10 f_avg = 3 y = x² c = √3 area under x² on [0, 3]: 9 = 3 · 3 amber excess = navy shortfall The average value is the level where excess and shortfall balance The average value as a balancing level
Definite Integrals: Riemann Sums & Properties › Average Value of a Function
The integral of |x| from -2 to 3 is two triangles: area 2 on the left and 9/2 on the right, total 13/2 x y −3 −2 −1 1 2 3 4 −1 1 2 3 4 y = |x| 2 9/2 split at 0: 2 + 9/2 = 13/2 Split where |x| changes formula: −x on the left, x on the right Splitting at the sign change
Evaluating Integrals: Strategy & Examples › Handling Absolute Values
x^3 on [-3, 3] is odd: the area below the axis on the left mirrors the area above on the right, so the integral is 0 x y −4 −3 −2 −1 1 2 3 4 −30 −20 −10 10 20 30 y = x³ +81/4 −81/4 odd: the halves cancel, total 0 An odd integrand over [−a, a]: mirror-image areas of opposite sign Odd symmetry cancels
Evaluating Integrals: Strategy & Examples › Symmetry Shortcuts
1/x^2 is positive on [-1, 1] but unbounded at 0; the naive antiderivative calculation gives -2, which is wrong x y −1 1 −3 −2 −1 1 2 3 4 5 6 7 8 9 10 11 12 y = 1/x² positive, unbounded at 0 naive [−1/x]: −2 a negative area: wrong An unbounded integrand makes the integral improper; here it diverges A positive integrand with a negative answer
Evaluating Integrals: Strategy & Examples › Common Pitfalls
-4
-3
-2
-1
1
2
3
4
-4
-3
-2
-1
1
2
3
4
x
y
f(x) = 1/x²
1/x² near x = 0: the integrand is unbounded
Improper Integrals: Convergence & Tests › What Makes an Integral Improper?
Area under 1/x^2 from 1 to b is 1 - 1/b and levels off at 1; area under 1/x is ln b and keeps growing b y 2 4 6 8 10 12 14 16 18 20 1 2 3 limit 1 under 1/x²: 1 − 1/b under 1/x: ln b area from 1 to b, as b grows 1/x² totals 1; 1/x totals ln b, which never stops growing Area so far, as the upper limit grows
Improper Integrals: Convergence & Tests › Convergence vs Divergence
1/(x^2 + 1) lies below 1/x^2 on [1, infinity); the larger area is 1, so the smaller area is finite x y 1 2 3 4 5 6 1 1/x²: total area 1 1/(x² + 1) smaller integrand, area at most 1 Trapped under a convergent integral, the smaller one converges too Comparison: trapped below a finite area
Improper Integrals: Convergence & Tests › Comparison Test
-5
5
-20
-15
-10
-5
5
10
15
20
x
y
f(t) = t²
F(x) = x³/3 − a³/3
F(x) = ∫₀ˆx t² dt = x³/3 is an antiderivative of x²
Indefinite Integrals: Antiderivatives & Formulas › Antiderivatives
x^2 and x^2 + 2 rise by the same 3 from x = 1 to x = 2: the constant cancels in F(b) - F(a) x y 1 2 3 −1 1 2 3 4 5 6 7 8 9 a = 1 b = 2 x² + 2 x² 4 − 1 = 3 6 − 3 = 3 Any antiderivative gives the same F(b) − F(a): the + C cancels Why the + C drops out of a definite integral
Indefinite Integrals: Antiderivatives & Formulas › Connection to Definite Integrals
-5
5
-20
-15
-10
-5
5
10
15
20
x
y
f(t) = t³
F(x) = x⁴/4 − a⁴/4
F(x) = ∫₀ˆx t³ dt with x = 2: F′(2) = f(2) = 8
Integration Rules & Fundamental Theorem › Fundamental Theorem of Calculus — Part 1
sqrt x on [1, 4] lies between 1 and 2, so its integral 14/3 lies between 1 x 3 = 3 and 2 x 3 = 6 x y 1 2 3 4 5 1 2 M = 2: box area 6 m = 1: box area 3 y = √x 3 ≤ area under √x on [1, 4] = 14/3 ≤ 6 m(b − a) ≤ integral ≤ M(b − a): the area sits between two boxes Bounding an integral between two boxes
Integration Rules & Fundamental Theorem › Comparison Properties
1/x and ln|x| on both sides of 0: ln|x| has slope 1/x for negative x too x y −4 −3 −2 −1 1 2 3 4 −3 −2 −1 1 2 3 y = 1/x ln(−x) ln x slope of ln|x| at −2: −1/2 ln|x| is an antiderivative of 1/x on both sides of 0 Why the absolute value in ln|x|
Special Integrals: Essential Formulas › Power Functions
1/(x^2 - 1) is the sum of 1/2 over (x - 1) and -1/2 over (x + 1): each piece has one asymptote, the sum has both x y −3 −2 −1 1 2 3 −4 −3 −2 −1 1 2 3 4 x = −1 x = 1 blue: 1/(x² − 1) amber: (1/2)/(x − 1) navy: −(1/2)/(x + 1) Two simple fractions, one asymptote each, add up to the original A fraction taken apart
Integration Techniques: Substitution, Parts & More › Partial Fractions
1
2
3
-2
-1
1
2
3
4
5
6
7
8
9
10
11
x
y
f(x) = x²
Left rule, frozen at n = 8
Riemann Sum Visualizer › Left Rule: Every Rectangle Falls Short
1
2
3
-2
-1
1
2
3
4
5
6
7
8
9
10
11
x
y
f(x) = x²
Right rule, frozen at n = 8
Riemann Sum Visualizer › Right Rule: Every Rectangle Overshoots
1
2
3
-2
-1
1
2
3
4
5
6
7
8
9
10
11
x
y
f(x) = x²
Midpoint rule, frozen at n = 8
Riemann Sum Visualizer › Midpoint Rule: Errors That Cancel Inside Each Strip
1
2
3
-2
-1
1
2
3
4
5
6
7
8
9
10
11
x
y
f(x) = x²
Trapezoid rule, frozen at n = 8
Riemann Sum Visualizer › Trapezoid Rule: Joining the Sample Points
-4
-2
2
4
-8
-6
-4
-2
2
4
6
8
10
12
14
x
y
f(t) = t
F(x) = x²/2 − a²/2
Identity, frozen at a = 0, x = 2
Fundamental Theorem of Calculus Visualizer › Identity: Area That Grows Like a Triangle
-5
5
-20
-15
-10
-5
5
10
15
20
x
y
f(t) = t²
F(x) = x³/3 − a³/3
Quadratic, frozen at a = 0, x = 2
Fundamental Theorem of Calculus Visualizer › Quadratic: the Tool's Opening State
-5
5
-20
-15
-10
-5
5
10
15
20
x
y
f(t) = t³
F(x) = x⁴/4 − a⁴/4
Cubic, frozen at a = 0, x = 2
Fundamental Theorem of Calculus Visualizer › Cubic: a Faster Integrand, a Faster Accumulator
-5
-4
-3
-2
-1
1
2
3
4
5
-1
1
2
x
y
f(t) = sin(t)
F(x) = −cos(x) + cos(a)
Sine, frozen at a = 0, x = 2
Fundamental Theorem of Calculus Visualizer › Sine: an Accumulator That Turns Around
-5
-4
-3
-2
-1
1
2
3
4
5
-1
1
x
y
f(t) = cos(t)
F(x) = sin(x) − sin(a)
Cosine, frozen at a = 0, x = 2
Fundamental Theorem of Calculus Visualizer › Cosine: Where the Two Curves Swap Roles
-4
-2
2
4
-2
2
4
6
8
10
12
14
16
x
y
f(t) = eᵗ
F(x) = eˣ − eᵃ
Exponential, frozen at a = 0, x = 2
Fundamental Theorem of Calculus Visualizer › Exponential: Accumulator and Integrand Almost Coincide
-3
-2
-1
1
2
3
4
5
-1
1
2
3
4
x
y
f(x) = (x² − 1) / (x − 1)
(x² − 1)/(x − 1) near x = 1: the hole
Limits: Definition, Rules & Evaluation Techniques › The Central Idea of a Limit
-4
-3
-2
-1
1
2
3
4
-1
1
x
y
f(x) = sin(1/x)
sin(1/x): a limit that fails by oscillating
Limits: Definition, Rules & Evaluation Techniques › Limits That Fail to Exist
-4
-3
-2
-1
1
2
3
4
-1
1
2
3
x
y
f(x) = √x
√x at x = 0: only the right-hand approach exists
Limits: Definition, Rules & Evaluation Techniques › One-Sided Limits
-4
-3
-2
-1
1
2
3
4
-4
-3
-2
-1
1
2
3
4
x
y
f(x) = 1/x²
1/x² near x = 0: both sides run to +∞
Limits: Definition, Rules & Evaluation Techniques › Limits and Infinity
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0.5
1
1.5
2
2.5
3
3.5
-2
-1.5
-1
-0.5
0.5
1
1.5
2
2.5
3
3.5
4
4.5
5
x
y
f(x) = x+1 for x≠1; f(1) = 0
Wrong value at x = 1: the limit exists, f(1) misses it
Limits: Definition, Rules & Evaluation Techniques › Continuity
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0.5
1
1.5
2
2.5
3
3.5
-2
-1.5
-1
-0.5
0.5
1
1.5
2
2.5
3
3.5
4
4.5
5
x
y
f(x) = x+1 for x≠1; f(1) = 0
Condition 3 fails: lim f(x) ≠ f(1)
Continuity: Definition, Types & IVT › The Formal Definition
-3
-2
-1
1
2
3
-3
-2
-1
1
2
3
4
5
x
y
f(x) = (x² − 1) / (x − 1)
Hole at x = 1: removable
Continuity: Definition, Types & IVT › Removable Discontinuity
-3
-2
-1
1
2
3
-4
-3
-2
-1
1
2
3
4
x
y
f(x) = x for x<0; x+1 for x≥0
Jump at x = 0: left limit 0, right limit 1
Continuity: Definition, Types & IVT › Jump Discontinuity
-3
-2
-1
1
2
3
-1
1
2
3
4
5
6
7
8
x
y
f(x) = 1/x²
Asymptote at x = 0: the limit is infinite
Continuity: Definition, Types & IVT › Infinite Discontinuity
-4
-3
-2
-1
1
2
3
4
-1
1
x
y
f(x) = sin(1/x)
sin(1/x) near 0: no limit at all
Continuity: Definition, Types & IVT › Oscillating Discontinuity
x^3 - 3x on [-2, 2.2] runs from -2 to about 4.05, so it takes the value 1 somewhere; here at three points x y −2 −1 1 2 −3 −2 −1 1 2 3 4 5 k = 1 y = x³ − 3x f(−2) = −2 < 1 < f(2.2) ≈ 4.05 three c with f(c) = 1 IVT promises at least one c with f(c) = k; here there are three Every height in between is reached
Continuity: Definition, Types & IVT › The Intermediate Value Theorem (IVT)
x^3 - x - 1 is -1 at 1 and 5 at 2; halving the interval at 1.5 and 1.25 traps the root near 1.32 x y 1 2 −2 −1 1 2 3 4 5 6 y = x³ − x − 1 f(1) = −1 f(2) = 5 f(1.5) > 0 f(1.25) < 0 sign change on [1.25, 1.5]: the root is there Each halving keeps the half where the sign changes Trapping a root by halving
Continuity: Definition, Types & IVT › Using IVT to Locate Roots
(x^2 - 4)/(x - 2) is the line x + 2 with a hole at (2, 4): substitution gives 0/0 but the limit is 4 x y −1 1 2 3 4 5 −1 1 2 3 4 5 6 7 y = (x² − 4)/(x − 2) at x = 2: 0/0, no value heights near x = 2 → 4 0/0 at the point, yet the limit is 4: the graph has only a hole What 0/0 hides
Evaluating Limits: Techniques & Examples › When Direct Substitution Fails
-4
-3
-2
-1
1
2
3
4
-4
-3
-2
-1
1
2
3
4
x
y
f(x) = x for x<0; x+1 for x≥0
Step at x = 0: left limit 0, right limit 1
Evaluating Limits: Techniques & Examples › One-Sided Evaluation
(x + 1)/(x - 3): just right of 3 the quotient is large positive, just left large negative x y −2 −1 1 2 3 4 5 6 7 8 −12 −8 −4 4 8 12 x = 3 y = (x + 1)/(x − 3) 4 / (small +) → +∞ 4 / (small −) → −∞ The sign of the small denominator decides +∞ or −∞ Which infinity, from which side
Evaluating Limits: Techniques & Examples › Sign Analysis Near the Point
(2x + 1)/(x - 3) approaches the horizontal asymptote y = 2 as x goes to infinity and to minus infinity x y −12 −9 −6 −3 3 6 9 12 15 18 −6 −4 −2 2 4 6 8 10 x = 3 y = 2 y = (2x + 1)/(x − 3) x → −∞: from below x → ∞: from above Both ends settle onto y = 2, the ratio of leading coefficients A horizontal asymptote at both ends
Limits and Infinity: Asymptotes & End Behavior › Horizontal Asymptotes
x^3 leads e^x for a while, but e^x overtakes it after x about 4.54 and the ratio x^3/e^x tends to 0 x y 1 2 3 4 5 6 7 50 100 150 200 250 300 x³ eˣ 20 ln x eˣ passes x³ at x ≈ 4.54 Logarithm ≪ power ≪ exponential: the exponential wins in the end Exponential beats power beats logarithm
Limits and Infinity: Asymptotes & End Behavior › Growth Rates — The Hierarchy
-4
-3
-2
-1
1
2
3
4
-4
-3
-2
-1
1
2
3
4
x
y
f(x) = 1/x²
1/x²: a vertical asymptote at x = 0
Limits and Infinity: Asymptotes & End Behavior › Vertical Asymptotes
-4
-3
-2
-1
1
2
3
4
-4
-3
-2
-1
1
2
3
4
x
y
f(x) = 1/x
1/x near 0: −∞ from the left, +∞ from the right
Limits and Infinity: Asymptotes & End Behavior › One-Sided Infinite Limits
-4
-3
-2
-1
1
2
3
4
-1
1
2
3
x
y
f(x) = √x
√x at 0: a right-hand limit with no left-hand partner
One-Sided Limits: Left & Right Approach › The Connection to Two-Sided Limits
x^2 for x < 2 and 3x - 2 for x >= 2 both approach 4 at x = 2, so the two-sided limit is 4 x y 1 2 3 4 −1 1 2 3 4 5 6 7 8 9 10 x² (x < 2) 3x − 2 (x ≥ 2) from the left: 2² = 4 from the right: 3·2 − 2 = 4 both sides → 4 Same one-sided limits from two formulas: the limit at 2 is 4 Two formulas meeting at x = 2
One-Sided Limits: Left & Right Approach › Piecewise Functions
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0.5
1
1.5
2
2.5
3
3.5
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0.5
1
1.5
2
2.5
3
3.5
x
y
f(x) = ⌊x⌋ + 0.5
The floor function: a jump at every integer
One-Sided Limits: Left & Right Approach › Jump Discontinuities
-4
-3
-2
-1
1
2
3
4
-4
-3
-2
-1
1
2
3
4
x
y
f(x) = 1/x
1/x at 0: −∞ on the left, +∞ on the right
One-Sided Limits: Left & Right Approach › One-Sided Limits at Vertical Asymptotes
|x|/x is -1 for x < 0 and +1 for x > 0 and undefined at 0: the one-sided limits are -1 and 1 x y −3 −2 −1 1 2 3 −2 −1 1 2 x < 0: |x|/x = −1 x > 0: |x|/x = 1 no value at 0 left −1, right 1: no limit at 0 |x|/x: −1 from the left, 1 from the right, no limit at 0 |x|/x on each side of 0
One-Sided Limits: Left & Right Approach › Evaluating One-Sided Limits
x^2 sin(1/x) oscillates between -x^2 and x^2; both bounds go to 0 at 0, so the squeezed function does too x y h(x) = x² g(x) = −x² f(x) = x² sin(1/x) trapped: f → 0 as x → 0 The bounds close in on 0, and the trapped function has to follow The squeeze theorem in action
Limit Rules: Laws & Theorems › The Squeeze Theorem
sin x / x lies between cos x and 1 near 0 and has a hole at (0, 1): its limit is 1 x y −3 −2 −1 1 2 3 −1 1 y = 1 cos x sin x / x cos x < sin x / x < 1 near 0 hole at (0, 1) Squeezed between cos x and 1, sin x / x must approach 1 sin x / x between cos x and 1
Special Limits: sin(x)/x, e^x, and More › The Fundamental Trigonometric Limit
(1 + 1/n)^n for n = 1 to 12: 2, 2.25, 2.37, ... rising toward e = 2.718 n y 1 2 3 4 5 6 7 8 9 10 11 12 13 2 e ≈ 2.718 n = 1: 2 n = 2: 2.25 n = 12: 2.613 (1 + 1/n)ⁿ climbs toward e but never reaches it Compounding toward e
Special Limits: sin(x)/x, e^x, and More › The Definition of e
-3
-2
-1
1
2
3
4
5
-1
1
2
3
4
x
y
f(x) = x²
x² at x = 1: both probes converge on 1
Two-Sided Limits: Definition & Existence › The Default Limit Notation
f(x) = x^2 except f(1) = 3: both sides approach height 1 at x = 1, so the limit is 1 though f(1) = 3 x y 1 2 1 2 3 4 y = x² (x ≠ 1) f(1) = 3 limit = 1 from both sides limit ignores f(1) The limit follows the approach, not the plotted point at x = 1 Approach, not arrival
Two-Sided Limits: Definition & Existence › Visualizing Two-Sided Approach
-4
-3
-2
-1
1
2
3
4
-4
-3
-2
-1
1
2
3
4
x
y
f(x) = x for x<0; x+1 for x≥0
Step at x = 0: the two traces end at different heights
Two-Sided Limits: Definition & Existence › When Two-Sided Limits Fail to Exist
-2 -1 1 2 -1 1 0 x y c P = (c, f(c)) slope = -0.75 Free drag, frozen at c = -0.5
Tangent Line Visualizer at a Point › Drag Mode vs Scenario Mode
-2 -1 1 2 -1 1 0 x y c P = (c, f(c)) slope = 1.89 Positive slope, frozen at c = -1.7
Tangent Line Visualizer at a Point › Positive Slope: the Tangent Rises
-2 -1 1 2 -1 1 0 x y c P = (c, f(c)) slope = -0.84 Negative slope, frozen at c = 0.4
Tangent Line Visualizer at a Point › Negative Slope: the Tangent Falls
-2 -1 1 2 -1 1 0 x y c P = (c, f(c)) slope = 0.00 Local maximum, frozen at c = -1
Tangent Line Visualizer at a Point › Horizontal Tangent at the Local Maximum
-2 -1 1 2 -1 1 0 x y c P = (c, f(c)) slope = 0.00 Local minimum, frozen at c = 1
Tangent Line Visualizer at a Point › Horizontal Tangent at the Local Minimum
-2 -1 1 2 -1 1 0 x y c P f″(c) = -1.00 Free drag, frozen at c = -0.5
Inflection Points and Concavity Visualizer › Drag Mode vs Scenario Mode
-2 -1 1 2 -1 1 0 x y c P f″(c) = 2.60 Concave up, frozen at c = 1.3
Inflection Points and Concavity Visualizer › Concave Up: the Slope Is Increasing
-2 -1 1 2 -1 1 0 x y c P f″(c) = -2.60 Concave down, frozen at c = -1.3
Inflection Points and Concavity Visualizer › Concave Down: the Slope Is Decreasing
-2 -1 1 2 -1 1 0 x y c P f″(c) = 0.00 Inflection, frozen at c = 0
Inflection Points and Concavity Visualizer › The Inflection Point at c = 0
-2 -1 1 2 3 4 -10 -5 5 10 15 20 0 x y α P₀ x₀ P₁ x₁ P₂ x₂ P₃ x₃ Direct hit, frozen after 4 iterations
Newtons Method Visualizer › Direct Hit: Four Steps from x₀ = 3
-2 -1 1 2 3 4 -10 -5 5 10 15 20 0 x y α P₀ x₀ P₁ x₁ P₂ x₂ P₃ x₃ P₄ x₄ Crosses over, frozen after 5 iterations
Newtons Method Visualizer › Crosses Over: One Tangent Throws the Guess Across the Root
-2 -1 1 2 3 4 -10 -5 5 10 15 20 0 x y α x₁ ≈ +37.2 P₀ x₀ Stalls, frozen at the failing step
Newtons Method Visualizer › Stalls: What Happens Near a Critical Point
-2 -1 1 2 3 4 -10 -5 5 10 15 20 0 x y α P₀ x₀ Manual start, frozen at x0 = 3
Newtons Method Visualizer › Stepping Manually from a Custom Start
-2 -1 1 2 -1 1 0 x y Δx Δy m = 1.93 P₁ P₂ Ascending, frozen at the end of the run
Average Rate of Change Visualizer › Ascending: a Positive Average Rate
-2 -1 1 2 -1 1 0 x y Δx Δy m = -0.90 P₁ P₂ Descending, frozen at the end of the run
Average Rate of Change Visualizer › Descending: a Negative Average Rate
-2 -1 1 2 -1 1 0 x y local max f′ = 0 Δx Δy m = 0.00 P₁ P₂ Local max, frozen after both tighten steps
Average Rate of Change Visualizer › Closing In on the Local Maximum
-2 -1 1 2 -1 1 0 x y local min f′ = 0 Δx Δy m = 0.00 P₁ P₂ Local min, frozen after both tighten steps
Average Rate of Change Visualizer › Closing In on the Local Minimum
-2 -1 1 2 -1 1 0 x y Δx Δy m = -0.11 P₁ P₂ Free drag, frozen at the default pair
Average Rate of Change Visualizer › Tips for Exploring the Curve
-3
-2
-1
1
2
3
-1
1
2
3
4
5
6
7
8
9
x
y
f(x) = x²
Smooth, frozen at c = 0
Continuity Checker › Smooth: All Three Conditions Pass
-3
-2
-1
1
2
3
-3
-2
-1
1
2
3
4
5
x
y
f(x) = (x² − 1) / (x − 1)
Hole, frozen at c = 1
Continuity Checker › Hole: the Value Is Missing
-3
-2
-1
1
2
3
-4
-3
-2
-1
1
2
3
4
x
y
f(x) = x for x<0; x+1 for x≥0
Jump, frozen at c = 0
Continuity Checker › Jump: the One-Sided Limits Disagree
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0.5
1
1.5
2
2.5
3
3.5
-2
-1.5
-1
-0.5
0.5
1
1.5
2
2.5
3
3.5
4
4.5
5
x
y
f(x) = x+1 for x≠1; f(1) = 0
Wrong value, frozen at c = 1
Continuity Checker › Wrong Value: the Limit Exists but Misses
-3
-2
-1
1
2
3
-1
1
2
3
4
5
6
7
8
x
y
f(x) = 1/x²
Asymptote, frozen at c = 0
Continuity Checker › Asymptote: an Infinite Discontinuity
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0.5
1
1.5
2
2.5
3
3.5
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0.5
1
1.5
2
2.5
3
3.5
x
y
f(x) = ⌊x⌋ + 0.5
Staircase, frozen at c = -2
Continuity Checker › Staircase: Discontinuous at Every Integer
-3
-2
-1
1
2
3
4
5
-1
1
2
3
4
x
y
f(x) = x²
Quadratic, frozen at c = 1, ε = 0.5
Limit Explorer › Quadratic: the Control Case
-3
-2
-1
1
2
3
4
5
-1
1
2
3
4
x
y
f(x) = (x² − 1) / (x − 1)
Hole, frozen at c = 1, ε = 0.5
Limit Explorer › Hole: the Limit Exists Without the Value
-4
-3
-2
-1
1
2
3
4
-4
-3
-2
-1
1
2
3
4
x
y
f(x) = x for x<0; x+1 for x≥0
Step, frozen at c = 0, ε = 0.5
Limit Explorer › Step: One-Sided Limits That Disagree
-4
-3
-2
-1
1
2
3
4
-4
-3
-2
-1
1
2
3
4
x
y
f(x) = 1/x²
1/x², frozen at c = 0, ε = 0.5
Limit Explorer › 1/x²: Both Sides Blow Up the Same Way
-4
-3
-2
-1
1
2
3
4
-4
-3
-2
-1
1
2
3
4
x
y
f(x) = 1/x
1/x, frozen at c = 0, ε = 0.5
Limit Explorer › 1/x: Infinite in Opposite Directions
-4
-3
-2
-1
1
2
3
4
-1
1
x
y
f(x) = sin(1/x)
sin(1/x), frozen at c = 0, ε = 0.5
Limit Explorer › sin(1/x): Oscillation With No Limit at All
-4
-3
-2
-1
1
2
3
4
-1
1
2
3
x
y
f(x) = √x
Square root, frozen at c = 0, ε = 0.5
Limit Explorer › Square Root: a Limit From One Side Only