Docsity

Solving a Heat Equation: Steady State and Time-Dependent Solution - Prof. Federico Bonetto, Exams of Mathematics

Partial preview of the text

Download Solving a Heat Equation: Steady State and Time-Dependent Solution - Prof. Federico Bonetto and more Exams Mathematics in PDF only on Docsity!

Fall 05 Name:

Math 4581 Test 2 retake Bonetto

Page 1 of 4

  1. The equation governing the temperature u(x, t) inside a rod is:

∂u(x, t)

∂t

2 u(x, t)

∂x

2

0 ≤ x ≤ 1

∂u(0, t)

∂x

∂u(1, t)

∂x

= r (T − u(1, t))

u(x, 0) = T x

a) write and solve the equation for the steady state v(x).

b) write the equation for the difference w(x, t) = u(x, t) − v(x).

Page 3 of 4

d) write the solution of the problem. Remember that

x cos(λx)dx =

cos(λx)

λ

2

x sin(λx)

λ

∫

cos

2 (λx)dx =

x

sin(2λx)

4 λ

Page 4 of 4

e) Consider the equation:

∂u(x, t)

∂t

2 u(x, t)

∂x

2

  • k(T − u(x, t)) 0 ≤ x ≤ 1

∂u(0, t)

∂x

∂u(1, t)

∂x

= r (T − u(1, t))

u(x, 0) = T x

Find the solution of this equation. Observe that after comnputing the steady

state you can just use the results in points a), b) and c). What is the only

difference with the previous case?

c) use separation of variable to reduce the problem to a Sturm-Luiville problem.

Find the eigenvalues and eigenfunctions. Explain why you can expand in eigen-

functions. Write the general solution for w(x, t) and an expression for the coeffi-

cient in term of w(x, 0).

Writing w(x, t) = T (t)s(x) we get the equations:

T (t) = μT (t)

and (^) 

2 s(x)

∂x

2

= μs(x) 0 ≤ x ≤ 1

∂s(0)

∂x

∂s(1)

∂x

= −ru(1)

The equation for s tells us that μ = −λ

2 and

s(x) = a cos(λx) + b sin(λx)

The first boundary condition implies that b = 0, so that we can take a = 1. The

other boundary condition reads:

−λ sin(λ) = −r cos(λ)

or

tan(λ) =

r

λ

This equation has infinitely many solution λ n

  1. They are the eigenvalue with

eigenvector s n (x) = cos(λ n x). The general solution is then:

w(x, t) =

∞ ∑

n=

a n e

−λ

2 n

t cos(λ n x)

where

an =

1

0

cos(λ n x)w(x, 0)dx

1

0

cos

2 (λ n x)dx

d) write the solution of the problem. Remember that

x cos(λx)dx =

cos(λx)

λ

2

x sin(λx)

λ

∫

cos

2 (λx)dx =

x

sin(2λx)

4 λ

NB: there was a typo in the sign of the second term on the right in the second

equation above.

1

0

cos

2 (λ n x)dx =

x

sin(2λ n x)

4 λ n

1

0

sin(2λ n

4 λ n

2 λ n

  • sin(2λ n

4 λ n

1

0

cos(λ n x)w(x, 0)dx = T

1

0

x cos(λ n x)dx −

1

0

cos(λ n x)dx

= T

cos(λ n

λ

2 n

so that

v(x, t) = T +

∞ ∑

n=

a n e

−λ

2 n t cos(λ n x)

with

a n

4 T

λ n

cos(λ n

2 λ n

  • sin(2λ n