Docsity

Introduction Partial Differential Equations - Assignment 6 Solutions | MATH 110, Assignments of Differential Equations

Toggle sidebar
bg1
MATH 110
SOLUTIONS TO HW #6
Section 5.2, problem 3.
These are almost immediate. To prove the one about odd functions, notice that
for an odd function φ(x) we have on [−`, 0] that φ(x) = −φ(x), so that by a change
of variables we may compute:
Z0
−`
φ(x)dx =−Z`
0
φ(x)dx .
This immediately gives us that:
Z`
−`
φ(x)dx =Z0
−`
φ(x)dx +Z`
0
φ(x)dx =−Z`
0
φ(x)dx +Z`
0
φ(x)dx = 0 .
Similarly, for an even function ψ(x) we have that on [−`,0] the identity ψ(x) =
ψ(−x) holds, so by a change of variables we have:
Z0
−`
ψ(x)dx =Z`
0
ψ(x)dx .
this gives:
Z`
−`
ψ(x)dx =Z0
−`
ψ(x)dx +Z`
0
ψ(x)dx = 2 Z`
0
ψ(x)dx .
Section 5.2, problem 4.
a) This follows from the fact that the product φ·ψof an odd and an even function
is automatically odd. Thus φ(x) cos nπ
`xis odd and we have:
Z`
−`
φ(x) cos nπ
`xdx = 0 .
Thus, the full series expansion of φ(x) has zero coefficients for all cosine terms.
That is, it contains only sine terms.
b) This follows from identical reasoning. If ψ(x) is even, then the functions
ψ(x) sin nπ
`xare always odd. Therefore we have the identities:
Z`
−`
ψ(x) sin nπ
`xdx = 0 .
That is, the series expansion of ψ(x) on [−`, `] has only cosine terms because all of
the sine coefficients vanish.
1
pf3
pf4
pf5

Partial preview of the text

Download Introduction Partial Differential Equations - Assignment 6 Solutions | MATH 110 and more Assignments Differential Equations in PDF only on Docsity!

MATH 110

SOLUTIONS TO HW

Section 5.2, problem 3. These are almost immediate. To prove the one about odd functions, notice that for an odd function φ(x) we have on [−`, 0] that φ(x) = −φ(x), so that by a change of variables we may compute: ∫ (^0)

−`

φ(x)dx = −

∫ `

0

φ(x)dx.

This immediately gives us that: ∫ (^) `

−`

φ(x)dx =

−`

φ(x)dx +

∫ `

0

φ(x)dx = −

∫ `

0

φ(x)dx +

∫ `

0

φ(x)dx = 0.

Similarly, for an even function ψ(x) we have that on [−`, 0] the identity ψ(x) = ψ(−x) holds, so by a change of variables we have: ∫ (^0)

−`

ψ(x)dx =

∫ `

0

ψ(x)dx.

this gives: ∫ (^) `

−`

ψ(x)dx =

−`

ψ(x)dx +

∫ `

0

ψ(x)dx = 2

∫ `

0

ψ(x)dx.

Section 5.2, problem 4. a) This follows from the fact that the product φ·ψ of an odd and an even function is automatically odd. Thus φ(x) cos

( (^) nπ ` x

is odd and we have: ∫ (^) `

−`

φ(x) cos

( (^) nπ `

x

dx = 0.

Thus, the full series expansion of φ(x) has zero coefficients for all cosine terms. That is, it contains only sine terms.

b) This follows from identical reasoning. If ψ(x) is even, then the functions ψ(x) sin

( (^) nπ ` x

are always odd. Therefore we have the identities: ∫ (^) `

−`

ψ(x) sin

( (^) nπ ` x

dx = 0.

That is, the series expansion of ψ(x) on [−,] has only cosine terms because all of the sine coefficients vanish.

1

Section 5.2, problem 5. Suppose that φ(x) is a function on (0, ). Then we can use it to define the following odd function on [−, `]:

ψ(x) =

φ(x) 0 < x < ; 0 x = 0 ; −φ(−x) − < x < 0.

Then by the previous exercise we may expand ψ(x) into its full sin/cosine series on [−,] which is guaranteed to have only sine terms:

(1) ψ(x) =

∑^ ∞

n=

an sin

( (^) nπ `

x

where:

an =

`

∫ `

−`

ψ(x) sin

( (^) nπ ` x

dx.

But since both ψ(x) and sin

( (^) nπ ` x

are odd functions, their product is even. Thus, from exercise 3 and the definition of ψ(x) we have that:

1 `

∫ `

−`

ψ(x) sin

( (^) nπ `

x

dx =

`

∫ `

0

ψ(x) sin

( (^) nπ `

x

dx ,

`

∫ `

0

φ(x) sin

( (^) nπ `

x

dx.

Therefore, we see that the an in (1) above may be computed as follows:

an =

`

∫ `

0

φ(x) sin

( (^) nπ `

x

dx.

Section 5.2, problem 16. This was done in class. Notice that by the De Moivre formula we have that: cos(θ + φ) = <(ei(θ+φ)) ,

where < denotes the real part of an imaginary number. Also, by taking products we have that:

ei(θ+φ)^ = eiθ^ eiφ^ ,

(2) = [cos(θ) cos(φ) − sin(θ) sin(φ)] + i [cos(θ) sin(φ) + cos(φ) sin(θ)].

Therefore, taking the real part of this last line we see that:

cos(θ + φ) = cos(θ) cos(φ) − sin(θ) sin(φ).

Similarly, we have that: sin(θ + φ) = =(ei(θ+φ)) ,

where = denotes the imaginary part of a complex number. Therefore, taking the imaginary part of (2) we have:

sin(θ + φ) = cos(θ) sin(φ) + cos(φ) sin(θ).

Therefore, adding together all the Ij using this last line and (3) above we have that:

(4) I 1 + I 2 + I 3 + I 4 =

a 0 βnβk

sin(βn) sin(βk) −

a^20 β n^2 βk

cos(βn) sin(βk) + (1 +

a^20 β^2 n

)I 1.

To continue the computation, we need to compute the integral I 1. We do this using the trigonometric identity:

cos(βnx) cos(βkx) =

[cos

(βn + βk)x

  • cos

(βn − βk)x

].

Thus we have that:

I 1 =

∫ `

0

[cos

(βn + βk)x

  • cos

(βn − βk)x

] dx ,

2(βn + βk)

sin

(βn + βk)`

2(βn + βk)

sin

(βn + βk)`

= I 11 + I 12.

To compute the last two terms, we employ the double angle identity for the sine function so that:

I 11 =

2(βn + βk)

sin

(βn)`

cos

(βk)`

  • cos

(βn)`

sin

(βk)`

I 12 =

2(βn − βk)

sin

(βn)`

cos

(βk)`

− cos

(βn)`

sin

(βk)`

The final thing we need to do here in the computation of I 1 is to simplify a bit the computation of the sum I 11 + I 12. To do this, it will be necessary for us the identity:

(5) sin(βn) = a 0 + a β^2 n − a 0 a`

βn cos(βn`) ,

and similarly for sin(βk`). Notice that this is where we will use the fact that the βn and βk are generated by the Robin condition. Using this last identity, and rationalizing all denominators, we have that:

I 11 + I 12 = a 0 + a` 2(β n^2 − β k^2 )

(β n^2 − a 0 a)(β k^2 − a 0 a)

· cos

(βn)`

cos

(βk)`

[

(βn − βk)(β k^2 − a 0 a)βn + (βn − βk)(β^2 n − a 0 a)βk

  • (βn + βk)(β^2 k − a 0 a)βn − (βn + βk)(β^2 n − a 0 a)βk

]

This last expression is extremely messy, but luckily we are at the point where most terms start to cancel each other. First of all, a direct algebraic calculation which we leave to the reader shows that: [ (βn − βk)(β k^2 − a 0 a)βn + (βn − βk)(β^2 n − a 0 a)βk

  • (βn + βk)(β^2 k − a 0 a)βn − (βn + βk)(β^2 n − a 0 a)βk

]

= − 2 a 0 a`(β n^2 − β k^2 ).

Therefore, the previous line simplifies considerably to the following:

I 1 = I 11 + I 12 = −(a 0 + a`) · cos

(βn)`

cos

(βk)`

a 0 a(β n^2 − a 0 a)(β k^2 − a 0 a`)

Finally, if we substitute this last line for I 1 in equation (4) above, and if we furthermore trade out the sines for cosines in the first two terms on the right hand side of that expression using (5), we have that:

I = (a 0 + a`) · cos

(βn)`

cos

(βk)`

[ (^) a 0 (a 0 +^ a) (β^2 n − a 0 a)(β k^2 − a 0 a`)

− a^20 (β^2 n − a 0 a) β^2 n(β^2 k − a 0 a)(β^2 n − a 0 a`)

a^20 β n^2

a 0 a(β^2 n − a 0 a)(β k^2 − a 0 a`)

]

At this point, it is not too difficult to see that the three terms inside the bracket on the right hand side of this last expression sum to zero. That is, we have the desired result that I = 0.

Section 5.3, problem 8. We suppose here that both X 1 and X 2 obey the Robin condition:

X′(0) = a 0 X(0) , X′() = −aX(`).

Therefore, we have the string of identities (we’ll set [a, b] = [0, `] here):

(−X′ 1 X 2 + X 1 X 2 ′)

` 0

= −X 1 ′()X 2 () + X 1 ()X 2 ′() + X 1 ′(0)X 2 (0) − X 1 (0)X 2 ′(0) ,

= aX 1 ()X 2 () + X 1 () (−aX 2 ()) + a 0 X 1 ′(0)X 2 (0) − X 1 (0)a 0 X 2 ′(0) , = 0.

Section 5.3, problem 12. This is just basic integration by parts. That is, we simply integrate both sides identity:

f ′′(x)g(x) = [f ′(x)g(x)]′^ − f ′(x)g′(x) ,

and use the fundamental theorem of calculus for the first term on the right hand

side (that is

∫ (^) b a F^

′ (^) = F |b a).

Section 5.3, problem 13. This is very direct. Suppose that X(x) is an eigenfunction such that:

(6) X(x)X′(x)

∣x=b x=a 6 0.