Docsity

Solutions to Exercises on 1D Heat Equation and Orthogonality Relations, Assignments of Differential Equations

Toggle sidebar
bg1
Homework 03. Selected Solutions
Exercise 03.1. Consider the 1D heat equation
∂u
∂t =∂2u
∂x2,0< x < π, t > 0,
subject to the boundary conditions
∂u
∂x (0, t) = 0 and ∂u
∂x (π , t) = 0, t > 0.
Solve the initial value problem if the temperature is initially
•
u(x, 0) = 6 cos(9x),0< x < π ;
•
u(x, 0) = −3 cos(7x) + 7 cos(11x)−7,0< x < π ;
•
u(x, 0) = 6 ·cos(x)·cos(3x) + 5,0< x < π .
Solutions.
•
u(x, t) = 6 cos(9x)·exp n−81 ·to;
•
u(x, t) = −3 cos(7x)·exp n−49·to+ 7 cos(11x)·exp n−121·to−7;
•
u(x, 0) = 3 cos(4x) + 3 cos(2x) + 5
u(x, 0) = 3 cos(4x)·exp n−16 ·to+ 3 cos(2x)·exp n−4·to+ 5
1
pf3
pf4

Partial preview of the text

Download Solutions to Exercises on 1D Heat Equation and Orthogonality Relations and more Assignments Differential Equations in PDF only on Docsity!

Homework 03. Selected Solutions

Exercise 03.1. Consider the 1D heat equation

∂u ∂t

∂^2 u ∂x^2

, 0 < x < π, t > 0 ,

subject to the boundary conditions

∂u ∂x

(0, t) = 0 and

∂u ∂x

(π, t) = 0, t > 0.

Solve the initial value problem if the temperature is initially

  • u(x, 0) = 6 cos(9x), 0 < x < π ;
  • u(x, 0) = −3 cos(7x) + 7 cos(11x) − 7 , 0 < x < π ;
  • u(x, 0) = 6 · cos(x) · cos(3x) + 5, 0 < x < π.

Solutions.

  • u(x, t) = 6 cos(9x) · exp

− 81 · t

u(x, t) = −3 cos(7x)· exp

− 49 · t

  • 7 cos(11x)· exp

− 121 · t

u(x, 0) = 3 cos(4x) + 3 cos(2x) + 5

u(x, 0) = 3 cos(4x) · exp

− 16 · t

  • 3 cos(2x) · exp

− 4 · t

Exercise 03.2. Prove the orthogonality relations:

∫ (^) +π

−π

cos(mx) cos(nx) dx =

π if m = n , 0 if m 6 = n ,

∫ (^) +π

−π

sin(mx) sin(nx) dx =

π if m = n , 0 if m 6 = n ,

and (^) ∫ (^) +π

−π

cos(mx) sin(nx) dx = 0

for all positive integers m and n.

Solution. First of all, consider the following trigonometric identities:

cos(mx) · cos(nx) = 12 cos((m − n)x) +^12 cos((m + n)x)

sin(mx) · sin(nx) = 12 cos((m − n)x) − 12 cos((m + n)x)

sin(mx) · cos(nx) = 12 sin((m + n)x) − 12 sin((m − n)x)

Then, considering separately case m = n and the case m 6 = n, we get the results by direct integration.

Exercise 03.4. Consider the conservation law written in the integral form ∫ ∫ ∫

R

cρ

∂u ∂t

dV = −

∂R

φ · n dS +

R

Q dV.

  • Explain the minus sign in front of the surface integral.

Exercise 03.5. Sketch Ω if

Ω =

(x, y, z) ∈ R^3 : − 1 < x < 1 , − 1 < y < 1 , 0 < z < 2

(x, y, z) ∈ R^3 : x^2 + y^2 < 1 , 0 < z < 2

(x, y, z) ∈ R^3 : x^2 + y^2 + (z − 1)^2 < 1

What geometric shape does Ω have in each particular case?

Solutions. In the first case we have a cube of the side 2 with left-front- bottom corener point (−1; − 1; 0). In the second case, Ω is a right circular cilinder of radius 1 and height 2. The last example is the unit ball (radius

  1. with the center at (0; 0; 1).