<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Limits · QuickRef</title><link>https://qref.eknath.dev/tags/limits/</link><description>Limits updates from QuickRef</description><language>en-us</language><atom:link href="https://qref.eknath.dev/tags/limits/index.xml" rel="self" type="application/rss+xml"/><lastBuildDate>Sun, 01 Jan 2023 00:00:00 +0000</lastBuildDate><item><title>Pre-Calculus</title><link>https://qref.eknath.dev/math/pre-calculus/</link><guid isPermaLink="true">https://qref.eknath.dev/math/pre-calculus/</guid><pubDate>Sun, 01 Jan 2023 00:00:00 +0000</pubDate><category>pre-calculus</category><category>functions</category><category>trigonometry</category><category>limits</category><category>sequences</category><category>logarithms</category><category>exponentials</category><category>conic-sections</category><description>Comprehensive pre-calculus guide covering advanced functions, trigonometry, sequences, limits, and mathematical analysis fundamentals.</description><content:encoded><![CDATA[<h2 id="prerequisites">Prerequisites</h2>
<p><strong>Required:</strong></p>
<ul>
<li><strong><a href="../algebra">Algebra</a></strong> - All topics including functions, graphing, polynomials, factoring</li>
<li><strong><a href="../geometry">Geometry</a></strong> - For trigonometry and coordinate geometry</li>
</ul>
<p><strong>Helpful:</strong></p>
<ul>
<li>Strong comfort with algebraic manipulation</li>
<li>Understanding of basic geometric relationships</li>
</ul>
<h2 id="overview">Overview</h2>
<p>Pre-Calculus bridges the gap between Algebra and Calculus, focusing on advanced functions and mathematical analysis. It develops the sophisticated understanding of functions, their behavior, and their relationships that forms the foundation for calculus and higher mathematics.</p>
<p>This comprehensive guide covers polynomial and rational functions, exponential and logarithmic functions, trigonometry, sequences and series, and introduces the concept of limits. Master these concepts to succeed in calculus and apply mathematics to science, engineering, and advanced problem-solving.</p>
<h2 id="advanced-functions">Advanced Functions</h2>
<h3 id="function-composition-and-operations">Function Composition and Operations</h3>
<h4 id="function-operations">Function Operations</h4>
<pre tabindex="0"><code>Given f(x) and g(x):

Addition: (f + g)(x) = f(x) + g(x)
Subtraction: (f - g)(x) = f(x) - g(x)
Multiplication: (f · g)(x) = f(x) · g(x)
Division: (f/g)(x) = f(x)/g(x), where g(x) ≠ 0

Example: f(x) = x² + 1, g(x) = 2x - 3
(f + g)(x) = x² + 1 + 2x - 3 = x² + 2x - 2
(f · g)(x) = (x² + 1)(2x - 3) = 2x³ - 3x² + 2x - 3
</code></pre><h4 id="function-composition">Function Composition</h4>
<pre tabindex="0"><code>(f ∘ g)(x) = f(g(x))
Read as &#34;f composed with g&#34; or &#34;f of g of x&#34;

Example: f(x) = x² + 1, g(x) = 2x - 3
(f ∘ g)(x) = f(2x - 3) = (2x - 3)² + 1 = 4x² - 12x + 9 + 1 = 4x² - 12x + 10

Order matters:
(g ∘ f)(x) = g(x² + 1) = 2(x² + 1) - 3 = 2x² + 2 - 3 = 2x² - 1
</code></pre><h4 id="inverse-functions">Inverse Functions</h4>
<pre tabindex="0"><code>f⁻¹ is the inverse of f if:
f(f⁻¹(x)) = x and f⁻¹(f(x)) = x

To find inverse:
1. Replace f(x) with y
2. Swap x and y  
3. Solve for y
4. Replace y with f⁻¹(x)

Example: f(x) = 2x + 3
Step 1: y = 2x + 3
Step 2: x = 2y + 3
Step 3: x - 3 = 2y, so y = (x - 3)/2
Step 4: f⁻¹(x) = (x - 3)/2

Verification: f(f⁻¹(x)) = f((x-3)/2) = 2((x-3)/2) + 3 = x - 3 + 3 = x ✓
</code></pre><h4 id="properties-of-inverse-functions">Properties of Inverse Functions</h4>
<pre tabindex="0"><code>• Graphs are reflections across y = x
• Domain of f = Range of f⁻¹
• Range of f = Domain of f⁻¹
• Only one-to-one functions have inverses
• Horizontal Line Test: each horizontal line intersects graph at most once
</code></pre><h3 id="polynomial-functions">Polynomial Functions</h3>
<h4 id="general-form-and-behavior">General Form and Behavior</h4>
<pre tabindex="0"><code>P(x) = aₙxⁿ + aₙ₋₁xⁿ⁻¹ + ... + a₁x + a₀
where aₙ ≠ 0, n is the degree

Leading coefficient: aₙ
Constant term: a₀

End behavior depends on degree and leading coefficient:
• Even degree, positive leading coefficient: both ends up
• Even degree, negative leading coefficient: both ends down  
• Odd degree, positive leading coefficient: left down, right up
• Odd degree, negative leading coefficient: left up, right down
</code></pre><h4 id="zeros-and-factoring">Zeros and Factoring</h4>
<pre tabindex="0"><code>Fundamental Theorem of Algebra:
A polynomial of degree n has exactly n complex zeros (counting multiplicity)

Factor Theorem: (x - a) is a factor of P(x) if and only if P(a) = 0

Rational Root Theorem: If p/q is a rational zero of P(x), then:
• p divides the constant term
• q divides the leading coefficient

Example: P(x) = 2x³ - 5x² + x + 2
Possible rational zeros: ±1, ±2, ±1/2
Test P(2) = 16 - 20 + 2 + 2 = 0, so (x - 2) is a factor
</code></pre><h4 id="multiplicity-of-zeros">Multiplicity of Zeros</h4>
<pre tabindex="0"><code>If (x - a)ᵏ is a factor of P(x), then a has multiplicity k:

• Odd multiplicity: graph crosses x-axis at zero
• Even multiplicity: graph touches x-axis but doesn&#39;t cross

Example: P(x) = (x - 1)²(x + 2)³
• Zero at x = 1 with multiplicity 2 (touches x-axis)
• Zero at x = -2 with multiplicity 3 (crosses x-axis)
</code></pre><h3 id="rational-functions">Rational Functions</h3>
<h4 id="general-form">General Form</h4>
<pre tabindex="0"><code>R(x) = P(x)/Q(x)
where P(x) and Q(x) are polynomials, Q(x) ≠ 0

Domain: All real numbers except zeros of Q(x)

Example: R(x) = (x² - 1)/(x² - 4)
Domain: x ≠ ±2 (since x² - 4 = 0 when x = ±2)
</code></pre><h4 id="vertical-asymptotes">Vertical Asymptotes</h4>
<pre tabindex="0"><code>Occur at zeros of denominator that are not zeros of numerator

Example: R(x) = (x + 1)/((x - 2)(x + 3))
Vertical asymptotes at x = 2 and x = -3

Behavior near vertical asymptote:
• Function approaches +∞ or -∞
• Check signs on either side to determine direction
</code></pre><h4 id="horizontal-asymptotes">Horizontal Asymptotes</h4>
<pre tabindex="0"><code>Depend on degrees of numerator (m) and denominator (n):

Case 1: m &lt; n → Horizontal asymptote at y = 0
Case 2: m = n → Horizontal asymptote at y = aₘ/bₙ (ratio of leading coefficients)  
Case 3: m &gt; n → No horizontal asymptote (but may have oblique asymptote)

Example 1: R(x) = (2x + 1)/(x² + 3x - 1)
m = 1 &lt; n = 2, so horizontal asymptote at y = 0

Example 2: R(x) = (3x² + 2x - 1)/(2x² - x + 5)  
m = n = 2, so horizontal asymptote at y = 3/2
</code></pre><h4 id="holes-vs-vertical-asymptotes">Holes vs. Vertical Asymptotes</h4>
<pre tabindex="0"><code>If (x - a) is a factor of both numerator and denominator:
• Cancel the common factor
• Result is a hole at x = a, not a vertical asymptote

Example: R(x) = (x² - 1)/(x - 1) = (x + 1)(x - 1)/(x - 1) = x + 1 (x ≠ 1)
Hole at (1, 2), not a vertical asymptote
</code></pre><h2 id="exponential-and-logarithmic-functions">Exponential and Logarithmic Functions</h2>
<h3 id="exponential-functions">Exponential Functions</h3>
<h4 id="definition-and-properties">Definition and Properties</h4>
<pre tabindex="0"><code>f(x) = aˣ where a &gt; 0, a ≠ 1

Properties:
• Domain: (-∞, ∞)
• Range: (0, ∞)
• y-intercept: (0, 1) since a⁰ = 1
• Horizontal asymptote: y = 0

If a &gt; 1: increasing function (growth)
If 0 &lt; a &lt; 1: decreasing function (decay)
</code></pre><h4 id="natural-exponential-function">Natural Exponential Function</h4>
<pre tabindex="0"><code>f(x) = eˣ where e ≈ 2.71828...

e is defined as: lim(n→∞)(1 + 1/n)ⁿ

Properties:
• Base of natural logarithm
• Rate of change equals the function value
• Appears naturally in growth/decay problems
• Most important exponential function in calculus
</code></pre><h4 id="exponential-growth-and-decay">Exponential Growth and Decay</h4>
<pre tabindex="0"><code>General model: A(t) = A₀e^(kt)
• A₀ = initial amount
• k = growth rate (k &gt; 0) or decay rate (k &lt; 0)
• t = time

Applications:
• Population growth: P(t) = P₀e^(rt)
• Radioactive decay: N(t) = N₀e^(-λt)
• Compound interest: A = Pe^(rt)
• Newton&#39;s law of cooling: T(t) = Tₐ + (T₀ - Tₐ)e^(-kt)
</code></pre><h3 id="logarithmic-functions">Logarithmic Functions</h3>
<h4 id="definition">Definition</h4>
<pre tabindex="0"><code>y = logₐ(x) if and only if aʸ = x
where a &gt; 0, a ≠ 1, x &gt; 0

Common logarithms: log(x) = log₁₀(x)
Natural logarithms: ln(x) = logₑ(x)
</code></pre><h4 id="properties-of-logarithms">Properties of Logarithms</h4>
<pre tabindex="0"><code>Product rule: logₐ(xy) = logₐ(x) + logₐ(y)
Quotient rule: logₐ(x/y) = logₐ(x) - logₐ(y)
Power rule: logₐ(xⁿ) = n·logₐ(x)

Special values:
logₐ(1) = 0 (since a⁰ = 1)
logₐ(a) = 1 (since a¹ = a)
logₐ(aˣ) = x (inverse property)
a^(logₐ(x)) = x (inverse property)
</code></pre><h4 id="change-of-base-formula">Change of Base Formula</h4>
<pre tabindex="0"><code>logₐ(x) = logᵦ(x)/logᵦ(a) = ln(x)/ln(a) = log(x)/log(a)

Example: log₃(17) = ln(17)/ln(3) ≈ 2.833/1.099 ≈ 2.58
</code></pre><h4 id="solving-exponential-and-logarithmic-equations">Solving Exponential and Logarithmic Equations</h4>
<pre tabindex="0"><code>Exponential equations:
aˣ = b → x = logₐ(b)

Example: 3ˣ = 81
3ˣ = 3⁴
x = 4

Or: 2ˣ = 10
x = log₂(10) = ln(10)/ln(2) ≈ 3.32

Logarithmic equations:
logₐ(x) = b → x = aᵇ

Example: log₂(x) = 5
x = 2⁵ = 32

Complex example: log(x + 1) + log(x - 1) = log(8)
log((x + 1)(x - 1)) = log(8)
x² - 1 = 8
x² = 9
x = 3 (x = -3 invalid since x &gt; 1 required)
</code></pre><h2 id="trigonometry">Trigonometry</h2>
<h3 id="angle-measurement">Angle Measurement</h3>
<h4 id="degrees-vs-radians">Degrees vs. Radians</h4>
<pre tabindex="0"><code>1 complete revolution = 360° = 2π radians

Conversion formulas:
Degrees to radians: multiply by π/180
Radians to degrees: multiply by 180/π

Common angles:
30° = π/6 radians    60° = π/3 radians    90° = π/2 radians
45° = π/4 radians    120° = 2π/3 radians   180° = π radians
</code></pre><h4 id="arc-length-and-sector-area">Arc Length and Sector Area</h4>
<pre tabindex="0"><code>For central angle θ (in radians) and radius r:
Arc length: s = rθ
Sector area: A = ½r²θ

Example: Circle with radius 8, central angle 3π/4
Arc length = 8 · (3π/4) = 6π
Sector area = ½ · 64 · (3π/4) = 24π
</code></pre><h3 id="trigonometric-functions">Trigonometric Functions</h3>
<h4 id="right-triangle-definitions">Right Triangle Definitions</h4>
<pre tabindex="0"><code>For acute angle θ in right triangle:

sin(θ) = opposite/hypotenuse
cos(θ) = adjacent/hypotenuse
tan(θ) = opposite/adjacent

csc(θ) = 1/sin(θ) = hypotenuse/opposite
sec(θ) = 1/cos(θ) = hypotenuse/adjacent
cot(θ) = 1/tan(θ) = adjacent/opposite
</code></pre><h4 id="unit-circle-definitions">Unit Circle Definitions</h4>
<pre tabindex="0"><code>For angle θ in standard position (vertex at origin, initial side on positive x-axis):
Point on unit circle: (cos(θ), sin(θ))

sin(θ) = y-coordinate
cos(θ) = x-coordinate  
tan(θ) = sin(θ)/cos(θ) = y/x

This extends definitions to all real numbers, not just acute angles
</code></pre><h4 id="special-angle-values">Special Angle Values</h4>
<pre tabindex="0"><code>θ        sin(θ)    cos(θ)    tan(θ)
0°/0      0         1         0
30°/π/6   1/2       √3/2      √3/3
45°/π/4   √2/2      √2/2      1
60°/π/3   √3/2      1/2       √3
90°/π/2   1         0         undefined

These form the foundation for all other angle calculations
</code></pre><h4 id="signs-of-trig-functions-by-quadrant">Signs of Trig Functions by Quadrant</h4>
<pre tabindex="0"><code>Quadrant I (0° to 90°): All positive
Quadrant II (90° to 180°): sin positive, cos and tan negative
Quadrant III (180° to 270°): tan positive, sin and cos negative  
Quadrant IV (270° to 360°): cos positive, sin and tan negative

Memory device: &#34;All Students Take Calculus&#34;
</code></pre><h3 id="trigonometric-identities">Trigonometric Identities</h3>
<h4 id="fundamental-identities">Fundamental Identities</h4>
<pre tabindex="0"><code>Pythagorean identities:
sin²(θ) + cos²(θ) = 1
1 + tan²(θ) = sec²(θ)
1 + cot²(θ) = csc²(θ)

Reciprocal identities:
csc(θ) = 1/sin(θ)
sec(θ) = 1/cos(θ)
cot(θ) = 1/tan(θ)

Quotient identities:
tan(θ) = sin(θ)/cos(θ)
cot(θ) = cos(θ)/sin(θ)
</code></pre><h4 id="sum-and-difference-formulas">Sum and Difference Formulas</h4>
<pre tabindex="0"><code>sin(A ± B) = sin(A)cos(B) ± cos(A)sin(B)
cos(A ± B) = cos(A)cos(B) ∓ sin(A)sin(B)
tan(A ± B) = (tan(A) ± tan(B))/(1 ∓ tan(A)tan(B))

Example: sin(75°) = sin(45° + 30°)
= sin(45°)cos(30°) + cos(45°)sin(30°)
= (√2/2)(√3/2) + (√2/2)(1/2)
= (√6 + √2)/4
</code></pre><h4 id="double-angle-formulas">Double Angle Formulas</h4>
<pre tabindex="0"><code>sin(2θ) = 2sin(θ)cos(θ)
cos(2θ) = cos²(θ) - sin²(θ) = 2cos²(θ) - 1 = 1 - 2sin²(θ)
tan(2θ) = 2tan(θ)/(1 - tan²(θ))

Example: If sin(θ) = 3/5 and θ in Quadrant I:
cos(θ) = 4/5 (from Pythagorean theorem)
sin(2θ) = 2(3/5)(4/5) = 24/25
cos(2θ) = (4/5)² - (3/5)² = 16/25 - 9/25 = 7/25
</code></pre><h4 id="half-angle-formulas">Half Angle Formulas</h4>
<pre tabindex="0"><code>sin(θ/2) = ±√((1 - cos(θ))/2)
cos(θ/2) = ±√((1 + cos(θ))/2)
tan(θ/2) = ±√((1 - cos(θ))/(1 + cos(θ))) = sin(θ)/(1 + cos(θ))

Sign depends on quadrant of θ/2
</code></pre><h3 id="graphs-of-trigonometric-functions">Graphs of Trigonometric Functions</h3>
<h4 id="sine-and-cosine-functions">Sine and Cosine Functions</h4>
<pre tabindex="0"><code>f(x) = A sin(Bx + C) + D
g(x) = A cos(Bx + C) + D

• A = amplitude (vertical stretch)
• B affects period: Period = 2π/|B|
• C affects phase shift: shift = -C/B  
• D = vertical shift

Example: f(x) = 3sin(2x - π) + 1
• Amplitude = 3
• Period = 2π/2 = π
• Phase shift = -(-π)/2 = π/2 right
• Vertical shift = 1 up
</code></pre><h4 id="tangent-function">Tangent Function</h4>
<pre tabindex="0"><code>f(x) = A tan(Bx + C) + D

• Period = π/|B|
• Vertical asymptotes where cos(Bx + C) = 0
• No amplitude (function has infinite range)

Example: f(x) = 2tan(x/2)
• Period = π/(1/2) = 2π
• Vertical asymptotes at x = π + 2πn
</code></pre><h3 id="inverse-trigonometric-functions">Inverse Trigonometric Functions</h3>
<pre tabindex="0"><code>y = arcsin(x) or sin⁻¹(x): Domain [-1,1], Range [-π/2, π/2]
y = arccos(x) or cos⁻¹(x): Domain [-1,1], Range [0, π]
y = arctan(x) or tan⁻¹(x): Domain (-∞,∞), Range (-π/2, π/2)

Example: arcsin(1/2) = π/6 = 30°
arccos(√2/2) = π/4 = 45°
arctan(√3) = π/3 = 60°

Note: These give principal values (specific ranges)
</code></pre><h2 id="sequences-and-series">Sequences and Series</h2>
<h3 id="sequences">Sequences</h3>
<h4 id="arithmetic-sequences">Arithmetic Sequences</h4>
<pre tabindex="0"><code>Definition: Constant difference between consecutive terms

General term: aₙ = a₁ + (n-1)d
where a₁ = first term, d = common difference

Example: 3, 7, 11, 15, 19, ...
a₁ = 3, d = 4
aₙ = 3 + (n-1)4 = 4n - 1
a₁₀ = 4(10) - 1 = 39
</code></pre><h4 id="geometric-sequences">Geometric Sequences</h4>
<pre tabindex="0"><code>Definition: Constant ratio between consecutive terms

General term: aₙ = a₁ · r^(n-1)
where a₁ = first term, r = common ratio

Example: 2, 6, 18, 54, 162, ...
a₁ = 2, r = 3
aₙ = 2 · 3^(n-1)
a₆ = 2 · 3⁵ = 2 · 243 = 486
</code></pre><h3 id="series">Series</h3>
<h4 id="arithmetic-series">Arithmetic Series</h4>
<pre tabindex="0"><code>Sum of arithmetic sequence:
Sₙ = n/2(a₁ + aₙ) = n/2(2a₁ + (n-1)d)

Example: Sum of first 20 terms of 3, 7, 11, 15, ...
S₂₀ = 20/2(2·3 + (20-1)·4) = 10(6 + 76) = 820

Or: a₂₀ = 4(20) - 1 = 79
S₂₀ = 20/2(3 + 79) = 10(82) = 820
</code></pre><h4 id="geometric-series">Geometric Series</h4>
<pre tabindex="0"><code>Sum of finite geometric series:
Sₙ = a₁(1 - rⁿ)/(1 - r) where r ≠ 1

Sum of infinite geometric series (|r| &lt; 1):
S∞ = a₁/(1 - r)

Example 1: Sum of 2 + 6 + 18 + 54 + 162
S₅ = 2(1 - 3⁵)/(1 - 3) = 2(-242)/(-2) = 242

Example 2: Sum of 1 + 1/2 + 1/4 + 1/8 + ...
S∞ = 1/(1 - 1/2) = 1/(1/2) = 2
</code></pre><h3 id="applications-of-series">Applications of Series</h3>
<pre tabindex="0"><code>Compound Interest: A = P(1 + r)ⁿ forms geometric sequence
Depreciation: Value forms geometric sequence with r &lt; 1
Population Growth: Often modeled as geometric sequence
Fractals: Self-similar patterns use geometric series
</code></pre><h2 id="conic-sections">Conic Sections</h2>
<h3 id="circle">Circle</h3>
<pre tabindex="0"><code>Standard form: (x - h)² + (y - k)² = r²
Center: (h, k), Radius: r

General form: x² + y² + Dx + Ey + F = 0
Complete the square to convert to standard form

Example: x² + y² - 6x + 4y - 3 = 0
(x² - 6x + 9) + (y² + 4y + 4) = 3 + 9 + 4
(x - 3)² + (y + 2)² = 16
Center: (3, -2), Radius: 4
</code></pre><h3 id="parabola">Parabola</h3>
<pre tabindex="0"><code>Vertex form: (x - h)² = 4p(y - k) [opens up/down]
            (y - k)² = 4p(x - h) [opens left/right]

Vertex: (h, k)
Focus: (h, k + p) or (h + p, k)  
Directrix: y = k - p or x = h - p

Example: x² = 8y
4p = 8, so p = 2
Vertex: (0, 0), Focus: (0, 2), Directrix: y = -2
</code></pre><h3 id="ellipse">Ellipse</h3>
<pre tabindex="0"><code>Standard form: (x - h)²/a² + (y - k)²/b² = 1
Center: (h, k)

If a &gt; b: horizontal major axis
• Vertices: (h ± a, k)
• Co-vertices: (h, k ± b)  
• Foci: (h ± c, k) where c² = a² - b²

If b &gt; a: vertical major axis
• Vertices: (h, k ± b)
• Co-vertices: (h ± a, k)
• Foci: (h, k ± c) where c² = b² - a²

Eccentricity: e = c/a (for major axis), measures how &#34;stretched&#34;
</code></pre><h3 id="hyperbola">Hyperbola</h3>
<pre tabindex="0"><code>Standard form: (x - h)²/a² - (y - k)²/b² = 1 [horizontal]
              (y - k)²/a² - (x - h)²/b² = 1 [vertical]

Center: (h, k)
Vertices: (h ± a, k) [horizontal] or (h, k ± a) [vertical]
Foci: (h ± c, k) or (h, k ± c) where c² = a² + b²
Asymptotes: y - k = ±(b/a)(x - h)

Example: x²/9 - y²/16 = 1
a² = 9, b² = 16, so a = 3, b = 4, c = 5
Vertices: (±3, 0), Foci: (±5, 0)
Asymptotes: y = ±(4/3)x
</code></pre><h2 id="limits-and-continuity">Limits and Continuity</h2>
<h3 id="limit-concept">Limit Concept</h3>
<pre tabindex="0"><code>lim[x→c] f(x) = L means:
&#34;As x approaches c, f(x) approaches L&#34;

This may or may not equal f(c)

Types of limits:
• Two-sided: lim[x→c] f(x)
• Left-sided: lim[x→c⁻] f(x) 
• Right-sided: lim[x→c⁺] f(x)
• At infinity: lim[x→∞] f(x)
</code></pre><h4 id="evaluating-limits">Evaluating Limits</h4>
<pre tabindex="0"><code>Method 1: Direct substitution (if function is continuous)
lim[x→2] (x² + 3x - 1) = 4 + 6 - 1 = 9

Method 2: Factoring (for rational functions)
lim[x→3] (x² - 9)/(x - 3) = lim[x→3] (x + 3)(x - 3)/(x - 3) = lim[x→3] (x + 3) = 6

Method 3: Rationalize (for expressions with radicals)
lim[x→0] (√(x + 1) - 1)/x 
Multiply by (√(x + 1) + 1)/(√(x + 1) + 1):
= lim[x→0] ((x + 1) - 1)/(x(√(x + 1) + 1)) = lim[x→0] x/(x(√(x + 1) + 1)) = 1/2
</code></pre><h4 id="special-limits">Special Limits</h4>
<pre tabindex="0"><code>lim[x→0] (sin x)/x = 1
lim[x→0] (1 - cos x)/x = 0
lim[x→∞] (1 + 1/x)ˣ = e
lim[x→0] (1 + x)^(1/x) = e

These are fundamental limits used in calculus
</code></pre><h3 id="continuity">Continuity</h3>
<pre tabindex="0"><code>f(x) is continuous at x = c if:
1. f(c) exists
2. lim[x→c] f(x) exists  
3. lim[x→c] f(x) = f(c)

Types of discontinuities:
• Removable: hole in graph, limit exists
• Jump: left and right limits differ
• Infinite: vertical asymptote

Example: f(x) = (x² - 4)/(x - 2)
At x = 2: function undefined (hole)
lim[x→2] f(x) = 4, but f(2) doesn&#39;t exist
Removable discontinuity
</code></pre><h2 id="mathematical-modeling">Mathematical Modeling</h2>
<h3 id="exponential-models">Exponential Models</h3>
<pre tabindex="0"><code>Growth: P(t) = P₀e^(rt) where r &gt; 0
Decay: P(t) = P₀e^(-rt) where r &gt; 0

Population Growth:
If population doubles every 10 years:
P(t) = P₀ · 2^(t/10)

Radioactive Decay:
Half-life model: N(t) = N₀ · (1/2)^(t/h)
where h is half-life
</code></pre><h3 id="logarithmic-models">Logarithmic Models</h3>
<pre tabindex="0"><code>Logarithmic growth: y = a + b ln(x)
Common in:
• Learning curves
• Diminishing returns
• Psychological responses (Weber-Fechner law)

Example: Decibel scale
dB = 10 log₁₀(I/I₀)
where I is intensity, I₀ is reference intensity
</code></pre><h3 id="trigonometric-models">Trigonometric Models</h3>
<pre tabindex="0"><code>Periodic phenomena: y = A sin(Bt + C) + D

Applications:
• Sound waves: amplitude, frequency, phase
• Seasonal temperature variations
• Tidal patterns  
• Economic cycles
• Biorhythms

Example: Average monthly temperature
T(t) = 15 sin(π(t - 4)/6) + 20
where t is month (January = 1)
</code></pre><h3 id="logistic-models">Logistic Models</h3>
<pre tabindex="0"><code>Limited growth: P(t) = L/(1 + ae^(-bt))
where L is carrying capacity

Combines exponential growth (early stages) with 
leveling off (approaching limit)

Applications:
• Population growth with limited resources
• Technology adoption
• Spread of diseases
• Market penetration
</code></pre><h2 id="practice-problems">Practice Problems</h2>
<h3 id="functions">Functions</h3>
<pre tabindex="0"><code>1. Given f(x) = x² - 3x + 2 and g(x) = 2x + 1, find:
   a) (f ∘ g)(x)
   b) (g ∘ f)(x)
   c) f⁻¹(x)

2. Find the domain of h(x) = √(x - 2)/(x² - 9)

3. Analyze the rational function R(x) = (x² - 1)/(x² - 4x + 3):
   Find vertical asymptotes, horizontal asymptotes, and holes.
</code></pre><h3 id="exponential-and-logarithmic">Exponential and Logarithmic</h3>
<pre tabindex="0"><code>1. Solve: 3^(2x-1) = 27^(x+2)

2. If ln(a) = 2 and ln(b) = 3, find ln(a²√b)

3. A radioactive substance decays according to A(t) = A₀e^(-0.05t).
   How long until half the substance remains?
</code></pre><h3 id="trigonometry-1">Trigonometry</h3>
<pre tabindex="0"><code>1. Find exact values:
   a) sin(7π/6)
   b) cos(5π/4)  
   c) tan(-π/3)

2. Verify the identity: (1 + cos θ)/(1 - cos θ) = (1 + sin θ)²/sin² θ

3. Solve: 2sin²x - 3sin x + 1 = 0 for 0 ≤ x &lt; 2π
</code></pre><h3 id="sequences-and-series-1">Sequences and Series</h3>
<pre tabindex="0"><code>1. Find the 15th term of the arithmetic sequence: 4, 7, 10, 13, ...

2. Find the sum of the geometric series: 3 + 1 + 1/3 + 1/9 + ...

3. A ball is dropped from 20 feet. Each bounce reaches 3/4 the previous height.
   What is the total distance traveled?
</code></pre><h3 id="limits">Limits</h3>
<pre tabindex="0"><code>1. Evaluate: lim[x→3] (x² - 9)/(x² - 5x + 6)

2. Evaluate: lim[x→0] (sin 3x)/x

3. Find: lim[x→∞] (2x³ - x + 1)/(x³ + 2x² - 5)
</code></pre><h2 id="answer-key">Answer Key</h2>
<h3 id="functions-1">Functions</h3>
<pre tabindex="0"><code>1. a) (f ∘ g)(x) = (2x + 1)² - 3(2x + 1) + 2 = 4x² - 4x
   b) (g ∘ f)(x) = 2(x² - 3x + 2) + 1 = 2x² - 6x + 5
   c) f⁻¹(x) = (3 ± √(4x - 7))/2

2. Domain: x ≥ 2 and x ≠ ±3, so [2, ∞) ∩ (-∞,-3) ∪ (-3,3) ∪ (3,∞) = [2,3) ∪ (3,∞)

3. R(x) = (x-1)(x+1)/((x-1)(x-3)) = (x+1)/(x-3) for x ≠ 1
   Vertical asymptote: x = 3
   Horizontal asymptote: y = 1  
   Hole: (1, -1/2)
</code></pre><h3 id="exponential-and-logarithmic-1">Exponential and Logarithmic</h3>
<pre tabindex="0"><code>1. 3^(2x-1) = (3³)^(x+2) = 3^(3x+6)
   2x - 1 = 3x + 6
   x = -7

2. ln(a²√b) = ln(a²) + ln(b^(1/2)) = 2ln(a) + (1/2)ln(b) = 2(2) + (1/2)(3) = 5.5

3. 0.5A₀ = A₀e^(-0.05t)
   0.5 = e^(-0.05t)
   ln(0.5) = -0.05t
   t = ln(0.5)/(-0.05) ≈ 13.86 time units
</code></pre><h3 id="trigonometry-2">Trigonometry</h3>
<pre tabindex="0"><code>1. a) sin(7π/6) = -1/2
   b) cos(5π/4) = -√2/2
   c) tan(-π/3) = -√3

2. [Identity verification by algebraic manipulation]

3. Let u = sin x: 2u² - 3u + 1 = 0
   (2u - 1)(u - 1) = 0
   u = 1/2 or u = 1
   sin x = 1/2: x = π/6, 5π/6
   sin x = 1: x = π/2
</code></pre><h3 id="sequences-and-series-2">Sequences and Series</h3>
<pre tabindex="0"><code>1. aₙ = 4 + (n-1)3 = 3n + 1
   a₁₅ = 3(15) + 1 = 46

2. S∞ = 3/(1-1/3) = 3/(2/3) = 9/2 = 4.5

3. Down: 20 + 20(3/4) + 20(3/4)² + ... = 20/(1-3/4) = 80
   Up: 20(3/4) + 20(3/4)² + ... = 60
   Total: 80 + 60 = 140 feet
</code></pre><h3 id="limits-1">Limits</h3>
<pre tabindex="0"><code>1. lim[x→3] (x-3)(x+3)/((x-2)(x-3)) = lim[x→3] (x+3)/(x-2) = 6/1 = 6

2. lim[x→0] (sin 3x)/x = 3 · lim[x→0] sin(3x)/(3x) = 3 · 1 = 3

3. lim[x→∞] (2x³ - x + 1)/(x³ + 2x² - 5) = 2/1 = 2
</code></pre><h2 id="quick-reference">Quick Reference</h2>
<h3 id="function-operations-1">Function Operations</h3>
<ul>
<li>(f ∘ g)(x) = f(g(x))</li>
<li>f⁻¹ exists if f is one-to-one</li>
<li>Horizontal line test for one-to-one</li>
</ul>
<h3 id="exponentiallogarithmic">Exponential/Logarithmic</h3>
<ul>
<li>logₐ(xy) = logₐ(x) + logₐ(y)</li>
<li>logₐ(xⁿ) = n logₐ(x)</li>
<li>Change of base: logₐ(x) = ln(x)/ln(a)</li>
</ul>
<h3 id="trigonometry-3">Trigonometry</h3>
<ul>
<li>sin²θ + cos²θ = 1</li>
<li>sin(A ± B) = sin A cos B ± cos A sin B</li>
<li>Period of sin, cos: 2π; Period of tan: π</li>
</ul>
<h3 id="sequencesseries">Sequences/Series</h3>
<ul>
<li>Arithmetic: aₙ = a₁ + (n-1)d; Sₙ = n(a₁ + aₙ)/2</li>
<li>Geometric: aₙ = a₁rⁿ⁻¹; Sₙ = a₁(1-rⁿ)/(1-r)</li>
<li>Infinite geometric: S∞ = a₁/(1-r) if |r| &lt; 1</li>
</ul>
<h3 id="limits-2">Limits</h3>
<ul>
<li>lim[x→c] f(x) = L if f(x) → L as x → c</li>
<li>lim[x→0] (sin x)/x = 1</li>
<li>Continuity: f(c) exists, lim exists, lim = f(c)</li>
</ul>
<h2 id="see-also">See Also</h2>
<ul>
<li><strong><a href="../basic-math">BasicMath</a></strong>: Foundation arithmetic and number systems</li>
<li><strong><a href="../algebra">Algebra</a></strong>: Working with variables and equations - required foundation</li>
<li><strong><a href="../geometry">Geometry</a></strong>: Shapes, areas, and spatial relationships - for trigonometry</li>
<li><strong><a href="../statistics">Statistics</a></strong>: Data analysis and probability</li>
<li><strong><a href="../calculus">Calculus</a></strong>: Next step - Pre-Calculus directly prepares for calculus</li>
<li><strong><a href="../complex-numbers">Complex Numbers</a></strong>: Advanced applications of trigonometry and functions</li>
<li><strong><a href="../matrices">Matrices</a></strong>: Advanced function and transformation concepts</li>
</ul>
]]></content:encoded></item><item><title>Calculus</title><link>https://qref.eknath.dev/math/calculus/</link><guid isPermaLink="true">https://qref.eknath.dev/math/calculus/</guid><pubDate>Sun, 01 Jan 2023 00:00:00 +0000</pubDate><category>calculus</category><category>derivatives</category><category>integrals</category><category>limits</category><category>optimization</category><category>differential-equations</category><category>multivariable</category><description>Comprehensive calculus guide covering limits, derivatives, integrals, applications, and multivariable calculus fundamentals.</description><content:encoded><![CDATA[<h2 id="prerequisites">Prerequisites</h2>
<p><strong>Required:</strong></p>
<ul>
<li><strong><a href="../pre-calculus">Pre-Calculus</a></strong> - All topics, especially functions, limits, trigonometry</li>
<li><strong><a href="../algebra">Algebra</a></strong> - Strong foundation in all algebraic manipulation</li>
</ul>
<p><strong>Helpful:</strong></p>
<ul>
<li><strong><a href="../geometry">Geometry</a></strong> - For geometric applications and interpretations</li>
</ul>
<h2 id="overview">Overview</h2>
<p>Calculus is the mathematics of change and motion. It provides tools to analyze rates of change (derivatives) and accumulation of quantities (integrals). Calculus is fundamental to physics, engineering, economics, biology, and virtually all quantitative sciences.</p>
<p>This comprehensive guide covers differential calculus (derivatives and their applications), integral calculus (antiderivatives and definite integrals), and introduces multivariable calculus concepts essential for applied mathematics.</p>
<h2 id="limits">Limits</h2>
<h3 id="intuitive-understanding">Intuitive Understanding</h3>
<p>A limit describes the behavior of a function as its input approaches a particular value.</p>
<pre tabindex="0"><code>lim[x→c] f(x) = L means:
&#34;As x gets closer to c, f(x) gets closer to L&#34;

Example: lim[x→2] (x² + 1) = 5
As x approaches 2, x² + 1 approaches 5
</code></pre><h3 id="formal-definition-ε-δ-definition">Formal Definition (ε-δ Definition)</h3>
<pre tabindex="0"><code>lim[x→c] f(x) = L if:
For every ε &gt; 0, there exists δ &gt; 0 such that
if 0 &lt; |x - c| &lt; δ, then |f(x) - L| &lt; ε

This makes precise the idea of &#34;getting arbitrarily close&#34;
</code></pre><h3 id="types-of-limits">Types of Limits</h3>
<h4 id="one-sided-limits">One-Sided Limits</h4>
<pre tabindex="0"><code>Right-hand limit: lim[x→c⁺] f(x)
Left-hand limit: lim[x→c⁻] f(x)

Example: f(x) = |x|/x
lim[x→0⁺] |x|/x = 1 (from right)
lim[x→0⁻] |x|/x = -1 (from left)

Since one-sided limits differ, lim[x→0] |x|/x does not exist
</code></pre><h4 id="limits-at-infinity">Limits at Infinity</h4>
<pre tabindex="0"><code>Horizontal asymptotes:
lim[x→∞] f(x) = L means y = L is a horizontal asymptote

Example: lim[x→∞] 1/x = 0
Example: lim[x→∞] (3x² + 2x)/(x² - 1) = 3
</code></pre><h4 id="infinite-limits">Infinite Limits</h4>
<pre tabindex="0"><code>Vertical asymptotes:
lim[x→c] f(x) = ∞ means f(x) grows without bound as x → c

Example: lim[x→0⁺] 1/x = ∞
Example: lim[x→2] 1/(x-2)² = ∞
</code></pre><h3 id="limit-laws">Limit Laws</h3>
<pre tabindex="0"><code>If lim[x→c] f(x) = L and lim[x→c] g(x) = M, then:

1. lim[x→c] [f(x) + g(x)] = L + M
2. lim[x→c] [f(x) - g(x)] = L - M  
3. lim[x→c] [f(x) · g(x)] = L · M
4. lim[x→c] [f(x)/g(x)] = L/M (if M ≠ 0)
5. lim[x→c] [f(x)]ⁿ = Lⁿ
6. lim[x→c] ⁿ√[f(x)] = ⁿ√L (if appropriate)
</code></pre><h3 id="evaluating-limits">Evaluating Limits</h3>
<h4 id="direct-substitution">Direct Substitution</h4>
<pre tabindex="0"><code>If f is continuous at c, then lim[x→c] f(x) = f(c)

Example: lim[x→3] (x² + 2x - 1) = 9 + 6 - 1 = 14
</code></pre><h4 id="factoring">Factoring</h4>
<pre tabindex="0"><code>For rational functions with 0/0 form:

Example: lim[x→2] (x² - 4)/(x - 2)
= lim[x→2] [(x-2)(x+2)]/(x-2)
= lim[x→2] (x + 2) = 4
</code></pre><h4 id="rationalization">Rationalization</h4>
<pre tabindex="0"><code>For expressions with radicals:

Example: lim[x→0] (√(x+1) - 1)/x
Multiply by (√(x+1) + 1)/(√(x+1) + 1):
= lim[x→0] [(x+1) - 1]/[x(√(x+1) + 1)]
= lim[x→0] x/[x(√(x+1) + 1)]
= lim[x→0] 1/(√(x+1) + 1) = 1/2
</code></pre><h4 id="lhôpitals-rule">L&rsquo;Hôpital&rsquo;s Rule</h4>
<pre tabindex="0"><code>For indeterminate forms 0/0 or ∞/∞:
lim[x→c] f(x)/g(x) = lim[x→c] f&#39;(x)/g&#39;(x)

Example: lim[x→0] sin(x)/x
= lim[x→0] cos(x)/1 = 1
</code></pre><h3 id="special-limits">Special Limits</h3>
<pre tabindex="0"><code>Important limits to remember:
lim[x→0] sin(x)/x = 1
lim[x→0] (1 - cos(x))/x = 0
lim[x→0] (1 + x)^(1/x) = e
lim[x→∞] (1 + 1/x)^x = e
lim[x→0] (e^x - 1)/x = 1
lim[x→0] ln(1 + x)/x = 1
</code></pre><h2 id="derivatives">Derivatives</h2>
<h3 id="definition">Definition</h3>
<p>The derivative of f at x is the instantaneous rate of change:</p>
<pre tabindex="0"><code>f&#39;(x) = lim[h→0] [f(x+h) - f(x)]/h

Geometric interpretation: slope of tangent line
Physical interpretation: instantaneous velocity
</code></pre><h3 id="basic-derivative-rules">Basic Derivative Rules</h3>
<h4 id="power-rule">Power Rule</h4>
<pre tabindex="0"><code>d/dx [x^n] = nx^(n-1)

Examples:
d/dx [x³] = 3x²
d/dx [x^(-2)] = -2x^(-3)
d/dx [√x] = d/dx [x^(1/2)] = (1/2)x^(-1/2) = 1/(2√x)
</code></pre><h4 id="constant-and-linear-rules">Constant and Linear Rules</h4>
<pre tabindex="0"><code>d/dx [c] = 0 (constant)
d/dx [cx] = c (constant multiple)
d/dx [f(x) + g(x)] = f&#39;(x) + g&#39;(x) (sum)
d/dx [f(x) - g(x)] = f&#39;(x) - g&#39;(x) (difference)
</code></pre><h3 id="advanced-derivative-rules">Advanced Derivative Rules</h3>
<h4 id="product-rule">Product Rule</h4>
<pre tabindex="0"><code>d/dx [f(x)g(x)] = f&#39;(x)g(x) + f(x)g&#39;(x)

Example: d/dx [x²sin(x)]
= 2x·sin(x) + x²·cos(x)
= 2x sin(x) + x² cos(x)
</code></pre><h4 id="quotient-rule">Quotient Rule</h4>
<pre tabindex="0"><code>d/dx [f(x)/g(x)] = [f&#39;(x)g(x) - f(x)g&#39;(x)]/[g(x)]²

Example: d/dx [sin(x)/x²]
= [cos(x)·x² - sin(x)·2x]/(x²)²
= [x²cos(x) - 2x sin(x)]/x⁴
= [x cos(x) - 2 sin(x)]/x³
</code></pre><h4 id="chain-rule">Chain Rule</h4>
<pre tabindex="0"><code>d/dx [f(g(x))] = f&#39;(g(x))·g&#39;(x)

Example: d/dx [sin(x²)]
= cos(x²)·2x = 2x cos(x²)

Example: d/dx [(3x + 1)⁵]
= 5(3x + 1)⁴·3 = 15(3x + 1)⁴
</code></pre><h3 id="derivatives-of-special-functions">Derivatives of Special Functions</h3>
<h4 id="trigonometric-functions">Trigonometric Functions</h4>
<pre tabindex="0"><code>d/dx [sin(x)] = cos(x)
d/dx [cos(x)] = -sin(x)
d/dx [tan(x)] = sec²(x)
d/dx [sec(x)] = sec(x)tan(x)
d/dx [csc(x)] = -csc(x)cot(x)
d/dx [cot(x)] = -csc²(x)
</code></pre><h4 id="exponential-and-logarithmic-functions">Exponential and Logarithmic Functions</h4>
<pre tabindex="0"><code>d/dx [e^x] = e^x
d/dx [a^x] = a^x ln(a)
d/dx [ln(x)] = 1/x
d/dx [log_a(x)] = 1/(x ln(a))
</code></pre><h4 id="inverse-trigonometric-functions">Inverse Trigonometric Functions</h4>
<pre tabindex="0"><code>d/dx [arcsin(x)] = 1/√(1-x²)
d/dx [arccos(x)] = -1/√(1-x²)
d/dx [arctan(x)] = 1/(1+x²)
</code></pre><h3 id="implicit-differentiation">Implicit Differentiation</h3>
<p>When y is defined implicitly by an equation F(x,y) = 0:</p>
<pre tabindex="0"><code>Example: x² + y² = 25
Differentiate both sides:
2x + 2y(dy/dx) = 0
Solve for dy/dx:
dy/dx = -x/y

Example: xy + sin(y) = 1
d/dx[xy] + d/dx[sin(y)] = d/dx[1]
y + x(dy/dx) + cos(y)(dy/dx) = 0
dy/dx = -y/(x + cos(y))
</code></pre><h3 id="higher-order-derivatives">Higher-Order Derivatives</h3>
<pre tabindex="0"><code>f&#39;(x) or f^(1)(x) = first derivative
f&#39;&#39;(x) or f^(2)(x) = second derivative
f&#39;&#39;&#39;(x) or f^(3)(x) = third derivative
f^(n)(x) = nth derivative

Example: f(x) = x⁴
f&#39;(x) = 4x³
f&#39;&#39;(x) = 12x²
f&#39;&#39;&#39;(x) = 24x
f^(4)(x) = 24
f^(5)(x) = 0
</code></pre><h2 id="applications-of-derivatives">Applications of Derivatives</h2>
<h3 id="related-rates">Related Rates</h3>
<p>When quantities are related by an equation, their rates of change are related by the derivative of that equation.</p>
<pre tabindex="0"><code>Example: Balloon Problem
A spherical balloon&#39;s radius increases at 2 cm/min. 
How fast is volume increasing when r = 10 cm?

Given: dr/dt = 2 cm/min
Find: dV/dt when r = 10

Volume formula: V = (4/3)πr³
Differentiate: dV/dt = 4πr²(dr/dt)
Substitute: dV/dt = 4π(10)²(2) = 800π cm³/min
</code></pre><h3 id="optimization-problems">Optimization Problems</h3>
<p>Find maximum or minimum values using calculus.</p>
<h4 id="process">Process:</h4>
<ol>
<li>Define variables and constraints</li>
<li>Express the quantity to optimize as a function</li>
<li>Find critical points (where f&rsquo;(x) = 0)</li>
<li>Use first or second derivative test</li>
<li>Check endpoints if applicable</li>
</ol>
<pre tabindex="0"><code>Example: Fence Problem
Farmer has 1000 feet of fence to enclose rectangular area.
What dimensions maximize the area?

Let x = width, y = length
Constraint: 2x + 2y = 1000, so y = 500 - x
Area: A(x) = xy = x(500 - x) = 500x - x²

Find critical points:
A&#39;(x) = 500 - 2x = 0
x = 250 feet

Therefore: y = 500 - 250 = 250 feet
Maximum area = 250 × 250 = 62,500 square feet
</code></pre><h3 id="linear-approximation-and-differentials">Linear Approximation and Differentials</h3>
<pre tabindex="0"><code>Linear approximation (tangent line approximation):
f(x) ≈ f(a) + f&#39;(a)(x - a)

Example: Approximate √26
Let f(x) = √x, a = 25
f&#39;(x) = 1/(2√x), so f&#39;(25) = 1/10

√26 ≈ √25 + (1/10)(26 - 25) = 5 + 0.1 = 5.1
(Actual value: √26 ≈ 5.099...)

Differential: dy = f&#39;(x)dx represents change in y
</code></pre><h3 id="motion-problems">Motion Problems</h3>
<pre tabindex="0"><code>If position is s(t):
• Velocity: v(t) = s&#39;(t)
• Acceleration: a(t) = v&#39;(t) = s&#39;&#39;(t)
• Speed: |v(t)|

Example: s(t) = t³ - 6t² + 9t + 1
v(t) = 3t² - 12t + 9
a(t) = 6t - 12

When is particle at rest? v(t) = 0
3t² - 12t + 9 = 0
3(t² - 4t + 3) = 0
3(t - 1)(t - 3) = 0
At rest when t = 1 and t = 3
</code></pre><h3 id="curve-sketching">Curve Sketching</h3>
<p>Use derivatives to analyze function behavior:</p>
<h4 id="first-derivative-test">First Derivative Test</h4>
<pre tabindex="0"><code>• f&#39;(x) &gt; 0: function increasing
• f&#39;(x) &lt; 0: function decreasing
• f&#39;(x) = 0: critical points (potential extrema)
• f&#39;(x) changes sign: local maximum or minimum
</code></pre><h4 id="second-derivative-test">Second Derivative Test</h4>
<pre tabindex="0"><code>• f&#39;&#39;(x) &gt; 0: concave up (cup shape)
• f&#39;&#39;(x) &lt; 0: concave down (cap shape)
• f&#39;&#39;(x) = 0: potential inflection point
• f&#39;&#39;(c) = 0 and f&#39;&#39;(x) changes sign at c: inflection point

For critical point c where f&#39;(c) = 0:
• f&#39;&#39;(c) &gt; 0: local minimum
• f&#39;&#39;(c) &lt; 0: local maximum
• f&#39;&#39;(c) = 0: test is inconclusive
</code></pre><h2 id="integrals">Integrals</h2>
<h3 id="antiderivatives">Antiderivatives</h3>
<p>An antiderivative of f(x) is a function F(x) such that F&rsquo;(x) = f(x).</p>
<pre tabindex="0"><code>∫ f(x) dx = F(x) + C

where C is the constant of integration

Example: ∫ 2x dx = x² + C
Verification: d/dx[x² + C] = 2x ✓
</code></pre><h3 id="basic-integration-rules">Basic Integration Rules</h3>
<h4 id="power-rule-1">Power Rule</h4>
<pre tabindex="0"><code>∫ x^n dx = x^(n+1)/(n+1) + C  (n ≠ -1)

Examples:
∫ x³ dx = x⁴/4 + C
∫ √x dx = ∫ x^(1/2) dx = (2/3)x^(3/2) + C
∫ 1/x² dx = ∫ x^(-2) dx = -x^(-1) + C = -1/x + C
</code></pre><h4 id="basic-integrals">Basic Integrals</h4>
<pre tabindex="0"><code>∫ k dx = kx + C  (constant)
∫ [f(x) + g(x)] dx = ∫ f(x) dx + ∫ g(x) dx
∫ kf(x) dx = k∫ f(x) dx

∫ e^x dx = e^x + C
∫ 1/x dx = ln|x| + C
∫ sin(x) dx = -cos(x) + C
∫ cos(x) dx = sin(x) + C
∫ sec²(x) dx = tan(x) + C
</code></pre><h3 id="integration-techniques">Integration Techniques</h3>
<h4 id="substitution-u-substitution">Substitution (u-substitution)</h4>
<pre tabindex="0"><code>∫ f(g(x))g&#39;(x) dx = ∫ f(u) du  where u = g(x)

Example: ∫ 2x cos(x²) dx
Let u = x², then du = 2x dx
∫ cos(u) du = sin(u) + C = sin(x²) + C

Example: ∫ (3x + 1)⁴ dx
Let u = 3x + 1, then du = 3 dx, so dx = du/3
∫ u⁴ · (du/3) = (1/3) ∫ u⁴ du = (1/3) · u⁵/5 + C = (3x + 1)⁵/15 + C
</code></pre><h4 id="integration-by-parts">Integration by Parts</h4>
<pre tabindex="0"><code>∫ u dv = uv - ∫ v du

Choose u and dv so that ∫ v du is simpler than ∫ u dv

Example: ∫ x e^x dx
Let u = x, dv = e^x dx
Then du = dx, v = e^x
∫ x e^x dx = x·e^x - ∫ e^x dx = xe^x - e^x + C = e^x(x - 1) + C
</code></pre><h3 id="definite-integrals">Definite Integrals</h3>
<h4 id="fundamental-theorem-of-calculus">Fundamental Theorem of Calculus</h4>
<pre tabindex="0"><code>Part 1: If f is continuous on [a,b] and F&#39;(x) = f(x), then:
∫[a to b] f(x) dx = F(b) - F(a)

Part 2: If f is continuous on [a,b], then:
d/dx ∫[a to x] f(t) dt = f(x)
</code></pre><h4 id="evaluation">Evaluation</h4>
<pre tabindex="0"><code>∫[a to b] f(x) dx = [F(x)][a to b] = F(b) - F(a)

Example: ∫[1 to 4] x² dx
= [x³/3][1 to 4] = 64/3 - 1/3 = 63/3 = 21
</code></pre><h4 id="properties">Properties</h4>
<pre tabindex="0"><code>∫[a to a] f(x) dx = 0
∫[a to b] f(x) dx = -∫[b to a] f(x) dx
∫[a to b] f(x) dx + ∫[b to c] f(x) dx = ∫[a to c] f(x) dx
∫[a to b] [f(x) + g(x)] dx = ∫[a to b] f(x) dx + ∫[a to b] g(x) dx
∫[a to b] kf(x) dx = k∫[a to b] f(x) dx
</code></pre><h3 id="applications-of-integration">Applications of Integration</h3>
<h4 id="area-under-curves">Area Under Curves</h4>
<pre tabindex="0"><code>Area between f(x) and x-axis from a to b:
A = ∫[a to b] |f(x)| dx

Area between curves f(x) and g(x):
A = ∫[a to b] |f(x) - g(x)| dx

Example: Area between y = x² and y = 4
Intersection points: x² = 4, so x = ±2
A = ∫[-2 to 2] (4 - x²) dx = [4x - x³/3][-2 to 2] = 32/3
</code></pre><h4 id="volume-of-revolution">Volume of Revolution</h4>
<p><strong>Disk Method:</strong></p>
<pre tabindex="0"><code>V = π∫[a to b] [f(x)]² dx

Example: Volume when y = √x is revolved around x-axis from x = 0 to x = 4
V = π∫[0 to 4] (√x)² dx = π∫[0 to 4] x dx = π[x²/2][0 to 4] = 8π
</code></pre><p><strong>Washer Method:</strong></p>
<pre tabindex="0"><code>V = π∫[a to b] ([R(x)]² - [r(x)]²) dx

where R(x) is outer radius, r(x) is inner radius
</code></pre><h4 id="average-value">Average Value</h4>
<pre tabindex="0"><code>Average value of f on [a,b]:
f_avg = (1/(b-a)) ∫[a to b] f(x) dx

Example: Average value of f(x) = x² on [0,3]
f_avg = (1/3) ∫[0 to 3] x² dx = (1/3) · [x³/3][0 to 3] = (1/3) · 9 = 3
</code></pre><h2 id="multivariable-calculus-introduction">Multivariable Calculus Introduction</h2>
<h3 id="functions-of-several-variables">Functions of Several Variables</h3>
<pre tabindex="0"><code>z = f(x,y) represents a surface in 3D space

Examples:
f(x,y) = x² + y² (paraboloid)
f(x,y) = sin(x)cos(y) (wave surface)
f(x,y) = √(9 - x² - y²) (upper hemisphere)
</code></pre><h3 id="partial-derivatives">Partial Derivatives</h3>
<pre tabindex="0"><code>∂f/∂x: derivative with respect to x, treating y as constant
∂f/∂y: derivative with respect to y, treating x as constant

Example: f(x,y) = x²y + 3xy²
∂f/∂x = 2xy + 3y²
∂f/∂y = x² + 6xy

Geometric interpretation:
∂f/∂x gives slope in x-direction
∂f/∂y gives slope in y-direction
</code></pre><h3 id="multiple-integrals">Multiple Integrals</h3>
<pre tabindex="0"><code>Double integral: ∫∫[R] f(x,y) dA

Represents volume under surface z = f(x,y) over region R

Example: ∫[0 to 2] ∫[0 to 1] (x + y) dy dx
= ∫[0 to 2] [xy + y²/2][0 to 1] dx
= ∫[0 to 2] (x + 1/2) dx
= [x²/2 + x/2][0 to 2] = 2 + 1 = 3
</code></pre><h2 id="practice-problems">Practice Problems</h2>
<h3 id="limits-1">Limits</h3>
<pre tabindex="0"><code>1. lim[x→3] (x² - 9)/(x - 3)
2. lim[x→0] sin(5x)/x
3. lim[x→∞] (2x² + 3x)/(x² - 1)
</code></pre><h3 id="derivatives-1">Derivatives</h3>
<pre tabindex="0"><code>1. Find dy/dx: y = x³ sin(x)
2. Find dy/dx using implicit differentiation: x² + xy + y² = 7
3. Find the equation of the tangent line to y = e^x at x = 0
</code></pre><h3 id="applications">Applications</h3>
<pre tabindex="0"><code>1. A ladder 25 feet long leans against a wall. The bottom slides away at 3 ft/sec. How fast is the top sliding down when the bottom is 15 feet from the wall?

2. Find the maximum area of a rectangle inscribed in the ellipse x²/9 + y²/4 = 1

3. Find the critical points of f(x) = x³ - 3x² - 9x + 5
</code></pre><h3 id="integration">Integration</h3>
<pre tabindex="0"><code>1. ∫ (3x² - 2x + 1) dx
2. ∫ x cos(x²) dx
3. ∫[0 to π/2] sin(x) dx
4. Find the area between y = x² and y = 2x
</code></pre><h2 id="answer-key">Answer Key</h2>
<h3 id="limits-2">Limits</h3>
<pre tabindex="0"><code>1. lim[x→3] (x² - 9)/(x - 3) = lim[x→3] (x + 3) = 6
2. lim[x→0] sin(5x)/x = 5·lim[x→0] sin(5x)/(5x) = 5·1 = 5
3. lim[x→∞] (2x² + 3x)/(x² - 1) = 2
</code></pre><h3 id="derivatives-2">Derivatives</h3>
<pre tabindex="0"><code>1. dy/dx = 3x² sin(x) + x³ cos(x)
2. 2x + y + x(dy/dx) + 2y(dy/dx) = 0
   dy/dx = -(2x + y)/(x + 2y)
3. y = e^x, y&#39; = e^x, at x = 0: point (0,1), slope = 1
   Tangent line: y = x + 1
</code></pre><h3 id="applications-1">Applications</h3>
<pre tabindex="0"><code>1. Using Pythagorean theorem: x² + y² = 625
   2x(dx/dt) + 2y(dy/dt) = 0
   When x = 15, y = 20, dx/dt = 3
   dy/dt = -xy(dx/dt)/y = -15(3)/20 = -2.25 ft/sec

2. Rectangle vertices at (±x, ±y) where x²/9 + y²/4 = 1
   Area A = 4xy, y = 2√(1 - x²/9)
   A(x) = 8x√(1 - x²/9), A&#39;(x) = 0 gives x = 3/√2
   Maximum area = 12

3. f&#39;(x) = 3x² - 6x - 9 = 3(x² - 2x - 3) = 3(x - 3)(x + 1)
   Critical points: x = -1, x = 3
</code></pre><h3 id="integration-1">Integration</h3>
<pre tabindex="0"><code>1. ∫ (3x² - 2x + 1) dx = x³ - x² + x + C
2. ∫ x cos(x²) dx = (1/2) sin(x²) + C
3. ∫[0 to π/2] sin(x) dx = [-cos(x)][0 to π/2] = 1
4. Intersection: x² = 2x gives x = 0, 2
   Area = ∫[0 to 2] (2x - x²) dx = 4/3
</code></pre><h2 id="quick-reference">Quick Reference</h2>
<h3 id="derivative-rules">Derivative Rules</h3>
<ul>
<li>Power Rule: d/dx[x^n] = nx^(n-1)</li>
<li>Product Rule: d/dx[fg] = f&rsquo;g + fg'</li>
<li>Quotient Rule: d/dx[f/g] = (f&rsquo;g - fg&rsquo;)/g²</li>
<li>Chain Rule: d/dx[f(g(x))] = f&rsquo;(g(x))·g&rsquo;(x)</li>
</ul>
<h3 id="integration-rules">Integration Rules</h3>
<ul>
<li>Power Rule: ∫x^n dx = x^(n+1)/(n+1) + C</li>
<li>∫e^x dx = e^x + C</li>
<li>∫sin(x) dx = -cos(x) + C</li>
<li>∫cos(x) dx = sin(x) + C</li>
</ul>
<h3 id="fundamental-theorem">Fundamental Theorem</h3>
<ul>
<li>∫[a to b] f(x) dx = F(b) - F(a) where F&rsquo;(x) = f(x)</li>
</ul>
<h2 id="see-also">See Also</h2>
<ul>
<li><strong><a href="../basic-math">BasicMath</a></strong> - Number systems and arithmetic foundations</li>
<li><strong><a href="../algebra">Algebra</a></strong> - Algebraic manipulation required for calculus</li>
<li><strong><a href="../pre-calculus">Pre-Calculus</a></strong> - Essential preparation for calculus - direct prerequisite</li>
<li><strong><a href="../differential-equations">Differential Equations</a></strong> - Applications of calculus</li>
<li><strong><a href="../matrices">Matrices</a></strong> - Multivariable calculus and Jacobian matrices</li>
<li><strong><a href="../complex-numbers">Complex Numbers</a></strong> - Advanced mathematical analysis</li>
<li><strong><a href="../numerical-methods">Numerical Methods</a></strong> - Computational approaches to calculus problems</li>
<li><strong><a href="../mathematical-modeling">Mathematical Modeling</a></strong> - Real-world applications of calculus</li>
</ul>
]]></content:encoded></item></channel></rss>