computing integrals - 2+2=4 on crackfaculty.marshall.usc.edu/peng-shi/math149/integration.pdf ·...

56
Computing Integrals 2+2=4 on crack Peng Shi Department of Mathematics Duke University Oct. 14, 2009

Upload: others

Post on 03-Aug-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Computing Integrals2 + 2 = 4 on crack

Peng Shi

Department of MathematicsDuke University

Oct. 14, 2009

Page 2: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Introduction

Computation is perhaps annoying, but it is an essential area ofmathematics.

One kind of recurrent computation is integration

(For definition, see Math 139, 203, 241.)

We will review standard techniques and learn to integrate cleverlythrough a few examples.

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 2/14

Page 3: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Introduction

Computation is perhaps annoying, but it is an essential area ofmathematics.

One kind of recurrent computation is integration

(For definition, see Math 139, 203, 241.)

We will review standard techniques and learn to integrate cleverlythrough a few examples.

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 2/14

Page 4: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Introduction

Computation is perhaps annoying, but it is an essential area ofmathematics.

One kind of recurrent computation is integration

(For definition, see Math 139, 203, 241.)

We will review standard techniques and learn to integrate cleverlythrough a few examples.

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 2/14

Page 5: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Basic Integration Techniques

Integration by Parts: ∫ b

a

udv = uv |ba −∫ b

a

vdu

Ex:∫

ln xdx = x ln x −∫

1dx .

Substitution: If y = g(x),∫ g(b)

g(a)

f (y)dy =

∫ b

a

f (g(x))g ′(x)dx

Ex:∫ 1

01

1−x2 dx =∫ π/20

cos θcos θdθ = π

2 .

Partial fractions. Ex:∫1

x2 − 1dx =

1

2

(∫1

x − 1dx −

∫1

x + 1dx

)=

1

2ln

(x − 1

x + 1

)

See Math 41.

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 3/14

Page 6: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Basic Integration Techniques

Integration by Parts: ∫ b

a

udv = uv |ba −∫ b

a

vdu

Ex:∫

ln xdx = x ln x −∫

1dx .

Substitution: If y = g(x),∫ g(b)

g(a)

f (y)dy =

∫ b

a

f (g(x))g ′(x)dx

Ex:∫ 1

01

1−x2 dx =∫ π/20

cos θcos θdθ = π

2 .

Partial fractions. Ex:∫1

x2 − 1dx =

1

2

(∫1

x − 1dx −

∫1

x + 1dx

)=

1

2ln

(x − 1

x + 1

)

See Math 41.

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 3/14

Page 7: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Basic Integration Techniques

Integration by Parts: ∫ b

a

udv = uv |ba −∫ b

a

vdu

Ex:∫

ln xdx = x ln x −∫

1dx .

Substitution: If y = g(x),∫ g(b)

g(a)

f (y)dy =

∫ b

a

f (g(x))g ′(x)dx

Ex:∫ 1

01

1−x2 dx =∫ π/20

cos θcos θdθ = π

2 .

Partial fractions. Ex:∫1

x2 − 1dx =

1

2

(∫1

x − 1dx −

∫1

x + 1dx

)=

1

2ln

(x − 1

x + 1

)

See Math 41.

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 3/14

Page 8: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Basic Integration Techniques

Integration by Parts: ∫ b

a

udv = uv |ba −∫ b

a

vdu

Ex:∫

ln xdx = x ln x −∫

1dx .

Substitution: If y = g(x),∫ g(b)

g(a)

f (y)dy =

∫ b

a

f (g(x))g ′(x)dx

Ex:∫ 1

01

1−x2 dx =∫ π/20

cos θcos θdθ = π

2 .

Partial fractions. Ex:∫1

x2 − 1dx =

1

2

(∫1

x − 1dx −

∫1

x + 1dx

)=

1

2ln

(x − 1

x + 1

)

See Math 41.

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 3/14

Page 9: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Basic Integration Techniques

Integration by Parts: ∫ b

a

udv = uv |ba −∫ b

a

vdu

Ex:∫

ln xdx = x ln x −∫

1dx .

Substitution: If y = g(x),∫ g(b)

g(a)

f (y)dy =

∫ b

a

f (g(x))g ′(x)dx

Ex:∫ 1

01

1−x2 dx =∫ π/20

cos θcos θdθ = π

2 .

Partial fractions. Ex:∫1

x2 − 1dx =

1

2

(∫1

x − 1dx −

∫1

x + 1dx

)=

1

2ln

(x − 1

x + 1

)

See Math 41.Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 3/14

Page 10: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Change of Coordinates

Cylindrical coordinates:

x 7→ r cos θy 7→ r sin θz 7→ z

dxdydz 7→ rdrdθdz

Spherical coordinates:

x 7→ ρ sinφ cos θy 7→ ρ sinφ sin θz 7→ ρ cos θ

dxdydz 7→ ρ2 sinφdρdθdφ

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 4/14

Page 11: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Change of Coordinates

Cylindrical coordinates:

x 7→ r cos θy 7→ r sin θz 7→ z

dxdydz 7→ rdrdθdz

Spherical coordinates:

x 7→ ρ sinφ cos θy 7→ ρ sinφ sin θz 7→ ρ cos θ

dxdydz 7→ ρ2 sinφdρdθdφ

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 4/14

Page 12: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Change of Coordinates

In general, define the Jacobian

∂(y1, · · · , yn)

∂(x1, · · · , xn)=

∂y1

∂x1· · · ∂y1

∂xn

.... . .

...∂yn

∂x1· · · ∂yn

∂xn

y1 7→ x1

...yn 7→ xn

dy1 · · · dyn 7→ det(∂(y1,··· ,yn)∂(x1,··· ,xn)

)dx1 · · · dxn

See Math 105, Math 204.

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 5/14

Page 13: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Change of Coordinates

In general, define the Jacobian

∂(y1, · · · , yn)

∂(x1, · · · , xn)=

∂y1

∂x1· · · ∂y1

∂xn

.... . .

...∂yn

∂x1· · · ∂yn

∂xn

y1 7→ x1

...yn 7→ xn

dy1 · · · dyn 7→ det(∂(y1,··· ,yn)∂(x1,··· ,xn)

)dx1 · · · dxn

See Math 105, Math 204.

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 5/14

Page 14: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Change of Coordinates

In general, define the Jacobian

∂(y1, · · · , yn)

∂(x1, · · · , xn)=

∂y1

∂x1· · · ∂y1

∂xn

.... . .

...∂yn

∂x1· · · ∂yn

∂xn

y1 7→ x1

...yn 7→ xn

dy1 · · · dyn 7→ det(∂(y1,··· ,yn)∂(x1,··· ,xn)

)dx1 · · · dxn

See Math 105, Math 204.

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 5/14

Page 15: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Advanced Techniques

Differentiation under the Integral sign: under certain conditions, cancommute integration in one variable with differentiation in another.(see Math203, Math241, or Wikipedia)

Complex integration: Can use complex analysis to elegantly computemany integrals (see Math 245 or Wikipedia)

While standard theories are powerful, sometimes we can make our lives alot easier by little bit of cleverness. Let us look at some examples!

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 6/14

Page 16: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Advanced Techniques

Differentiation under the Integral sign: under certain conditions, cancommute integration in one variable with differentiation in another.(see Math203, Math241, or Wikipedia)

Complex integration: Can use complex analysis to elegantly computemany integrals (see Math 245 or Wikipedia)

While standard theories are powerful, sometimes we can make our lives alot easier by little bit of cleverness. Let us look at some examples!

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 6/14

Page 17: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Advanced Techniques

Differentiation under the Integral sign: under certain conditions, cancommute integration in one variable with differentiation in another.(see Math203, Math241, or Wikipedia)

Complex integration: Can use complex analysis to elegantly computemany integrals (see Math 245 or Wikipedia)

While standard theories are powerful, sometimes we can make our lives alot easier by little bit of cleverness. Let us look at some examples!

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 6/14

Page 18: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Advanced Techniques

Differentiation under the Integral sign: under certain conditions, cancommute integration in one variable with differentiation in another.(see Math203, Math241, or Wikipedia)

Complex integration: Can use complex analysis to elegantly computemany integrals (see Math 245 or Wikipedia)

While standard theories are powerful, sometimes we can make our lives alot easier by little bit of cleverness. Let us look at some examples!

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 6/14

Page 19: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Change of coordinates

ExampleEvaluate

I =

∫ ∞−∞

e−x2

dx

Intuition: want to create another x .

Solution.

I 2 =∫∞−∞

∫∞−∞ e−(x2+y2)dxdy

=∫ 2π

0

∫ r

0re−r2

drdθ

= (2π)(− 12e−r2 |∞0 )

= π

=⇒ I =√π

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 7/14

Page 20: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Change of coordinates

ExampleEvaluate

I =

∫ ∞−∞

e−x2

dx

Intuition: want to create another x .

Solution.

I 2 =∫∞−∞

∫∞−∞ e−(x2+y2)dxdy

=∫ 2π

0

∫ r

0re−r2

drdθ

= (2π)(− 12e−r2 |∞0 )

= π

=⇒ I =√π

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 7/14

Page 21: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Change of coordinates

ExampleEvaluate

I =

∫ ∞−∞

e−x2

dx

Intuition: want to create another x .

Solution.

I 2 =∫∞−∞

∫∞−∞ e−(x2+y2)dxdy

=∫ 2π

0

∫ r

0re−r2

drdθ

= (2π)(− 12e−r2 |∞0 )

= π

=⇒ I =√π

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 7/14

Page 22: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Change of coordinates

ExampleEvaluate

I =

∫ ∞−∞

e−x2

dx

Intuition: want to create another x .

Solution.

I 2 =∫∞−∞

∫∞−∞ e−(x2+y2)dxdy

=∫ 2π

0

∫ r

0re−r2

drdθ

= (2π)(− 12e−r2 |∞0 )

= π

=⇒ I =√π

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 7/14

Page 23: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Change of coordinates

ExampleEvaluate

I =

∫ ∞−∞

e−x2

dx

Intuition: want to create another x .

Solution.

I 2 =∫∞−∞

∫∞−∞ e−(x2+y2)dxdy

=∫ 2π

0

∫ r

0re−r2

drdθ

= (2π)(− 12e−r2 |∞0 )

= π

=⇒ I =√π

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 7/14

Page 24: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Change of coordinates

ExampleEvaluate

I =

∫ ∞−∞

e−x2

dx

Intuition: want to create another x .

Solution.

I 2 =∫∞−∞

∫∞−∞ e−(x2+y2)dxdy

=∫ 2π

0

∫ r

0re−r2

drdθ

= (2π)(− 12e−r2 |∞0 )

= π

=⇒ I =√π

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 7/14

Page 25: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Change of coordinates

ExampleEvaluate

I =

∫ ∞−∞

e−x2

dx

Intuition: want to create another x .

Solution.

I 2 =∫∞−∞

∫∞−∞ e−(x2+y2)dxdy

=∫ 2π

0

∫ r

0re−r2

drdθ

= (2π)(− 12e−r2 |∞0 )

= π

=⇒ I =√π

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 7/14

Page 26: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Exploit SymmetryExample(Putnam ’87 B-1) Evaluate

I =

∫ 4

2

√ln(9− x)√

ln(9− x) +√

ln(x + 3)dx

Observation: x ∈ [2, 4] =⇒ 9− x ∈ [5, 7], x + 3 ∈ [5, 7]. Try x = 6− y .

Solution.

I =∫ 2

4

√ln(y+3)(−dy)√

ln(y+3)+√

ln(9−y)

=∫ 4

2

√ln(x+3)√

ln(9−x)+√

ln(x+3)dx

=⇒ 2I =

∫ 4

2

1dx = 2

=⇒ I = 1

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 8/14

Page 27: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Exploit SymmetryExample(Putnam ’87 B-1) Evaluate

I =

∫ 4

2

√ln(9− x)√

ln(9− x) +√

ln(x + 3)dx

Observation: x ∈ [2, 4] =⇒ 9− x ∈ [5, 7], x + 3 ∈ [5, 7].

Try x = 6− y .

Solution.

I =∫ 2

4

√ln(y+3)(−dy)√

ln(y+3)+√

ln(9−y)

=∫ 4

2

√ln(x+3)√

ln(9−x)+√

ln(x+3)dx

=⇒ 2I =

∫ 4

2

1dx = 2

=⇒ I = 1

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 8/14

Page 28: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Exploit SymmetryExample(Putnam ’87 B-1) Evaluate

I =

∫ 4

2

√ln(9− x)√

ln(9− x) +√

ln(x + 3)dx

Observation: x ∈ [2, 4] =⇒ 9− x ∈ [5, 7], x + 3 ∈ [5, 7]. Try x = 6− y .

Solution.

I =∫ 2

4

√ln(y+3)(−dy)√

ln(y+3)+√

ln(9−y)

=∫ 4

2

√ln(x+3)√

ln(9−x)+√

ln(x+3)dx

=⇒ 2I =

∫ 4

2

1dx = 2

=⇒ I = 1

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 8/14

Page 29: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Exploit SymmetryExample(Putnam ’87 B-1) Evaluate

I =

∫ 4

2

√ln(9− x)√

ln(9− x) +√

ln(x + 3)dx

Observation: x ∈ [2, 4] =⇒ 9− x ∈ [5, 7], x + 3 ∈ [5, 7]. Try x = 6− y .

Solution.

I =∫ 2

4

√ln(y+3)(−dy)√

ln(y+3)+√

ln(9−y)

=∫ 4

2

√ln(x+3)√

ln(9−x)+√

ln(x+3)dx

=⇒ 2I =

∫ 4

2

1dx = 2

=⇒ I = 1

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 8/14

Page 30: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Exploit SymmetryExample(Putnam ’87 B-1) Evaluate

I =

∫ 4

2

√ln(9− x)√

ln(9− x) +√

ln(x + 3)dx

Observation: x ∈ [2, 4] =⇒ 9− x ∈ [5, 7], x + 3 ∈ [5, 7]. Try x = 6− y .

Solution.

I =∫ 2

4

√ln(y+3)(−dy)√

ln(y+3)+√

ln(9−y)

=∫ 4

2

√ln(x+3)√

ln(9−x)+√

ln(x+3)dx

=⇒ 2I =

∫ 4

2

1dx = 2

=⇒ I = 1

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 8/14

Page 31: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Exploit SymmetryExample(Putnam ’87 B-1) Evaluate

I =

∫ 4

2

√ln(9− x)√

ln(9− x) +√

ln(x + 3)dx

Observation: x ∈ [2, 4] =⇒ 9− x ∈ [5, 7], x + 3 ∈ [5, 7]. Try x = 6− y .

Solution.

I =∫ 2

4

√ln(y+3)(−dy)√

ln(y+3)+√

ln(9−y)

=∫ 4

2

√ln(x+3)√

ln(9−x)+√

ln(x+3)dx

=⇒ 2I =

∫ 4

2

1dx = 2

=⇒ I = 1

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 8/14

Page 32: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Know Your Trig SubsitutionsExample(VTech 2000) Evaluate

I =

∫ π/3

0

5− 4 cos θ

Half-angle substitution: Let t = tan θ2 , sin θ = 2t

1+t2 , cos θ = 1−t2

1+t2 .

Solution.

I =

∫ π/3

0

sec2 θ2

1 + 9 tan2 θ2

Let m = 3 tan θ2 , dm = 3

2 sec2 θ2 dθ.

I = 23

∫√3

0dm

1+m2

= 23 (tan−1 x |

√3

0 )= 2π

9

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 9/14

Page 33: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Know Your Trig SubsitutionsExample(VTech 2000) Evaluate

I =

∫ π/3

0

5− 4 cos θ

Half-angle substitution: Let t = tan θ2 , sin θ = 2t

1+t2 , cos θ = 1−t2

1+t2 .

Solution.

I =

∫ π/3

0

sec2 θ2

1 + 9 tan2 θ2

Let m = 3 tan θ2 , dm = 3

2 sec2 θ2 dθ.

I = 23

∫√3

0dm

1+m2

= 23 (tan−1 x |

√3

0 )= 2π

9

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 9/14

Page 34: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Know Your Trig SubsitutionsExample(VTech 2000) Evaluate

I =

∫ π/3

0

5− 4 cos θ

Half-angle substitution: Let t = tan θ2 , sin θ = 2t

1+t2 , cos θ = 1−t2

1+t2 .

Solution.

I =

∫ π/3

0

sec2 θ2

1 + 9 tan2 θ2

Let m = 3 tan θ2 , dm = 3

2 sec2 θ2 dθ.

I = 23

∫√3

0dm

1+m2

= 23 (tan−1 x |

√3

0 )= 2π

9

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 9/14

Page 35: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Know Your Trig SubsitutionsExample(VTech 2000) Evaluate

I =

∫ π/3

0

5− 4 cos θ

Half-angle substitution: Let t = tan θ2 , sin θ = 2t

1+t2 , cos θ = 1−t2

1+t2 .

Solution.

I =

∫ π/3

0

sec2 θ2

1 + 9 tan2 θ2

Let m = 3 tan θ2 , dm = 3

2 sec2 θ2 dθ.

I = 23

∫√3

0dm

1+m2

= 23 (tan−1 x |

√3

0 )= 2π

9

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 9/14

Page 36: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Know Your Trig SubsitutionsExample(VTech 2000) Evaluate

I =

∫ π/3

0

5− 4 cos θ

Half-angle substitution: Let t = tan θ2 , sin θ = 2t

1+t2 , cos θ = 1−t2

1+t2 .

Solution.

I =

∫ π/3

0

sec2 θ2

1 + 9 tan2 θ2

Let m = 3 tan θ2 , dm = 3

2 sec2 θ2 dθ.

I = 23

∫√3

0dm

1+m2

= 23 (tan−1 x |

√3

0 )= 2π

9

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 9/14

Page 37: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Understand Underlying GeometryExample(Putnam ’06 A1) Find the volume of the region of points (x , y , z) suchthat

(x2 + y2 + z2 + 8)2 ≤ 36(x2 + y2)

Observation: 1. symmetry under rotation along z-axis, so tryr2 = x2 + y2. 2. can factor.

Solution.The inequality can be factored as

((r − 3)2 + z2 − 1)((r + 3)2 + z2 − 1) ≤ 0⇔ (r − 3)2 + z2 ≤ 1

By Pappus’ theorem, the volume is

(3 · 2π)(π · 12) = 6π2

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 10/14

Page 38: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Understand Underlying GeometryExample(Putnam ’06 A1) Find the volume of the region of points (x , y , z) suchthat

(x2 + y2 + z2 + 8)2 ≤ 36(x2 + y2)

Observation: 1. symmetry under rotation along z-axis, so tryr2 = x2 + y2.

2. can factor.

Solution.The inequality can be factored as

((r − 3)2 + z2 − 1)((r + 3)2 + z2 − 1) ≤ 0⇔ (r − 3)2 + z2 ≤ 1

By Pappus’ theorem, the volume is

(3 · 2π)(π · 12) = 6π2

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 10/14

Page 39: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Understand Underlying GeometryExample(Putnam ’06 A1) Find the volume of the region of points (x , y , z) suchthat

(x2 + y2 + z2 + 8)2 ≤ 36(x2 + y2)

Observation: 1. symmetry under rotation along z-axis, so tryr2 = x2 + y2. 2. can factor.

Solution.The inequality can be factored as

((r − 3)2 + z2 − 1)((r + 3)2 + z2 − 1) ≤ 0⇔ (r − 3)2 + z2 ≤ 1

By Pappus’ theorem, the volume is

(3 · 2π)(π · 12) = 6π2

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 10/14

Page 40: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Understand Underlying GeometryExample(Putnam ’06 A1) Find the volume of the region of points (x , y , z) suchthat

(x2 + y2 + z2 + 8)2 ≤ 36(x2 + y2)

Observation: 1. symmetry under rotation along z-axis, so tryr2 = x2 + y2. 2. can factor.

Solution.The inequality can be factored as

((r − 3)2 + z2 − 1)((r + 3)2 + z2 − 1) ≤ 0

⇔ (r − 3)2 + z2 ≤ 1

By Pappus’ theorem, the volume is

(3 · 2π)(π · 12) = 6π2

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 10/14

Page 41: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Understand Underlying GeometryExample(Putnam ’06 A1) Find the volume of the region of points (x , y , z) suchthat

(x2 + y2 + z2 + 8)2 ≤ 36(x2 + y2)

Observation: 1. symmetry under rotation along z-axis, so tryr2 = x2 + y2. 2. can factor.

Solution.The inequality can be factored as

((r − 3)2 + z2 − 1)((r + 3)2 + z2 − 1) ≤ 0⇔ (r − 3)2 + z2 ≤ 1

By Pappus’ theorem, the volume is

(3 · 2π)(π · 12) = 6π2

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 10/14

Page 42: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Understand Underlying GeometryExample(Putnam ’06 A1) Find the volume of the region of points (x , y , z) suchthat

(x2 + y2 + z2 + 8)2 ≤ 36(x2 + y2)

Observation: 1. symmetry under rotation along z-axis, so tryr2 = x2 + y2. 2. can factor.

Solution.The inequality can be factored as

((r − 3)2 + z2 − 1)((r + 3)2 + z2 − 1) ≤ 0⇔ (r − 3)2 + z2 ≤ 1

By Pappus’ theorem, the volume is

(3 · 2π)(π · 12) = 6π2

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 10/14

Page 43: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Divide Regions Cleverly

ProblemThree infinitely long circular cylinders each with unit radius have their aesalong the x, y , and z-axes. Determine the volume of the region commonto all three cylinders. (Thus one needs the volume common to{y2 + z2 ≤ 1}, {z2 + x2 ≤ 1}, {x2 + y2 ≤ 1}.)

Hard to express condition Insight:

compute for |y | ≥ |x | ≥ |z |; finalvolume will be 3! times as large.

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 11/14

Page 44: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Divide Regions Cleverly

ProblemThree infinitely long circular cylinders each with unit radius have their aesalong the x, y , and z-axes. Determine the volume of the region commonto all three cylinders. (Thus one needs the volume common to{y2 + z2 ≤ 1}, {z2 + x2 ≤ 1}, {x2 + y2 ≤ 1}.)

Hard to express condition

Insight:

compute for |y | ≥ |x | ≥ |z |; finalvolume will be 3! times as large.

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 11/14

Page 45: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Divide Regions Cleverly

ProblemThree infinitely long circular cylinders each with unit radius have their aesalong the x, y , and z-axes. Determine the volume of the region commonto all three cylinders. (Thus one needs the volume common to{y2 + z2 ≤ 1}, {z2 + x2 ≤ 1}, {x2 + y2 ≤ 1}.)

Hard to express condition Insight:

compute for |y | ≥ |x | ≥ |z |; finalvolume will be 3! times as large.

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 11/14

Page 46: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Divide Regions CleverlyProblemThree infinitely long circular cylinders each with unit radius have their aesalong the x, y , and z-axes. Determine the volume of the region commonto all three cylinders. (Thus one needs the volume common to{y2 + z2 ≤ 1}, {z2 + x2 ≤ 1}, {x2 + y2 ≤ 1}.)

Solution.

Suffices to compute for |y | ≥ |x | ≥ |z |. Usecylindrical coordinates, then the conditions becomer2 ≤ 1, and | sin θ| ≥ | cos θ|

I6 = 2

∫ 3π/4

π/4

∫ 1

0

∫ r | cos θ|−r | cos θ| rdzdrdθ

= 8(∫ π/2

π/4cos θdθ

)(∫ 1

0r2dr

)= 8(1−

√2

2 )( 13 )

=⇒ I = 8(2−√

2)

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 12/14

Page 47: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Divide Regions CleverlyProblemThree infinitely long circular cylinders each with unit radius have their aesalong the x, y , and z-axes. Determine the volume of the region commonto all three cylinders. (Thus one needs the volume common to{y2 + z2 ≤ 1}, {z2 + x2 ≤ 1}, {x2 + y2 ≤ 1}.)

Solution.

Suffices to compute for |y | ≥ |x | ≥ |z |. Usecylindrical coordinates, then the conditions becomer2 ≤ 1, and | sin θ| ≥ | cos θ|

I6 = 2

∫ 3π/4

π/4

∫ 1

0

∫ r | cos θ|−r | cos θ| rdzdrdθ

= 8(∫ π/2

π/4cos θdθ

)(∫ 1

0r2dr

)= 8(1−

√2

2 )( 13 )

=⇒ I = 8(2−√

2)

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 12/14

Page 48: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Divide Regions CleverlyProblemThree infinitely long circular cylinders each with unit radius have their aesalong the x, y , and z-axes. Determine the volume of the region commonto all three cylinders. (Thus one needs the volume common to{y2 + z2 ≤ 1}, {z2 + x2 ≤ 1}, {x2 + y2 ≤ 1}.)

Solution.

Suffices to compute for |y | ≥ |x | ≥ |z |. Usecylindrical coordinates, then the conditions becomer2 ≤ 1, and | sin θ| ≥ | cos θ|

I6 = 2

∫ 3π/4

π/4

∫ 1

0

∫ r | cos θ|−r | cos θ| rdzdrdθ

= 8(∫ π/2

π/4cos θdθ

)(∫ 1

0r2dr

)= 8(1−

√2

2 )( 13 )

=⇒ I = 8(2−√

2)

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 12/14

Page 49: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Summary

A lot of techniques available

Don’t just brute force: a little bit of cleverness makes life a lot easier.

If possible, draw diagrams and try to visualize what’s going on.

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 13/14

Page 50: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Summary

A lot of techniques available

Don’t just brute force: a little bit of cleverness makes life a lot easier.

If possible, draw diagrams and try to visualize what’s going on.

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 13/14

Page 51: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Summary

A lot of techniques available

Don’t just brute force: a little bit of cleverness makes life a lot easier.

If possible, draw diagrams and try to visualize what’s going on.

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 13/14

Page 52: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Creating Problems for Duke Math Meet

The Math meet is Oct. 31. We need ≈ 60 good, original problems!

Creating problems is mandatory; you need to turn in at least 2problems next week!

A good problem is worth 7 points; you can submit fewer solutionsthis week and turn in problems instead.

Topics can be anything that doesn’t require higher math–calculus,linear algebra, or abstract algebra.

Be as creative as possible! Have fun!

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 14/14

Page 53: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Creating Problems for Duke Math Meet

The Math meet is Oct. 31. We need ≈ 60 good, original problems!

Creating problems is mandatory; you need to turn in at least 2problems next week!

A good problem is worth 7 points; you can submit fewer solutionsthis week and turn in problems instead.

Topics can be anything that doesn’t require higher math–calculus,linear algebra, or abstract algebra.

Be as creative as possible! Have fun!

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 14/14

Page 54: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Creating Problems for Duke Math Meet

The Math meet is Oct. 31. We need ≈ 60 good, original problems!

Creating problems is mandatory; you need to turn in at least 2problems next week!

A good problem is worth 7 points; you can submit fewer solutionsthis week and turn in problems instead.

Topics can be anything that doesn’t require higher math–calculus,linear algebra, or abstract algebra.

Be as creative as possible! Have fun!

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 14/14

Page 55: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Creating Problems for Duke Math Meet

The Math meet is Oct. 31. We need ≈ 60 good, original problems!

Creating problems is mandatory; you need to turn in at least 2problems next week!

A good problem is worth 7 points; you can submit fewer solutionsthis week and turn in problems instead.

Topics can be anything that doesn’t require higher math–calculus,linear algebra, or abstract algebra.

Be as creative as possible! Have fun!

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 14/14

Page 56: Computing Integrals - 2+2=4 on crackfaculty.marshall.usc.edu/Peng-Shi/math149/integration.pdf · ˇ=2 0 cos cos d = ˇ 2. Partial fractions. Ex: ... Peng Shi, Duke University Computing

Creating Problems for Duke Math Meet

The Math meet is Oct. 31. We need ≈ 60 good, original problems!

Creating problems is mandatory; you need to turn in at least 2problems next week!

A good problem is worth 7 points; you can submit fewer solutionsthis week and turn in problems instead.

Topics can be anything that doesn’t require higher math–calculus,linear algebra, or abstract algebra.

Be as creative as possible! Have fun!

Peng Shi, Duke University Computing Integrals, 2 + 2 = 4 on crack 14/14