Why isn't there an A in the solution for separation of variables in this PDE?

Click For Summary
SUMMARY

The discussion centers on solving the partial differential equation ∂²u/∂x² = ∂²u/∂t² using the method of separation of variables. The proposed solution takes the form u(x,t) = X(x)T(t), leading to the equations X'' = -k²X and T'' = -k²T. The boundary conditions ∂u/∂x (x=0) = ∂u/∂x (x=L) = 0 imply that the coefficient B in the solution X = Acos(kx) + Bsin(kx) must be zero, resulting in the general solution ƩAcos(knx)T. The absence of the constant A in the teacher's solution is attributed to its absorption into the constants of T.

PREREQUISITES
  • Understanding of partial differential equations (PDEs)
  • Familiarity with the method of separation of variables
  • Knowledge of boundary conditions in mathematical physics
  • Basic concepts of eigenvalues and eigenfunctions
NEXT STEPS
  • Study the method of separation of variables in depth
  • Learn about boundary value problems in partial differential equations
  • Explore the implications of choosing constants in differential equations
  • Investigate the characteristics of eigenvalue problems related to PDEs
USEFUL FOR

Students and educators in mathematics, particularly those focusing on differential equations, as well as researchers interested in boundary value problems and their solutions.

zezima1
Messages
119
Reaction score
0

Homework Statement


Given the partial differential equation:

2u/∂x2 = ∂2u/∂t2 , where x[0;L]

Use separation of variables to find the solution that satisfies the boundary conditions:
∂u/∂x (x=0) = ∂u/∂x (x=L) = 0

Homework Equations


The separation of variables method.


The Attempt at a Solution


I think I have found a way to do the problem. There are just minor things that I want to clear up.
So let's jump into it:

Assuming a solution of the form u(x,y) = X(x)T(t)

gives the equations:

X'' = -k2X
T'' = -k2T

with the solutions:

X = Acos(kx)+Bsin(kx)
T=Ccos(kx)+Dsin(kx)

and with the boundary conditions we must have that;

X'(0)=X'(L)=0

which gives:

-Aksin(0)+Bkcos(0) = 0
=>
Bk=0
which must imply that B=0
From that we get:
-Aksin(kL)=0
=>
kL = (n+½)∏
=>
kn = (n+½)∏/L

So the general solution is:

ƩAcos(knx)T

where sum is from -∞ to ∞.

Is this correct? Now my teacher has uploaded a paper with solutions and in his expression there is no A. Is this just because the A has been absorbed into the constants of T, or shouldn't it be there at all?

Also, I find it kind of weird to be choosing the constant -k2. I do so because I've been told that, but why do you that? Also my teacher notes, that choosing k2 would instead yield a trivial solution? Can anyone explain to me why this is and why you don't just choose a trivial constant c?
 
Physics news on Phys.org
zezima1 said:
Is this correct? Now my teacher has uploaded a paper with solutions and in his expression there is no A. Is this just because the A has been absorbed into the constants of T, or shouldn't it be there at all?

Also, I find it kind of weird to be choosing the constant -k2. I do so because I've been told that, but why do you that? Also my teacher notes, that choosing k2 would instead yield a trivial solution? Can anyone explain to me why this is and why you don't just choose a trivial constant c?

Looks good to me. Indeed, you can just rescale your Tk function to absorb Ak.

Have you actually done the separation of variables step? If you do, you get into a situation where you have

(something depending on only t) = (something depending on only x).

As this should hold for any values of x and t, both sides of the equation need to be constant. This constant may be positive or negative, but in this case, you wouldn't be able to satisfy the boundary conditions with a positive constant.
 
Oh right. So if you chose k^2 then you'd get the characteristic equation:
a^2 - k^2 = 0
=>
a=+-k
which would not be a solution involving sines. Is that just what he means?
 

Similar threads

Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K