Math 142 Business Mathematics II Minh Kha 6. Integration 6.3-4 Riemann Sums, Estimating Distance Traveled, and the Definite Integral 6.3 Estimating Distance Traveled If we know the velocity function v(t), can we estimate the distance an object has traveled in a given period of time? Example 1. Getting acquainted: Suppose a car travels at a constant velocity of 65 miles per hour for 4 hours. How far does the car travel in 4 hours? Example 2. What is the area between the curve y = 65 and the x-axis on [0, 4]? Conclusion: The distance traveled in Example 1 is equal to the area in Example 2. Observation: So we can guess that instead of estimating the distance in a given period of time t ∈ [a, b] directly, we can compute the area between the curve y = v(t) and the t-axis on the interval [a, b]. Well, this is actually a good idea that can work out not only in the situation involving with velocity and distance, but also in many other practical applications as we shall see later. This motivates us to learn how to compute or at least to estimate areas between more complicated curves! Riemann Sums Why ”SUM” here? Note that to estimate the areas, some functions are not simply just linear as we see in Example 1 and 2. They can be very curvy or even irregular! A natural approach is to divide the area we want to compute into many smaller pieces so that on those pieces, we hope we can calculate easier and after all, we need to SUM all areas of these pieces together! 1 One can repeat the above approach many times by letting the number of pieces be increased. The smaller the pieces are, the more accurate the area is estimated. 2 Problem: To find the area of the region that lies between the curve y = f (x) (with curved sides) and the x−axis between x = a and x = b. Example 3. Find the area under the curve y = (x − 1)2 on [-1,0]. Approach: We will approximate the area of the region by breaking the region into polygons (in particular, rectangles), then taking limit of the sum of areas of the polygons. We now approximate the area under the parabola y = (x − 1)2 , where x belongs to interval [-1,0] as in example 1. Step 1: Divide the interval [-1,0] into 4 subintervals of equal length (step size). Step 2: Consider the rectangles whose bases are these subintervals and whose heights are the values of the function at the right-hand endpoints of these subintervals. Step 3: Find the area of each rectangle. Step 4: Find R4 , the sum of the areas of the rectangles. This sum is an approximation of the area under the parabola. 3 Right Hand Sum (RHS): Rn (with n the number of used rectangles). Use the right endpoint rk of each subinterval Ik to determine the heights of the rectangles. Left Hand Sum (LHS): Ln (with n the number of used rectangles). Use the left endpoint lk of each subinterval Ik to determine the heights of the rectangles. LHS and RHS are special cases of Riemann sums. A Riemann sum is found by using an x-value in each subinterval to determine the height of each rectangle. The larger n (i.e. the more rectangles), the better approximation. Thus, we define the area to be the limit of the sums of the areas of the approximating rectangles when n → ∞. NOTE: It is not really necessary that we use rectangles of equal width, just that the number of rectangles increases to infinity. Example 4. Suppose an object travels with a velocity in feet per second given by v(t) = t−1 on the interval [1, 4] where t is in seconds. Estimate the distance traveled taking the left hand sums and the right hand sums for n = 3. Sketch the rectangles associated with this sum. 4 6.4 The Definite Integral We saw that the area between the curve y = f (x) and the x-axis is given by the limit of the Riemann sums as the number of rectangles increases. It turns out that this same type of limit occurs in a wide variety of situations, even when f is not necessarily a positive function. We want to generalize what we just consider in previous section. Definition 0.1. Given a continuous function f , the definite integral of f on the interval [a, b] is Z b f (x) dx = lim a n→∞ n X f (xk )∆xk k=1 where a and b are the lower limit and upper limit of the integration, respectively. The interval [a, b] is called the interval of integration. Observation 0.2. The definition of the definite integral may look quite technical, but you should remember after all, roughly speaking, AN INTEGRAL IS JUST A WAY OF SUMMING or ADDING INFINITELY MANY TERMS or PIECES TOGETHER. That’s why in its definition, we need take the limit in the process in order to make sense “infinite” sums! Z Remark 0.3. b f (x) dx is all one expression, gives a scalar value, not depend on x. In fact, we a could use any letter in place of x without changing the value of the integral. An integral need not represent an area. But for a non-negative function, an integral can be interpreted as an area. That is, if f (x) ≥ 0, then the area of the region between the graph of y = f (x) and the x-axis on the interval [a, b] is Z b f (x) dx. A= a In general, a definite integral can be interpreted as a difference of areas: A1 − A2 , where A1 is the area of the region above the x-axis and below the graph of f and A2 is the area of the region below the x-axis and above the graph of f . Example 5. Write a definite integral to represent the area in example 1. 5 Example 6. Find the value of Z 2 |x − 1|dx, −1 by finding the area of the appropriate geometric region. Properties of the Definite Integral : • If f (x) ≥ 0 for a ≤ x ≤ b, then Rb f (x) dx ≥ 0. Rb Rb • If f (x) ≥ g(x) for a ≤ x ≤ b, then a f (x) dx ≥ a g(x) dx. a • If m ≤ f (x) ≤ M for a ≤ x ≤ b, then Z m(b − a) ≤ b f (x) dx ≤ M (b − a). a Example 7. Use the fact that evalue each of the integrals. R 3√ a) 1 π dx b) Rb x dx = a Rb b 2 − a2 b 3 − a3 and a x2 dx = and properties of integral to 2 3 R3 2 (x + 3x − 1) dx 1 6 c) R3 1 f (x) dx, where ( −x + 3 f (x) = 2x2 if 1 ≤ x < 2 if 2 ≤ x ≤ 3. Example 8. Write the given sum or difference as a single integral in the form a) Z 3 Z f (x) dx + 1 5 Z f (x) dx + 3 7 f (x) dx 5 b) Z 7 Z f (x) dx − 1 f (x) dx 1 7 4 Rb a f (x) dx. Example 9. Use the properties of integrals to compare integrals. 8 R3 1 x2 dx and R31 dx, without evaluating the 1 x