FIRST YEAR CALCULUS W W L CHEN

Similar documents
Mathematical Methods for Physics and Engineering

Section 3.7. Rolle s Theorem and the Mean Value Theorem

Chapter 5 Integrals. 5.1 Areas and Distances

MAT137 - Term 2, Week 2

Chapter 4 Integration

1 Definition of the Riemann integral

Advanced Calculus Math 127B, Winter 2005 Solutions: Final. nx2 1 + n 2 x, g n(x) = n2 x

n [ F (b j ) F (a j ) ], n j=1(a j, b j ] E (4.1)

LINEAR ALGEBRA W W L CHEN

Taylor series. Chapter Introduction From geometric series to Taylor polynomials

Questions from Larson Chapter 4 Topics. 5. Evaluate

Section 4.4. Using the Fundamental Theorem. Difference Equations to Differential Equations

Metric Spaces and Topology

Relationship Between Integration and Differentiation

MATH 250 TOPIC 13 INTEGRATION. 13B. Constant, Sum, and Difference Rules

Advanced Calculus I Chapter 2 & 3 Homework Solutions October 30, Prove that f has a limit at 2 and x + 2 find it. f(x) = 2x2 + 3x 2 x + 2

MATH 102 INTRODUCTION TO MATHEMATICAL ANALYSIS. 1. Some Fundamentals

3 Algebraic Methods. we can differentiate both sides implicitly to obtain a differential equation involving x and y:

Topics and Concepts. 1. Limits

4. We accept without proofs that the following functions are differentiable: (e x ) = e x, sin x = cos x, cos x = sin x, log (x) = 1 sin x

Continuity. Chapter 4

Carefully tear this page off the rest of your exam. UNIVERSITY OF TORONTO SCARBOROUGH MATA37H3 : Calculus for Mathematical Sciences II

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

MATH1013 Calculus I. Introduction to Functions 1

Calculus AB Topics Limits Continuity, Asymptotes

Structure of R. Chapter Algebraic and Order Properties of R

Continuity. Chapter 4

Limits and Continuity

Math Calculus I

Infinite series, improper integrals, and Taylor series

Lemma 15.1 (Sign preservation Lemma). Suppose that f : E R is continuous at some a R.

Josh Engwer (TTU) Area Between Curves 22 January / 66

M2PM1 Analysis II (2008) Dr M Ruzhansky List of definitions, statements and examples Preliminary version

The Integral of a Function. The Indefinite Integral

Problem set 5, Real Analysis I, Spring, otherwise. (a) Verify that f is integrable. Solution: Compute since f is even, 1 x (log 1/ x ) 2 dx 1

MTH4100 Calculus I. Bill Jackson School of Mathematical Sciences QMUL. Week 9, Semester 1, 2013

Principle of Mathematical Induction

MATH1013 Calculus I. Edmund Y. M. Chiang. Department of Mathematics Hong Kong University of Science & Technology.

Metric Spaces Lecture 17

x n cos 2x dx. dx = nx n 1 and v = 1 2 sin(2x). Andreas Fring (City University London) AS1051 Lecture Autumn / 36

A MATH 1225 Practice Test 4 NAME: SOLUTIONS CRN:

Part 2 Continuous functions and their properties

Section 4.8 Anti Derivative and Indefinite Integrals 2 Lectures. Dr. Abdulla Eid. College of Science. MATHS 101: Calculus I

Integration. 5.1 Antiderivatives and Indefinite Integration. Suppose that f(x) = 5x 4. Can we find a function F (x) whose derivative is f(x)?

5. Some theorems on continuous functions

Iowa State University. Instructor: Alex Roitershtein Summer Homework #5. Solutions

1 Question related to polynomials

Notes on uniform convergence

AP Calculus 2004 AB FRQ Solutions

M152: Calculus II Midterm Exam Review

Week 2: Sequences and Series

Functional Analysis HW 2

Science One Integral Calculus. January 8, 2018

Undergraduate Notes in Mathematics. Arkansas Tech University Department of Mathematics

Proof. We indicate by α, β (finite or not) the end-points of I and call

REAL ANALYSIS II: PROBLEM SET 2

Problem List MATH 5143 Fall, 2013

Learning Objectives for Math 165

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

Analysis II - few selective results

Applications of Differentiation

UNIVERSITY OF HOUSTON HIGH SCHOOL MATHEMATICS CONTEST Spring 2018 Calculus Test

Elementary Analysis Math 140D Fall 2007

MATH 2413 TEST ON CHAPTER 4 ANSWER ALL QUESTIONS. TIME 1.5 HRS.

Taylor and Laurent Series

Chapter 6 Section Antiderivatives and Indefinite Integrals

Math 127C, Spring 2006 Final Exam Solutions. x 2 ), g(y 1, y 2 ) = ( y 1 y 2, y1 2 + y2) 2. (g f) (0) = g (f(0))f (0).

Exercises given in lecture on the day in parantheses.

MATH 1207 R02 MIDTERM EXAM 2 SOLUTION

Mathematics 324 Riemann Zeta Function August 5, 2005

Distance and Velocity

Chapter 2: Differentiation

Math 118B Solutions. Charles Martin. March 6, d i (x i, y i ) + d i (y i, z i ) = d(x, y) + d(y, z). i=1

Name Class. (a) (b) (c) 4 t4 3 C

Sec 4.1 Limits, Informally. When we calculated f (x), we first started with the difference quotient. f(x + h) f(x) h

Analysis Part 1. 1 Chapter Q1(q) 1.2 Q1(r) Book: Measure and Integral by Wheeden and Zygmund

dy = f( x) dx = F ( x)+c = f ( x) dy = f( x) dx

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

4.1 Analysis of functions I: Increase, decrease and concavity

Chapter 5: Integrals

INTRODUCTION TO COMPLEX ANALYSIS W W L CHEN

Solutions to Math 41 Final Exam December 10, 2012

Substitutions and by Parts, Area Between Curves. Goals: The Method of Substitution Areas Integration by Parts

Summary: Primer on Integral Calculus:

M2P1 Analysis II (2005) Dr M Ruzhansky List of definitions, statements and examples. Chapter 1: Limits and continuity.

7.1 Indefinite Integrals Calculus

Final Exam 2011 Winter Term 2 Solutions

The Existence of the Riemann Integral

CALCULUS II MATH Dr. Hyunju Ban

The total differential

A Brief Introduction to the Theory of Lebesgue Integration

Chapter 8: Taylor s theorem and L Hospital s rule

5.5. The Substitution Rule

Solutions Final Exam May. 14, 2014

School of the Art Institute of Chicago. Calculus. Frank Timmes. flash.uchicago.edu/~fxt/class_pages/class_calc.

Principles of Real Analysis I Fall I. The Real Number System

WORKBOOK. MATH 31. CALCULUS AND ANALYTIC GEOMETRY I.

h(x) lim H(x) = lim Since h is nondecreasing then h(x) 0 for all x, and if h is discontinuous at a point x then H(x) > 0. Denote

Foundations of Calculus. November 18, 2014

Review sheet Final Exam Math 140 Calculus I Fall 2015 UMass Boston

Transcription:

FIRST YER CLCULUS W W L CHEN c W W L Chen, 994, 28. This chapter is available free to all individuals, on the understanding that it is not to be used for financial gain, and may be downloaded and/or photocopied, with or without permission from the author. However, this document may not be kept on any information storage and retrieval system without permission from the author, unless such system is not accessible to any individuals other than its owners. Chapter 9 THE DEFINITE INTEGRL 9.. Finite Sums We begin by considering a simple example. Example 9... Consider the expression 2 + + 4 +... + 57. It is convenient to have a good notation. We may perhaps write 57 i=2 instead, if we recognize that all the numbers in the sum are of the form /i, where i = 2,, 4,..., 57. Note that 57 i=2 i 56 i = i +, so that we can vary the range of summation if we are prepared to vary what we are summing over. On the other hand, note that so that i and j are dummy variables only. 57 i=2 57 i = j=2 j, Chapter 9 : The Definite Integral page of 2

First Year Calculus c W W L Chen, 994, 28 Definition. Suppose that m, n Z and m < n. Then we write a i = a m + a m+ + a m+2 +... + a n + a n. i=m This is called a finite sum or a finite series. Example 9..2. We have 5 + i 2 = 2 + 5 + + 7 + 26. Example 9... We have 7 j= j(j + ) = 6 i=2 (i + )(i + 2) = 2 + 2 + + 42 + 56. The following result is a simple consequence of the usual rules of addition and multiplication of real numbers. PROPOSITION 9. Suppose that m, n Z and m < n. Suppose further that c R. Then (a i + b i ) = a i + i=m i=m i=m b i and ca i = c a i. i=m i=m Example 9..4. Suppose that n N. Consider the sum Note that so that S n = i = + 2 + +... + n. 2S n = ( + 2 + +... + n) + (n + (n ) + (n 2) +... + ) = ( + n) + (2 + (n )) + ( + (n 2)) +... + (n + ) = n(n + ), i = n(n + ). 2 Example 9..5. Suppose that n N. Consider the sum T n = For every i =, 2,,..., n, we have i 2 = + 4 + 9 +... + n 2. (i + ) i = i 2 + i +, Chapter 9 : The Definite Integral page 2 of 2

First Year Calculus c W W L Chen, 994, 28 so that In other words, we have It follows that so that T n = (n + ) ((i + ) i ) = i 2 + i + = (n + )(2(n + )2 2 n) 6 (n + ) = T n + S n + n. S n n = (n + ) (n + ) = (n + )(2n2 + n) 6 i 2 =. S n = (n + ) (n + ) n(n + )(2n + ) =, 6 n(n + ) 2 n(n + )(2n + ). () 6 9.2. n Example Consider the function f(x) = x 2 in the interval [, 2]. Suppose that we wish to find the area bounded by the curve y = f(x) and the lines y =, x = and x = 2 (the reader should start drawing a diagram). Unfortunately, our knowledge on areas is restricted to simple geometric shapes, and the area in question cannot be calculated by a simple area formula. So let us try some approximations. Let us first break the interval [, 2] into shorter intervals in some arbitrary fashion, say [, 2 ], [ 2, 4 ], [ 4, 5 4 ], [ 5 4, 2] (the reader should draw all the rectangles discussed below). Consider first the interval [, 2 ]. We approximate the area bounded by the curve y = f(x) and the lines y =, x = and x = 2 by rectangles with base [, 2 ] on the line y =. Note that ( min f(x) = f ) = x [, /2] 2 4 and max f(x) = f( ) =. x [, /2] If we draw a rectangle with height /4, then this rectangle has area /8, clearly an under-estimate. If we draw a rectangle with height, then this rectangle has area /2, clearly an over-estimate. Consider next the interval [ 2, 4 ]. We approximate the area bounded by the curve y = f(x) and the lines y =, x = 2 and x = 4 by rectangles with base [ 2, 4 ] on the line y =. Note that ( min f(x) = f() = and max f(x) = f ) = x [ /2,/4] x [ /2,/4] 2 4. If we draw a rectangle with height, then this rectangle has area, clearly an under-estimate. If we draw a rectangle with height /4, then this rectangle has area /6, clearly an over-estimate. Chapter 9 : The Definite Integral page of 2

First Year Calculus c W W L Chen, 994, 28 Consider next the interval [ 4, 5 4 ]. We approximate the area bounded by the curve y = f(x) and the lines y =, x = 4 and x = 5 4 by rectangles with base [ 4, 5 4 ] on the line y =. Note that ( ) min f(x) = f = ( ) 5 and max x [/4,5/4] 4 6 f(x) = f = 25 x [/4,5/4] 4 6. If we draw a rectangle with height /6, then this rectangle has area /6, clearly an under-estimate. If we draw a rectangle with height 25/6, then this rectangle has area 25/6, clearly an over-estimate. Consider finally the interval [ 5 4, 2]. We approximate the area bounded by the curve y = f(x) and the lines y =, x = 5 4 and x = 2 by rectangles with base [ 5 4, 2] on the line y =. Note that min f(x) = f x [5/4,2] ( ) 5 = 25 4 6 and max f(x) = f(2) = 4. x [5/4,2] If we draw a rectangle with height 25/6, then this rectangle has area 75/64, clearly an under-estimate. If we draw a rectangle with height 4, then this rectangle has area, clearly an over-estimate. Now let us return to the area in question, namely the area bounded by the curve y = f(x) and the lines y =, x = and x = 2. If we use the smaller of the two rectangles in each instance, then we get the under-estimate 8 + + 6 + 75 64 = 87 64. If we use the larger of the two rectangles in each instance, then we get the over-estimate 2 + 6 + 25 6 + = 2 4. Clearly these are very far from the truth. This is hardly surprising, as the approximations we have made are very crude indeed. 9.. The Riemann Integral To get further, we need to be more systematic in our treatment. The following example illustrates the key points of our technique. Example 9... Consider the function f(x) = x 2 in the interval [, ]. Suppose that we wish to find the area, say, bounded by the curve y = f(x) and the lines y =, x = and x = (the reader should again start drawing a diagram). Let us consider a dissection n : = x < x < x 2 <... < x n = of the interval [, ], where x i = i/n for every i =,, 2,..., n. For every subinterval [x i, x i ], where i =, 2,..., n, we have and min f(x) = x [x i,x i] i n max f(x) = x [x i,x i] min x i n i n max ( ) i x 2 = f = n x i n x 2 = f (i )2 n 2 ( ) i = i2 n n 2. Chapter 9 : The Definite Integral page 4 of 2

First Year Calculus c W W L Chen, 994, 28 It follows that the area, i say, bounded by the curve y = f(x) and the lines y =, x = x i = (i )/n and x = x i = i/n can be approximated below by the area of a rectangle of height (i ) 2 /n 2 and approximated above by the area of a rectangle of height i 2 /n 2 ; in each case, the base of the rectangle has length x i x i = /n. Hence more precisely, (x i x i ) min f(x) i (x i x i ) max f(x); x [x i,x i] x [x i,x i] (i ) 2 n i i2 n. Clearly = i. Now write s(f, n ) = (x i x i ) min f(x) = x [x i,x i] n (i ) 2 n and Then it clearly follows that By (), we have S(f, n ) = (x i x i ) max f(x) = x [x i,x i] s(f, n ) S(f, n ). n i 2 n. (i ) 2 n = n (i ) 2 = n n i 2 = n n i 2 = i= (n )n(2n ) 6n and i 2 n = n i 2 = n(n + )(2n + ) 6n. Hence (n )n(2n ) n(n + )(2n + ) 6n 6n. Suppose now that n is very large. In other words, suppose that n. Then (n )n(2n ) 6n and n(n + )(2n + ) 6n. It follows that we must have = /. Of course, we know that x 2 dx =. Chapter 9 : The Definite Integral page 5 of 2

First Year Calculus c W W L Chen, 994, 28 Suppose next that instead of approximating each i by the two rectangles with heights (i )2 i2 min f(x) = x [x i,x i] n 2 and max f(x) = x [x i,x i] n 2, we simply choose some ξ i [x i, x i ] and approximate i by a rectangle of height f(ξ i ) = ξi 2. Then we have the approximation for i and the approximation for. Clearly (x i x i )f(ξ i ) = ξ2 i n (x i x i )f(ξ i ) = ξ 2 i n so that It follows that Hence, for very large n, (n )n(2n ) 6n is a good approximation for. (i ) 2 n 2 s(f, n ) ξ 2 i i2 n 2, ξ 2 i n S(f, n). (x i x i )f(ξ i ) (x i x i )f(ξ i ) n(n + )(2n + ) 6n. Definition. Suppose that f(x) is a continuous function in the closed interval [, B], where, B R and < B. Suppose further that is a dissection of the interval [, B]. Then the sum : = x < x < x 2 <... < x n = B s(f, ) = (x i x i ) min f(x) x [x i,x i] is called the lower Riemann sum of f(x) corresponding to the dissection, and the sum S(f, ) = (x i x i ) max f(x) x [x i,x i] is called the upper Riemann sum of f(x) corresponding to the dissection. Suppose further that for every i =,..., n, we have ξ i [x i, x i ]. Then the sum (x i x i )f(ξ i ) is called a Riemann sum of f(x) corresponding to the dissection. Chapter 9 : The Definite Integral page 6 of 2

First Year Calculus c W W L Chen, 994, 28 Remarks. () It is clear that min f(x) f(ξ i) max f(x). x [x i,x i] x [x i,x i] It follows that every Riemann sum is bounded below by the corresponding lower Riemann sum and bounded above by the corresponding upper Riemann sum; in other words, s(f, ) (x i x i )f(ξ i ) S(f, ). (2) It can be shown that for any two dissections and of the closed interval [, B], we have s(f, ) S(f, ); in other words, a lower Riemann sum can never exceed an upper Riemann sum. () Note that we have restricted our attention to continuous functions in the closed interval [, B]. This is in fact unnecessary. It is enough to assume that the function f(x) is bounded in the closed interval [, B]. However, the definition of the lower and upper Riemann sums need to be slightly modified. We shall discuss this more general setting in Section 9.7. Definition. We say that f(x) dx = L if, given any ɛ >, there exists a dissection of [, B] such that L ɛ < s(f, ) S(f, ) < L + ɛ. In this case, we say that the continuous function f(x) is Riemann integrable over the closed interval [, B] with integral L. Remark. In other words, if the lower Riemann sums and upper Riemann sums can get arbitrarily close, then their common value is the integral of the function. We state here the following important result. For a formal proof, see Section 9.7. PROPOSITION 9B. Suppose that f(x) is a continuous function in the closed interval [, B], where, B R and < B. Then f(x) is Riemann integrable over [, B]. Example 9..2. Consider the function f(x) = sin x in the closed interval [, π/2]. Suppose that is a dissection of the interval [, π/2], where : = x < x < x 2 <... < x n = π 2 x i = iπ, i =,, 2,..., n. 2n Since f(x) = sin x is increasing in [, π/2], it follows that min f(x) = f(x (i )π i ) = sin x [x i,x i] 2n and max f(x) = f(x i) = sin iπ x [x i,x i] 2n. Chapter 9 : The Definite Integral page 7 of 2

First Year Calculus c W W L Chen, 994, 28 Hence s(f, ) = (x i x i ) min f(x) = π sin x [x i,x i] 2n (i )π 2n = π 2n n i= sin iπ 2n = π n 2n sin iπ 2n and S(f, ) = (x i x i ) max f(x) = π sin iπ x [x i,x i] 2n 2n. Next, note that Similarly, sin iπ 2n = n It follows that as n, we have s(f, ) = π 2n cos((i 2 ) π 2n ) cos((i + 2 ) π 2n ) 2 sin π = cos π 4n cos( π 2 + π 4n 2 sin π 4n n sin iπ 2n = cos π 4n cos( π 2 π 2 sin π 4n ( cos π 4n cos( π 2 π 2 sin π 4n 4n ) 4n ). ) cos cos π 2 =, 4n ). and S(f, ) = π 2n ( cos π 4n cos( π 2 + π 2 sin π 4n 4n ) ) cos cos π 2 =. Hence π/2 sin x dx =. 9.4. ntiderivatives Our aim is to relate our definition of the Riemann integral to something more familiar. The first step in this direction involves the study of antiderivatives or indefinite integrals. Definition. function F (x) is called an antiderivative or indefinite integral of a function f(x) in an interval I if F (x) = f(x) for every x I. Example 9.4.. Suppose that f(x) = x 2. Then for any C R, the function F (x) = x + C is an antiderivative of f(x) on any interval. It follows that there are infinitely many antiderivatives that differ by constants. The next result shows that there are no more. The proof, which depends on the Mean value theorem, is given in Section 9.7. PROPOSITION 9C. Suppose that the function F (x) is an antiderivative of a function f(x) in an interval I. Then every antiderivative of f(x) is of the form F (x) + C, where C R is a constant. Chapter 9 : The Definite Integral page 8 of 2

First Year Calculus c W W L Chen, 994, 28 Example 9.4.2. The following table of antiderivatives can be checked for appropriate intervals I: f(x) F (x) f(x) F (x) C e x e x + C cos x sin x + C sin x cos x + C sec 2 x tan x + C csc 2 x cot x + C sec x tan x sec x + C csc x cot x csc x + C tan x log sec x + C cot x log csc x + C sec x log sec x + tan x + C csc x log csc x cot x + C (n + )x n (n ) x n+ + C x log x + C The next result is crucial in the calculation of antiderivatives. The proof is straightforward, in view of Proposition B. PROPOSITION 9D. Suppose that the functions F (x) and G(x) are antiderivatives of functions f(x) and g(x) respectively in an interval I. Suppose further that c R. Then (a) F (x) + G(x) is an antiderivative of f(x) + g(x) in I; and (b) cf (x) is an antiderivative of cf(x) in I. Example 9.4.. Suppose that f(x) = x 2 + 2 sin x. We can write f(x) = g(x) + 2h(x), where g(x) = x 2 and h(x) = sin x. From the table in Example 9.4.2 and with C =, the functions G(x) = x and H(x) = cos x are antiderivatives of g(x) and h(x) respectively in any interval. It follows from Proposition 9D that the function F (x) = x G(x) + 2H(x) = 2 cos x is an antiderivative of f(x) in any interval, so that it follows from Proposition 9C that every antiderivative of f(x) in any interval is of the form where C R. x 2 cos x + C, For the sake of convenience, we shall denote any antiderivative of a function f(x) by f(x) dx. lso, we may choose to omit reference to the interval I in question, with the understanding that an appropriate interval I has been chosen. Chapter 9 : The Definite Integral page 9 of 2

First Year Calculus c W W L Chen, 994, 28 9.5. Fundamental Theorems of the Integral Calculus In this section, we shall first discuss a relationship between the Riemann integral and antiderivatives. This relationship enables us to calculate the Riemann integral by simply finding an antiderivative of the given function. In Section 9.7, we shall establish the following important result. PROPOSITION 9E. (FUNDMENTL THEOREM OF THE INTEGRL CLCULUS) Suppose that f(x) is a continuous function in the closed interval [, B], where, B R and < B. Suppose further that the function F (x) is an antiderivative of f(x) in [, B]. Then f(x) dx = F (B) F (). Example 9.5.. We have 2π π [ x (x 2 + 2 sin x) dx = 2 cos x ] 2π π ( 8π = ) ( ) π 2 cos 2π 2 cos π = 7π 4. Example 9.5.2. We have π cos x sin x dx = [ 2 ( cos x)/2 ] π = 2 ( cos π)/2 2 ( cos )/2 = 4 2. Example 9.5.. We have 4 [ ] 4 x 2 dx = x 2 (x 2)/2 + 4(x 2) /2 = 6 2 4. Example 9.5.4. We have π/2 [ sin sin x cos 4 x x dx = 4 ] π/2 sin6 x = 6 2. Example 9.5.5. The argument [ x 2 dx = ] = = 2 x is clearly wrong, since the curve is never below the line y = between x = and x =. Note that the function /x 2 is not continuous in the interval [, ], so that the Fundamental theorem of the integral calculus does not apply. Riemann integrals can, in a certain sense, be regarded as antiderivatives. sometimes known as the second Fundamental theorem of the integral calculus. The following result is PROPOSITION 9F. Suppose that f(x) is a continuous function in the closed interval [, B], where, B R and < B. Then the function F (x) = x f(t) dt is continuous in the closed interval [, B] and differentiable for every x (, B), with F (x) = f(x). Chapter 9 : The Definite Integral page of 2

First Year Calculus c W W L Chen, 994, 28 Remark. In some treatments, Propositions 9E and 9F are given in reverse order. Example 9.5.6. We have d dx x + t2 dt = + x 2. Example 9.5.7. We have d dx x + t2 dt = d dx x + t2 dt = + x 2. Example 9.5.8. We have ( d x 2 sin(4t + ) dt = d x 2 ) C sin(4t + ) dt + sin(4t + ) dt dx 2x dx C 2x = d x 2 dx = d dx C x 2 Writing y = x 2 and using the Chain rule, we have C sin(4t + ) dt + d C dx sin(4t + ) dt d dx 2x 2x d x 2 sin(4t + ) dt = d y sin(4t + ) dt = dy d dx C dx C dx dy C = 2x sin(4y + ) = 2x sin(4x 6 + ). Writing u = 2x and using the Chain rule, we have It follows that d dx 2x C sin(4t + ) dt = d dx u C sin(4t + ) dt = du d dx du = 2 sin(4u + ) = 2 sin(2x + ). C y u C sin(4t + ) dt sin(4t + ) dt. d x 2 sin(4t + ) dt = 2x sin(4x 6 + ) 2 sin(2x + ). dx 2x sin(4t + ) dt sin(4t + ) dt The next two results can be considered to be simple consequences of the Fundamental theorems of the integral calculus. In Section 9.7, we shall discuss how we can establish more general versions of these two results. PROPOSITION 9G. Suppose that f(x) is a continuous function in the closed interval [, B], where, B R and < B. Suppose further that C [, B]. Then f(x) dx = C f(x) dx + C f(x) dx. Chapter 9 : The Definite Integral page of 2

First Year Calculus c W W L Chen, 994, 28 PROPOSITION 9H. Suppose that f(x) and g(x) are continuous function in the closed interval [, B], where, B R and < B. Then (f(x) + g(x)) dx = Furthermore, for every real number c R, we have cf(x) dx = c f(x) dx + f(x) dx. g(x) dx. The following result gives some very crude bound for the Riemann integral. PROPOSITION 9J. Suppose that f(x) is a continuous function in the closed interval [, B], where, B R and < B. Suppose further that m f(x) M for every x [, B]. Then m(b ) f(x) dx M(B ). 9.6. verage Values of Functions Suppose that the function f(x) is non-negative and continuous in the closed interval [, B]. Then the Riemann integral f(x) dx exists and represents the area bounded by the curve y = f(x) and the lines y =, x = and x = B. Consider a rectangle with its base on the x-axis between x = and x = B and with the same area as the integral. Then its height B f(x) dx must represent the average value of the function f(x) in the interval [, B]. Of course, the restriction that f(x) is non-negative is not necessary and can be removed. Example 9.6.. The average value of the function sin x in the interval [, 2π] is 2π 2π sin x dx =. Example 9.6.2. The average value of the function sin x in the interval [, π] is π π sin x dx = 2 π. Example 9.6.. The average value of the function x 2 in the interval [, 2] is 2 2 x 2 dx = 4. Chapter 9 : The Definite Integral page 2 of 2

First Year Calculus c W W L Chen, 994, 28 Example 9.6.4. The average value of the function sin 2 x in the interval [, 2π] is 2π 2π sin 2 x dx = 2. In Section 9.7, we shall establish the following result which shows that the mean value is attained by the function in the interval. PROPOSITION 9K. (MEN VLUE THEOREM FOR RIEMNN INTEGRLS) Suppose that f(x) is a continuous function in the closed interval [, B], where, B R and < B. Then there exists c (, B) such that B f(x) dx = f(c). 9.7. Further Discussion Here we shall study the Riemann integral in a more general setting. Suppose that f(x) is a real valued function bounded in the closed interval [, B], where, B R and < B. Suppose further that is a dissection of the interval [, B]. Then the sum : = x < x < x 2 <... < x n = B s(f, ) = (x i x i ) inf f(x) x [x i,x i] is called the lower Riemann sum of f(x) corresponding to the dissection, and the sum S(f, ) = (x i x i ) sup f(x) x [x i,x i] is called the upper Riemann sum of f(x) corresponding to the dissection. Suppose further that for every i =,..., n, we have ξ i [x i, x i ]. Then the sum (x i x i )f(ξ i ) is called a Riemann sum of f(x) corresponding to the dissection. Note that it is important to use the infimum and supremum instead of minimum and maximum, as the latter may not exist, while the former always exist, since the function f(x) is bounded in [, B]. In fact, if the function f(x) is continuous in the interval [, B], then f(x) is bounded in [, B] in view of Proposition 4E, and attains a minimum and maximum in any closed subinterval of [, B] in view of Proposition 4C. This means that the infimum is a minimum, while the supremum is a maximum. It follows that the above definitions represent a generalization of our earlier definitions. The following three results are easy to establish, and are left as exercises for the interested reader. PROPOSITION 9L. Suppose that f(x) is a real valued function bounded in the closed interval [, B], where, B R and < B. Then for any dissection of the interval [, B], we have s(f, ) S(f, ). Chapter 9 : The Definite Integral page of 2

First Year Calculus c W W L Chen, 994, 28 PROPOSITION 9M. Suppose that f(x) is a real valued function bounded in the closed interval [, B], where, B R and < B. Suppose further that and are two dissections of the interval [, B] satisfying ; in other words, every dissection point of is also a dissection point of. Then s(f, ) s(f, ) and S(f, ) S(f, ). Combining the two results above, we have the following result alluded to in our earlier discussion. PROPOSITION 9N. Suppose that f(x) is a real valued function bounded in the closed interval [, B], where, B R and < B. Then for any dissections and of the interval [, B], we have s(f, ) S(f, ). In other words, a lower Riemann sum can never exceed an upper Riemann sum. Definition. Suppose that f(x) is a real valued function bounded in the closed interval [, B], where, B R and < B. The quantity is called the upper integral of f(x) in [, B], and the quantity L + (f) = inf S(f, ) (2) L (f) = sup s(f, ) () is called the lower integral of f(x) in [, B]. Here the infimum and supremum are taken over all dissections of the interval [, B]. Furthermore, if L + (f) = L (f), then we say that the function f(x) is Riemann integrable over the interval [, B], and denote by L = f(x) dx the common value of the upper and lower integrals of f(x) in [, B]. Note that the existence of the upper and lower integrals are guaranteed by the boundedness of the function f(x) in the interval [, B]. Example 9.7.. It is not easy to find a function that is not Riemann integrable. Here, we shall give one, but the proof depends on some rather deep result on rational and irrational numbers. Consider the function { if x is rational, f(x) = if x is irrational. It is well known that in any open interval, there are rational numbers and irrational numbers. It follows that in any interval [α, β], where α < β, we have inf f(x) = and sup f(x) =. x [α,β] x [α,β] It follows that for every dissection of [, ], we have s(f, ) = and S(f, ) =. Hence f(x) is not Riemann integrable over the closed interval [, ]. Chapter 9 : The Definite Integral page 4 of 2

First Year Calculus c W W L Chen, 994, 28 Remark. Note that the Riemann integral never exceeds any upper Riemann sum and is never less than any lower Riemann sum. consequence of this simple observation is Proposition 9J. We now need to show that our definition of Riemann integrability here agrees with our earlier definition in the case of continuous functions. We first establish the following result. PROPOSITION 9P. Suppose that f(x) is a real valued function bounded in the closed interval [, B], where, B R and < B. Then f(x) is Riemann integrable over the interval [, B] if and only if, given any ɛ >, there exists a dissection of [, B] such that S(f, ) s(f, ) < ɛ. Proof. Suppose first of all that f(x) is Riemann integrable over the interval [, B]. Then L + (f) = L (f) = L. Let ɛ > be given. In view of (2) and (), there exist dissections and of [, B] such that S(f, ) < L + (f) + ɛ 2 and s(f, ) > L (f) ɛ 2. Let = ; in other words, contains precisely all the dissection points of both and. Then it follows from Proposition 9M that S(f, ) S(f, ) and s(f, ) s(f, ). Combining the above and noting Proposition 9L, we have L ɛ 2 < s(f, ) S(f, ) < L + ɛ 2, so that S(f, ) s(f, ) < ɛ. On the other hand, it is clear from Proposition 9N that L (f) L + (f). Suppose on the contrary that f(x) is not Riemann integrable over the interval [, B]. Then L (f) L + (f). Let For every dissection of [, B], we have so that S(f, ) s(f, ) ɛ. ɛ = L + (f) L (f) >. s(f, ) L (f) and S(f, ) L + (f), We can also establish the following stronger versions of Propositions 9G and 9H. PROPOSITION 9G. Suppose that a function f(x) is Riemann integrable over the closed interval [, B], where, B R and < B. Suppose further that C [, B]. Then f(x) is Riemann integrable over the closed intervals [, C] and [C, B], and f(x) dx = C f(x) dx + C f(x) dx. Chapter 9 : The Definite Integral page 5 of 2

First Year Calculus c W W L Chen, 994, 28 PROPOSITION 9H. Suppose that functions f(x) and g(x) are Riemann integrable over the closed interval [, B], where, B R and < B. Then the function f(x) + g(x) is also Riemann integrable over [, B], and (f(x) + g(x)) dx = f(x) dx + g(x) dx. Furthermore, for every real number c R, the function cf(x) is Riemann integrable over [, B], and cf(x) dx = c f(x) dx. The proofs of these two results are left as exercises for the interested reader. n important idea is to use Proposition 9P to establish Riemann integrability first and then the definition of the Riemann integral to establish the various identities. Our next task is to establish the important result that continuity in the closed interval [, B] implies Riemann integrability. To do this, we need to introduce the idea of uniformity. We first establish the following intermediate result. PROPOSITION 9Q. Suppose that f(x) is a continuous function in the closed interval [, B], where, B R and < B. Then given any ɛ >, there is a dissection : = x < x < x 2 <... < x n = B of the interval [, B] such that for every i =,..., n, we have sup f(x) x [x i,x i] inf f(x) < x [x i,x i] ɛ B. Proof. Let ɛ > be given. We shall say that a subinterval [α, β] of the interval [, B] is good if there exists a dissection : α = y < y < y 2 <... < y m = β of the interval [α, β] such that for every j =,..., m, we have sup f(x) x [y j,y j] inf f(x) < x [y j,y j] ɛ B. Our task is therefore to show that the interval [, B] is good. Suppose that it is not. We bisect the interval [, B], and let C denote its midpoint. Then at least one of the two subintervals [, C] and [C, B] is not good. Let this be denoted by [a, b ], choosing one subinterval if neither is good. We now bisect the interval [a, b ] to obtain a subinterval [a 2, b 2 ] which is not good, and continue this process. We therefore have two sequences a a 2 a... and... b b 2 b which clearly converge to a common value ξ [, B]. Since f(x) is continuous at x = ξ, there exists δ > such that sup x (ξ δ,ξ+δ) f(x) inf f(x) < x (ξ δ,ξ+δ) ɛ B (here the interval (ξ δ, ξ + δ) has to be replaced by [ξ, ξ + δ) or (ξ δ, ξ] if ξ = or ξ = B respectively). On the other hand, if n is large enough, then the interval [a n, b n ] is contained in the interval (ξ δ, ξ +δ), and gives rise to a contradiction. Chapter 9 : The Definite Integral page 6 of 2

First Year Calculus c W W L Chen, 994, 28 Proof of Proposition 9B. Given any ɛ >, it follows from Proposition 9Q that there exists a dissection : = x < x < x 2 <... < x n = B of the interval [, B] such that for every i =,..., n, we have sup f(x) x [x i,x i] inf f(x) < x [x i,x i] ɛ B. It follows that S(f, ) s(f, ) < ɛ. The result now follows from Proposition 9P. The Mean value theorem for differentiation is the crux for the proof of our remaining assertions. We first use this to establish the essential uniqueness of antiderivatives. Proof of Proposition 9C. Suppose that F (x) and G(x) are two antiderivatives of the function f(x) in an interval I. Write D(x) = G(x) F (x). Then D (x) = G (x) F (x) = f(x) f(x) = for every x I. Suppose that x, x 2 I and x < x 2. Since D(x) is differentiable for every x [x, x 2 ], it follows from Proposition 8 that D(x) is continuous in the closed interval [x, x 2 ]. By the Mean value theorem, there exists ξ (x, x 2 ) such that Clearly D (ξ) =, so that D (ξ) = D(x 2) D(x ) x 2 x. D(x ) = D(x 2 ). Note now that this argument is valid for any x, x 2 I. It follows that there is some constant C R such that D(x) = C for every x I, whence G(x) = F (x) + C for every x I. We next establish the Fundamental theorems of the integral calculus. Proof of Proposition 9E. By Proposition 9B, the Riemann integral exists. Write L = It follows that for every ɛ >, there is a dissection such that Next, note that f(x) dx. : = x < x < x 2 <... < x n = B L ɛ < s( ) S( ) < L + ɛ. (4) F (B) F () = (F (x i ) F (x i )). (5) Since F (x) is differentiable in the closed interval [x i, x i ], it follows from the Mean value theorem that there exists ξ i [x i, x i ] such that F (x i ) F (x i ) = (x i x i )F (ξ i ) = (x i x i )f(ξ i ). (6) Chapter 9 : The Definite Integral page 7 of 2

First Year Calculus c W W L Chen, 994, 28 Combining (5) and (6), we have F (B) F () = (x i x i )f(ξ i ), a Riemann sum of f(x) corresponding to the dissection. Recall now that every Riemann sum is bounded below by the corresponding lower Riemann sum and bounded above by the corresponding upper Riemann sum, so that Combining (4) and (7), we have s( ) F (B) F () S( ). (7) L ɛ < F (B) F () < L + ɛ, so that L (F (B) F ()) < ɛ. Since L (F (B) F ()) is a constant and ɛ > is arbitrary, we must have L (F (B) F ()) =. The result follows immediately. Proof of Proposition 9F. Suppose first of all that < x < B. Then F (y) F (x) y x with the convention that if x > y. We need to show that In other words, we need to show that Note that y x y x = ( y f(t) dt y x y x f(t) dt = x x y ) f(t) dt = y x f(t) dt F (y) F (x) lim = f(x). y x y x lim y x y x f(t) dt f(x) = y x y x y x y x f(t) dt, f(t) dt = f(x). (8) (f(t) f(x)) dt y x y x f(t) f(x) dt (here we have used the inequality g(x) dx g(x) dx; for a proof, see Problem 2). Continuity implies that for every ɛ >, there exists δ > such that f(t) f(x) < ɛ whenever t x < δ. It follows that if y x < δ, then y x y x f(t) f(x) dt < y x ɛ = ɛ. y x This gives (8), and completes the proof when < x < B. The cases x = and x = B can be deduced with minor modifications. Chapter 9 : The Definite Integral page 8 of 2

First Year Calculus c W W L Chen, 994, 28 We complete this chapter by establishing the Mean value theorem for Riemann integrals. Proof of Proposition 9K. By Proposition 9F, the function F (x) = x f(t) dt is continuous in the interval [, B] and differentiable for every x (, B), with F (x) = f(x). By the Mean value theorem, there exists c (, B) such that so that F (B) F () = (B )F (c), f(t) dt f(t) dt = (B )f(c). Clearly the second integral vanishes, and the result follows. Chapter 9 : The Definite Integral page 9 of 2

First Year Calculus c W W L Chen, 994, 28. Calculate the integral Problems for Chapter 9 x dx by dissecting the interval [, ] into equal parts. 2. a) Suppose that the function f(x) is continuous in the closed interval [, B]. Suppose further that f(x) for every x [, B]. Explain why f(x) dx. b) Suppose that the functions f (x) and f 2 (x) are continuous in the closed interval [, B]. Suppose further that f (x) f 2 (x) for every x [, B]. Use part (a) to show that f (x) dx f 2 (x) dx. c) Suppose that the function g(x) is continuous in the closed interval [, B]. Explain why g(x) dx g(x) dx.. Differentiate each of the following integrals with respect to x: a) x t t 2 + dt b) 4 x t 2 (t + ) dt c) 2x 2x+ + t 2 dt 4. Determine d sin x dx t + t dt. 5. Show that for every x (, ), we have +x x t dt =. t(2 t) 6. a) Suppose that f(x) = sin x + cos x. Find the largest domain of f(x) as a real valued function and show that f(x) = π/2 for all x in this domain. b) Differentiate the function g(x) = x sin x + x 2. Hence find the integral / 2 sin x dx. c) Use parts (a) and (b), or otherwise, to find the area bounded by the curves y = sin x, y = cos x and the y-axis. 7. Prove Proposition 9L. 8. Prove Proposition 9M. 9. Prove Proposition 9G.. Prove Proposition 9H.. Calculate the integral x k dx, where k > is fixed, by dissecting the interval [, B] into n parts in geometric progression, so that < q < q 2 <... < q n = B. Chapter 9 : The Definite Integral page 2 of 2

First Year Calculus c W W L Chen, 994, 28 2. a) By using the method of Problem, prove that ( b) Deduce that lim n n. Calculate the integral 2 (n + ) 2 + (n + 2) 2 +... + (2n) 2 α x 2 dx = 2. ) = 2. sin x dx by dissecting the interval [, α] into equal parts. Chapter 9 : The Definite Integral page 2 of 2