Solving PDE Using Method of Separation of Variables: Complete Guide

  • Thread starter hbl2012
  • Start date
  • Tags
    Pde
In summary, the conversation discusses a solution to a partial differential equation using the method of separate variables. The solution is found by considering different cases for the value of lambda and solving for the general solution for X(x) and Y(y). The conversation also addresses a question about a misprint and clarifies the correct equation.
  • #1
hbl2012
2
0
I'm new here, hope it is the right place to ask the question.

The PDE question is ∂2u/∂x2+∂2u/∂y2=0
and u(x,0)=f(x), u(x,1)=0, u(0,y)=0, u(1,y)=0.

I use the method of separate the variables, with is let u(x,y)=X(x)Y(y) and get X''/X+Y''/Y=0.

Then let X''/X=-Y''/Y=-λ, i.e. X''+λX=0, and Y''-λY=0.

Since u(x,0)=f(x)=X(x)Y(0), u(x,1)=0=X(x)Y(1), u(0,y)=0=X(0)Y(y), u(1,y)=0=X(1)Y(y), we can conclude that X(0)=0, X(1)=0, Y(0)=f(x), Y(1)=0.

For X''+λX=0, we have 3 cases

1) λ=0, i.e. X''=0, i.e. X=ax+b, since X(0)=0, X(1)=0, a=b=0, which is X(x) always 0. not wavelike.

2) λ<0, Let λ=-μ2, i.e. X''-μ2X=0, General solution is X=a1eμx+a2e-μx. Since X(0)=0, X(1)=0, a1=a2=0, which is X(x) always 0. not wavelike.

3) λ>0, Let λ=μ2, i.e. X''+μ2X=0, General solution is X=a1cos(μx)+a2sin(μx). Since X(0)=0, X(1)=0, a2sinμ=0.
In order to get a nontrivial solution, let μ=n∏, then X(x)=sin(n∏x).
Then we consider Y''-λY=0, i.e. Y''-n22Y=0.
The general solution is Y=b1en∏y+b2e-n∏y.
Then since Y(1)=0, b1en∏+b2e-n∏=0.


Now, here is my question.
Why b1+b2e-2n∏=0?

and How it change in the black font? Yh(y)=-b2e-2n∏en∏y+b2e-n∏y
=-b2e-n∏e-n∏en∏y+b2e-n∏en∏e-n∏y
=-b2'e-n∏(1-y)+b2'en∏(1-y)
=b2'(en∏(1-y)-e-n∏(1-y))
=2b2''sin(hn∏(1-y))
 
Physics news on Phys.org
  • #2
hbl2012 said:
[...]

Then we consider Y''-λY=0, i.e. Y''-n22Y=0.
The general solution is Y=b1en∏y+b2e-n∏y.
Then since Y(1)=0, b1en∏+b2e-n∏=0.
Now, here is my question.
Why b1+b2e-2n∏=0?

Divide both sides of the previous equation by [itex]e^{n\pi}[/itex].

and How it change in the black font? Yh(y)=-b2e-2n∏en∏y+b2e-n∏y
=-b2e-n∏e-n∏en∏y+b2e-n∏en∏e-n∏y
=-b2'e-n∏(1-y)+b2'en∏(1-y)
=b2'(en∏(1-y)-e-n∏(1-y))
=2b2''sin(hn∏(1-y))

I think that's a misprint for [itex]2b_2'\sinh(n\pi(1-y))[/itex].

Remember that
[tex]\sinh(x) \equiv \frac{e^x - e^{-x}}{2}.[/tex]
 
  • #3
pasmith said:
Divide both sides of the previous equation by [itex]e^{n\pi}[/itex].



I think that's a misprint for [itex]2b_2'\sinh(n\pi(1-y))[/itex].

Remember that
[tex]\sinh(x) \equiv \frac{e^x - e^{-x}}{2}.[/tex]

Got it! Thank you very much~~!
 

1. What is a PDE?

A PDE, or partial differential equation, is a type of mathematical equation that involves multiple independent variables and their partial derivatives. It is commonly used in physics and engineering to describe systems that change over time and space.

2. How do you solve a PDE?

Solving a PDE involves finding a function that satisfies the equation and its boundary conditions. This can be done analytically using mathematical techniques such as separation of variables or numerically using computational methods like finite difference or finite element methods.

3. What are the applications of PDEs?

PDEs have a wide range of applications in various fields including physics, engineering, finance, and biology. They are used to model and analyze complex systems such as heat transfer, fluid dynamics, electromagnetic fields, and population dynamics.

4. What are the challenges in solving PDEs?

One of the main challenges in solving PDEs is that they often have no analytical solutions, requiring the use of numerical methods. Additionally, the accuracy and efficiency of these methods depend on the complexity of the PDE and the boundary conditions.

5. What tools and software are available for solving PDEs?

There are various software packages and programming languages that can be used to solve PDEs, such as MATLAB, Mathematica, Python, and Fortran. These usually have built-in functions and libraries for solving different types of PDEs numerically.

Similar threads

Replies
7
Views
2K
Replies
1
Views
1K
  • Differential Equations
Replies
4
Views
2K
  • Differential Equations
Replies
13
Views
2K
  • Differential Equations
Replies
1
Views
662
  • Differential Equations
Replies
1
Views
768
  • Differential Equations
Replies
5
Views
2K
  • Differential Equations
Replies
2
Views
2K
  • Calculus and Beyond Homework Help
Replies
5
Views
617
Replies
1
Views
1K
Back
Top