comwiz0
- 3
- 0
Homework Statement
Solve the boundary value problem
\frac{\partial ^2 u}{\partial t^2} = c^2 (\frac{\partial ^2 u}{\partial x^2}+\frac{\partial ^2 u}{\partial y^2}),
0<x<a,
0<y<b, and
t>0
for the boundary conditions
u(0,y,t) = 0 and u(a,y,t) = 0 for 0 \leq y \leq b and t\geq0 and
u(x,0,t) = 0 and u(x,b,t) = 0 for 0 \leq x \leq a and t\geq0
and the initial conditions
u(x,y,0) = f(x,y) and
\frac{\partial u}{\partial t}(x,y,0) = g(x,y)
with a=b=1, c=1/\pi and the given functions f(x,y) = sin(\pi x)sin(\pi y) and g(x,y) = sin(\pi x).
Homework Equations
The derived solution to the two dimensional wave equation with the above boundary and initial conditions is
u(x,y,t) = \sum_{n=1}^\infty \sum_{m=1}^\infty (B_{mn} cos \lambda_{mn} t + B_{mn}^* sin \lambda_{mn} t) sin \frac{m \pi x}{a} cos \frac {n \pi y}{b}
where
\lambda_{mn} = c \pi \sqrt{\frac{m^2}{a^2} + \frac{n^2}{b^2}}
and
B_{mn} = \frac{4}{a b} \int_0^b \int_0^a f(x,y) sin \frac{m \pi x}{a} sin \frac{n \pi y}{b} dx dy
and
B_{mn}^* = \frac{4}{a b \lambda_{mn}} \int_0^b \int_0^a g(x,y) sin \frac{m \pi x}{a} sin \frac{n \pi y}{b} dx dy
The Attempt at a Solution
Alright, with all of that out of the way, this should be a pretty simple problem of just plugging in numbers. However, for some reason, I seem to keep getting B_{mn} and B_{mn}^* to be zero, which, in turn, means the whole thing is zero, unless I'm misunderstanding something or missing something - which, for as long as I've been staring at this problem, could very well be the case.
Starting with \lambda_{mn},
\lambda_{mn} = c \pi \sqrt{\frac{m^2}{a^2} + \frac{n^2}{b^2}} = \frac{\pi}{\pi} \sqrt{\frac{m^2}{1^2} + \frac{n^2}{1^2}} = \sqrt{m^2 + n^2}.
Next, B_{mn},
B_{mn} = \frac{4}{a b} \int_0^b \int_0^a f(x,y) sin \frac{m \pi x}{a} sin \frac{n \pi y}{b} dx dy
B_{mn} = 4 \int_0^1 \int_0^1 sin(\pi x)sin(\pi y) sin(m \pi x)sin(n \pi y)dx dy
B_{mn} = 4 \int_0^1 sin(\pi x) sin(m \pi x) dx \int_0^1 sin(\pi y) sin(n \pi y) dy
B_{mn} = 4 [\frac{sin(\pi m)}{2(m+1)\pi} - \frac{sin(\pi m)}{2(m-1)\pi}][\frac{sin(\pi n)}{2(n+1)\pi} - \frac{sin(\pi n)}{2(n-1)\pi}]
For all m and n where m, n = 1, 2, ..., B_{mn} = 0 because of this sin(\pi i) term. I might be missing something obvious here, but I think this is correct. This, in and of itself, doesn't bother me. However, repeating for B_{mn}^*,
B_{mn}^* = \frac{4}{a b \lambda_{mn}} \int_0^b \int_0^a g(x,y) sin \frac{m \pi x}{a} sin \frac{n \pi y}{b} dx dy
B_{mn}^* = \frac{4}{\sqrt{m^2+n^2}} \int_0^1 \int_0^1 sin(\pi x) sin(m \pi x)sin(n \pi y)dx dy
B_{mn}^* = \frac{4}{\sqrt{m^2+n^2}} \int_0^1 sin(\pi x) sin(m \pi x) dx \int_0^1 sin(n \pi y) dy
B_{mn}^* = \frac{4}{\sqrt{m^2+n^2}} [\frac{sin(\pi m)}{2(m+1)\pi} - \frac{sin(\pi m)}{2(m-1)\pi}][\frac{1}{n \pi} - \frac{cos(n \pi)}{n \pi}]
As before, for all m and n where m, n = 1, 2, ..., B_{mn}^* = 0 because of this sin(\pi i) term. So, given that what I have here seems to indicate that I'm doing something wrong, I figured I would ask for some assistance. I'm sure I'm missing something really simple, but I've been staring at this problem for too long to see it. Any thoughts?
Last edited: