Math 231E, Lecture 13. Area & Riemann Sums

Similar documents
() Chapter 8 November 9, / 1

MATH 408N PRACTICE FINAL

Lecture 11: Extrema. Nathan Pflueger. 2 October 2013

Lecture 10: Powers of Matrices, Difference Equations

Chapter 6: The Definite Integral

Integration Made Easy

Area. A(2) = sin(0) π 2 + sin(π/2)π 2 = π For 3 subintervals we will find

Math Lecture 4 Limit Laws

1 Approximating area under curves and Riemann sums

Warm up: Recall we can approximate R b

Distance and Velocity

Exam Question 10: Differential Equations. June 19, Applied Mathematics: Lecture 6. Brendan Williamson. Introduction.

Last week we looked at limits generally, and at finding limits using substitution.

Slope Fields: Graphing Solutions Without the Solutions

MATH 408N PRACTICE FINAL

Math6100 Day 8 Notes 6.1, 6.2 & 6.3, Area

Calculus: What is a Limit? (understanding epislon-delta proofs)

Test 3 Review. y f(a) = f (a)(x a) y = f (a)(x a) + f(a) L(x) = f (a)(x a) + f(a)

Precalculus idea: A picture is worth 1,000 words

1.10 Continuity Brian E. Veitch

MAT137 - Term 2, Week 2

1 5 π 2. 5 π 3. 5 π π x. 5 π 4. Figure 1: We need calculus to find the area of the shaded region.

Lecture The Definite Integral (1 of 2) MTH 124

Day 2 Notes: Riemann Sums In calculus, the result of f ( x)

Lecture 2. When we studied dimensional analysis in the last lecture, I defined speed. The average speed for a traveling object is quite simply

Integrals. D. DeTurck. January 1, University of Pennsylvania. D. DeTurck Math A: Integrals 1 / 61

Math 231E, Lecture 25. Integral Test and Estimating Sums

MATH 1271 Wednesday, 5 December 2018

Announcements. Topics: Homework:

2.3 Maxima, minima and second derivatives

Chapter 5 Integrals. 5.1 Areas and Distances

It has neither a local maximum value nor an absolute maximum value

(Riemann) Integration Sucks!!!

1 Lecture 25: Extreme values

Math101, Sections 2 and 3, Spring 2008 Review Sheet for Exam #2:

Numerical Integration

PHY 101L - Experiments in Mechanics

Lecture 1: Period Three Implies Chaos

2. l = 7 ft w = 4 ft h = 2.8 ft V = Find the Area of a trapezoid when the bases and height are given. Formula is A = B = 21 b = 11 h = 3 A=

ExtremeValuesandShapeofCurves

1. (25 points) Consider the region bounded by the curves x 2 = y 3 and y = 1. (a) Sketch both curves and shade in the region. x 2 = y 3.

0 Real Analysis - MATH20111

MATH Max-min Theory Fall 2016

Please bring the task to your first physics lesson and hand it to the teacher.

Lecture 5: Continuity II

Lecture 4: Constructing the Integers, Rationals and Reals

MITOCW ocw f07-lec37_300k

Absolute and Local Extrema

Double Integrals. P. Sam Johnson. February 4, P. Sam Johnson (NIT Karnataka) (NIT Karnataka) Double Integrals February 4, / 57

V. Graph Sketching and Max-Min Problems

TAYLOR POLYNOMIALS DARYL DEFORD

CS1800: Sequences & Sums. Professor Kevin Gold

Lecture 3: Sizes of Infinity

Math 101: Course Summary

2tdt 1 y = t2 + C y = which implies C = 1 and the solution is y = 1

Lecture 9: Taylor Series

We saw in Section 5.1 that a limit of the form. arises when we compute an area.

MATH141: Calculus II Exam #4 review solutions 7/20/2017 Page 1

Note: Please use the actual date you accessed this material in your citation.

CS 124 Math Review Section January 29, 2018

Improper integrals. f(x) = - m k x 2

CH 2: Limits and Derivatives

The Lebesgue Integral

Lecture 14, Thurs March 2: Nonlocal Games

INTEGRATION: THE FUNDAMENTAL THEOREM OF CALCULUS MR. VELAZQUEZ AP CALCULUS

Math 291-3: Lecture Notes Northwestern University, Spring 2016

Understanding Exponents Eric Rasmusen September 18, 2018

Lesson 6-1: Relations and Functions

AP Calculus AB Summer Assignment

n=1 ( 2 3 )n (a n ) converges by direct comparison to

Finding local extrema and intervals of increase/decrease

Section 5.1. Areas and Distances. (1) The Area Problem (2) The Distance Problem (3) Summation Notation

1 Review of the dot product

RAMs.notebook December 04, 2017

MATH 20B MIDTERM #2 REVIEW

LAB 8: INTEGRATION. Figure 1. Approximating volume: the left by cubes, the right by cylinders

Russell s logicism. Jeff Speaks. September 26, 2007

DEFINITE INTEGRALS & NUMERIC INTEGRATION

Guide to Proofs on Sets

Predator - Prey Model Trajectories are periodic

CS 542G: The Poisson Problem, Finite Differences

Math Circle at FAU 10/27/2018 SOLUTIONS

Lecture 10. (2) Functions of two variables. Partial derivatives. Dan Nichols February 27, 2018

Sections 2.1, 2.2 and 2.4: Limit of a function Motivation:

MATH 18.01, FALL PROBLEM SET #5 SOLUTIONS (PART II)

f(x) g(x) = [f (x)g(x) dx + f(x)g (x)dx

Numerical Methods. King Saud University

Partial Fractions. June 27, In this section, we will learn to integrate another class of functions: the rational functions.

5.1 Area and Estimating with Finite Sums

An analogy from Calculus: limits

INTEGRATION: AREAS AND RIEMANN SUMS MR. VELAZQUEZ AP CALCULUS

Why Doesn t the Moon Hit us? In analysis of this question, we ll look at the following things: i. How do we get the acceleration due to gravity out

Countability. 1 Motivation. 2 Counting

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER / Lines and Their Equations

F (x) is an antiderivative of f(x) if F (x) = f(x). Lets find an antiderivative of f(x) = x. We know that d. Any ideas?

AP Calculus AB Summer Assignment

WEEK 7 NOTES AND EXERCISES

The area under a curve. Today we (begin to) ask questions of the type: How much area sits under the graph of f(x) = x 2 over the interval [ 1, 2]?

Solving with Absolute Value

We first review various rules for easy differentiation of common functions: The same procedure works for a larger number of terms.

Transcription:

Math 23E, Lecture 3. Area & Riemann Sums Motivation for Integrals Question. What is an integral, and why do we care? Answer. A tool to compute a complicated expression made up of smaller pieces. Example. Some things that we use integrals to compute:. Let us say that we are given a function y = f(x), and we want to know the area under the curve: 4 3 2 2 3 4 2. Let us say that we are given some crazy curve: 2 5 5 2 4 8 2 x

How long is the curve? 3. Given the dimensions of a tub filled with water, how much water does it hold? How much work does it take to move all of that water out? 4. How much energy does it take to leave a planet s gravity well? What s the escape velocity of Earth? The main idea behind all integration comes in three steps:. Break an object into n pieces. 2. Approximate those pieces by something we can compute, buy exploiting some kind of smallness 3. Add those pieces together. Take limit as n. 2 Area under a curve Let us say that we want to find the area under a curve:.2.8..4.2 2 3 4 Specifically, we are given some function f(x), and we want the area under the curve from x = to x = 4. 2

Step. Break it into n pieces. We will first break this area up into n vertical strips. If there are n of them, then they have to each be x = 4/n wide, so we must consider the domains [(k ) x, k x], k =, 2, 3,..., n. Notice that the first subdomain is k = which is [, x] = [, 4/n] and the last subdomain is [ [(n ) x, n x] = (n ) 4 n, n 4 ] = [4 4n ] n, 4. For example, if we choose n = 2, then one of these domains is [8/5, 9/5), and we need to compute the area under the curve on this subdomain:.2.8..4.2 2 3 4 We can blow this picture up and concentrate on the region of interest:.2.8..4.2.5..7.8.9 3

Step 2. Approximate this area, exploiting a smallness. Notice that if we can compute the area under the curve for the subdomain [8/5, 9/5] = [.,.8] (and all the other areas), then we can get the total area by adding all of these up. However, this problem isn t any simpler than the original problem. We make it simpler by approximating. Let us replace the area on the subdomain we considered above with a rectangle. The question arises, of course: which rectangle? We have several choices..2.8..4.2.5..7.8.9.2.8..4.2.5..7.8.9 In the left figure, we decided to use the height of the function on the left-hand end of the domain to define the rectangle, i.e. the height of the rectange is defined to be f(.). This will, not surprisingly, be called the left-hand rule. In the right figure, we decided to use the height of the function on the right-hand end of the domain to define the rectangle, i.e. the height of the rectange is defined to be f(.8). This will, not surprisingly, be called the right-hand rule. There are other possibilities: We could choose the midpoint of the interval, and define the height to be f(.7). This is the midpoint rule. We could average the two values at the left- and right-hand endpoints, i.e. choose the height to be (f(.) + f(.8)). 2 This is called the averaging rule or the trapezoid rule (the motivation for the first name should be obvious, the second is also once one sees the correct picture. More on this below.) We can choose the largest value the function ever attains in the interval, i.e. we choose the height to be max x [.,.8] f(x). This is called the upper rule. We can choose the smallest value the function ever attains in the interval, i.e. we choose the height to be min x [.,.8] f(x). This is called the lower rule. All of these rules will give slightly different answers. But they give an answer that we can compute. More generally, when computing the area associated to the domain [k x, (k + ) x], we choose x k [k x, (k + ) x] by some rule, and then approximate the area by Area = width height = x f(x k). 4

Step 3. Add together; take limit. The area of the kth rectange is f(x k ) x. Thus our approximation to the total area is f(x k) x = f(x ) x + f(x 2) x + + f(x n) x. Of course, this is an incorrect number! We have replaced each real small area with a rectangular area. But notice that as we take more and more subdomains, the approximation error becomes smaller and smaller. So there is a hope that if we take the limit as the number of subdomains goes to infinity. Thus we define 4 f(x) dx = lim f(x k) x, if it exists. There is another subtle problem to worry about. Notice that before we make some set of choices for the x k to get the rectangle heights. Clearly, this will affect the computation, but if we are doing the right thing, then maybe it shouldn t matter? So let us make a definition: Definition. A function is called integrable on the domain [a, b] if the procedure described above (break into pieces, approximate rectangles by some choice, then take limit) always gives the same answer. Theorem. Every continuous function, or even piecewise continuous function, is integrable. This theorem is very useful, since it tells us that we can use whatever rectangle rule we find convenient for a given problem, and this won t mess up the answer. Let us work out an example. We want to compute x 2 dx. We first do the case where n = 4 to warm up, then compute the general n formula and then the limit. If n = 4, x = /4, and our four subdomains are [, /4], [/4, /2], [/2, 3/4], [3/4, ]. The left-hand rule says that the four rectangle heights we will use are f() =, f(/4) = /, f(/2) = /4, f(3/4) = 9/. So our sum is 4 + 4 + 4 4 + 9 4 = ( + 4 + 4 + 9 ) = 4 4 = 7 32. See picture: 5

.2.8..4.2.2.4..8 The right-hand rule says that the four rectangle heights we will use are f(/4) = /, f(/2) = /4, f(3/4) = 9/, f() =. So our sum is See picture: 4 + 4 4 + 9 4 + 4 = ( 4 + 4 + 9 ) + = 4 3 = 5 32..2.8..4.2.2.4..8 Note that although neither of these calculations are exact, we have determined upper and lower bounds for the integral: clearly the first number is smaller, and the second number larger, than the area under the curve. So we have established that 7 32 x 2 dx 5 32. Let us now consider the general n formula. In this case, we will have the subdomains [(k ) x, k x], with k =, 2,..., n. In the left-hand rule, we will evaluate on the left-hand endpoint, so we will have f((k ) x) x = ((k ) x) 2 x = (k ) 2 n 3 = n 3 (k ) 2.

The right-hand rule will have us using the right-hand endpoint, so we have f(k x) x = (k x) 2 x = k 2 n 3 = n 3 k 2. Now, let us use the fact that k 2 = n(n + )(2n + ). Then the right-hand rule becomes, for any n, Now take the limit as n, and we have lim n(n + )(2n + ) n 3. n(n + )(2n + ) n 3 = lim n(n + )(2n + ) n 3 = lim n n lim n + n 2n + lim = n 2 = 3. For the left-hand rule, we need to work out a few substeps. If we accept the formula given above works for any n, then it will also work for n, so we have But then we also have n k 2 = Thus the left-hand rule gives lim (n )((n ) + )(2(n ) + ) n n (k ) 2 = j 2 = + j 2 = j= j= (n )n(2n ) n 3 = lim (n )n(2n ) n 3 = lim n n lim = (n )n(2n ). (n )n(2n ). n n lim 2n = n 2 = 3. If this fact seems a bit of a deus ex machina to you at this point, then rest assured, firstly, that yes it is, and secondly, that you ll know how to derive these sorts of rules yourself before too long. 7