Separation of Variables / Boundary Conditions

In summary: X"- k2X= 0, then the general solution is of the form X= C1ekx+ C2e-kx (for real k)?In summary, the temperature of the thermally conducting material is controlled using Laplace's equation on a square sheet. The equation has two ODEs and one boundary condition. The general solution is a SUM of X(x)Y(y) for all k. However, I am having major problems with part (b) which is trying to find the solution to the equation for X using the method of separation of variables. I am stuck because I cannot zero enough terms given my boundary conditions to get anywhere.
  • #1
raintrek
75
0

Homework Statement



The edges of a square sheet of thermally conducting material are at x=0, x=L, y= -L/2 and y=L/2

The temperature of these edges are controlled to be:
T = T0 at x = 0 and x = L
T = T0 + T1sin(pi*x/L) at y = -L/2 and y = L/2

where T0 and T1 are constants. The temperature obeys Laplace's equation grad² T (x,y) = 0

(a) Find the general solution to the equation d²X(x) / dx² = 0
(b) Use the method of separation of variables to find the solution to Laplace's equation that objeys the boundary conditions. You'll need to consider a superposition of two solutions: one with a separation constant equal to 0 and a second for which the separation constant is nonzero.

Homework Equations





The Attempt at a Solution



Expanding the LaPlace's equation, I get my two ODEs:

d²X / dx² - k²X = 0
d²Y / dy² + k²Y = 0

Because one of the boundary conditions has a sin(pi*x/L) term in, I've written the general solution for d²X / dx² - k²X = 0 as:
X(x) = Asin(kx) + Bcos(kx) (think that's right...)

However I'm having major problems with part (b)... my natural assumption would be that the entire general solution reads as:
T(x,y) = [Asin(kx) + Bcos(kx)][Ce^ky + De^ky]

However using that I can't zero enough terms given my boundary conditions to get anywhere. HELP!
 
Last edited:
Physics news on Phys.org
  • #2
The fact that the general solution to your equation for X is Acos(kx)+ Bsin(kx) is because of the differential equation, not the boundary condition!

In order to satisfy the boundary conditions, k cannot be just any number. This is basically an "eigenvalue" problem with k as eigenvalue. For one thing, X(0)= T0 and X(L)= T0. What values of k can give a function that satisfies both of those?
Once you know that, use those same values of k for the Y equation. Finally, the general solution is a SUM of X(x)Y(y) for all k.
 
  • #3
Hmm, I'm not sure I understand. If I ignore the boundary condition when specifying a general solution for X, I would tend to write it as Ae^kx + Be^kx as that's the general solution for an ODE of d²X / dx² - k²X = 0 where k>0. Likewise, the gen. sol. for Y would be what I currently have for X, Ccos(ky)+ Dsin(ky) (again, where k>0).

The only reason I wrote it as X=Acos(kx)+ Bsin(kx) is because I have some notes with an example where it states the form of the solution is altered because boundary conditions inolve sin(2pi*x/a) so the solution for X should also included sines/cosines...
 
  • #4
Ever so sorry, I've missed something off in the transcription of the question: part (a) should read

Find the general solution to the equation d²X(x) / dx² = 0

Now I'm even more confused!
 
  • #5
Ah, I misread your problem and reversed X and Y.

If your equation is X"- k2X= 0, then the general solution is of the form X= C1ekx+ C2e-kx (for real k) no matter what the boundary condition is! Similarly, if the equation is Y"+ k2Y= 0 then the general solution is of the form Y(y)= D1 cos(ky)+ D2 sin(ky) (again for real k) no matter what the boundary condition is.

However, in separating the X and Y in the partial differential equation, you get X"/X+ Y"/Y= 0 and, at that point, you have a choice as to which to make equal to k2 and which -k2. That can be guided by looking at the boundary conditions.

(But that choice only simplifies the problem- doing it the other way will be harder but give an equivalent solution. If there are no sine, cosine, or exponentials in the boundary conditions, you can take your choice and get two very different sums that give exactly the same values!)

But I have no idea what is meant by "You'll need to consider a superposition of two solutions: one with a separation constant equal to 0 and a second for which the separation constant is nonzero."

If you let T(x,y)= X(x)Y(y), then, just as you did, you can reduce that to (1/X)X"+ (1/Y)Y"= 0. If one of those has "separation constant" k, if, for example (1/X)X"= k2, then the other must have separation constant -k2 just as you said. You CAN'T have one zero and the other non-zero!
 
  • #6
^ Exactly, that's what I'm thinking. I've consulted a textbook and it too has the statement "...the only essential requirement being that k has the same value in both parts of the solution, ie, the part depending on x and the part depending on y". So that would indeed indicate that one can't be zero and the other non-zero...?

However, what confuses me more right now is that part (a) states...
"Find the general solution to the equation d²X(x) / dx² = 0 "

There's no mention of a constant in there (implying k is zero I guess), so surely the general solution in that case is just Ax + B. Yikes, this question's killing me!
 

1. What is the concept of separation of variables in solving differential equations?

Separation of variables is a method used to solve partial differential equations where the dependent variable can be expressed as a product of two or more simpler functions. This allows the equation to be divided into smaller, simpler equations that can be solved individually.

2. How does separation of variables relate to boundary conditions?

Boundary conditions are used to determine the specific values or relationships of the dependent variable at the boundaries of the problem domain. Separation of variables is often used in conjunction with boundary conditions to solve for the constants in the simpler equations and ensure that the solution satisfies the boundary conditions.

3. Can separation of variables be applied to all types of differential equations?

No, separation of variables can only be applied to certain types of differential equations, specifically those that are linear and homogeneous. It is not applicable to nonlinear or nonhomogeneous equations.

4. What are the advantages of using separation of variables in solving differential equations?

One advantage is that it can simplify complex equations and make them easier to solve by breaking them down into smaller, simpler equations. It also allows for the use of known boundary conditions to determine the constants in the solution.

5. Are there any limitations or drawbacks to using separation of variables?

One limitation is that it is only applicable to certain types of differential equations. Additionally, it may not always provide an exact solution and may require additional methods or approximations to find a more accurate solution. It also requires a good understanding of the underlying mathematics and techniques involved.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
831
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
14
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
704
  • Calculus and Beyond Homework Help
Replies
8
Views
760
  • Calculus and Beyond Homework Help
Replies
2
Views
154
  • Calculus and Beyond Homework Help
Replies
2
Views
461
  • Calculus and Beyond Homework Help
Replies
2
Views
712
Replies
12
Views
378
  • Calculus and Beyond Homework Help
Replies
11
Views
740
Back
Top