Approximating Area under a curve with rectangles. To find the area under a curve we approximate the area using rectangles and then use limits to find



Similar documents
Math 113 HW #11 Solutions

Section 11.3: The Integral Test

Chapter 6: Variance, the law of large numbers and the Monte-Carlo method

AP Calculus AB 2006 Scoring Guidelines Form B

SAMPLE QUESTIONS FOR FINAL EXAM. (1) (2) (3) (4) Find the following using the definition of the Riemann integral: (2x + 1)dx


Lecture 4: Cauchy sequences, Bolzano-Weierstrass, and the Squeeze theorem

I. Chi-squared Distributions

Infinite Sequences and Series

In nite Sequences. Dr. Philippe B. Laval Kennesaw State University. October 9, 2008

Overview of some probability distributions.

Sequences and Series

4.3. The Integral and Comparison Tests

1. C. The formula for the confidence interval for a population mean is: x t, which was

AP Calculus BC 2003 Scoring Guidelines Form B

1 Correlation and Regression Analysis

Our aim is to show that under reasonable assumptions a given 2π-periodic function f can be represented as convergent series

Case Study. Normal and t Distributions. Density Plot. Normal Distributions

Learning objectives. Duc K. Nguyen - Corporate Finance 21/10/2014

Chapter 5 Unit 1. IET 350 Engineering Economics. Learning Objectives Chapter 5. Learning Objectives Unit 1. Annual Amount and Gradient Functions

Lecture 4: Cheeger s Inequality

Confidence Intervals. CI for a population mean (σ is known and n > 30 or the variable is normally distributed in the.

Properties of MLE: consistency, asymptotic normality. Fisher information.

2-3 The Remainder and Factor Theorems

Soving Recurrence Relations

Determining the sample size

GCSE STATISTICS. 4) How to calculate the range: The difference between the biggest number and the smallest number.

Chapter 5: Inner Product Spaces

Example 2 Find the square root of 0. The only square root of 0 is 0 (since 0 is not positive or negative, so those choices don t exist here).

Convexity, Inequalities, and Norms


Elementary Theory of Russian Roulette

Measures of Spread and Boxplots Discrete Math, Section 9.4

CS103X: Discrete Structures Homework 4 Solutions

Department of Computer Science, University of Otago

Confidence Intervals for One Mean

1 Computing the Standard Deviation of Sample Means

The following example will help us understand The Sampling Distribution of the Mean. C1 C2 C3 C4 C5 50 miles 84 miles 38 miles 120 miles 48 miles

INFINITE SERIES KEITH CONRAD

5: Introduction to Estimation

Lecture 3. denote the orthogonal complement of S k. Then. 1 x S k. n. 2 x T Ax = ( ) λ x. with x = 1, we have. i = λ k x 2 = λ k.

Trigonometric Form of a Complex Number. The Complex Plane. axis. ( 2, 1) or 2 i FIGURE The absolute value of the complex number z a bi is

CHAPTER 7: Central Limit Theorem: CLT for Averages (Means)

Confidence Intervals

Normal Distribution.

Partial Di erential Equations

This document contains a collection of formulas and constants useful for SPC chart construction. It assumes you are already familiar with SPC.

Solving Logarithms and Exponential Equations

University of California, Los Angeles Department of Statistics. Distributions related to the normal distribution

PROCEEDINGS OF THE YEREVAN STATE UNIVERSITY AN ALTERNATIVE MODEL FOR BONUS-MALUS SYSTEM

Chapter 7 - Sampling Distributions. 1 Introduction. What is statistics? It consist of three major areas:

CHAPTER 11 Financial mathematics

5.4 Amortization. Question 1: How do you find the present value of an annuity? Question 2: How is a loan amortized?

3. Greatest Common Divisor - Least Common Multiple

Incremental calculation of weighted mean and variance

Asymptotic Growth of Functions

Overview. Learning Objectives. Point Estimate. Estimation. Estimating the Value of a Parameter Using Confidence Intervals

NATIONAL SENIOR CERTIFICATE GRADE 12

MEI Structured Mathematics. Module Summary Sheets. Statistics 2 (Version B: reference to new book)

.04. This means $1000 is multiplied by 1.02 five times, once for each of the remaining sixmonth

Systems Design Project: Indoor Location of Wireless Devices

Lesson 17 Pearson s Correlation Coefficient

Definition. A variable X that takes on values X 1, X 2, X 3,...X k with respective frequencies f 1, f 2, f 3,...f k has mean

A probabilistic proof of a binomial identity

The analysis of the Cournot oligopoly model considering the subjective motive in the strategy selection

CHAPTER 3 THE TIME VALUE OF MONEY

Maximum Likelihood Estimators.

Building Blocks Problem Related to Harmonic Series

The Stable Marriage Problem

Hypothesis testing. Null and alternative hypotheses

Swaps: Constant maturity swaps (CMS) and constant maturity. Treasury (CMT) swaps

Z-TEST / Z-STATISTIC: used to test hypotheses about. µ when the population standard deviation is unknown

Research Article Sign Data Derivative Recovery

BINOMIAL EXPANSIONS In this section. Some Examples. Obtaining the Coefficients

Present Value Factor To bring one dollar in the future back to present, one uses the Present Value Factor (PVF): Concept 9: Present Value

Theorems About Power Series

3. If x and y are real numbers, what is the simplified radical form

Your organization has a Class B IP address of Before you implement subnetting, the Network ID and Host ID are divided as follows:

Non-life insurance mathematics. Nils F. Haavardsson, University of Oslo and DNB Skadeforsikring

Modified Line Search Method for Global Optimization

Taking DCOP to the Real World: Efficient Complete Solutions for Distributed Multi-Event Scheduling

Basic Elements of Arithmetic Sequences and Series

Universal coding for classes of sources

Bond Valuation I. What is a bond? Cash Flows of A Typical Bond. Bond Valuation. Coupon Rate and Current Yield. Cash Flows of A Typical Bond

Output Analysis (2, Chapters 10 &11 Law)

A Faster Clause-Shortening Algorithm for SAT with No Restriction on Clause Length

5 Boolean Decision Trees (February 11)

Listing terms of a finite sequence List all of the terms of each finite sequence. a) a n n 2 for 1 n 5 1 b) a n for 1 n 4 n 2

Now here is the important step

Plug-in martingales for testing exchangeability on-line

Subject CT5 Contingencies Core Technical Syllabus

Multiplexers and Demultiplexers

SECTION 1.5 : SUMMATION NOTATION + WORK WITH SEQUENCES

BENEFIT-COST ANALYSIS Financial and Economic Appraisal using Spreadsheets

5.3. Generalized Permutations and Combinations

Pre-Suit Collection Strategies

Exploratory Data Analysis

Chapter 14 Nonparametric Statistics

Transcription:

1.8 Approximatig Area uder a curve with rectagles 1.6 To fid the area uder a curve we approximate the area usig rectagles ad the use limits to fid 1.4 the area. Example 1 Suppose we wat to estimate 1. A = the area uder the curve y = 1 x, 0 x 1. f( x = 1 x 1 0.8 0.6 0.4 0. 1.5 1 0.5 0.5 1 1.5 Left edpoit approximatio curve usig rectagles as follows: 0. To approximate the area uder the curve, we ca circumscribe the 0.4 1. We divide the iterval [0, 1] ito 4 subitervals of equal legth, x = 1 0 = 1/4. This divides the 4 0.6 iterval [0, 1] ito 4 subitervals [0, 1/4], [1/4, 1/], [1/, 3/4], [3/4, 1] 0.8 each with legth x = 1/4. We label the edpoits of these subitervals as 1 x 0 = 0, x 1 = 1/4, x = /4, x 3 = 3/4, x 4 = 1. 1. 1.4 1.6 1.8.. Above each subiterval draw a rectagle with height equal to the height of the fuctio at the left ed poit of the subiterval. The values of the fuctio at the edpoits of the subitervals are x i x 0 = 0 x 1 = 1/4 x = 1/ x 3 = 3/4 x 4 = 1 f(x i = 1 x i 1 15/16 3/4 7/16 0 3. We use the sum of the areas of the approximatig rectagles to approximate the area uder the curve. We get 4 A L 4 = f(x i 1 x = f(x 0 x + f(x 1 x + f(x x + f(x 3 x = 1

1 1/4 + 15/16 1/4 + 3/4 1/4 + 7/16 1/4 = 5/3 = 0.7815 L 4 is called the left edpoit approximatio or the approximatio usig left edpoits (of the subitervals ad 4 approximatig rectagles. We see i this case that L 4 = 0.7815 > A (because the fuctio is decreasig o the iterval. There is o reaso why we should use the left ed poits of the subitervals to defie the heights of the approximatig rectagles, it is equally reasoable to use the right ed poits of the subitervals, or the midpoits or i fact a radom poit i each subiterval. Right edpoit approximatio I the picture o the left above, we use the right ed poit to defie the height of the approximatig rectagle above each subiterval, givig the height of the rectagle above [x i 1, x i ] as f(x i. This gives us iscribed rectagles. The sum of their areas gives us The right edpoit approximatio, R 4 or the approximatio usig 4 approximatig rectagles ad right edpoits. Use the table above to complete the calculatio: A R 4 = 4 f(x i x = f(x 1 x + f(x x + f(x 3 x + f(x 4 x = Is R 4 less tha A or greater tha A. Midpoit Approximatio I the picture i the ceter above, we use the midpoit of the itervals to defie the height of the approximatig rectagle. This gives us The Midpoit Approximatio or The Midpoit Rule: x m i = midpoit x m 1 = 0.15 = 1/8 x m = 0.375 = 3/8 x m 3 = 0.65 = 5/8 x m 4 = 0.65 = 7/8 f(x m i = 1 (x m i 63/64 55/64 39/64 15/64 A M 4 = 4 f(x m i x = f(x m 1 x + f(x m x + f(x m 3 x + f(x m 4 x = Geeral Riema Sum We ca use ay poit i the iterval x i [x i 1, x i ] to defie the height of the correspodig approximatig rectagle as f(x i. I the picture o the right we use radom poits

x i i each iterval to produce a rectagle with height f(x i. The sum of the areas of the rectagles gives us a approximatio for A. A 4 f(x i x = f(x 1 x + f(x x + f(x 3 x + f(x 4 x Icreasig The Number of Rectagles ad takig Limits Whe we icrease the umber of rectagles (of equal width used, usig a smaller value for x ( = the width of the rectagles, we get a better approximatio to the area. You ca see this i the pictures below for A = the area uder the curve y = 1 x, 0 x 1. The pictures show the right ed poit approximatios to A with x = 1/8, 1/16 ad 1/18 respectively: R 8 =.601565000, R 16 =.634765650, R 18 =.66750441 The pictures below show the left ed poit approximatios to the area, A, with x = 1/8, 1/16 ad 1/18 respectively. L 8 =.76565000, L 16 =.69765650, L 18 =.670567441 We see that the room for error decreases as the umber of subitervals icreases or as x 0. Thus we see that A = lim R = lim L = lim f(x i x = lim f(x i x x 0 where x i is ay poit i the iterval [x i 1, x i ]. I fact this is our defiitio of the area uder the curve o the give iterval. (If A deotes the area beeath f(x 0 where f is cotiuous o the iterval [a, b], the each iterval [x i 1, x i ] has legth x = b a for ay give. 3

Calculatig Limits of Riema sums The followig formulas are sometimes useful i calculatig Riema sums. I have attached some visual proofs at the ed of the lecture. i = ( + 1, i ( +. 1( + 1 =, 6 1.8 1.6 [ ] i 3 ( + 1 = Let us ow cosider Example 1. We wat to fid A = the area uder the curve y = 1 x 1.4 o the iterval [a, b] = [0, 1]. 1. f( x = 1 x 1 0.8 0.6 0.4 0. 1.5 1 0.5 0.5 1 1.5 0. We kow that A = lim R, where R is the right edpoit approximatio usig approximatig 0.4 rectagles. 0.6 We must calculate R ad tha fid lim 0.8 R. 1 1. We divide the iterval [0, 1] ito strips of equal legth x = 1 0 1. of the iterval [0, 1], 1.4 = 1/. This gives us a partitio 1.6 x 0 = 0, x 1 = 0 + x = 1/, x 1.8= 0 + x = /,..., x 1 = ( 1/, x = 1... We will use the right edpoit approximatio R. 3. The heights of the rectagles ca be foud from the table below: x i x 0 = 0 x 1 = 1/ x = / x 3 = 3/... x = / f(x i = 1 (x i 1 1 1/ 1 / 1 3 /... 1 / 4. R = f(x 1 x + f(x x + f(x 3 x + + f(x x = (1 1 1 (1 + 1 ( + 1 3 1 ( + + 1 1 = 1 1 ( 1 + 1 ( 1 + 1 ( 3 1 + + 1 ( 1 = 4

5. Fiish the calculatio above ad fid A = lim R usig the formula for the sum of squares ad calculatig the limit as if R were a ratioal fuctio with variable. Also A = lim L From Part 3, we have x = 1/ ad L = 1 + ( 1 1 1 + ( 1 1 + ( 1 3 1 + + ( 1 1 + 1 1 ( 1 + 1 ( 1 + 1 ( 3 1 + + 1 groupig the 1 s together, we get = 1 [ 1 + + 3 ( ] 1 + + = 1 1 3 [ 1 + + 3 + + ( 1 ] ( 1 1 ( ( 1 1 = So = 1 1 1 i = 1 1 [ (( 1 + 1( 1(( 1 + 1 ] 3 3 6 = 1 1 [ ( 1( 1( ] 3 6 = 1 ( 1( 1 63 + smaller powers of = 1 6 [ lim L + smaller powers of ] = lim 1 = 1 6 6 = /3. 5

Riema Sums i Actio: Distace from Velocity/Speed Data To estimate distace travelled or displacemet of a object movig i a straight lie over a period of time, from discrete data o the velocity of the object, we use a Riema Sum. If we have a table of values: time = t i t 0 = 0 t 1 t... t velocity = v(t i v(t 0 v(t 1 v(t... v(t where t = t i t i 1, the we ca approximate the displacemet o the iterval [t i 1, t i ] by v(t i 1 t or v(t i t. Therefore the total displacemet of the object over the time iterval [0, t ] ca be approximated by or Displacemet v(t 0 t + v(t 1 t + + v(t 1 t Displacemet v(t 1 t + v(t t + + v(t t Left edpoit approximatio Right edpoit approximatio These are obviously Riema sums related to the fuctio v(t, hitig that there is a coectio betwee the area uder a curve (such as velocity ad its atiderivative (displacemet. This is ideed the case as we will see later. Whe we use speed = velocity istead of velocity. the above formulas traslate to Distace Travelled v(t 0 t + v(t 1 t + + v(t 1 t ad Distace Travelled v(t 1 t + v(t t + + v(t t Example The followig data shows the speed of a particle every 5 secods over a period of 30 secods. Give the left edpoit estimate for the distace travelled by the particle over the 30 secod period. time i s = t i 0 5 10 15 0 5 30 velocity i m/s = v(t i 50 60 65 6 60 55 50 L = v(t 0 t + v(t 1 t + + v(t 6 t = 50(5 + 60(5 + 65(5 + 6(5 + 60(5 + 55(5 = 5[50 + 60 + 65 + 6 + 60 + 55] = 1760m. The above sum is a Riema sum, tellig us that the distace travelled is approximately the area uder the (absolute vale of velocity curve...... hmmmmm itetrestig... remember speed = v(t = derivative of distace travelled.... 6

Appedix Area uder a curve, Summary of method usig Riema sums. To fid the area uder the curve y = f(x o the iterval [a, b], where f(x 0 for all x i [a, b] ad cotiuous o the iterval: 1. Divide the iterval ito strips of equal width x = b a. This divides the iterval [a, b] ito subitervals: [x 0 = a, x 1 ], [x 1, x ], [x, x 3 ],..., [x 1, x = b]. (Note x 1 = a+ x, x = a+ x, x 3 = a+3 x,... x 1 = a+( 1 x, x = a+ x = b.. For each iterval, pick a sample poit, x i i the iterval [x i 1, x i ]. 3. Costruct a approximatig rectagle above the subiterval [x i 1, x i ] with height f(x i. The area of this rectagle is f(x i x. 4. The total area of the approximatig rectagles is (The sum is called a Riema Sum. f(x 1 x + f(x x + + f(x x 5. We defie the area uder the curve y = f(x o the iterval [a, b] as A = lim [f(x 1 x + f(x x + + f(x x] = lim R = lim [f(x 1 x + f(x x + + f(x x] = lim L = lim [f(x 0 x + f(x 1 x + + f(x 1 x]. (I a more advaced course, you would prove that all of these limits give the same umber A which we use as a measure/defiitio of the area uder the curve 7

Extra Example Estimate the area uder the graph of f(x = 1/x from x = 1 to x = 4 usig six approximatig rectagles ad x = b a =, where [a, b] = [1, 4] ad = 6. Mark the poits x 0, x 1, x,..., x 6 which divide the iterval [1, 4] ito six subitervals of equal legth o the followig axis: Fill i the followig tables: x i x 0 = x 1 = x = x 3 = x 4 = x 5 = x 6 = f(x i = 1/x i (a Fid the correspodig right edpoit approximatio to the area uder the curve y = 1/x o the iterval [1, 4]. R 6 = (b Fid the correspodig left edpoit approximatio to the area uder the curve y = 1/x o the iterval [1, 4]. L 6 = (c Fill i the values of f(x at the midpoits of the subitervals below: midpoit = x m i x m 1 = x m = x m 3 = x m 4 = x m 5 = x m 6 = f(x m i = 1/x m i Fid the correspodig midpoit approximatio to the area uder the curve y = 1/x o the iterval [1, 4]. M 6 = 8

Extra Example Estimate the area uder the graph of f(x = 1/x from x = 1 to x = 4 usig six approximatig rectagles ad x = b a = 4 1 = 1, where [a, b] = [1, 4] ad = 6. 6 Mark the poits x 0, x 1, x,..., x 6 which divide the iterval [1, 4] ito six subitervals of equal legth o the followig axis: Fill i the followig tables: x i x 0 = 1 x 1 = 3/ x = x 3 = 5/ x 4 = 3 x 5 = 7/ x 6 = 4 f(x i = 1/x i 1 /3 1/ /5 1/5 /7 1/4 (a Fid the correspodig right edpoit approximatio to the area uder the curve y = 1/x o the iterval [1, 4]. R 6 = f(x 1 x + f(x x + f(x 3 x + f(x 4 x + f(x 5 x + f(x 6 x = 3 1 + 1 1 + 5 1 + 1 3 1 + 7 1 + 1 4 1 = 6 + 1 4 + 10 + 1 6 + 14 + 1 8 = 1.17857 (b Fid the correspodig left edpoit approximatio to the area uder the curve y = 1/x o the iterval [1, 4]. L 6 = f(x 0 x + f(x 1 x + f(x x + f(x 3 x + f(x 4 x + f(x 5 x = 1 1 + 3 1 + 1 1 + 5 1 + 1 3 1 + 7 1 = 1 + 6 + 1 4 + 10 + 1 6 + 14 = 1.5985 (c Fill i the values of f(x at the midpoits of the subitervals below: midpoit = x m i x m 1 = 5/4 x m = 7/4 x m 3 = 9/4 x m 4 = 11/4 x m 5 = 13/4 x m 6 = 15/4 f(x m i = 1/x m i 4/5 4/7 4/9 4/11 4/13 4/15 Fid the correspodig midpoit approximatio to the area uder the curve y = 1/x o the iterval [1, 4]. 6 M 6 = f(x i x = 4 5 1 + 4 7 1 + 4 9 1 + 4 11 1 + 4 13 1 + 4 15 1 = 1.376934 9

Extra Example Fid the area uder the curve y = x 3 o the iterval [0, 1]. We kow that A = lim R, where R is the right edpoit approximatio usig approximatig rectagles. We must calculate R ad tha fid lim R. 1. We divide the iterval [0, 1] ito strips of equal legth x = 1 0 of the iterval [0, 1], = 1/. This gives us a partitio x 0 = 0, x 1 = 0 + x = 1/, x = 0 + x = /,..., x 1 = ( 1/, x = 1.. We will use the right edpoit approximatio R. 3. The heights of the rectagles ca be foud from the table below: x i x 0 = 0 x 1 = 1/ x = / x 3 = 3/... x = / f(x i = (x i 3 0 1/ 3 3 / 3 3 3 / 3... 3 / 3 4. R = f(x 1 x + f(x x + f(x 3 x + + f(x x = ( 1 1 ( 3 1 ( 3 3 1 ( 3 1 3 + 3 + 3 + + 3 = = i 3 4 = 1 4 [ i 3 = 1 ( + 1 4 ] 5. [ ] 1 ( + 1 ( + 1 A = lim = lim 4 4 4 ( + 1 = lim 4 1 ( + 1 ( + 1 = lim 4 = 1 4. 10

Extra Example, estimates from data o rate of chage The same priciple applies to estimatig Volume from discrete data o its rate of chage: Oil is leakig from a taker damaged at sea. The damage to the taker is worseig as evideced by the icreased leakage each hour, recorded i the followig table. time i h 0 1 3 4 5 6 7 8 leakage i gal/h 50 70 97 136 190 65 369 516 70 The followig gives the right edpoit estimate of the amout of oil that has escaped from the taker after 8 hours: R 8 = 70 1 + 97 1 + 136 1 + 190 1 + 65 1 + 369 1 + 516 1 + 70 1 = 363 gallos. The followig gives the right edpoit estimate of the amout of oil that has escaped from the taker after 8 hours: L 8 = 50 1 + 70 1 + 97 1 + 136 1 + 190 1 + 65 1 + 369 1 + 516 1 = 1693 gallos. Sice the flow of oil seems to be icreasig over time, we would expect that L 8 < true volume leaked < R 8 or the true volume leaked i the first 8 hours is somewhere betwee 1693 ad 363 gallos. Visual proof of formula for the sum of itegers: 11

1