📘 Lecture 23 — Maximum and Minimum Values of Functions
📖 Overview: This lecture covers absolute (global) extrema of functions — the highest and lowest values over the entire domain. It explains how to find these values for continuous functions on closed intervals, and applies these methods to real-world optimization problems, such as maximizing area or volume under given constraints.
🗂️ Topics Covered
Absolute extrema (maximum and minimum) are defined and contrasted with relative extrema. The Extreme Value Theorem guarantees existence of absolute extrema for continuous functions on closed intervals. A three-step procedure is given for finding absolute extrema. The lecture then considers summary of extreme behaviors over open intervals and infinite intervals, and finally presents applied optimization problems involving finite closed intervals.
📝 Lecture Summary
Absolute Extrema
Previously, we discussed relative maxima and minima — the highest mountain and deepest valley in a given vicinity or neighborhood. Now we discuss absolute maximum and minimum values — the highest peak in a mountain range and the deepest valley overall.
Absolute maximum means that the value is the maximum one over the entire domain of the function. Absolute minimum means that the value is the minimum one over the entire domain of the function. If we think of Earth's surface as defining some function, its absolute maximum would be Mt. Everest, and absolute minimum would be the Marianna Trench.
Example Consider the graph of f(x) = 2x+1 on the interval [0,3). The minimum value is 1 at x = 0. But is there a maximum? No. Because the function is defined on the interval [0,3) which excludes the point x = 3. You can get very close to 7 as the maximum value as you get very close to x=3, but this is a limiting process, and you can always get closer to 7 yet never equal 7. So 7 looks like a max, but it is NOT!
The questions of interest given a function f(x) are: Does f(x) have a maximum (minimum) value? If so, what is it, and where does it occur?
Extreme Value Theorem This theorem doesn't tell us what the max and min are, just the conditions on a function which will make it have a max or min. We won't prove this as it's difficult; just use it.
Example The previous example f(x) = 2x+1 on [0,3) is a continuous function on that interval, but had no maximum because the interval was not closed.
Example Here is another function graphed over the interval [1,9]. Although the interval is closed, the function is not continuous on this interval as we can see from the graph, and so has no maximum or minimum values on that interval.
💡 Why this matters: Both continuity AND a closed interval are necessary for the Extreme Value Theorem to guarantee existence of absolute extrema.
Procedure to find absolute extrema on [a,b]:
- Step 1: Find the critical points of f in (a,b)
- Step 2: Evaluate f at all the critical points and at the endpoints a and b
- Step 3: The largest of the values in Step 2 is the maximum value of f on [a,b] and the smallest is the minimum.
Example Find the maximum and minimum values of f(x) = 2x³ − 15x² + 36x on the interval [1,5]. Since f is a polynomial, it is continuous and differentiable on (1,5). f '(x) = 6x² − 30x + 36 = 0 f '(x) = (x−3)(x−2) = 0 So f' is 0 at x = 2 and x = 3. Max or min will occur at these two critical points or at the endpoints.
📌 Example: Evaluate the function at the critical points and endpoints: f(1)=23, f(2)=28, f(3)=27, f(5)=55. We see that max is 55 at x=5 and min is 23 at x=1.
Summary of extreme behaviors of functions over (a,b)
We want to know the max and min over functions on (−∞, +∞). Here is how to find them for continuous functions.
Example Find the max and min values, if any, of f(x) = x⁴ + 2x³ − 1 on the interval (−∞, +∞). This is a continuous function on the given interval, and lim (x⁴ + 2x³ − 1) as x→+∞ = +∞ and lim (x⁴ + 2x³ − 1) as x→−∞ = +∞ So f has a minimum but no maximum on (−∞, +∞). By Theorem 4.6.5, the min must occur at a critical point. f '(x) = 4x³ + 6x² = 2x²(2x + 3) = 0 This gives x = 0 and x = −3/2 as the critical points.
📌 Example: Evaluating gives min = −43/16 at x = −3/2.
Applied maximum and minimum problems
We will use what we have learned to do applied problems in optimization. Optimization is the way efficiency is achieved in business, machines, and even in nature in terms of animals competing for resources.
Problems involving continuous functions and Finite closed intervals
These are problems where the function is defined over a closed interval. These problems always have a solution because it is guaranteed by the Extreme Value Theorem.
Example Find the dimensions of a rectangle with perimeter 100 ft whose area is as large as possible. Let x = length of the rectangle in feet, y = width of the rectangle in feet, A = area of the rectangle. Then A = xy. Perimeter = 100 ft = 2x + 2y or y = 50 − x. Use this value of y in equation A = xy to get A as a function of x: A = x(50 − x) = 50x − x². Because x represents a length, it cannot be negative and cannot exceed the perimeter constraint. So we have the constraints 0 ≤ x ≤ 50. So the question is of finding the max of A = 50x − x² on the interval [0,50]. By what we have seen, that max must occur at the endpoints of this interval or at a critical point.
📐 Formula: Critical point: dA/dx = 50 − 2x = 0 → x = 25.
📌 Example: Substitute x = 0, x = 25, and x = 50 into the function A: A(0)=0, A(25)=625, A(50)=0. The max is 625 at x=25. Note that y = 25 also for x = 25. So the rectangle with perimeter 100 with the greatest area is a square with sides 25 ft.
Example An open box is to be made from a 16 inch by 30 inch piece of cardboard by cutting out squares of equal size from the 4 corners and bending up the sides. What size should the squares be to obtain a box with largest possible volume? If we cut out squares of side x from the 4 corners of the cardboard, the resulting box will have dimensions (16−2x) by (30−2x) by height x. So volume V = x(16−2x)(30−2x). Because x represents a length, and we cannot cut more than half the smaller side, we have 0 ≤ x ≤ 8. We want to find max of the function on [0,8].
📐 Formula: dV/dx = 480 − 184x + 12x² = 0 → x = 10/3 and x = 12. Because x = 12 is out of [0,8], ignore it.
📌 Example: Check V at the endpoints and at x = 10/3. V(0)=0, V(8)=0, V(10/3)=19600/27. So V = 19600/27 is max when x = 10/3 inches.
⭐ Key Takeaways
Absolute extrema are the overall highest and lowest values of a function across its entire domain, not just in a neighborhood. The Extreme Value Theorem guarantees that a continuous function on a closed interval [a,b] has both an absolute maximum and minimum, but fails if the interval is not closed or the function is not continuous. To find absolute extrema on [a,b], evaluate the function at all critical points inside the interval and at both endpoints, then select the largest and smallest values. For functions on infinite intervals, check limits at infinity to determine if a maximum or minimum exists, then find critical points. Applied optimization problems require translating a real-world scenario into a mathematical function, identifying the appropriate closed interval for the variable, and using the three-step procedure to find the optimal value.
🧠 Quick Revision Questions
- What three conditions are required by the Extreme Value Theorem to guarantee a function has both an absolute maximum and minimum on an interval?
- What is the step-by-step procedure to find the absolute maximum and minimum of a continuous function on a closed interval [a,b]?
- Why did the function f(x) = 2x+1 on [0,3) have no absolute maximum even though it is continuous?
- In the rectangle optimization problem with perimeter 100 ft, why was the constraint 0 ≤ x ≤ 50 necessary?
- In the open box problem, why was the critical point x = 12 ignored when solving for the optimal square size?
📘 Lecture 24 — Newton’s Method, Rolle’s Theorem, and the Mean Value Theorem
📖 Overview: This lecture covers three essential calculus tools for analyzing functions and solving equations. Newton's method provides a way to approximate solutions to equations that have no algebraic solution, while Rolle's Theorem and the Mean Value Theorem establish fundamental relationships between a function and its derivative, forming the theoretical basis for many later results.
🗂️ Topics Covered
The lecture begins with Newton's method for approximating solutions to f(x)=0, explaining the geometric intuition and deriving the iterative formula. It then discusses some difficulties with Newton's method, showing cases where it fails to converge. Finally, it introduces Rolle's Theorem and the Mean Value Theorem, proving the latter using the former and offering intuitive examples.
📝 Lecture Summary
Newton’s method for approximating solutions to f (x) =0
There is no algebraic solution to equations of the kind x − cos(x) = 0. For these, we settle for approximate solutions. Newton’s method works by using tangent lines to the graph of the function to get closer to the solution. Starting with an initial guess x₁, we draw the tangent line at that point. If the tangent line is not parallel to the x-axis, it intersects the x-axis at x₂, which is generally closer to the true root r. We repeat the process, using the tangent at x₂ to find x₃, and so on.
🔑 Definition — Newton's Method: An iterative method for finding successively better approximations to the roots (solutions) of a real-valued function f(x) = 0.
📐 Formula: xₙ₊₁ = xₙ − f(xₙ)/f'(xₙ) → Starting from an initial guess xₙ, the next approximation xₙ₊₁ is found by subtracting the ratio of the function value to its derivative.
The derivation comes from the tangent line equation at (x₁, f(x₁)): y − f(x₁) = f'(x₁)(x₂ − x₁). At the x-intercept (x₂, 0), this becomes −f(x₁) = f'(x₁)(x₂ − x₁), which rearranges to x₂ = x₁ − f(x₁)/f'(x₁).
📌 Example: Approximate the solution to x = cos(x) between 0 and 1 using Newton's method. Rewrite as f(x) = x − cos(x), so f'(x) = 1 + sin(x). The iteration formula is: xₙ₊₁ = xₙ − (xₙ − cos(xₙ))/(1 + sin(xₙ)) From the graph, the solution is closer to 1 than 0, so we use x₁ = 1. x₂ = 1 − (1 − cos(1))/(1 + sin(1)) = 1 − (1 − 0.5403)/(1 + 0.8415) = 1 − 0.4597/1.8415 = 0.7503 x₃ = 0.7503 − (0.7503 − cos(0.7503))/(1 + sin(0.7503)) = 0.7503 − (0.7503 − 0.7317)/(1 + 0.6816) = 0.7503 − 0.0186/1.6816 = 0.7391 The solution is approximately x ≈ 0.7391. 💡 Why this matters: Newton's method converges rapidly, often doubling the number of accurate digits with each iteration.
Some difficulties with Newton’s method
Newton’s method does not always work. If for some value of n, f'(xₙ) = 0, then the formula involves division by zero, and the method fails. This occurs when the tangent line at that approximation has slope 0 (is parallel to the x-axis). Sometimes the approximations simply do not converge to a solution.
📌 Example: Consider the equation x¹ᐟ³ = 0. The only solution is x = 0. Using Newton's method with initial approximation x₁ = 1: f(x) = x¹ᐟ³, so f'(x) = (1/3)x⁻²ᐟ³. The iteration formula gives: xₙ₊₁ = xₙ − (xₙ¹ᐟ³)/((1/3)xₙ⁻²ᐟ³) = xₙ − 3xₙ = −2xₙ Starting with x₁ = 1, we get x₂ = −2, x₃ = 4, x₄ = −8, ... The values oscillate wildly and do not converge to 0.
Rolle’s theorem
Rolle's Theorem states that for a function that is continuous on [a, b] and differentiable on (a, b), if f(a) = f(b), then there exists at least one point c in (a, b) such that f'(c) = 0. Essentially, if a function crosses the x-axis at two points (or has equal values at the endpoints), there must be a point between them where the derivative is zero (a horizontal tangent).
📌 Example: The function f(x) = sin(x) is continuous on [0, 2π] and differentiable on (0, 2π). Also, f(0) = sin(0) = 0 and f(2π) = sin(2π) = 0. So the function satisfies the hypotheses of Rolle's Theorem. Therefore, there exists a point c in (0, 2π) such that f'(c) = cos(c) = 0. Indeed, c = π/2 and c = 3π/2 satisfy this.
A tangible way to think of Rolle's Theorem: If you drive from Lahore to Islamabad, starting at velocity 0 and ending at velocity 0, since velocity is continuous and differentiable (acceleration exists at each point), there must be some point on the journey where the acceleration was 0.
Mean Value Theorem
The Mean Value Theorem (MVT) states that if f is continuous on [a, b] and differentiable on (a, b), then there exists a point c in (a, b) such that f'(c) = [f(b) − f(a)]/(b − a). This means that at some point between a and b, the instantaneous slope (tangent line) equals the average slope (secant line) over the entire interval.
The proof uses Rolle's Theorem. Consider the secant line joining A(a, f(a)) and B(b, f(b)). Its equation is: y = [f(b) − f(a)]/(b − a)(x − a) + f(a). Define a new function v(x) = f(x) − {[f(b) − f(a)]/(b − a)(x − a) + f(a)}.
Since f(x) is continuous on [a, b] and differentiable on (a, b), so is v(x). Note that v(a) = f(a) − {[f(b) − f(a)]/(b − a)(a − a) + f(a)} = f(a) − f(a) = 0 and v(b) = f(b) − {[f(b) − f(a)]/(b − a)(b − a) + f(a)} = f(b) − {f(b) − f(a) + f(a)} = 0.
So v(x) satisfies the assumptions of Rolle's Theorem on [a, b]. Therefore, there exists a point c in (a, b) such that v'(c) = 0.
v'(x) = f'(x) − [f(b) − f(a)]/(b − a) At the point where v'(c) = 0, we have f'(c) − [f(b) − f(a)]/(b − a) = 0, which gives f'(c) = [f(b) − f(a)]/(b − a).
⭐ Key Takeaways
Newton's method provides a powerful iterative technique for approximating roots of equations using the formula xₙ₊₁ = xₙ − f(xₙ)/f'(xₙ), but it fails when f'(xₙ) = 0 or when the approximations diverge. Rolle's Theorem is a special case of the Mean Value Theorem where f(a) = f(b), guaranteeing a point where f'(c) = 0. The Mean Value Theorem itself guarantees that for a differentiable function, there exists at least one point where the instantaneous rate of change equals the average rate of change over the interval. Both theorems require the function to be continuous on [a, b] and differentiable on (a, b). The Mean Value Theorem is proved by applying Rolle's Theorem to a carefully constructed auxiliary function that represents the vertical distance between the function and its secant line.
🧠 Quick Revision Questions
- What is the Newton's method iteration formula for approximating a root of f(x) = 0?
- For the equation x = cos(x), what is f(x) and f'(x) needed for Newton's method?
- State all three conditions that must be satisfied for Rolle's Theorem to apply to a function f on [a, b].
- What is the geometric interpretation of the Mean Value Theorem in terms of tangent and secant lines?
- How is the Mean Value Theorem proved using Rolle's Theorem? What auxiliary function v(x) is constructed?
📘 Lecture 25 — Integrations
📖 Overview: This lecture introduces the second major problem of calculus: integration, beginning with the area problem. It establishes the relationship between area functions and their derivatives, defines antiderivatives and indefinite integrals, and provides fundamental integration formulas and properties.
🗂️ Topics Covered
The lecture covers the area problem for continuous non-negative functions, the discovery that the derivative of the area function equals the original function (A'(x) = f(x)), antiderivatives and their definition, indefinite integrals and notation, a table of basic integration formulas, and properties of indefinite integrals including linearity and the constant multiple rule.
📝 Lecture Summary
The Area Problem
Given a continuous and non-negative function on an interval [a,b], the problem is to find the area between the graph of f and the interval [a,b] on the x-axis. Instead of solving a particular case, the problem is generalized by letting the right endpoint be any number x greater than or equal to b. The unknown area is denoted as A(x), which becomes a function of x.
Newton and Leibniz proposed an interesting approach: to find the unknown area A(x), first find its derivative A'(x) and use this derivative to determine what A(x) is.
Finding A'(x)
A'(x) = lim [A(x+h) — A(x)] / h as h→0
For h > 0, the difference of areas A(x+h) — A(x) can be approximated by the area of a rectangle with base length h and height f(c), where c is the midpoint between x and x+h.
So we have: [A(x+h) — A(x)] / h ≈ f(c) · h / h = f(c)
The error in this approximation approaches 0 as h goes to 0. As h→0, c approaches x. Since f is assumed continuous, f(c) → f(x) as c → x. Thus:
lim f(c) = f(x) ⇒ A'(x) = f(x)
💡 Why this matters: The derivative of the area function A(x) is the function whose graph forms the upper boundary of the region under which the area is to be found.
Example — Finding Area Under y = x²
Find the area of the region under the graph of y = f(x) = x² over the interval [0,1].
Looking at the situation over [0,x], from the discussion we have A'(x) = x². To find A(x), we look for a function whose derivative is x². This is called an antidifferentiation problem.
A guess is the function: A(x) = (1/3)x³
This is a formula for the area function. On the interval [0,1], x = 1, so our result is A(1) = 1/3 units.
🔑 Definition — Antiderivative (Definition 5.2.1): A function F is called an antiderivative of a function f on a given interval if F'(x) = f(x) for all x in the interval.
📌 Example: The functions (1/3)x³, (1/3)x³ — π, (1/3)x³ + C are all antiderivatives of f(x) = x² on the interval (-∞, +∞), as the derivative of each is f(x) = x².
If F(x) is any antiderivative of f(x), then so is F(x) + C, where C is a constant.
Indefinite Integral
The process of finding antiderivatives is called antidifferentiation or integration.
If there is some function F such that d/dx[F(x)] = f(x), then functions of the form F(x) + C are antiderivatives of f(x). We denote this by:
∫ f(x)dx = F(x) + C
The symbol ∫ is called the integral sign, and f(x) is called the integrand. It is read as "the indefinite integral of f(x) equals F(x)".
The right side of the equation is not a specific function but a whole set of possible functions — that's why we call it the indefinite integral. C is called the constant of integration.
The dx serves to identify the independent variable in the function involved in the integration.
📌 Example: The antiderivatives of f(x) = x² are functions of the form F(x) = (1/3)x³ + C, so we write ∫ x² dx = (1/3)x³ + C
Integration Formulas
From the table provided, we obtain the following results:
∫ x² dx = x³/3 + C ∫ x³ dx = x⁴/4 + C ∫ x⁵ dx = x⁶/6 + C ∫ x^(-5) dx = -1/(4x⁴) + C
Properties of Indefinite Integral
Property 1: d/dx [∫ f(x)dx] = f(x)
Property 2: ∫ d/dx [F(x)] dx = F(x) + C
Constant Multiple Rule: ∫ cf(x)dx = c∫ f(x)dx
📌 Example: ∫ 4cos(x)dx = 4∫ cos(x)dx = 4[sin(x) + C] = 4sin(x) + K, where 4C = K
Sum Rule: ∫ [f(x) + g(x)]dx = ∫ f(x)dx + ∫ g(x)dx
📌 Example: ∫ (x² + x)dx = ∫ x²dx + ∫ x·dx = (1/3)x³ + (1/2)x² + C
Generalized Version of Properties
∫ [c₁f₁(x) + c₂f₂(x) + ... + cₙfₙ(x)]dx = c₁∫ f₁(x)dx + c₂∫ f₂(x)dx + ... + cₙ∫ fₙ(x)dx
📌 Example: ∫ (3x⁶ — 2x² + 7x + 1)dx = 3∫ x⁶dx — 2∫ x²dx + 7∫ xdx + ∫ dx = (3x⁷/7) — (2x³/3) + (7x²/2) + x + C
📌 Example: ∫ [cos(x)/sin²(x)]dx = ∫ [(1/sin(x)) · (cos(x)/sin(x))]dx = ∫ cosec(x)cot(x)dx = —cosec(x) + C
⭐ Key Takeaways
The most critical takeaway is that the derivative of the area function A(x) equals the original function f(x), establishing the fundamental connection between differentiation and integration. Antidifferentiation is the reverse process of differentiation, and the indefinite integral ∫ f(x)dx = F(x) + C represents the family of all antiderivatives of f. Students must memorize the basic integration formulas (power rule, trigonometric integrals) and the two key properties: the constant multiple rule and the sum rule. The linearity property allows integration of sums term-by-term, with each term multiplied by its constant coefficient.
🧠 Quick Revision Questions
- What does A'(x) equal in the area problem, and why is this result significant?
- What is the definition of an antiderivative of a function f on an interval?
- What does the constant C represent in the indefinite integral ∫ f(x)dx = F(x) + C?
- Using the power rule, what is ∫ x⁷ dx?
- Evaluate ∫ (5x⁴ — 3cosx)dx and state which properties you used.
📘 Lecture 26 — Integration by Substitution
📖 Overview: This lecture introduces integration by substitution, which is the inverse of the chain rule for differentiation. It provides a systematic method for integrating composite functions by transforming them into simpler forms, making it essential for solving complex integrals in calculus.
🗂️ Topics Covered
The lecture covers the fundamental principle of integration by substitution as the reverse of the chain rule, including the derivation of the substitution formula from the chain rule. It presents a 5-step procedure for performing u-substitution, followed by examples of integrands that are derivatives with constants added/subtracted from the variable. The lecture also covers cases where constants multiply the independent variable, more complex substitutions involving trigonometric and algebraic functions, and a detailed worked example with fractional powers.
📝 Lecture Summary
Integration by Substitution — Chain Rule Inverse
Integration by substitution is the inverse of the chain rule for differentiation. It handles composite functions where one function is embedded inside another. The derivation starts from the chain rule: if ( G'(u) = f(u) ), then ( \int f(u) , du = G(u) + C ). When ( u ) is a function of ( x ), we have:
[ \frac{d}{dx}[G(u)] = \frac{d}{du}[G(u)] \cdot \frac{du}{dx} = f(u) \cdot \frac{du}{dx} ]
Integrating both sides with respect to ( x ) gives:
[ \int f(u) \cdot \frac{du}{dx} , dx = \int f(u) , du = G(u) + C ]
🔑 Definition — Integration by Substitution: A technique where a new variable ( u = g(x) ) is introduced to simplify an integral, replacing the original variable and its differential so the integral becomes ( \int f(u) , du ).
The Substitution Procedure — 5-Step Method
Step 1: Choose ( u = g(x) ) Step 2: Compute ( du/dx = g'(x) ) Step 3: Substitute ( u = g(x) ) and ( du = g'(x) , dx ) into the original integral (the entire integral must be in terms of ( u ) with no ( x ) remaining) Step 4: Evaluate the resulting integral in ( u ) Step 5: Replace ( u ) with ( g(x) ) to express the answer in terms of ( x )
There is no hard and fast rule for choosing ( u ). The choice should simplify the integral. Experience and practice are key — like playing chess, you choose ( u ) so that "the future looks bright" for solving the problem.
Example 1: Basic Substitution with Polynomial
[ \int (x^2 + 1)^{50} \cdot 2x , dx ]
Let ( u = x^2 + 1 ). Then ( \frac{du}{dx} = 2x ), so ( du = 2x , dx ).
[ \int (x^2 + 1)^{50} \cdot 2x , dx = \int u^{50} \cdot \frac{du}{dx} , dx = \int u^{50} , du ]
[ \int u^{50} , du = \frac{u^{51}}{51} + C = \frac{(x^2 + 1)^{51}}{51} + C ]
📌 Example: ( \int (x^2 + 1)^{50} \cdot 2x , dx = \frac{(x^2 + 1)^{51}}{51} + C )
⚠️ Caution: Do NOT simply add 1 to the power 50 in the original problem — that is incorrect. The power rule for integrals applies only to functions that are not compositions of other functions. Here, ( (x^2 + 1)^{50} ) is a composition of two functions, so substitution is required.
Tables of Basic Integration Formulas
The lecture references Table 5.2.1 of basic integration formulas to help recall standard integrals during substitution.
Integrand is the Derivative of a Known Function with Constant Added/Subtracted
When the integrand is the derivative of a known function with a constant added or subtracted from the independent variable, substitution is straightforward.
Example 2: Sine Function with Constant Added
[ \int \sin(x + 9) , dx ]
Let ( u = x + 9 ). Then ( \frac{du}{dx} = 1 ), so ( du = dx ).
[ \int \sin(x + 9) , dx = \int \sin(u) , du = -\cos(u) + C = -\cos(x + 9) + C ]
📌 Example: ( \int \sin(x + 9) , dx = -\cos(x + 9) + C )
Example 3: Power Function with Constant Subtracted
[ \int (x - 8)^{23} , dx ]
Let ( u = x - 8 ). Then ( du = dx ).
[ \int (x - 8)^{23} , dx = \int u^{23} , du = \frac{u^{24}}{24} + C = \frac{(x - 8)^{24}}{24} + C ]
📌 Example: ( \int (x - 8)^{23} , dx = \frac{(x - 8)^{24}}{24} + C )
Integrand is Derivative with Constant Multiplying the Independent Variable
When a constant multiplies the independent variable, the substitution introduces a factor from the derivative.
Example 4: Cosine with Constant Coefficient
[ \int \cos(5x) , dx ]
Let ( u = 5x ). Then ( du = 5 , dx ), so ( dx = \frac{du}{5} ).
[ \int \cos(5x) , dx = \int \cos(u) \cdot \frac{du}{5} = \frac{1}{5} \int \cos(u) , du ]
[ = \frac{1}{5} \sin(u) + C = \frac{1}{5} \sin(5x) + C ]
📌 Example: ( \int \cos(5x) , dx = \frac{1}{5} \sin(5x) + C )
Example 5: Trigonometric Composition with Derivative
[ \int \sin^2(x) \cos(x) , dx ]
Let ( u = \sin(x) ). Then ( du = \cos(x) , dx ).
[ \int \sin^2(x) \cos(x) , dx = \int u^2 , du = \frac{u^3}{3} + C = \frac{\sin^3(x)}{3} + C ]
📌 Example: ( \int \sin^2(x) \cos(x) , dx = \frac{\sin^3(x)}{3} + C )
Example 6: Substitution with Square Root
[ \int \frac{\cos(\sqrt{x})}{\sqrt{x}} , dx ]
Let ( u = \sqrt{x} ). Then ( \frac{du}{dx} = \frac{1}{2\sqrt{x}} ), so ( du = \frac{dx}{2\sqrt{x}} ) and ( \frac{dx}{\sqrt{x}} = 2 , du ).
[ \int \frac{\cos(\sqrt{x})}{\sqrt{x}} , dx = \int 2\cos(u) , du = 2\int \cos(u) , du ]
[ = 2\sin(u) + C = 2\sin(\sqrt{x}) + C ]
📌 Example: ( \int \frac{\cos(\sqrt{x})}{\sqrt{x}} , dx = 2\sin(\sqrt{x}) + C )
Example 7: Complicated Substitution with Fractional Power
[ \int t^4 \sqrt[3]{3 - 5t^5} , dt ]
Let ( u = 3 - 5t^5 ). Then ( \frac{du}{dt} = -25t^4 ), so ( du = -25t^4 , dt ), which gives ( -\frac{1}{25} , du = t^4 , dt ).
[ \int t^4 \sqrt[3]{3 - 5t^5} , dt = \int t^4 (3 - 5t^5)^{1/3} , dt ]
Substitute: ( u = 3 - 5t^5 ), ( t^4 , dt = -\frac{1}{25} , du )
[ \int u^{1/3} \cdot \left(-\frac{1}{25}\right) , du = -\frac{1}{25} \int u^{1/3} , du ]
[ = -\frac{1}{25} \cdot \frac{u^{4/3}}{4/3} + C = -\frac{1}{25} \cdot \frac{3}{4} u^{4/3} + C ]
[ = -\frac{3}{100} u^{4/3} + C = -\frac{3}{100} (3 - 5t^5)^{4/3} + C ]
📌 Example: ( \int t^4 \sqrt[3]{3 - 5t^5} , dt = -\frac{3}{100}(3 - 5t^5)^{4/3} + C )
💡 Why this matters: The choice of ( u = 3 - 5t^5 ) is strategic because its derivative ( -25t^4 ) appears as a factor (up to a constant) in the original integrand, allowing complete substitution.
⭐ Key Takeaways
Integration by substitution is the inverse of the chain rule and requires choosing ( u = g(x) ) such that the derivative ( du/dx ) matches factors present in the integrand. The 5-step procedure ensures systematic transformation: choose ( u ), compute ( du/dx ), substitute, integrate in ( u ), and replace ( u ) with the original expression. The power rule cannot be applied directly to composite functions — substitution must be used first. The constant factor from ( du/dx ) must be carefully accounted for when it is not 1, often introducing a reciprocal factor like ( 1/5 ) or ( -1/25 ). Success in choosing ( u ) comes from practice; the goal is to eliminate all ( x )-terms and leave a simpler integral in ( u ).
🧠 Quick Revision Questions
-
What is the general formula for integration by substitution, and how is it derived from the chain rule?
-
For ( \int (x^2 + 1)^{50} \cdot 2x , dx ), what substitution is made, and why would adding 1 directly to the power 50 be incorrect?
-
In the 5-step substitution procedure, what condition must be satisfied after Step 3 before proceeding to Step 4?
-
When integrating ( \int \cos(5x) , dx ), what is ( du ) and how does the factor ( 1/5 ) arise in the solution?
-
For the complicated example ( \int t^4 \sqrt[3]{3 - 5t^5} , dt ), what is the value of ( du/dt ) and how is ( t^4 , dt ) expressed in terms of ( du )?
📘 Lecture 27 — Sigma Notation
📖 Overview: This lecture introduces sigma notation as a compact method for writing lengthy sums in mathematics. It covers how to read, write, and manipulate sums using sigma notation, including changing indices and applying properties that will be essential for calculus and other advanced mathematics.
🗂️ Topics Covered
Sigma notation is used to write lengthy sums in compact form. The lecture covers the basic structure of sigma notation including upper and lower limits and the index of summation, examples of writing sums with sigma notation, changing the index of summation, representing general sums with subscript notation, properties of sigma notation, sum formulas in closed form, and a theorem on summation formulas.
📝 Lecture Summary
Sigma Notation Introduction
Sigma notation is used to write lengthy sums in compact form. Sigma or Σ is an uppercase letter in Greek, and this symbol is called sigma or summation as it is used to represent lengthy sums.
Consider the sum: 1² + 2² + 3² + 4² + 5². Every term is the square of an integer from 1 to 5. Let's assign these integers a variable k and keep in mind that k can take on values from 1 to 5. Then we can say that k² represents each element in the sum. This can be written as:
5
Σ k²
k=1
This reads as "Summation of k² where k goes from 1 to 5".
Reading and Writing Sigma Notation
Examples of sigma notation:
8
Σ k³ = 4³ + 5³ + 6³ + 7³ + 8³
k=4
5
Σ 2k = 2(1) + 2(2) + 2(3) + 2(4) + 2(5) = 2 + 4 + 6 + 8 + 10
k=1
5
Σ (-1)^k (2k + 1) = 1 - 3 + 5 - 7 + 9 - 11
k=0
🔑 Definition — Upper limit: The number on the top of the sigma notation, indicating the last value of the index. 🔑 Definition — Lower limit: The number at the bottom of the sigma notation, indicating the first value of the index. 🔑 Definition — Index of summation: The letter (often k, i, j, or m) that takes on values from the lower limit to the upper limit.
The letter k is not required to represent the index of summation. We could use i, j, m, etc.
📌 Example: All of these denote the same sum:
5 5 5
Σ 1/i, Σ 1/n, Σ 1/j
i=1 n=1 j=1
They all represent: 1 + 1/2 + 1/3 + 1/4 + 1/5
Special Cases of Sigma Notation
If the upper and lower limits are the same, the summation reduces to just one term:
2
Σ k³ = 2³ = 8
k=2
If the expression to the right of the summation does not involve the index of the summation:
5
Σ 2 = 2 + 2 + 2 + 2 + 2 = 10
i=1
6
Σ x³ = x³ + x³ + x³ + x³ = 4x³
k=3
Different Ways to Write the Same Sum
A sum can be written in more than one way with sigma notation if we change the limits of the summation.
📌 Example: The following summations all represent the sum of the first five positive integers (2 + 4 + 6 + 8 + 10):
5
Σ 2k = 2 + 4 + 6 + 8 + 10
k=1
4
Σ (2k + 2) = 2 + 4 + 6 + 8 + 10
k=0
6
Σ (2k - 2) = 2 + 4 + 6 + 8 + 10
k=2
Changing the Index of Summation
It is often necessary and useful to change a given sigma notation for a sum to another sigma notation with different limits of summation.
📌 Example: Express the sum in sigma notation so that the lower limit is 0 rather than 3:
7
Σ 5^(k-2)
k=3
Define a new summation index j by the formula: j = k - 3, so k = j + 3. As k runs from 3 to 7, j runs from 0 to 4.
7 4 4
Σ 5^(k-2) = Σ 5^((j+3)-2) = Σ 5^(j+1)
k=3 j=0 j=0
You should check that both notations represent the same sum by putting values into the index.
Representing General Sums
To represent a general sum, we use letters with subscripts.
📌 Example: a₁ + a₂ + a₃ represents a general sum with three terms. This can be written in sigma notation as:
3
Σ a_k = a₁ + a₂ + a₃
k=1
A general sum with n terms can be written as:
n
Σ b_k = b₁ + b₂ + b₃ + ... + b_n
k=1
Properties of Sigma Notation
Here are the key properties of sigma notation:
- Constant Multiple Rule:
n n
Σ c·a_k = c·Σ a_k
k=1 k=1
A constant factor can be moved outside the summation.
- Sum Rule:
n n n
Σ (a_k + b_k) = Σ a_k + Σ b_k
k=1 k=1 k=1
- Difference Rule:
n n n
Σ (a_k - b_k) = Σ a_k - Σ b_k
k=1 k=1 k=1
- Summation of a Constant:
n
Σ c = n·c
k=1
When summing a constant c from k=1 to n, the result is n times c.
Sum Formulas in Closed Form
Here are sum formulas in sigma notation that will be helpful:
- Sum of first n positive integers:
n
Σ k = n(n+1)/2
k=1
- Sum of squares of first n positive integers:
n
Σ k² = n(n+1)(2n+1)/6
k=1
- Sum of cubes of first n positive integers:
n
Σ k³ = [n(n+1)/2]²
k=1
📌 Example:
30 30 30 30
Σ k(k+1) = Σ (k²+k) = Σ k² + Σ k
k=1 k=1 k=1 k=1
Using the formulas:
= 30(31)(61)/6 + 30(31)/2
= 9455 + 465
= 9920
Theorem 5.4.2 a) and b)
In a formula involving summation:
n
Σ k² = n(n+1)(2n+1)/6
k=1
This means: 1² + 2² + ... + n² = n(n+1)(2n+1)/6
🔑 Definition — Open form: The left part of the equation showing the sum written term by term (e.g., 1² + 2² + ... + n²). 🔑 Definition — Closed form: The right part showing the sum expressed as a formula without the summation symbol (e.g., n(n+1)(2n+1)/6).
⭐ Key Takeaways
Sigma notation is a powerful shorthand for writing and manipulating lengthy sums. The key components are the upper limit, lower limit, and index of summation. A sum can be rewritten with different limits by transforming the index variable appropriately. The properties of sigma notation allow constants to be factored out and sums to be split or combined. The sum formulas for k, k², and k³ provide closed-form expressions that make evaluating sums efficient without adding terms individually. Understanding open form versus closed form is important for recognizing when a summation has been simplified to a direct formula.
🧠 Quick Revision Questions
- What does the notation "Σ" represent in mathematics?
- If the upper and lower limits of a summation are the same number, how many terms does the sum contain?
- How would you rewrite the sum from k=3 to k=7 using an index j that starts at 0?
- What is the closed form formula for the sum of squares of the first n positive integers?
- What does the property Σ(c·a_k) = c·Σ(a_k) allow you to do?
📘 Lecture 28 — Area as Limits
📖 Overview: This lecture introduces the precise definition of area for a region bounded by a continuous, non-negative function, the x‑axis, and vertical lines x = a and x = b. It explains how area is defined as the limit of sums of rectangular approximations and discusses computational methods, including numerical approximations.
🗂️ Topics Covered
Definition of area as a limit of sums of rectangle areas; technical considerations about choosing sample points; usage of left endpoints, right endpoints, and midpoints; worked examples calculating area under the line y = x and the parabola y = 9 – x²; numerical approximations using computers for large n.
📝 Lecture Summary
Definition of Area
The area of a region R bounded below by the x‑axis, on the sides by x = a and x = b, and above by a continuous non‑negative curve y = f(x) can be defined using limits of sums of rectangle areas. The interval [a, b] is divided into n equal subintervals of width Δx = (b – a)/n, and a point x_k is chosen in each subinterval. Over each subinterval, a rectangle of height f(x_k) and width Δx is constructed. The total area of all rectangles is the Riemann sum:
[ \text{area}(R_n) = \sum_{k=1}^{n} f(x_k^*) \Delta x ]
The exact area A is defined as the limit of these sums as n → +∞:
[ A = \lim_{n \to +\infty} \sum_{k=1}^{n} f(x_k^*) \Delta x ]
🔑 Definition — Area as a Limit: The area under a curve y = f(x) (non‑negative, continuous) from x = a to x = b is ( A = \lim_{n \to +\infty} \sum_{k=1}^{n} f(x_k^) \Delta x ), where Δx = (b – a)/n and x_k is any point in the k‑th subinterval.
💡 Why this matters: This limit definition forms the foundation for the definite integral, which will be used to compute areas and many other quantities in calculus.
Some Technical Considerations
The points x*_k are chosen arbitrarily in each subinterval. Since f is continuous, the limit of the sum does not depend on which points are chosen. Common choices are:
- Left endpoint: x*k = x{k-1} = a + (k – 1)Δx
- Right endpoint: x*_k = x_k = a + kΔx
- Midpoint: x*k = ½(x{k-1} + x_k) = a + (k – ½)Δx
Example — Right Endpoints for y = x on [1,2]
Find the area under y = x from 1 to 2 using right endpoints.
Δx = (2 – 1)/n = 1/n. Right endpoint: x*_k = 1 + k(1/n) = 1 + k/n.
Area of k-th rectangle: f(x*_k)Δx = (1 + k/n)·(1/n).
Sum: [ \sum_{k=1}^{n} \left(1 + \frac{k}{n}\right)\frac{1}{n} = \frac{1}{n}\sum_{k=1}^{n}1 + \frac{1}{n^2}\sum_{k=1}^{n}k = \frac{1}{n}·n + \frac{1}{n^2}·\frac{n(n+1)}{2} = 1 + \frac{n+1}{2n} = \frac{3}{2} + \frac{1}{2n} ]
Limit as n → +∞: A = 3/2.
📌 Example: Using right endpoints, the area under y = x from 1 to 2 is 3/2, matching the trapezoid area formula A = ½·h·(b₁ + b₂) = ½·1·(1+2) = 3/2.
Example — Left Endpoints for y = x on [1,2]
Same curve, using left endpoints: x*_k = 1 + (k – 1)/n.
Sum: [ \sum_{k=1}^{n} \left(1 + \frac{k-1}{n}\right)\frac{1}{n} = 1 + \frac{1}{n^2}·\frac{(n-1)n}{2} = 1 + \frac{n-1}{2n} = \frac{3}{2} - \frac{1}{2n} ]
Limit as n → +∞: A = 3/2.
Example — Right Endpoints for y = 9 – x² on [0,3]
Find the area under y = 9 – x² from 0 to 3 using right endpoints.
Δx = 3/n, x_k = 3k/n. f(x_k) = 9 – (3k/n)² = 9 – 9k²/n².
Sum: [ \sum_{k=1}^{n} \left(9 - \frac{9k^2}{n^2}\right)\frac{3}{n} = \frac{27}{n}\sum_{k=1}^{n}1 - \frac{27}{n^3}\sum_{k=1}^{n}k^2 = \frac{27}{n}·n - \frac{27}{n^3}·\frac{n(n+1)(2n+1)}{6} = 27 - \frac{9}{2}·\frac{(n+1)(2n+1)}{n^2} ]
Limit as n → +∞: A = 27 – (9/2)·2 = 27 – 9 = 18.
Numerical Approximations of Area
Manual limit calculations can be tedious or impossible. For practical purposes, use large n with a computer. Example: y = 9 – x² on [0,3] with n = 10, 20, 50.
| n | Left endpoint | Right endpoint | Midpoint |
|---|---|---|---|
| 10 | 19.305000 | 16.605000 | 18.02250 |
| 20 | 18.663750 | 17.313750 | 18.005625 |
| 50 | 18.268200 | 17.728200 | 18.000900 |
The true area is 18. Midpoint approximations converge fastest.
⭐ Key Takeaways
The area under a continuous non‑negative curve is defined as the limit of Riemann sums as the number of rectangles goes to infinity. The choice of sample point (left, right, or midpoint) does not affect the limit, but midpoint gives the best numerical approximations. This limit definition is the foundation for the definite integral. Computing these limits often requires formulas for sums of integers and squares. Numerical methods with large n provide good approximations when exact limits are impractical.
🧠 Quick Revision Questions
- Write the definition of area under a curve using a limit of a sum.
- What is Δx when dividing [a, b] into n equal subintervals?
- For the curve y = x on [1, 2], compute the sum using left endpoints and find its limit.
- Why does the choice of sample point (left, right, or midpoint) not affect the exact area?
- Which approximation method (left, right, or midpoint) gives the most accurate result for a given n?
📘 Lecture 29 — The Definite Integral
📖 Overview: This lecture formally defines the definite integral as a limit of Riemann sums, extending the concept of area under a curve to functions with both positive and negative values. It introduces the notation, properties, and key theorems that form the foundation for evaluating definite integrals efficiently.
🗂️ Topics Covered
The lecture covers the definition of the definite integral as a limit of Riemann sums, the definite integral for continuous functions with nonnegative values, functions with mixed positive and negative values, and functions with discontinuities. It also presents essential properties of the definite integral and inequalities involving definite integrals, along with the conditions for integrability.
📝 Lecture Summary
Definition of Definite Integral
The lecture begins by addressing the limitation of using equal-width rectangles for area approximation. A more general approach allows subintervals of varying widths. The interval [a, b] is subdivided into n subintervals with widths Δx₁, Δx₂, Δx₃, ..., Δxₙ. These subintervals form a partition of the interval.
The largest subinterval width is called the mesh size of the partition, denoted as max Δxₖ. When max Δxₖ → 0, the width of EVERY rectangle tends to zero, ensuring that the approximation fills the entire area under the curve.
The sum Σ f(xₖ)Δxₖ* is called the Riemann Sum, named after German mathematician Bernhard Riemann.
🔑 Definition — Mesh size: The largest subinterval width in a partition of [a, b], denoted as max Δxₖ.
Definite Integral of continuous functions with nonnegative values
For a continuous function f with f(x) ≥ 0 for all x in [a, b], the area under the curve y = f(x) over [a, b] is defined as:
A = lim(max Δxₖ → 0) Σ f(xₖ)Δxₖ*
This limit is given a special notation called the definite integral:
📐 Formula: ∫ₐᵇ f(x)dx = lim(max Δxₖ → 0) Σ f(xₖ)Δxₖ*
Here, a and b are called the lower limit and upper limit of integration, respectively.
The definite integral represents the area under the curve y = f(x) over [a, b].
📌 Example: Evaluate ∫₂⁴ (x - 1)dx
The region is a trapezoid with height h = 2, base₁ = 1, and base₂ = 3. Using geometry: Area = ½(2)(1 + 3) = 4 Therefore, ∫₂⁴ (x - 1)dx = 4
💡 Why this matters: The goal is to evaluate definite integrals efficiently rather than using the limit definition each time.
Definite Integral of continuous functions with negative and positive values
For continuous functions that assume both positive and negative values on [a, b], the Riemann sum gives the net signed area. Rectangles above the x-axis contribute positive area, while rectangles below the x-axis contribute negative area.
Definition 5.6.2: If f is continuous on [a, b] and can assume both positive and negative values, then the net signed area A between y = f(x) and the interval [a, b] is defined by:
∫ₐᵇ f(x)dx = lim(max Δxₖ → 0) Σ f(xₖ)Δxₖ*
The net signed area represents the difference: (total area above x-axis) - (total area below x-axis). If the result is negative, it indicates the area below is larger than the area above.
📌 Example: Evaluate ∫₂⁴ (1 - x)dx
The region lies below the interval [2, 4]. It is a trapezoid with area 4 (using its dimensions). Since it's below the x-axis: ∫₂⁴ (1 - x)dx = -4
Definite Integral of functions with discontinuities
For continuous functions, the limit defining the definite integral always exists. For discontinuous functions, the limit may or may not exist.
Definition 5.6.3: If f is defined on [a, b], then f is called Riemann integrable (or simply integrable) on [a, b] if the limit exists. If f is integrable, then the definite integral is defined by the same limit formula.
Definition 5.6.4: (a) If a is in the domain of f: ∫ₐᵃ f(x)dx = 0 (b) If f is integrable on [a, b]: ∫ᵇₐ f(x)dx = -∫ₐᵇ f(x)dx
Properties of the Definite Integral
Theorem 5.6.5: If f and g are integrable on [a, b] and c is a constant, then:
(a) ∫ₐᵇ cf(x)dx = c∫ₐᵇ f(x)dx (Constant multiple rule) (b) ∫ₐᵇ [f(x) + g(x)]dx = ∫ₐᵇ f(x)dx + ∫ₐᵇ g(x)dx (Sum rule) (c) ∫ₐᵇ [f(x) - g(x)]dx = ∫ₐᵇ f(x)dx - ∫ₐᵇ g(x)dx (Difference rule)
Theorem 5.6.6: If f is integrable on a closed interval containing points a, b, and c, then:
∫ₐᵇ f(x)dx = ∫ₐᶜ f(x)dx + ∫ᶜᵇ f(x)dx
This holds regardless of how the three points are ordered.
📌 Example: Given: ∫₁⁵ f(x)dx = -1, ∫₃⁵ f(x)dx = 3, ∫₃⁵ g(x)dx = 4 Find: ∫₁³ f(x)dx
Using Theorem 5.6.6 with a=1, b=5, c=3: ∫₁⁵ f(x)dx = ∫₁³ f(x)dx + ∫₃⁵ f(x)dx So: ∫₁³ f(x)dx = ∫₁⁵ f(x)dx - ∫₃⁵ f(x)dx = -1 - 3 = -4
Inequalities involving Definite Integral
Theorem 5.6.7: (a) If f is integrable on [a, b] and f(x) ≥ 0 for all x in [a, b], then ∫ₐᵇ f(x) ≥ 0 (b) If f and g are integrable on [a, b] and f(x) ≥ g(x) for all x in [a, b], then ∫ₐᵇ f(x) ≥ ∫ₐᵇ g(x)
These inequalities also work with <, >, and ≤.
📌 Example: Show that ∫₀¹ [2x³ - 5 + cos(x)] dx is negative.
On [0, 1], cos(x) > 0 but 2x³ - 5 < 0. The overall function f(x) is < 0 on the interval. From Theorem 5.6.7(a) (with < instead of ≥), the integral is negative.
Definition 5.6.8: A function f is bounded on [a, b] if there exists a positive number M such that -M ≤ f(x) ≤ M for all x in [a, b]. Geometrically, the graph lies between the lines y = -M and y = M.
📌 Example: y = x² on [-2, 2] is bounded since its graph lies between y = 0 and y = 5.
Theorem 5.6.9: (a) If f is continuous on [a, b], then f is integrable on [a, b]. (b) If f is bounded on [a, b] and has only finitely many points of discontinuity on [a, b], then f is integrable on [a, b]. (c) If f is not bounded on [a, b], then f is not integrable on [a, b].
⭐ Key Takeaways
The definite integral is defined as the limit of Riemann sums with varying subinterval widths, where the mesh size approaches zero. For continuous nonnegative functions, it represents the area under the curve; for functions with positive and negative values, it gives the net signed area. The fundamental properties include the constant multiple rule, sum/difference rules, and the additivity of intervals (splitting the integral at any point). Inequalities show that nonnegative functions have nonnegative integrals, and if one function dominates another, its integral is larger. Crucially, continuity guarantees integrability, but bounded functions with finitely many discontinuities are also integrable. Understanding these foundational concepts is essential before learning the Fundamental Theorem of Calculus.
🧠 Quick Revision Questions
-
What is the mesh size of a partition, and why is it important in the definition of the definite integral?
-
How does the definite integral of a function with both positive and negative values differ geometrically from the definite integral of a nonnegative function?
-
If ∫₁³ f(x)dx = 5 and ∫₃⁷ f(x)dx = -2, what is ∫₁⁷ f(x)dx? Which theorem justifies your answer?
-
State the conditions under which a function is guaranteed to be integrable on a closed interval [a, b].
-
If f(x) ≥ g(x) for all x in [a, b], what can you conclude about their definite integrals over [a, b]? Provide the formal statement.