🎯 What IS Calculus?
The Two Big Ideas
Calculus is the mathematics of CHANGE and ACCUMULATION:
1. DIFFERENTIAL CALCULUS (Derivatives):
📈 How fast is something changing? What is the instantaneous rate of change?
- Velocity = rate of change of position
- Acceleration = rate of change of velocity
- Slope of tangent line = derivative
- Local behavior: What's happening right NOW?
2. INTEGRAL CALCULUS (Integrals):
📊 What is the total accumulation? Area under curve? Sum of infinitely many infinitesimal pieces?
- Distance = accumulation of velocity over time
- Area under curve
- Volume of solid
- Global behavior: What's the TOTAL effect?
🤯 THE MIRACLE: These two ideas are INVERSES of each other! (Fundamental Theorem of Calculus)
🎯 Limits: The Foundation
Key idea: We don't care what happens AT x=a, only what happens NEAR x=a!
Limit Notation
Reads: "The limit of f(x) as x approaches a equals L"
Means: As x gets arbitrarily close to a, f(x) gets arbitrarily close to L
Intuitive Example
Find: limx→2 (x² - 4)/(x - 2)
Direct substitution gives 0/0 (indeterminate!)
But we can factor:
(x² - 4)/(x - 2) = (x+2)(x-2)/(x-2) = x+2 (for x ≠ 2)
So: limx→2 (x² - 4)/(x - 2) = limx→2 (x+2) = 4 ✓
Key insight: The limit exists even though the function is undefined at x=2!
📏 Precise Definition (ε-δ)
Formal Definition
Means: For every ε > 0, there exists δ > 0 such that:
In words: We can make f(x) arbitrarily close to L (within ε) by taking x sufficiently close to a (within δ)
🔢 Limit Laws
Arithmetic of Limits
If limx→a f(x) = L and limx→a g(x) = M, then:
♾️ Limits at Infinity
Behavior as x → ∞
🎭 Indeterminate Forms
Forms That Need Special Techniques
Indeterminate forms: 0/0, ∞/∞, 0·∞, ∞-∞, 0⁰, 1∞, ∞⁰
Techniques to resolve:
- Algebraic manipulation (factoring, rationalizing)
- L'Hôpital's Rule (coming in derivatives!)
- Series expansion (for advanced cases)
📊 Continuity
Definition of Continuous Function
f is continuous at x = a if:
- f(a) exists (f is defined at a)
- limx→a f(x) exists
- limx→a f(x) = f(a)
Intuition: Can draw the graph without lifting your pencil!
Types of discontinuities:
- Removable: Limit exists but ≠ f(a) (hole in graph)
- Jump: Left and right limits exist but are different
- Infinite: Function goes to ±∞ (vertical asymptote)
Famous Limits
📐 Derivatives: Instantaneous Rate of Change
🎯 What IS a Derivative?
Three equivalent interpretations:
1. Geometrically: SLOPE OF THE TANGENT LINE
- The tangent line just barely touches the curve at one point
- f'(a) = slope of tangent line to y=f(x) at x=a
2. Physically: INSTANTANEOUS RATE OF CHANGE
- How fast is f(x) changing at this exact moment?
- Velocity = derivative of position
- Acceleration = derivative of velocity
3. Numerically: LIMIT OF AVERAGE RATE OF CHANGE
- Average rate = Δy/Δx = [f(x+h) - f(x)]/h
- Derivative = what this approaches as h → 0
💎 Definition of Derivative
Alternative notation:
Other notations (all mean the same thing!):
- f'(x) - prime notation (Lagrange)
- dy/dx - Leibniz notation
- Df(x) - operator notation
- ẏ - Newton's dot notation (for time derivatives)
Computing from Definition
Find derivative of f(x) = x² using the definition:
f'(x) = limh→0 [(x+h)² - x²]/h
= limh→0 [x² + 2xh + h² - x²]/h
= limh→0 [2xh + h²]/h
= limh→0 [h(2x + h)]/h
= limh→0 (2x + h)
= 2x ✓
Result: d/dx[x²] = 2x
⚡ Basic Differentiation Rules
Power Rule (Most Important!)
Works for any real n!
Examples: d/dx[x³] = 3x², d/dx[√x] = d/dx[x1/2] = (1/2)x-1/2 = 1/(2√x)
Constant Rules
Sum/Difference Rule
Derivative is LINEAR! This is extremely powerful!
🔄 Product & Quotient Rules
Product Rule
Memory trick: "First times derivative of second, PLUS second times derivative of first"
NOT f'(x)·g'(x)! That would be too easy!
Quotient Rule
Memory trick: "Low d-high minus high d-low, over low-low" (denominator squared)
Alternative: Write as product: f(x)/g(x) = f(x)·[g(x)]-1 and use product rule!
Product Rule Example
Find d/dx[x²·sin(x)]
Let f(x) = x², g(x) = sin(x)
f'(x) = 2x, g'(x) = cos(x)
d/dx[x²·sin(x)] = 2x·sin(x) + x²·cos(x) ✓
⛓️ Chain Rule (THE MOST IMPORTANT!)
For Composite Functions
Leibniz notation:
In words: "Derivative of outside function (evaluated at inside) TIMES derivative of inside function"
Why it's crucial: Most real-world functions are compositions! This rule lets you break them down.
Chain Rule Examples
1. d/dx[sin(x²)]
Outside: sin(u), Inside: u = x²
= cos(x²)·2x = 2x·cos(x²) ✓
2. d/dx[(3x+1)¹⁰]
Outside: u¹⁰, Inside: u = 3x+1
= 10(3x+1)⁹·3 = 30(3x+1)⁹ ✓
3. d/dx[e^(x²+1)]
Outside: e^u, Inside: u = x²+1
= e^(x²+1)·2x = 2x·e^(x²+1) ✓
🎨 Implicit Differentiation
When y isn't solved for explicitly
Technique: Differentiate both sides with respect to x, treating y as function of x
Remember: d/dx[y] = dy/dx (use chain rule!)
Example: Find dy/dx for x² + y² = 25
Differentiate both sides:
2x + 2y(dy/dx) = 0
2y(dy/dx) = -2x
dy/dx = -x/y ✓
🌟 L'Hôpital's Rule
For 0/0 and ∞/∞ Forms
If lim f(x)/g(x) gives 0/0 or ∞/∞, then:
(if the latter limit exists)
Can apply multiple times if needed!
L'Hôpital's Rule Example
Find: limx→0 sin(x)/x
Form: 0/0 ✓ (can use L'Hôpital)
= limx→0 cos(x)/1 = 1 ✓
📋 COMPLETE DERIVATIVE FORMULA REFERENCE
Memorize these formulas! They're the building blocks of all calculus computations.
🔢 Basic Functions
| Function | Derivative | Notes |
|---|---|---|
| c (constant) | 0 | Constants vanish! |
| x | 1 | Linear function |
| xn | nxn-1 | Power Rule (works for all n) |
| √x = x1/2 | 1/(2√x) | Power rule with n=1/2 |
| 1/x = x-1 | -1/x² | Power rule with n=-1 |
| 1/xn | -n/xn+1 | Power rule with negative exponent |
📊 Exponential & Logarithmic
| Function | Derivative | Notes |
|---|---|---|
| ex | ex | Remarkable! Function = its own derivative |
| ax | ax ln(a) | General exponential |
| ln(x) | 1/x | Natural log (x > 0) |
| loga(x) | 1/(x ln(a)) | Log base a |
| ln|x| | 1/x | Works for x < 0 too! |
📐 Trigonometric Functions
| Function | Derivative | Memory Trick |
|---|---|---|
| sin(x) | cos(x) | Sin → Cos |
| cos(x) | -sin(x) | Cos → -Sin (negative!) |
| tan(x) | sec²(x) | Or 1/cos²(x) |
| cot(x) | -csc²(x) | Or -1/sin²(x) |
| sec(x) | sec(x)tan(x) | Sec loves tan |
| csc(x) | -csc(x)cot(x) | Csc hates cot (negative) |
🔄 Inverse Trigonometric Functions
| Function | Derivative | Domain/Notes |
|---|---|---|
| sin-1(x) = arcsin(x) | 1/√(1-x²) | |x| < 1 |
| cos-1(x) = arccos(x) | -1/√(1-x²) | |x| < 1 (negative!) |
| tan-1(x) = arctan(x) | 1/(1+x²) | All x |
| cot-1(x) | -1/(1+x²) | All x |
| sec-1(x) | 1/(|x|√(x²-1)) | |x| > 1 |
| csc-1(x) | -1/(|x|√(x²-1)) | |x| > 1 |
📐 Hyperbolic Functions
| Function | Definition | Derivative |
|---|---|---|
| sinh(x) | (ex - e-x)/2 | cosh(x) |
| cosh(x) | (ex + e-x)/2 | sinh(x) |
| tanh(x) | sinh(x)/cosh(x) | sech²(x) |
| coth(x) | cosh(x)/sinh(x) | -csch²(x) |
| sech(x) | 1/cosh(x) | -sech(x)tanh(x) |
| csch(x) | 1/sinh(x) | -csch(x)coth(x) |
⚡ Differentiation Rules Summary
THE BIG FIVE RULES
🎓 Higher-Order Derivatives
Notation for Multiple Derivatives
Second derivative: f''(x), d²y/dx², D²f(x)
Third derivative: f'''(x), d³y/dx³, D³f(x)
nth derivative: f(n)(x), dny/dxn, Dnf(x)
Physical meaning:
- Position: x(t)
- Velocity: v(t) = x'(t)
- Acceleration: a(t) = v'(t) = x''(t)
- Jerk: j(t) = a'(t) = x'''(t)
- d/dx[fg] ≠ f'g' (Use product rule!)
- d/dx[f/g] ≠ f'/g' (Use quotient rule!)
- d/dx[f(g(x))] ≠ f'(g(x)) (Need to multiply by g'(x)!)
- d/dx[sin²(x)] ≠ cos²(x) (Use chain rule: 2sin(x)cos(x))
🎯 Applications of Derivatives
📈 Curve Sketching
Using Derivatives to Understand Function Behavior
First Derivative Test (Increasing/Decreasing):
- f'(x) > 0 → f is INCREASING
- f'(x) < 0 → f is DECREASING
- f'(x) = 0 → CRITICAL POINT (potential max/min)
Second Derivative Test (Concavity):
- f''(x) > 0 → CONCAVE UP (∪ shape, smiling)
- f''(x) < 0 → CONCAVE DOWN (∩ shape, frowning)
- f''(x) = 0 → Potential INFLECTION POINT
Finding Extrema (Max/Min)
Method 1: First Derivative Test
- Find critical points: f'(x) = 0 or f'(x) undefined
- Test sign of f' on either side:
- + to - : LOCAL MAXIMUM
- - to + : LOCAL MINIMUM
- No change: Neither (saddle point)
Method 2: Second Derivative Test
- Find critical points: f'(x) = 0
- Evaluate f''(x) at critical points:
- f''(c) > 0 : LOCAL MINIMUM
- f''(c) < 0 : LOCAL MAXIMUM
- f''(c) = 0 : TEST FAILS (use first derivative test)
Complete Curve Sketch Example
Sketch f(x) = x³ - 3x² + 2
Step 1: Find f'(x) and f''(x)
f'(x) = 3x² - 6x = 3x(x-2)
f''(x) = 6x - 6 = 6(x-1)
Step 2: Critical points (f'=0)
x = 0, x = 2
Step 3: Inflection point (f''=0)
x = 1
Step 4: Test intervals
- x < 0: f' > 0 (increasing), f'' < 0 (concave down)
- 0 < x < 1: f' < 0 (decreasing), f'' < 0 (concave down)
- 1 < x < 2: f' < 0 (decreasing), f'' > 0 (concave up)
- x > 2: f' > 0 (increasing), f'' > 0 (concave up)
Conclusion:
- Local MAX at x=0: f(0)=2
- Local MIN at x=2: f(2)=-2
- Inflection point at x=1: f(1)=0
🎯 Optimization Problems
Strategy for Optimization
- Understand the problem: What are you maximizing/minimizing?
- Draw a diagram (if applicable)
- Identify variables and label them
- Write primary equation: Express quantity to optimize as function
- Use constraints: Eliminate extra variables to get function of ONE variable
- Find critical points: Take derivative, set = 0
- Verify it's max/min: Use first or second derivative test
- Answer the question: Don't forget units!
Classic: Maximum Area with Fixed Perimeter
Problem: You have 100 meters of fence. What rectangle gives maximum area?
Solution:
Let x = width, y = length
Constraint: 2x + 2y = 100 → y = 50 - x
Maximize: A(x) = xy = x(50-x) = 50x - x²
A'(x) = 50 - 2x
Critical point: 50 - 2x = 0 → x = 25
Then y = 50 - 25 = 25
A''(x) = -2 < 0 → MAXIMUM ✓
Answer: 25m × 25m square gives maximum area of 625 m²
🏃 Related Rates
When Multiple Quantities Change Together
Key idea: Variables are functions of TIME (t), even if not explicitly shown!
Strategy:
- Draw and label diagram
- Write equation relating quantities
- Differentiate BOTH SIDES with respect to t (use chain rule!)
- Substitute known values
- Solve for unknown rate
Ladder Sliding Down Wall
Problem: A 10m ladder leans against wall. Bottom slides away at 2 m/s. How fast is top sliding down when bottom is 6m from wall?
Setup: Let x = distance from wall, y = height on wall
Given: dx/dt = 2 m/s, x = 6m, ladder length = 10m
Find: dy/dt = ?
Equation: x² + y² = 10² (Pythagorean theorem)
Differentiate: 2x(dx/dt) + 2y(dy/dt) = 0
When x=6: y = √(100-36) = 8
Substitute: 2(6)(2) + 2(8)(dy/dt) = 0
24 + 16(dy/dt) = 0
dy/dt = -24/16 = -1.5 m/s
Answer: Top sliding down at 1.5 m/s (negative = downward)
📏 Linear Approximation
Using Tangent Line to Approximate
This is the tangent line equation! Works best when x is near a.
Differential notation: dy = f'(x)dx (infinitesimal change)
Approximating √26
Let f(x) = √x, approximate f(26)
Use a = 25 (perfect square nearby)
f(25) = 5, f'(x) = 1/(2√x), f'(25) = 1/10
√26 ≈ 5 + (1/10)(26-25) = 5 + 0.1 = 5.1 ✓
(Actual: 5.0990...)
🎨 Newton's Method
Finding Roots Numerically
Iterative formula:
Start with guess x₀, repeatedly apply formula → converges to root!
Geometric interpretation: Follow tangent line to x-axis
∫ Integrals: Total Accumulation
🎯 What IS an Integral?
Three equivalent interpretations:
1. Geometrically: AREA UNDER CURVE
- ∫ab f(x)dx = signed area between curve and x-axis
- Above axis = positive, below = negative
2. Physically: TOTAL ACCUMULATION
- Distance = integral of velocity
- Work = integral of force
- Mass = integral of density
3. Mathematically: INVERSE OF DERIVATIVE
- If F'(x) = f(x), then ∫f(x)dx = F(x) + C
- Integration "undoes" differentiation!
📊 Riemann Sums
Building the Integral from Rectangles
Idea: Approximate area with n rectangles, let n → ∞
Partition [a,b] into n subintervals: Δx = (b-a)/n
Left Riemann Sum:
Right Riemann Sum:
Midpoint Rule:
Definition of Integral:
⭐ The Fundamental Theorem of Calculus
🌟 THE MOST IMPORTANT THEOREM IN CALCULUS! 🌟
Part 1 (Derivative of Integral):
In words: Derivative undoes integral!
Part 2 (Evaluation Theorem):
where F is ANY antiderivative of f (i.e., F' = f)
In words: To compute definite integral, find ANY antiderivative, evaluate at endpoints, subtract!
🤯 Why it's miraculous: Converts INFINITE SUM (limit of Riemann sums) into simple SUBTRACTION!
Using FTC to Compute Integral
Find: ∫14 x²dx
Step 1: Find antiderivative F where F' = x²
F(x) = x³/3 (power rule in reverse!)
Step 2: Evaluate F(4) - F(1)
= 4³/3 - 1³/3
= 64/3 - 1/3
= 63/3
= 21 ✓
Interpretation: Area under y=x² from x=1 to x=4 is 21 square units!
📝 Indefinite Integrals
Antiderivatives (without bounds)
C is the constant of integration (ALWAYS include it!)
Why C? If F'=f, then (F+C)'=f for any constant C!
Infinite family of antiderivatives differing by constants.
🔢 Basic Integration Rules
Power Rule for Integration
Reverse of power rule for derivatives!
Special case n=-1:
Linearity of Integration
Constants come out, integrals split over addition!
📏 Properties of Definite Integrals
Important Properties
Reversing limits changes sign
Same limits = zero area
Additivity over intervals
Linearity
🎯 Average Value
Mean Value Theorem for Integrals
Average value of f on [a,b]:
Theorem: ∃c ∈ [a,b] such that f(c) = favg
Function attains its average value!
🔧 Techniques of Integration
🔄 u-Substitution
The Chain Rule in Reverse
When to use: Integral has form ∫f(g(x))·g'(x)dx
Method:
- Identify "inside function" u = g(x)
- Compute du = g'(x)dx
- Rewrite integral in terms of u
- Integrate
- Substitute back x
u-Substitution Example
Find: ∫2x·e^(x²)dx
Solution:
Let u = x² (inside of exponential)
Then du = 2x dx (this appears in integral!)
∫e^u du = e^u + C
= e^(x²) + C ✓
Check: d/dx[e^(x²)] = e^(x²)·2x ✓
Definite Integral with Substitution
Find: ∫0π/2 sin(x)cos(x)dx
Method 1: Change limits
u = sin(x), du = cos(x)dx
x=0 → u=0, x=π/2 → u=1
= ∫01 u du = [u²/2]01 = 1/2 ✓
Method 2: Substitute back
Find antiderivative sin²(x)/2, then evaluate at limits
∫ Integration by Parts
The Product Rule in Reverse
When to use: Product of two different types of functions
Choosing u (LIATE rule):
- Logarithmic (ln x)
- Inverse trig (arctan x)
- Algebraic (x², x)
- Trigonometric (sin x, cos x)
- Exponential (e^x)
Choose u from higher on list, dv from lower
Integration by Parts Example
Find: ∫x·e^x dx
Solution:
u = x (algebraic), dv = e^x dx (exponential)
du = dx, v = e^x
∫x·e^x dx = x·e^x - ∫e^x dx
= x·e^x - e^x + C
= e^x(x-1) + C ✓
Repeated Integration by Parts
Find: ∫x²·e^x dx
First application:
u = x², dv = e^x dx
= x²e^x - ∫2x·e^x dx
Second application:
u = 2x, dv = e^x dx
= x²e^x - [2x·e^x - ∫2e^x dx]
= x²e^x - 2x·e^x + 2e^x + C
= e^x(x² - 2x + 2) + C ✓
📐 Trigonometric Integrals
Strategies for ∫sin^m(x)cos^n(x)dx
Case 1: n odd
Save one cos(x) for du, convert rest to sin using cos²=1-sin²
Let u = sin(x)
Case 2: m odd
Save one sin(x) for du, convert rest to cos using sin²=1-cos²
Let u = cos(x)
Case 3: Both even
Use power-reducing formulas:
- sin²(x) = (1-cos(2x))/2
- cos²(x) = (1+cos(2x))/2
➗ Partial Fractions
For Rational Functions
When to use: ∫P(x)/Q(x) dx where P, Q are polynomials
Steps:
- If degree(P) ≥ degree(Q), use long division first
- Factor denominator Q(x) completely
- Set up partial fraction decomposition:
- Linear factor (x-a): A/(x-a)
- Repeated (x-a)²: A/(x-a) + B/(x-a)²
- Quadratic x²+bx+c: (Ax+B)/(x²+bx+c)
- Solve for coefficients
- Integrate each term
Partial Fractions Example
Find: ∫(2x+1)/[(x-1)(x+2)] dx
Setup: (2x+1)/[(x-1)(x+2)] = A/(x-1) + B/(x+2)
Multiply through: 2x+1 = A(x+2) + B(x-1)
Solve for A, B:
x=1: 3 = 3A → A=1
x=-2: -3 = -3B → B=1
Integrate:
∫[1/(x-1) + 1/(x+2)] dx
= ln|x-1| + ln|x+2| + C
= ln|(x-1)(x+2)| + C ✓
🔺 Trigonometric Substitution
For Expressions with √(a²-x²), √(a²+x²), √(x²-a²)
| Expression | Substitution | Identity |
|---|---|---|
| √(a²-x²) | x = a sin(θ) | 1-sin²θ = cos²θ |
| √(a²+x²) | x = a tan(θ) | 1+tan²θ = sec²θ |
| √(x²-a²) | x = a sec(θ) | sec²θ-1 = tan²θ |
🎨 Special Techniques
Other Useful Methods
Weierstrass Substitution: For rational trig functions
Let t = tan(x/2), then sin(x) = 2t/(1+t²), cos(x) = (1-t²)/(1+t²)
Rationalizing Substitution: For expressions with roots
Let u = ⁿ√(expression) to eliminate radicals
Table of Integrals: Sometimes just look it up! No shame in using reference tables or computer algebra systems for nasty integrals.
- ∫e^(-x²) dx - no elementary antiderivative! (but ∫-∞∞ e^(-x²) dx = √π)
- ∫sin(x)/x dx - cannot be expressed with elementary functions
- ∫√(1+x³) dx - also impossible in elementary terms
📋 COMPLETE INTEGRAL FORMULA REFERENCE
These are the antiderivatives you MUST know! Memorize them!
🔢 Basic Functions
| Function | Integral | Notes |
|---|---|---|
| 0 | C | Just a constant |
| k (constant) | kx + C | |
| xn | xn+1/(n+1) + C | n ≠ -1 (Power Rule) |
| 1/x | ln|x| + C | Special case n=-1 |
| 1/√x | 2√x + C | Or x^(1/2)/(1/2) |
| 1/x² | -1/x + C | Or x^(-1)/(-1) |
📊 Exponential & Logarithmic
| Function | Integral | Notes |
|---|---|---|
| ex | ex + C | Remarkable! Unchanged |
| ax | ax/ln(a) + C | a > 0, a ≠ 1 |
| ekx | (1/k)ekx + C | Chain rule effect |
| ln(x) | x ln(x) - x + C | Use integration by parts |
📐 Trigonometric Functions
| Function | Integral | Notes |
|---|---|---|
| sin(x) | -cos(x) + C | Negative! |
| cos(x) | sin(x) + C | Positive |
| tan(x) | -ln|cos(x)| + C | Or ln|sec(x)| + C |
| cot(x) | ln|sin(x)| + C | |
| sec(x) | ln|sec(x)+tan(x)| + C | Tricky! |
| csc(x) | -ln|csc(x)+cot(x)| + C | Also tricky! |
| sec²(x) | tan(x) + C | Remember this one! |
| csc²(x) | -cot(x) + C | Negative! |
| sec(x)tan(x) | sec(x) + C | Derivative of sec in reverse |
| csc(x)cot(x) | -csc(x) + C | Negative! |
🔄 Inverse Trigonometric
| Function | Integral | Domain |
|---|---|---|
| 1/√(1-x²) | sin-1(x) + C | |x| < 1 |
| -1/√(1-x²) | cos-1(x) + C | |x| < 1 |
| 1/(1+x²) | tan-1(x) + C | All x |
| 1/(a²+x²) | (1/a)tan-1(x/a) + C | All x, a > 0 |
| 1/(x√(x²-1)) | sec-1|x| + C | |x| > 1 |
📐 Hyperbolic Functions
| Function | Integral |
|---|---|
| sinh(x) | cosh(x) + C |
| cosh(x) | sinh(x) + C |
| tanh(x) | ln(cosh(x)) + C |
| sech²(x) | tanh(x) + C |
🎯 Special Forms
Important Patterns
Reduction Formulas
For repeated application:
∫sinn(x)dx:
= -(1/n)sinn-1(x)cos(x) + ((n-1)/n)∫sinn-2(x)dx
∫cosn(x)dx:
= (1/n)cosn-1(x)sin(x) + ((n-1)/n)∫cosn-2(x)dx
∫xnexdx:
= xnex - n∫xn-1exdx
Forgetting the constant of integration is one of the most common mistakes!
📊 Definite Integrals: Computing Exact Areas
🎯 What IS a Definite Integral?
Notation:
Three Interpretations:
1. Geometric: SIGNED AREA between curve y=f(x) and x-axis from x=a to x=b
- Area above x-axis: POSITIVE
- Area below x-axis: NEGATIVE
- Net area = positive area - negative area
2. Physical: TOTAL ACCUMULATION
- Distance = ∫ velocity dt
- Work = ∫ force dx
- Mass = ∫ density dx
- Total = sum of infinitely many infinitesimal contributions
3. Mathematical: LIMIT OF RIEMANN SUMS
where Δx = (b-a)/n and xi* is sample point in ith subinterval
🌀 The Idea Behind the Definite Integral
The definite integral is one of the greatest inventions in science. It answers a deceptively simple question: How can we measure the total effect of something that is changing every instant?
Bernhard Riemann’s genius was to imagine slicing the area under a curve into many thin rectangles.
Each rectangle has area height × width = f(x) · Δx.
When the slices become infinitesimally thin—that is, when Δx → 0 and the number of rectangles n → ∞—their total sum becomes exact:
∫ab f(x) dx = limn→∞ Σ f(xᵢ) Δx
This limit is the Riemann Sum. It is the bridge between the finite and the infinite: the precise area under any smooth curve, the total distance traveled when velocity changes, the total charge when current varies, or the total probability under a continuous distribution. It’s how calculus transforms the infinitely small into something measurable and exact.
As you move the slider below, notice how the rectangles—once coarse—become finer, hugging the curve. The discrete sum slowly morphs into a continuous area. That convergence is the heart of the definite integral and one of the most astonishing ideas in all of mathematics.
⭐ The Fundamental Theorem of Calculus (Evaluation)
The MIRACLE That Makes Calculus Work!
If F'(x) = f(x) (i.e., F is an antiderivative of f), then:
Notation: Often written as [F(x)]ab or F(x)|ab
🤯 Why it's miraculous:
- Infinite sum (Riemann sum with n→∞) becomes simple SUBTRACTION!
- Don't need to compute limit - just evaluate at endpoints!
- ANY antiderivative works (constants cancel!)
- Connects differentiation and integration (inverse operations!)
📝 How to Evaluate Definite Integrals
Step-by-Step Method
- Find an antiderivative F(x) where F'(x) = f(x)
- Use integration techniques (substitution, parts, etc.)
- Don't need +C for definite integrals!
- Evaluate at upper limit: Calculate F(b)
- Evaluate at lower limit: Calculate F(a)
- Subtract: F(b) - F(a)
📚 Basic Examples
Example 1: Power Function
Evaluate: ∫13 x² dx
Step 1: Find antiderivative F(x) = x³/3
Step 2: Evaluate at endpoints
= [x³/3]13
= 3³/3 - 1³/3
= 27/3 - 1/3
= 9 - 1/3
= 26/3 ✓
Interpretation: Area under y=x² from x=1 to x=3 is 26/3 ≈ 8.67 square units
Example 2: Trigonometric Function
Evaluate: ∫0π sin(x) dx
Step 1: Antiderivative of sin(x) is -cos(x)
= [-cos(x)]0π
= -cos(π) - (-cos(0))
= -(-1) - (-1)
= 1 + 1
= 2 ✓
Interpretation: Area under one complete arch of sine curve = 2
Example 3: Exponential Function
Evaluate: ∫01 ex dx
Step 1: Antiderivative of ex is ex (remarkable!)
= [ex]01
= e¹ - e⁰
= e - 1
≈ 2.718 - 1
≈ 1.718 ✓
🔄 Substitution with Definite Integrals
Two Methods
Method 1: Change the Limits (Recommended!)
- Make substitution u = g(x), du = g'(x)dx
- Change limits: x=a → u=g(a), x=b → u=g(b)
- Integrate in terms of u with new limits
- No need to substitute back!
Method 2: Substitute Back
- Find indefinite integral using substitution
- Substitute back to get F(x)
- Evaluate F(b) - F(a)
Substitution Example (Method 1)
Evaluate: ∫02 x√(x²+1) dx
Substitution: u = x²+1, du = 2x dx → x dx = (1/2)du
Change limits:
- When x=0: u = 0²+1 = 1
- When x=2: u = 2²+1 = 5
Rewrite integral:
= ∫15 √u · (1/2) du
= (1/2) ∫15 u1/2 du
Integrate:
= (1/2) [u3/2/(3/2)]15
= (1/2) · (2/3) [u3/2]15
= (1/3) [53/2 - 13/2]
= (1/3) [5√5 - 1]
= (1/3) [11.180... - 1]
≈ 3.39 ✓
🎯 Properties of Definite Integrals
Essential Properties
Can break integral into pieces!
If f(x) ≤ g(x) on [a,b], then:
📐 Symmetry Properties
Even Function: f(-x) = f(x) (symmetric about y-axis)
Examples: x², cos(x), |x|
Odd Function: f(-x) = -f(x) (symmetric about origin)
Examples: x³, sin(x), x/(1+x²)
The integral is ZERO! Areas cancel!
Using Symmetry
Evaluate: ∫-22 (x³ + x) dx
Recognize: f(x) = x³ + x is ODD
Check: f(-x) = (-x)³ + (-x) = -x³ - x = -(x³ + x) = -f(x) ✓
Therefore: ∫-22 (x³ + x) dx = 0 ✓
Without symmetry, we'd compute:
= [x⁴/4 + x²/2]-22 = (4+2) - (4+2) = 0 ✓ (same answer but more work!)
Even Function Example
Evaluate: ∫-11 (x² + cos(x)) dx
Recognize: f(x) = x² + cos(x) is EVEN
Therefore:
= 2∫01 (x² + cos(x)) dx
= 2[x³/3 + sin(x)]01
= 2[(1/3 + sin(1)) - 0]
= 2(1/3 + 0.8415...)
≈ 2.35 ✓
📊 Average Value of a Function
Mean Value Theorem for Integrals
Average value of f on [a,b]:
Theorem: If f continuous, then ∃c ∈ [a,b] such that f(c) = favg
The function attains its average value somewhere!
Geometric interpretation: Height of rectangle with same area as region under curve
Average Value Example
Find average value of f(x) = x² on [0, 3]
favg = (1/(3-0)) ∫03 x² dx
= (1/3) [x³/3]03
= (1/3) · (27/3 - 0)
= (1/3) · 9
= 3 ✓
Interpretation: On average, x² equals 3 on the interval [0,3]
🎯 Area Between Curves
When Functions Don't Touch x-axis
If f(x) ≥ g(x) on [a,b], area between curves:
Top function minus bottom function!
Strategy:
- Sketch both functions
- Find intersection points (limits of integration)
- Determine which function is on top
- Integrate the difference
Area Between Two Curves
Find area between y = x² and y = x from x=0 to x=1
Step 1: Which is on top? For 0≤x≤1, x ≥ x² (line above parabola)
Step 2: Compute
A = ∫01 (x - x²) dx
= [x²/2 - x³/3]01
= (1/2 - 1/3) - 0
= 3/6 - 2/6
= 1/6 ✓
🌀 Improper Integrals
When Limits Are Infinite or Function Has Discontinuity
Type 1: Infinite Interval
Converges if limit exists and is finite
Type 2: Discontinuous Integrand
If f has discontinuity at c ∈ [a,b]:
Improper Integral Example
Evaluate: ∫1∞ (1/x²) dx
= limt→∞ ∫1t x⁻² dx
= limt→∞ [-x⁻¹]1t
= limt→∞ [-1/t - (-1/1)]
= limt→∞ [-1/t + 1]
= 0 + 1
= 1 ✓
Converges! Area under 1/x² from 1 to ∞ is exactly 1!
- Forgetting to change limits with u-substitution
- Using wrong sign (forgetting which function is on top)
- Evaluating F(a) - F(b) instead of F(b) - F(a)
- Forgetting absolute value when integrating 1/x
- Not checking for discontinuities in improper integrals
∞ Sequences & Series
📊 Sequences
Definition
Sequence: Ordered list of numbers a₁, a₂, a₃, ... or {aₙ}
Formula: aₙ = expression involving n
Examples:
- aₙ = 1/n: {1, 1/2, 1/3, 1/4, ...} → converges to 0
- aₙ = (-1)ⁿ: {-1, 1, -1, 1, ...} → diverges (oscillates)
- aₙ = n²: {1, 4, 9, 16, ...} → diverges to ∞
Convergence of Sequences
Means: For any ε > 0, ∃N: n > N ⇒ |aₙ - L| < ε
Properties:
- If lim aₙ = L and lim bₙ = M, then lim(aₙ ± bₙ) = L ± M
- lim(aₙ · bₙ) = L · M
- lim(aₙ / bₙ) = L / M (if M ≠ 0)
- Squeeze Theorem: If aₙ ≤ bₙ ≤ cₙ and lim aₙ = lim cₙ = L, then lim bₙ = L
∑ Infinite Series
Definition & Convergence
Series: Σn=1∞ aₙ = a₁ + a₂ + a₃ + ...
Partial sums: Sₙ = a₁ + a₂ + ... + aₙ
If converges: Σaₙ = lim Sₙ = S (sum of series)
If doesn't converge: Series diverges
🔍 Convergence Tests
Test #1: nth Term Test (Divergence Test)
Contrapositive: If Σaₙ converges, then lim aₙ = 0
⚠️ WARNING: lim aₙ = 0 does NOT guarantee convergence!
(Harmonic series: Σ1/n diverges even though lim 1/n = 0)
Test #2: Geometric Series
Converges if |r| < 1: Sum = a/(1-r)
Diverges if |r| ≥ 1
Example: Σ(1/2)n = 1/(1-1/2) = 2 ✓
Test #3: p-Series Test
Converges if p > 1
Diverges if p ≤ 1
Examples:
- Σ 1/n (p=1): Harmonic series, DIVERGES
- Σ 1/n²(p=2): CONVERGES to π²/6 ≈ 1.645
- Σ 1/√n (p=1/2): DIVERGES
Test #4: Integral Test
If f continuous, positive, decreasing on [1,∞):
Used to prove p-series test!
Test #5: Comparison Test
Suppose 0 ≤ aₙ ≤ bₙ for all n:
- If Σbₙ converges, then Σaₙ converges
- If Σaₙ diverges, then Σbₙ diverges
Strategy: Compare to known series (geometric, p-series)
Test #6: Limit Comparison Test
If aₙ, bₙ > 0 and
Then: Σaₙ and Σbₙ both converge or both diverge
Easier than comparison test! Just check the limit.
Test #7: Ratio Test
- L < 1: Series CONVERGES absolutely
- L > 1: Series DIVERGES
- L = 1: TEST INCONCLUSIVE
Great for factorials and exponentials!
Test #8: Root Test
- L < 1: Series CONVERGES absolutely
- L > 1: Series DIVERGES
- L = 1: TEST INCONCLUSIVE
Great for nth powers!
Test #9: Alternating Series Test
For series Σ(-1)ⁿbₙ where bₙ > 0:
Converges if:
- bₙ₊₁ ≤ bₙ (decreasing)
- limn→∞ bₙ = 0
Example: Σ(-1)ⁿ/n converges (alternating harmonic series)
📈 Power Series
Definition
Function represented as infinite polynomial!
a = center of the series
Radius of Convergence
Every power series converges in interval (a-R, a+R) for some R ≥ 0
R = radius of convergence
Finding R: Use ratio test or root test
Cases:
- R = 0: Converges only at x = a
- 0 < R < ∞: Converges on (a-R, a+R), test endpoints separately
- R = ∞: Converges for all x
⭐ Taylor Series
THE Most Important Series
Taylor series of f(x) centered at a:
Maclaurin series (special case a=0):
Idea: Approximate function with polynomial of infinite degree!
📋 Essential Taylor Series
Memorize These!
- Approximate transcendental functions
- Compute limits (substitute series, simplify)
- Solve differential equations
- Calculate integrals that have no closed form
- Foundation of numerical analysis
🏆 Giants of Calculus: The Minds Who Changed Mathematics Forever
The Most Powerful Tool in Mathematics
Calculus revolutionized mathematics, physics, engineering, economics, and virtually every quantitative science. These brilliant minds created the language of change and motion that describes our universe!
⚔️ The Great Founders: Newton vs Leibniz
The English Genius
Major Contributions:
- Invented “Fluxions” (his term for calculus) around 1665–1666
- Method of Fluxions: rates of change (derivatives)
- Physics applications: laws of motion and gravitation
- Principia Mathematica (1687): planetary motion via calculus
- Binomial theorem for fractional/negative exponents
- Power series expansions
Newton’s Notation: ẋ, ẍ (dots for derivatives)
Philosophy: Developed calculus for PHYSICS —to understand motion and forces
“If I have seen further, it is by standing on the shoulders of giants.”
The German Polymath
Major Contributions:
- Developed calculus independently around 1675–1676
- Superior notation: dx, dy, ∫ (integral sign) — still used today!
- Product, quotient, chain rules — explicitly stated
- Transcendental curves and their properties
- Integration by parts
- Published first (1684), making calculus accessible
Leibniz’s Notation: dy/dx, ∫f(x)dx (we use this today!)
Philosophy: Developed calculus for PURE MATH — elegant notation and theory
“The art of discovery is like the art of war — it is good to have more than one way of attacking the enemy.”
🌟 The 18th Century: Making Calculus Rigorous
"The Mozart of Mathematics"
Contributions:
- e (Euler's number): Defined and studied e ≈ 2.71828...
- Euler's formula: e^(ix) = cos(x) + i·sin(x) (connects exponentials and trig!)
- Function notation: f(x), sin(x), cos(x)
- Calculus of variations
- Differential equations: Systematic methods
- Power series: Extensive use and development
- Wrote 866 papers - AFTER going blind!
Most beautiful equation: e^(iπ) + 1 = 0
"The Elder Statesman"
Contributions:
- Lagrange notation: f'(x), f''(x) for derivatives (prime notation!)
- Mean Value Theorem: First rigorous proof
- Taylor series: Remainder term analysis
- Lagrange multipliers: Optimization with constraints
- Calculus of variations: Major advances
- Analytical mechanics: Reformulated Newton's laws
Wanted to make calculus purely algebraic (no infinitesimals!)
📏 The 19th Century: Rigor and Foundations
"The Father of Rigor"
Contributions:
- ε-δ definition of limits: Made calculus rigorous!
- Definition of continuity using limits
- Intermediate Value Theorem: Rigorous proof
- Mean Value Theorem: Modern form
- Cauchy sequences: Foundation of analysis
- Complex analysis: Cauchy's integral theorem, residue theorem
- Wrote 789 papers!
Finally eliminated infinitesimals and made calculus logically sound
"The Geometric Genius"
Contributions:
- Riemann integral: Rigorous definition using partitions
- Riemann sums: Foundation of integration
- Riemann hypothesis: $1M prize still unsolved!
- Riemannian geometry: Curved spaces (used in General Relativity!)
- Complex analysis: Riemann surfaces
- Died at age 39 - imagine what he could have done!
His integral definition: Basis of all modern integration theory
"The Father of Modern Analysis"
Contributions:
- Rigorous foundations: Made analysis completely precise
- Uniform convergence: Critical for series of functions
- Weierstrass M-test: For series convergence
- Continuous nowhere differentiable function: Shocked mathematicians!
- Extreme Value Theorem: Rigorous proof
- Trained a generation of mathematicians
Proved calculus could be built on purely logical foundations
"Mr. Series Expansion"
Contributions:
- Taylor series (1715): Expand functions as power series!
- Taylor's theorem: With remainder term
- Foundation for approximation theory
- Used in physics, engineering, computer science
f(x) = Σ f(n)(a)/n! · (x-a)n
"Taylor's Special Case"
Contributions:
- Maclaurin series: Taylor series centered at 0
- Popularized Newton's work
- Geometric applications of calculus
f(x) = Σ f(n)(0)/n! · xn
🌊 The Bernoulli Family: A Dynasty of Mathematicians
Three generations of brilliant mathematicians, all contributing to calculus!
Jacob Bernoulli (1655–1705):
- Bernoulli numbers
- Calculus of variations
- Lemniscate curve
- Probability theory
Johann Bernoulli (1667–1748):
- L'Hôpital's Rule (actually discovered by Johann!)
- Taught Euler calculus
- Exponential calculus
- Fierce rival of his brother Jacob!
Daniel Bernoulli (1700–1782):
- Bernoulli's principle (fluid dynamics)
- Differential equations
- Applications to physics
🎓 20th Century: Modern Calculus
"Beyond Riemann"
Contributions:
- Lebesgue integral (1902): More general than Riemann!
- Measure theory: Modern foundation
- Can integrate more functions
- Better convergence theorems
- Foundation for modern analysis and probability
"It is simpler to integrate by measuring vertically than horizontally"
"Distribution Theory"
Contributions:
- Theory of distributions (generalized functions)
- Dirac delta "function" made rigorous
- Can differentiate ANY distribution!
- Fields Medal 1950
- Foundation for modern PDE theory
📚 Other Giants Worth Knowing
L'Hôpital's Rule for evaluating 0/0 limits
(Actually discovered by Johann Bernoulli, but l'Hôpital bought the rights!)
Method for finding maxima/minima (before calculus existed!)
Influenced Newton and Leibniz
First calculus textbook (1696)
Made calculus accessible to Europe
Rigorous treatment of series
Abel's theorem on power series
Died at 26 - tragic loss!
Set theory and infinity
Foundation for modern analysis
Different sizes of infinity!
Functional analysis
Banach spaces (complete normed spaces)
Foundation for modern calculus of variations
🏆 The Legacy
Why Calculus Changed Everything
Before Calculus:
- Could only study static objects
- No way to handle continuous change
- Physics limited to geometry
After Calculus:
- ✅ Planetary motion explained (Newton)
- ✅ Engineering revolution (bridges, machines)
- ✅ Electricity and magnetism (Maxwell's equations)
- ✅ General Relativity (Einstein)
- ✅ Quantum Mechanics (Schrödinger equation)
- ✅ Computer graphics and animation
- ✅ Economics and finance (derivatives!)
- ✅ Machine learning (gradient descent)
- ✅ Every modern technology!
Calculus is the language of the universe. These giants gave us the power to read it! 🌟
"God does not care about our mathematical difficulties. He integrates empirically."
— Albert Einstein
🎮 Interactive Calculus Tools
📐 Derivative Calculator
Compute Derivatives
Enter a function of x:
Evaluate at x =
∫ Limit Calculator
Compute Limits
Enter a function of x:
Find limit as x approaches:
📊 Function Grapher
Plot Functions
Enter a function of x:
x min:
x max:
🎯 Practice Problems
Try These!
- Find derivative of f(x) = x³ + 2x² - 5x + 1
- Evaluate ∫(3x² + 2x)dx
- Find limx→0 (1-cos(x))/x²
- Find maximum of f(x) = -x² + 4x - 1
- Evaluate ∫0π sin(x)dx
📚 Quick Reference
d/dx[xⁿ] = nxⁿ⁻¹
∫xⁿdx = xⁿ⁺¹/(n+1) + C
d/dx[fg] = f'g + fg'
d/dx[f(g(x))] = f'(g(x))·g'(x)
∫ab f(x)dx = F(b) - F(a)
where F' = f
d/dx[sin x] = cos x
d/dx[cos x] = -sin x
d/dx[eˣ] = eˣ
∫eˣdx = eˣ + C