Calculus
Limits
The concept of limits is fundamental in calculus. It describes the value that a function approaches as the input approaches some point.
\(\displaystyle \lim_{x \to a} f(x) = L \)
Example 1: Find \( \lim_{x \to 3} (2x + 1) \).
- Substitute \( x = 3 \) into the function: \( 2(3) + 1 = 7 \).
- Since the function is continuous at 3, the limit is simply the function value.
The limit is \( 7 \) because \( 2x + 1 \) is a polynomial and continuous everywhere.
Example 2: Evaluate \( \lim_{x \to 0} \frac{\sin x}{x} \).
- Direct substitution gives \( \frac{0}{0} \), which is indeterminate.
- Use the standard limit \( \lim_{x \to 0} \frac{\sin x}{x} = 1 \).
This is a classic trigonometric limit, which evaluates to 1.
Continuity
A function \( f(x) \) is continuous at a point \( a \) if the following three conditions hold:
- \( f(a) \) is defined.
- \( \lim_{x \to a} f(x) \) exists.
- \( \lim_{x \to a} f(x) = f(a) \).
Example: Show that \( f(x) = x^2 \) is continuous at \( x = 2 \).
- Calculate \( f(2) = 4 \).
- Calculate \( \lim_{x \to 2} x^2 = 4 \).
- Since the limit equals the function value, \( f \) is continuous at 2.
The function \( x^2 \) is continuous everywhere because it's a polynomial.
Derivatives
The derivative of a function measures the rate at which the function value changes as its input changes. It is defined as the limit:
\(\displaystyle f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h} \)
Example: Find the derivative of \( f(x) = x^3 \).
- Use the definition: \( f'(x) = \lim_{h \to 0} \frac{(x+h)^3 - x^3}{h} \).
- Expand numerator: \( (x^3 + 3x^2h + 3xh^2 + h^3) - x^3 = 3x^2h + 3xh^2 + h^3 \).
- Divide by \( h \): \( 3x^2 + 3xh + h^2 \).
- Take the limit as \( h \to 0 \): \( 3x^2 \).
The derivative is \( f'(x) = 3x^2 \).
Basic Derivative Rules
- Power Rule: \( \frac{d}{dx} x^n = nx^{n-1} \)
- Sum Rule: \( \frac{d}{dx} [f(x) + g(x)] = f'(x) + g'(x) \)
- Product Rule: \( \frac{d}{dx} [f(x)g(x)] = f'(x)g(x) + f(x)g'(x) \)
- Quotient Rule: \( \frac{d}{dx} \frac{f(x)}{g(x)} = \frac{f'(x)g(x) - f(x)g'(x)}{[g(x)]^2} \)
- Chain Rule: \( \frac{d}{dx} f(g(x)) = f'(g(x)) \cdot g'(x) \)
Applications of Derivatives
Derivatives are used to find maxima, minima, and points of inflection of functions.
Example: Find critical points and determine maxima or minima for \( f(x) = x^3 - 3x^2 + 4 \).
- Find derivative: \( f'(x) = 3x^2 - 6x \).
- Set \( f'(x) = 0 \): \( 3x^2 - 6x = 0 \Rightarrow 3x(x - 2) = 0 \Rightarrow x = 0, 2 \).
- Use second derivative test: \( f''(x) = 6x - 6 \).
- At \( x=0 \), \( f''(0) = -6 < 0 \) → local maximum.
- At \( x=2 \), \( f''(2) = 6 > 0 \) → local minimum.
Critical points at \( x=0 \) (max) and \( x=2 \) (min).
Integrals
Integration is the inverse process of differentiation. It is used to calculate areas, volumes, and accumulations.
\(\displaystyle \int f(x) \, dx \)
Example: Find \( \int 3x^2 \, dx \).
- Use the power rule for integration: \( \int x^n dx = \frac{x^{n+1}}{n+1} + C \).
- Here, \( n = 2 \), so \( \int 3x^2 dx = 3 \times \frac{x^{3}}{3} + C = x^3 + C \).
The integral is \( x^3 + C \), where \( C \) is the constant of integration.
Example: Calculate \( \int_1^4 (2x) \, dx \).
- Find the antiderivative of \( 2x \): \( F(x) = x^2 \).
- Evaluate \( F(4) - F(1) = 16 - 1 = 15 \).
The definite integral equals 15, which is the area under the curve from 1 to 4.
Applications of Integrals
Integrals are used to find areas, volumes, work done, and many physical quantities.
- Area between curves
- Volume of solids of revolution
- Average value of a function
- Work done by a variable force
Example: Find the area between \( y = x^2 \) and \( y = x + 2 \) from \( x=0 \) to \( x=2 \).
- Find points of intersection: solve \( x^2 = x + 2 \).
- At \( x=0 \), \( y = 0 \) and \( y=2 \), so from 0 to 2, \( x + 2 \) is above \( x^2 \).
- Area = \( \int_0^2 [(x + 2) - x^2] dx \).
- Calculate integral: \( \int_0^2 (x + 2 - x^2) dx = \left[ \frac{x^2}{2} + 2x - \frac{x^3}{3} \right]_0^2 = \left(2 + 4 - \frac{8}{3}\right) - 0 = \frac{10}{3} \).
The area between the curves is \( \frac{10}{3} \) square units.
Fundamental Theorem of Calculus
This theorem connects differentiation and integration, showing they are inverse processes.
- If \( F \) is an antiderivative of \( f \), then \[ \int_a^b f(x) dx = F(b) - F(a) \]
- If \[ g(x) = \int_a^x f(t) dt, \] then \( g'(x) = f(x) \).
Example: If \( F'(x) = f(x) = 3x^2 \), evaluate \( \int_1^3 3x^2 dx \).
- Find antiderivative \( F(x) = x^3 + C \).
- Evaluate \( F(3) - F(1) = 27 - 1 = 26 \).
The definite integral equals 26 by the Fundamental Theorem of Calculus.
Techniques of Integration
Various methods are used to solve integrals that are not straightforward:
- Substitution: Change of variables to simplify integral.
- Integration by Parts: Based on the product rule of differentiation.
- Partial Fractions: Decompose rational functions into simpler fractions.
- Trigonometric Integrals: Use identities to simplify.
Example (Substitution): Evaluate \( \int 2x \cos(x^2) dx \).
- Let \( u = x^2 \), so \( du = 2x dx \).
- Integral becomes \( \int \cos(u) du = \sin(u) + C \).
- Substitute back: \( \sin(x^2) + C \).
The integral evaluates to \( \sin(x^2) + C \).
Example (Integration by Parts): Evaluate \( \int x e^x dx \).
- Let \( u = x \), so \( du = dx \).
- Let \( dv = e^x dx \), so \( v = e^x \).
- Use formula: \( \int u dv = uv - \int v du = x e^x - \int e^x dx = x e^x - e^x + C \).
The integral equals \( e^x (x - 1) + C \).
Sequences & Series
A sequence is an ordered list of numbers. A series is the sum of the terms of a sequence.
Example (Arithmetic): Find the 10th term of the sequence where \( a_1=3 \), \( d=5 \).
- Use formula: \( a_{10} = 3 + (10-1) \times 5 = 3 + 45 = 48 \).
The 10th term is 48.
Example (Geometric): Find the sum of the first 5 terms with \( a_1=2 \), \( r=3 \).
- Sum of first \( n \) terms: \( S_n = a_1 \frac{r^n - 1}{r - 1} \).
- \( S_5 = 2 \times \frac{3^5 - 1}{3 - 1} = 2 \times \frac{243 - 1}{2} = 2 \times 121 = 242 \).
The sum of the first 5 terms is 242.