Docsity

Single variables calculus II, Lecture notes of Mathematics

Partial preview of the text

Download Single variables calculus II and more Lecture notes Mathematics in PDF only on Docsity!

Math 121: Single-variable Calculus II

Lecture Notes

Lior Silberman

These are rough notes for the spring 2012 course. Problem sets and solutions were posted on an internal website.

  • Introduction (Lecture 1, 4/1/12)
    • 0.1. Administrivia
    • 0.2. Course plan (subject to revision)
    • 0.3. Motivating problem: the area of the disc
  • Chapter 1. The Riemann integral
    • 1.1. Two preliminary tools: The Σ notation and induction (Lectures 2,3, 6-7/1/12)
    • 1.2. Examples
    • 1.3. Definition of the integral
    • 1.4. The Fundamental Theorem of Calculus (Lecture 7, 16/1/2012)
    • 1.5. Numerical integration
    • 1.6. Improper integrals
    • 1.7. Appendix: The Real numbers
  • Chapter 2. Techniques of integration
    • 2.1. Integration by substitution (Lecture 9, 18/1/2012)
    • 2.2. Integration by parts (Lecture 10, 20/1/2012)
    • 2.3. Rational fractions: the partial fractions expansion (Lectures 11-13, 23-25/1/12)
    • 2.4. Substitution II (27-30/1/2012)
    • 2.5. Improper integrals and comparison (31/1/2012-3/2/2012)
  • Chapter 3. Applications
    • 3.1. Volume
    • 3.2. Arc length (10/2/2012)
    • 3.3. Surface area (PS6)
    • 3.4. Mass and density (13/2/2012)
    • 3.5. Centre-of-mass (14-15/2/2012)
    • 3.6. Integrating differential equations (17/2/2012)
    • 3.7. Continuous Probability (27-29/2)
  • Chapter 4. Parametric curves
  • Chapter 5. Sequences and Series
    • 5.1. Sequences and Convergence
    • 5.2. Series
    • 5.3. Absolute convergence
    • 5.4. Power series and Taylor series
  • Chapter 6. Examples from Physics
    • 6.1. van der Waals equation
    • 6.2. Planck’s Law
  • Bibliography
  • Bibliography

Introduction (Lecture 1, 4/1/12)

Lior Silberman, [email protected], http://www.math.ubc.ca/~lior Office: Math Building 229B Phone: 604-827-

0.1. Administrivia

Syllabus posted online, summarized on slides. Key points:

  • Problem sets will be posted on the course website. Solutions will be posted on a secure system (email explanation will be sent). - Depending on time, the grader may only mark selected problems. Solutions will be complete.
  • Absolutely essential to
    • Read ahead according to the posted schedule. Lectures after the first will assume that you had done your reading.
    • Do homework.
  • Office hours
  • Course website is important. Contains notes, problem sets, announcements, reading as- signments etc.

0.2. Course plan (subject to revision)

Two tracks: foundations and technique. Topics:

  • The Riemann integral
    • The problem of area; examples.
    • Construction of the integral, basic properties.
    • Techniques of integration
    • Applications
  • Parametric curves and polar co-ordinates.
  • The real numbers
    • Sequences and convergence.
    • Series.
    • Power series and Taylor expansion.

0.3. Motivating problem: the area of the disc

  • What is the area of the disc of radius R? It is πR^2.
  • How do we know?
    • Cut it up in pieces and add up the areas.

CHAPTER 1

The Riemann integral

1.1. Two preliminary tools: The Σ notation and induction (Lectures 2,3, 6-7/1/12)

  • Plan: (1) Sequences and sums (a) Sequences and parametrization (b) Sums (2) Proof by Induction
  • Goals: Sequences
    • Be able to parametrize sequences given the first few elements
    • Be able to do change-of-variable
    • Convert · · · notation to parametrization and vice versa
  • Goals: sums
    • Be able to convert between · · · notation and Σ
  • Goals: induction
    • Prove statements about sums using induction.
  • Hook: You have won the lottery; choose between $12.5M today and $1M/year for 25 years. 1.1.1. Sequences. DEFINITION 1. A sequence (properly, an infinite sequence) is a function whose domain is the natural numbers.

NOTATION 2. The value at i ∈ N (called the “ith element” of the sequence) is by the subscript i.

Math 121: In-class worksheet for lecture 2

EXAMPLE 3. Some explicit sequences:

(1) Constant Sequences 0, 0 , 0 , 0 , 0 , · · · and 1, 1 , 1 , 1 , 1 , · · · (2) The natural numbers N: 0, 1 , 2 , 3 , 4 , · · · (3) The positive integers Z≥ 1 1 , 2 , 3 , 4 , · · · (4) An arithmetic progression 5 , 9 , 13 , 17 , 21 , 25 , · · · (5) A geometric progression 1 , 2 , 4 , 8 , 16 , 32 , 64 · · · (6) The prime numbers 2 , 3 , 5 , 7 , 11 , 13 , · · ·

EXERCISE 4. Parametrize the sequences above.

(1) ai = 0 for i ≥ 0 and ai = 1 for i ≥ 0. (2) b (^) j = j for j ≥ 0.

EXERCISE 5. Parametrize the sequences

(1)

20 − (^) π^1 ,

27 − (^) π^12 ,

34 − (^) π^13 , · · · (2) 12 , 16 , 121 , 201 , 301 , · · ·

  • Key idea: parametrizing a sequence; 1.1.2. Sums. EXAMPLE 7. 1 = 1, 1 + 2 = 3, 1 + 2 + 3 = 6, 1 + 2 + 3 + 4 = 10, 1 + 2 + 3 + 4 + 5 = 15. 1 + 2 + 3 + · · · + n =?

NOTATION 8. Let {ai}∞ i= 0 be a sequence. Let m, M be integers. We write M ∑ i=m

ai

for the sum am + am+ 1 + · · · + aM of the elements on the sequence in positions between m, M.

  • If m = M there is only one summand, by convention the sum is equal to am.
  • If m > M the sum is empty, by convention it is zero. LEMMA 9. (^) ∑li=k ai + (^) ∑mi=l+ 1 ai = (^) ∑mi=k ai; c (^) ∑Mi=m ai = (^) ∑Mi=m cai. 1.1.3. Induction. LEMMA 10. For all natural numbers n ≥ 0 , ∑ni= 1 i = n(n 2 + 1 )and ∑n i=− 01 qi^ = q

n− 1 q− 1. PROOF. Both are true for n = 0. Consider (^) ∑n i=+ 11 i = (^) ∑ni= 1 i + (n + 1 ). For the second, Problem set 1. 

  • Practical way the proof works.
  • Statement about sets of integers. EXAMPLE 11. Present value of discrete income stream (see example problem set I) PROPOSITION 12. Let x ∈ R satisfy x ≥ − 1. Then for all n ∈ Nwe have ( 1 + x)n^ ≥ 1 + nx. PROOF. For n = 0 both sides are equal to 1. Now assume that ( 1 + x)n^ ≥ 1 + nx.

We may then multiply both sides by 1 + x ≥ 0 to get:

( 1 + x)n+^1 ≥ ( 1 + nx)( 1 + x) = 1 + nx + x + nx^2 = 1 + (n + 1 )x + nx^2 ≥ 1 + (n + 1 )x

since n ≥ 0 and x^2 ≥ 0. 

1.2. Examples 1.2.1. The area of a right triangle. (Lecture 4, 10/1/2011). PROBLEM 13. Let a, b > 0. Let R be the triangle with vertices ( 0 , 0 ), (a, 0 ), (a, b). What is its area?

Four steps: (1) Subdivision: Partition [ 0 , a] into n subintervals,

[i− 1 n a,^

i n a

]

of length ∆x = an each. To each associate the strip

{i− 1 n ≤^ x^ ≤^

i n a

(2) Approximation: The triangle intersects the ith strip in a trapezoidal region, containing the rectangle

[i− 1 n a,^

i n a

]

×

[

0 , i− n^1 b

]

and contained in

[i− 1 n a,^

i n a

]

×

[

0 , (^) ni b

]

(3) Sum: Summing the contribution from each strip, the area of the triangle lies between n ∑ i= 1

∆x ·

i − 1 n

b ≤ Area ≤

n ∑ i= 1

∆x ·

i n

b.

Now the LHS is ab n^2

n ∑ i= 1

(i − 1 ) =

ab n^2

n− 1 ∑ i= 0

i =

ab n^2

n(n − 1 ) 2

ab 2

n

where the first inequality is by shifting the index by 1, and the second by the formula from Lemma 10. Similarly, the RHS is ab n^2

n ∑ i= 1

i =

ab 2

n

(4) Limit: It follows that −

ab 2 n

≤ Area −

ab 2

ab 2 n

Now letting n → ∞ we can see that we can make the difference as close to zero as we please, so it must be exactly zero.

LEMMA 14 (Epsilon of room principle). Let A, B be real numbers. Assume that for all ε > 0 (or even for arbitrarily small ε) we can show that, −ε ≤ A − B ≤ ε. Then A = B.

1.2.2. The area under the graph of ex.

PROBLEM 15. Let a < b. Let R be the region of the plane bounded by the x-axis, the lines y = a, y = b and the graph of the function f (x) = ex. What is the area of R?

Since f (x) = ex^ is monotone increasing,R contains the rectangle with base [a, b] and side [ 0 , ea] and is contained in the rectangle with base [a, b] and side

[

0 , eb

]

. It follows that

(b − a)ea^ ≤ Area(R) ≤ (b − a)eb^.

More generally, divide the interval into n equal subintervals, of the form Ii = [a + ih, a + (i + 1 )h] where h = b−n a. Let Ri be the region bounded by Ii, the lines y = a + ih, y = a + (i + 1 )h and the graph of f (x). Then the same reasoning shows

hea+ih^ ≤ Area(Ri) ≤ hea+(i+^1 )h^.

Since Area(R) = (^) ∑n 0 −=^11 Area(Ri),

n− 1 ∑ i= 0

hea+ih^ ≤ Area(R) ≤

n− 1 ∑ i= 0

hea+(i+^1 )h^.

Taking common factors we find:

hea

n− 1 ∑ i= 0

eih^ ≤ Area(R) ≤ heaeh

n− 1 ∑ i= 0

eih^.

We now calculate.

A = a(q − 1 ) log a

n− 1 ∑ i= 0

qi

= a(q − 1 ) log a

qn^ − 1 q − 1

= log a · a(

b a

= (b − a) log a.

Similarly, C = (b − a) log q.

Finally,

B = a(q − 1 ) log q

n− 1 ∑ i= 0

iqi

= a(q − 1 ) log q

[

q

d dq

qn^ − 1 q − 1

]

= a(q − 1 ) log q

[

nqn q − 1

q(qn^ − 1 ) (q − 1 )^2

]

= a(q − 1 )

n

log

b a

n(b/a) q − 1

− a

q(ba − 1 ) log q q − 1

= b log

b a

− (b − a)

q log q − 0 q − 1

−−→ q→ 1

b log

b a

− (b − a) [log q + 1 ]q= 1

= b log

b a

− (b − a)

It follows that, for any ε > 0,

(b − a) log a + b log

b a

− (b − a) − ε ≤ Area(R) ≤ (b − a) log a + b log

b a

− (b − a) + ε ,

that is Area(R) = (b log b − b) − (a log a − a).

1.3. Definition of the integral 1.3.1. Construction (Lecture 5, 11/1/2012). Let f be a function defined and bounded on a closed interval [a, b].

DEFINITION 17. A partition P of [a, b] is a finite sequence a = x 0 < x 1 < · · · < xn = b. We say the partition has n parts, that the ith part has length ∆xi = xi − xi− 1 and that the mesh of the partition is δ (P) = max {∆xi | 1 ≤ i ≤ n}.

EXAMPLE 18. The trivial partition P : a = x 0 < x 1 = b. The uniform partition xi = a+ (^) ni (b−a).

DEFINITION 19. Given f and P set mi = mi( f ; P) = inf { f (x) | x ∈ [xi− 1 , xi]}, Mi = Mi( f ; P) = sup { f (x) | x ∈ [xi− 1 , xi]} (these exist since f is bounded!) and define the lower and upper Riemann sums by

L( f ; P) =

n ∑ i= 1

mi∆xi.

U( f ; P) =

n ∑ i= 1

Mi∆xi.

EXAMPLE 20. Let f be constant, that is f (x) = c for all x. Then mi = Mi = c for all subintervals, and since (^) ∑ni= 1 ∆xi = b − a we have L( f ; P) = U( f ; P) = c(b − a) for all partitions P. DEFINITION 21. Suppose that there is a unique real number I such that for every partition P of a, b, we have L( f ; P) ≤ I ≤ U( f ; P). We then say that f is integrable on [a, b], say that I is the definite integral of f on [a, b] and write

I =

∫ (^) b

a

f (x)dx.

1.3.2. Examples and counterexamples (Lecture 5, 11/1/2012).

EXAMPLE 22. We have seen that

∫ (^) b a cdx^ =^ c(b^ −^ a). On the other hand

EXAMPLE 23. Let D(x) =

1 x rational 0 x irrational

on [ 0 , 1 ]. Then mi = 0, Mi = 1 on every interval

(D takes the values 0, 1 on every interval). More sophisticated:

EXAMPLE 24. f (x) =

D(x) 0 ≤ x ≤ (^12) 1 12 ≤ x ≤ 1

, not integrable.

g(x) =

1 x = 0 0 0 < x ≤ 1

which is integrable.

1.3.3. Basic Properties (Lecture 6, 13/1/2012). PROPOSITION 25 (Linearity). Let f , g be integrable on [a, b] and let α, β ∈ R. Then α f + β g is integrable and

∫ (^) b a (α^ f^ +^ β^ g)dx^ =^ α^

∫ (^) b a f dx^ +^ β^

∫ (^) b a gdx. PROOF. Assume first A, B ≥ 0 and let P be a partition so that I( f ) − ε ≤ L( f ; P) ≤ I( f ) ≤ U( f ; P) ≤ I( f ) + ε and also I(g) − ε ≤ L(g; P) ≤ I(g) ≤ U(g; P) ≤ I(g) + ε. Then

U(A f + Bg; P) ≤ A ·U( f ; P) + B ·U(g; P) ≤ A · I( f ) + B · I( f ) + (A + B)ε L(A f + Bg; P) ≥ A · L( f ; P) + B · L(g; P) ≥ A · I( f ) + B · I( f ) − (A + B)ε. It follows that A · I( f ) + B · I(g) is the unique number between the lower and upper sums. It remains to consider the case of − f , which is done in Problem Set 2.  LEMMA 26. Let f be integrable on [a, b]. If f ≥ 0 then

∫ (^) b a f^ (x)dx^ ≥^0. In particular if f^ (x)^ ≥ g(x) on [a, b] then

∫ (^) b a f^ (x)dx^ ≥^

∫ (^) b a g(x)dx.

PROOF. Consider the function F(x) − G(x) where F is as in the Theorem. It is differentiable, and (F − G)′^ (x) = F′(x) − G′(x) = f (x) − f (x) = 0. It follows that F − G is constant. In other words, for all x we have F(x) − G(x) = F(a) − G(a) = −G(a)

since F(a) = 0. It follows that F(x) = G(x) − G(a).  EXAMPLE 35. Note that if G(x) = ex^ the dGdx = ex, while if G(x) = x log x −x then G′(x) = log x. NOTATION 36. For a continuous function f we write

∫ f (x)dx for a general function F so that F′^ = f. Such a function exists by the Fundamental theorem of calculus. More specifically, if F a single such function then

∫ f (x)dx = F +C for an arbitrary constant C, since if two functions have the same derivative they differ by a constant.

Math 121: In-class worksheet for lecture 8 (17/1/2012)

EXERCISE 37. Find anti-derivatives

(1)

∫ (x^3 + 5 x^2 + sin x)dx =

∫ e^5 xdx =

∫ xex

2 dx =

x + 5 =

EXERCISE 38. Find:

(1) Let F(x) =

∫ (^) cos x x^2

ee t − tant

dt. Find F′(x) =

(2) (2010 final) Let G(x) = (^) dxd

[

x^2

∫ (^) x 2 0

sin u u du

]

− 2 x

∫ (^) x 2 0

sin u u du. Find^ G

π 2

EXERCISE 39. For which a < b is

∫ (^) b a

4 x − x^2

dx largest?

EXAMPLE 43. (Q, +, · , 0 , 1 , <), (R, +, · , 0 , 1 , <)

LEMMA 44. Let F be a field, and let a, b, c ∈ F with a 6 = 0. Then the equation ax + b = c has the unique solution x = a′(c + b′), where a ′ is such that aa′^ = a′a = 1 and b′^ is such that b + b′^ = b′^ + b = 0 ..

PROOF. If ax + b = c then ax = ax + 0 = ax + (b + b′) = (ax + b) + b′^ = c + b′. It follows that x = 1 x = (a′a)x = a′(ax) = a′(c + b′). Conversely, if a · a−^1 = 1 and b + b′^ = 0 then a · (a−^1 (b′^ + c)) + b = (a · a−^1 )(b′^ + c) + b = 1 · (b′^ + c) + b = (b′^ + c) + b = c + (b′^ + b) = c + 0 = 0. 

COROLLARY 45. For all a ∈ F: (1) The equation 1 x + a = a has a unique solution; it follows that zero is unique. (2) If a 6 = 0 , the equation ax = a has the unique solution; it follows that the identity is unique. (3) The equation a + x = 0 has a unique solution; we denote it −a. (4) if a 6 = 0 , the equation ax = 1 has a unique solution, to be denoted a−^1.

LEMMA 46. Let F be a field. Then: (1) For all x ∈ F, we have x · 0 = 0. (2) For all x ∈ F, we have x · (− 1 ) = −x.

PROOF. (1) We have 0 = 0 + 0 so by the zero and distributive laws x · 0 = x · ( 0 + 0 ) = x · 0 + x · 0. There is y such that x · 0 + y = 0 so adding y to both sides we get 0 = x · 0 + y = (x · 0 + x · 0 ) + y = x · 0 + (x · 0 + y) = x · 0 + 0 = x · 0. (2) x + · (−x) = 0 = x · 0 = x · ( 1 + (− 1 )) = x · 1 + x · (− 1 ).  PROPOSITION 47. (Generalized associative law)

PROPOSITION 48. (Generalized commutative law) DEFINITION 49. (Powers) Let a ∈ F. Set a^0 = 1 and for a natural number n set an+^1 = an^ · a.

If a 6 = 0 then for a negative integer n set an^ def = (a−^1 )−n. PROPOSITION 50. (Power laws) For all a, b ∈ F and n, m ∈ N we have an^ · am^ = an+m (an)m^ = anm anbn^ = (ab)n^.

If a, b are non-zero then these laws hold for all n, m ∈ Z.

1.7.2. The order. LEMMA 51. Let F be an ordered field and let x ∈ F be non-zero. Then exactly one of x, −x is positive.

PROOF. If x > 0 then x + (−x) > 0 + (−x). If x < 0 then x + (−x) < 0 + (−x). 

COROLLARY 52. For all x ∈ F we have x^2 ≥ 0 with equality iff x = 0.

PROOF. If x > 0 then x · x > 0 · x = 0. If x = 0 then x^2 = 0. If x < 0 then −x > 0 so x^2 = (− 1 )(− 1 )x · x = (−x)^2 > 0. 

COROLLARY 53. 1 > 0.

PROOF. 1 = 12. 

DEFINITION 54. If x ∈ F the absolute value of x is the element of F given by|x| =

x x > 0 0 x = 0 −x x < 0

LEMMA 55. (Norm) For all x, y ∈ F: (1) |x| ≥ 0 and |x| = 0 iff x = 0. (2) (Triangle inequality)|x + y| ≤ |x| + |y|, |x − y| ≥ |x| − |y|. (3) |xy| = |x| |y|.

PROOF. Divide into cases. 

1.7.3. Completeness. The following formalizes our idea that there are “no holes” in the real number line.

AXIOM 56 (Completeness of R). Let A, B be non-empty sets of real numbers such that: (1) For every a ∈ A, b ∈ B we have a ≤ b. (2) For every ε > 0 there are a ∈ A, b ∈ B with b − a ≤ ε.

Then there is a real number L such that a ≤ L ≤ b for all a ∈ A, b ∈ B.

LEMMA 57. The number L in the axiom is unique.

PROOF. Let A, B be as in the axiom, and let L, L′^ satisfy the conclusion. Given ε > 0 let a ∈ A, b ∈ B satisfy b ≤ a + ε. Then L, L′^ ∈ [a, a + ε] so |L − L′| ≤ ε. 

Lower and upper bounds.

DEFINITION 58. Let F be an ordered field and let A ⊂ F be non-empty. Call M ∈ F an upper bound for A if for all x ∈ A we have x ≤ M. Call m ∈ F a lower bound for A if for all x ∈ A we have x ≥ m. Call A bounded above if it has an upper bound, bounded below if it has a lower bound, bounded if both hold, and unbounded if it is not bounded.

LEMMA 59. A non-empty A ⊂ R is bounded iff there is M ∈ R such that for all x ∈ A, |x| ≤ M.

NOTATION 60. Let a < b be real numbers. We write

(a, b) = {x ∈ R | a < x < b} ("open interval") [a, b) = {x ∈ R | a ≤ x < b} (a, b] = {x ∈ R | a < x ≤ b} [a, b] = {x ∈ R | a ≤ x ≤ b} ("closed interval")