Method of separation of variables

In summary, in this conversation, the speaker discusses the potential use of the method of separation of variables to solve various partial differential equations. They begin by considering the first equation and using the method to find a system of ordinary differential equations. However, they also point out that the solution may not be unique and additional conditions may be needed. For the second equation, the speaker notes that separation of variables does not seem to work, but suggests trying a different approach by converting the problem to independent variables. Finally, the speaker mentions the use of series solutions methods to solve the first equation in the system found for the last equation.
  • #1
evinda
Gold Member
MHB
3,836
0
Hello! (Wave)

I want to check if the method of separation of variables can be used for the replacement of the following given partial differential equations from a pair of ordinary differential equations. If so, I want to find the equations.- $[p(x) u_x]_x-r(x) u_{tt}=0$
- $u_{xx}+(x+y) u_{yy}=0$
- $u_{xx}+u_{yy}+ xu=0$For the first pde, I thought the following:

Suppose that $u(t,x)=X(x) T(t)$. Then $[p(x) u_x]_x=p'(x) u_x+ p(x) u_{xx}=p'(x) X'(x) T(t)+ p(x) X''(x) T(t)=T(t) [p'(x) X'(x)+ p(x) X''(x)]$

So $$T(t) [p'(x) X'(x)+ p(x) X''(x)]=r(x) X(x) T''(t) \Rightarrow \frac{[p'(x) X'(x)+ p(x) X''(x)]}{r(X) X(x)}=\frac{T''(t)}{T(t)}=-\lambda$$

So we get the following system of ordinary differential equations:

$\left\{\begin{matrix}
p(x) X''(x)+p'(x) X'(x)+ \lambda r(x) X(x)=0\\
T''(t)+\lambda T(t)=0
\end{matrix}\right.$

Can we find somehow the general form of the solution of this DE:

$p(x) X''(x)+p'(x) X'(x)+ \lambda r(x) X(x)=0$ ?

Also by solving the system, we will have found one solution of the pde, we will not know if the solution will be unique, right? Would the same happen if we would also have two boundary consitions as for $x$ and an initial condition as for $t$?

For the second pde:

Suppose that $u(x,y)= X(x) Y(y)$. Then $u_{xx}+(x+y) u_{yy}=0 \Rightarrow X''(x) Y(y)+ (x+y) X(x) Y''(y)=0$.

So this cannot be solved with the method of separation of variables. And so we deduce that the solution isn't of the form $X(x) Y(y)$, right? How can we justify it more formally that this method cannot be used?For the last pde, I found the following system: $\left\{\begin{matrix}
X''+(x-\lambda)X=0\\
Y''+ \lambda Y=0
\end{matrix}\right.$

We don't know a genaral methodology to solve the first DE of the latter system, do we?
 
Last edited:
Physics news on Phys.org
  • #2
Re: Method of separation of variables

evinda said:
Hello! (Wave)

I want to check if the method of separation of variables can be used for the replacement of the following given partial differential equations from a pair of ordinary differential equations. If so, I want to find the equations.- $[p(x) u_x]_x-r(x) u_{tt}=0$
- $u_{xx}+(x+y) u_{yy}=0$
- $u_{xx}+u_{yy}+ xu=0$For the first pde, I thought the following:

Suppose that $u(t,x)=X(x) T(t)$. Then $[p(x) u_x]_x=p'(x) u_x+ p(x) u_{xx}=p'(x) X'(x) T(t)+ p(x) X''(x) T(t)=T(t) [p'(x) X'(x)+ p(x) X''(x)]$

So $$T(t) [p'(x) X'(x)+ p(x) X''(x)]=r(x) X(x) T''(t) \Rightarrow \frac{[p'(x) X'(x)+ p(x) X''(x)]}{r(X) X(x)}=\frac{T''(t)}{T(t)}=-\lambda$$

So we get the following system of ordinary differential equations:

$\left\{\begin{matrix}
p(x) X''(x)+p'(x) X'(x)+ \lambda r(x) X(x)=0\\
T''(t)+\lambda T(t)=0
\end{matrix}\right.$

Can we find somehow the general form of the solution of this DE:

$p(x) X''(x)+p'(x) X'(x)+ \lambda r(x) X(x)=0$ ?
First, recognize that $p(x)X''(x)+ p'(x)X'(x)= (p(x)X'(x))'$. Whether we can find the general form of the solution depends upon the functions p(x) and r(x). This might be "Bessel's equation" or "Laguerre's equation", etc.

Also by solving the system, we will have found one solution of the pde, we will not know if the solution will be unique, right?
On the contrary, we know that the solution is not unique because a second order differential equation typically needs two additional conditions to determined the two undetermined constants you get when integrating.

Would the same happen if we would also have two boundary consitions as for $x$ and an initial condition as for $t$?
Since the original pde involved second derivatives with respect to both x and t, you will need two additional conditions for each. If, by "initial conditions", you mean **both** position and speed at t= 0, yes, that is sufficient.

or the second pde:

Suppose that $u(x,y)= X(x) Y(y)$. Then $u_{xx}+(x+y) u_{yy}=0 \Rightarrow X''(x) Y(y)+ (x+y) X(x) Y''(y)=0$.

So this cannot be solved with the method of separation of variables. And so we deduce that the solution isn't of the form $X(x) Y(y)$, right? How can we justify it more formally that this method cannot be used?
I would not jump to the conclusion that it cannot! What if you converted the problem to the independent variables x and z= x+ y?
For the last pde, I found the following system: $\left\{\begin{matrix}
X''+(x-\lambda)X=0\\
Y''+ \lambda Y=0
\end{matrix}\right.$

We don't know a genaral methodology to solve the first DE of the latter system, do we?
Because the first equation does not have constant coefficients? When you took "Ordinary Differential Equations", did you not learn "series solutions" methods for such equations?
 
  • #3
Re: Method of separation of variables

HallsofIvy said:
First, recognize that $p(x)X''(x)+ p'(x)X'(x)= (p(x)X'(x))'$. Whether we can find the general form of the solution depends upon the functions p(x) and r(x). This might be "Bessel's equation" or "Laguerre's equation", etc.

In order to get the "Laguerre's equation" shouldn't we have $p(x)=x$ and $p'(x)=1-x$ ? But this can't be... (Worried) Also to get the "Bessel's equation" shouldn't the coefficient of $X'$ of the differential equation that we have be $\frac{p'(x)}{2}$ ?

HallsofIvy said:
On the contrary, we know that the solution is not unique because a second order differential equation typically needs two additional conditions to determined the two undetermined constants you get when integrating.

Ok.
HallsofIvy said:
Since the original pde involved second derivatives with respect to both x and t, you will need two additional conditions for each. If, by "initial conditions", you mean **both** position and speed at t= 0, yes, that is sufficient.

But then do we know that there is no other solution? I mean a solution that is not of the form $X(x) T(t)$ ?

HallsofIvy said:
I would not jump to the conclusion that it cannot! What if you converted the problem to the independent variables x and z= x+ y?

Let $z=x+y$.

We have that $$\frac{dX}{dx}=\frac{dX}{dz}\cdot \frac{dz}{dx}=\frac{dX}{dz}$$ and $$\frac{d^2X}{dx^2}=\frac{d}{dx}\left (\frac{dX}{dz}\right )=\frac{d}{dz}\frac{dX}{dz}\cdot \frac{dz}{dx}=\frac{d^2X}{dz^2}$$

Then we have $$\frac{d^2X}{dx^2}\cdot Y+(x+y)\cdot X\cdot \frac{d^2Y}{dy^2}=0 \\ \Rightarrow \frac{d^2X}{dz^2}\cdot Y+z\cdot X\cdot \frac{d^2Y}{dy^2}=0 \\ \Rightarrow \frac{d^2X}{dz^2}\cdot Y=-z\cdot X\cdot \frac{d^2Y}{dy^2} \\ \Rightarrow \frac{1}{z\cdot X}\cdot \frac{d^2X}{dz^2}=- \frac{1}{Y}\cdot \frac{d^2Y}{dy^2}$$

But won't $X$ be a variable of both $y$ and $z$ since $x=z-y$?
HallsofIvy said:
Because the first equation does not have constant coefficients? When you took "Ordinary Differential Equations", did you not learn "series solutions" methods for such equations?
So if we suppose that $X(x)=\sum_{n=0}^{\infty} a_n x^n$ then we will get that $\sum_{n=0}^{\infty} (n+2) (n+1) a_{n+2} x^n+ \sum_{n=0}^{\infty} a_n x^{n+1}- \lambda \sum_{n=0}^{\infty} a_n x^n=0$, right?

And then we get information about the coefficients, right?
 
Last edited:
  • #4
Re: Method of separation of variables

evinda said:
But then do we know that there is no other solution? I mean a solution that is not of the form $X(x) T(t)$ ?
There certainly are such solutions. They would be of the form [tex]\sum X(x)T(t)[/tex] where the sum is taken over all possible "[tex]\lambda[/tex]". I'm surprised you did not learn that when you first learned about "separation of variables".
 

1. What is the method of separation of variables?

The method of separation of variables is a mathematical technique used to solve partial differential equations (PDEs). It involves breaking down a multi-variable PDE into separate ordinary differential equations (ODEs) by assuming that the solution can be written as a product of single variable functions.

2. When is the method of separation of variables used?

This method is commonly used in physics and engineering to solve PDEs that describe physical phenomena such as heat transfer, wave propagation, and fluid dynamics.

3. What are the steps involved in using the method of separation of variables?

The first step is to rewrite the PDE in its standard form and identify the variables that can be separated. The second step is to assume a solution in the form of a product of single variable functions. The third step is to substitute this solution into the PDE and simplify it. The fourth step is to solve the resulting ODEs for each variable. Finally, the solutions are combined to give the general solution to the PDE.

4. What are the advantages of using the method of separation of variables?

The method of separation of variables is a systematic and straightforward approach to solving PDEs. It allows for the use of well-known techniques for solving ODEs, making the overall process more manageable. Additionally, the solutions obtained using this method are often in closed form, making them easier to analyze and interpret.

5. Are there any limitations to using the method of separation of variables?

Yes, there are some PDEs for which this method cannot be applied, such as those with non-homogeneous boundary conditions or with complex coefficients. Additionally, the method of separation of variables may not always produce a unique solution, and it may be challenging to determine the appropriate boundary conditions to use. In such cases, alternative methods may need to be used to solve the PDE.

Similar threads

  • Differential Equations
Replies
7
Views
396
  • Differential Equations
Replies
1
Views
1K
  • Differential Equations
Replies
2
Views
2K
  • Differential Equations
Replies
7
Views
1K
  • Differential Equations
Replies
3
Views
2K
  • Differential Equations
Replies
3
Views
1K
  • Differential Equations
Replies
10
Views
2K
  • Differential Equations
Replies
1
Views
777
  • Differential Equations
Replies
5
Views
663
  • Differential Equations
Replies
4
Views
343
Back
Top