Is this the correct general solution of the given PDE?

  • Thread starter Thread starter Math100
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around finding the general solution of the partial differential equation (PDE) ## u_{xx}+6u_{x}+9u=0 ##. Participants are examining the appropriateness of the initial assumption of a solution of the form ## u(x, y)=e^{rx} ##, and whether this approach is valid for a PDE context.

Discussion Character

  • Exploratory, Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • Some participants question the assumption that the solution should be of the form ## u(x, y)=e^{rx} ##, noting that it may not adequately account for the dependence on the variable ## y ##. Others suggest that this method is more suitable for ordinary differential equations (ODEs) rather than PDEs. There is also discussion about the validity of the derived general solution and the implications of repeated roots in the characteristic equation.

Discussion Status

The discussion is ongoing, with participants exploring different interpretations of the problem and questioning the appropriateness of the initial approach. Some have provided guidance on the nature of solutions to PDEs and the potential need for a different form of assumption. There is no explicit consensus yet, but the dialogue is productive in examining the assumptions and techniques involved.

Contextual Notes

Participants note that the original problem may have constraints or assumptions that are not fully articulated, particularly regarding the relationship between the variables involved in the PDE. There is also mention of difficulties encountered when attempting to use a graphing calculator for verification, indicating potential limitations in computational approaches for this type of problem.

Math100
Messages
823
Reaction score
234
Homework Statement
Find the general solution of the partial differential equation ## u_{xx}+6u_{x}+9u=0 ##.
Relevant Equations
None.
Find the general solution of the partial differential equation ## u_{xx}+6u_{x}+9u=0 ##.

Here's my work:

Let ## u(x, y)=e^{rx} ##.
Then ## u_{x}(x, y)=re^{rx} ## and we get that ## u_{xx}(x, y)=r^2e^{rx} ##.
By using direct substitution of ## u=e^{rx}, u_{x}=re^{rx} ## and ## u_{xx}=r^2e^{rx} ##,
we have that ## u_{xx}+6u_{x}+9u=0\implies r^2e^{rx}+6re^{rx}+9e^{rx}=0\implies
e^{rx}(r^2+6r+9)=0\implies r^2+6r+9=0\implies (r+3)^2=0 ##.
Thus, ## r=-3 ##.
Therefore, the general solution of the partial differential equation ## u_{xx}+6u_{x}+9u=0 ## is
## u(x, y)=A(y)e^{-3x}+B(y)\cdot xe^{-3x} ## where ## A, B ## are arbitrary functions of ## y ##.

Above is my work with the answer. May someone please check/verify to see if everything is correct? Also, I want to know where does the substitution of ## u(x, y)=e^{rx} ## comes from, although I was just told to use it without any definition, lemma, theorem, etc. As for the characteristic equations with repeated roots like the given partial differential equation above, will its general solution always of the form ## u(x, y)=A(y)e^{rx}+B(y)\cdot xe^{rx} ## where ## A, B ## are arbitrary functions of ## y ##?
 
Physics news on Phys.org
Your initial assumption about the possible solution is that ##u(x, y) = e^{rx}##. It ignores the fact that the solution should also depend on y. This work would be appropriate for an ODE such as y'' + 6y' + 9y = 0, where y is a function of a single variable. For such a problem, a place to start is to assume that a solution is ##y = e^{rx}##. There doesn't need to be a definition, theorem, or lemma -- it's just a technique that may or may not produce results.

It's been a really long time since I had to solve PDEs, so I'll have to dig out my textbook to see if your approach is reasonable or not.
 
If your solution satisfies the differential equation, then it must be correct. (assuming y is the only other independent variable involved).
 
  • Like
Likes   Reactions: Math100
Mark44 said:
Your initial assumption about the possible solution is that ##u(x, y) = e^{rx}##. It ignores the fact that the solution should also depend on y. This work would be appropriate for an ODE such as y'' + 6y' + 9y = 0, where y is a function of a single variable. For such a problem, a place to start is to assume that a solution is ##y = e^{rx}##. There doesn't need to be a definition, theorem, or lemma -- it's just a technique that may or may not produce results.

It's been a really long time since I had to solve PDEs, so I'll have to dig out my textbook to see if your approach is reasonable or not.
I think the idea is that if ##u(x,y)## is any solution of the equations, and if you fix ##y##, then the function ##z=u(x,y)## in ##x## is a solution of ##z''+6z'+z=0## so it has to be of the form ##z(x)=Ae^{-3x}+Bxe^{-3x}##. For different ##y's## the constants ##A## and ##B## will be different i.e. they are functions of ##y##. So ##u(x,y)= A(y)e^{-3x}+B(y)xe^{-3x}##
 
Mark44 said:
Your initial assumption about the possible solution is that ##u(x, y) = e^{rx}##. It ignores the fact that the solution should also depend on y. This work would be appropriate for an ODE such as y'' + 6y' + 9y = 0, where y is a function of a single variable. For such a problem, a place to start is to assume that a solution is ##y = e^{rx}##. There doesn't need to be a definition, theorem, or lemma -- it's just a technique that may or may not produce results.

It's been a really long time since I had to solve PDEs, so I'll have to dig out my textbook to see if your approach is reasonable or not.
Now I think that my assumption could be wrong then, because like you said above, we shouldn't pretend to solve such problems like we used to approach ODE problems since this is a PDE instead of an ODE. So ## u(x, y) ## should equal to something else, rather than just ## u(x, y)=e^{rx} ##. But what should ## u(x, y) ## be? That's the problem. Also, do we really have to form a guess for such ## u(x, y) ## to be something? In addition, I put this PDE on my graphing calculator with the following command: deSolve(diff(u(x, y), x, 2)+6*diff(u(x, y), x)+9*u(x, y)=0, u(x, y)) for ## u_{xx}+6u_{x}+9u=0 ## but my graphing calculator says "Too few arguments" after I hit the button 'Enter' for answer/result. It'd be nice to find the final answer on graphing calculator so at least I can check the answer by myself but that didn't help either.
 
Math100 said:
Homework Statement: Find the general solution of the partial differential equation ## u_{xx}+6u_{x}+9u=0 ##.
Relevant Equations: None.

Find the general solution of the partial differential equation ## u_{xx}+6u_{x}+9u=0 ##.

Here's my work:

Let ## u(x, y)=e^{rx} ##.
Then ## u_{x}(x, y)=re^{rx} ## and we get that ## u_{xx}(x, y)=r^2e^{rx} ##.
By using direct substitution of ## u=e^{rx}, u_{x}=re^{rx} ## and ## u_{xx}=r^2e^{rx} ##,
we have that ## u_{xx}+6u_{x}+9u=0\implies r^2e^{rx}+6re^{rx}+9e^{rx}=0\implies
e^{rx}(r^2+6r+9)=0\implies r^2+6r+9=0\implies (r+3)^2=0 ##.
Thus, ## r=-3 ##.
Therefore, the general solution of the partial differential equation ## u_{xx}+6u_{x}+9u=0 ## is
## u(x, y)=A(y)e^{-3x}+B(y)\cdot xe^{-3x} ## where ## A, B ## are arbitrary functions of ## y ##.

Above is my work with the answer. May someone please check/verify to see if everything is correct? Also, I want to know where does the substitution of ## u(x, y)=e^{rx} ## comes from, although I was just told to use it without any definition, lemma, theorem, etc. As for the characteristic equations with repeated roots like the given partial differential equation above, will its general solution always of the form ## u(x, y)=A(y)e^{rx}+B(y)\cdot xe^{rx} ## where ## A, B ## are arbitrary functions of ## y ##?
it looks like the solution is ##u(x,y)=g(y)e^{rx}##. And as you know you get ##r=-3## with multiplicity 2; so the general solution is: ##u(x,y)=A(y)e^{-3x}+B(y)xe^{-3x}##.
 
An interesting variation may be this one: ##u_{xx}+6u_x+9u_y=0##, which can be solved by the method of characteristics: ##dx/ds=6, dy/ds=9, du/ds=-u_{xx}##, ##x(s)=6s, y(s)=9s## plug and get: ##du/ds=-1/36 d^2u/ds^2## which can be solved by repeated integration to get: ##du/ds+36u=c##.
Easy peasy from here.

edit: it seems the pde I suggested is the heat pde in disguise;
you can't solve it in the way I suggested above.
 
Last edited:
Math100 said:
Now I think that my assumption could be wrong then, because like you said above, we shouldn't pretend to solve such problems like we used to approach ODE problems since this is a PDE instead of an ODE. So ## u(x, y) ## should equal to something else, rather than just ## u(x, y)=e^{rx} ##. But what should ## u(x, y) ## be? That's the problem. Also, do we really have to form a guess for such ## u(x, y) ## to be something? In addition, I put this PDE on my graphing calculator with the following command: deSolve(diff(u(x, y), x, 2)+6*diff(u(x, y), x)+9*u(x, y)=0, u(x, y)) for ## u_{xx}+6u_{x}+9u=0 ## but my graphing calculator says "Too few arguments" after I hit the button 'Enter' for answer/result. It'd be nice to find the final answer on graphing calculator so at least I can check the answer by myself but that didn't help either.
Your method and your result in the original post are correct because every partial differential equation that only involves derivatives with respect to one variable can be treated as an ordinary differential equation. If a partial differential equation involves derivatives with respect to more than one variable, your method does not work.
 
  • Like
Likes   Reactions: mathwonk and Math100
mad mathematician said:
An interesting variation may be this one: ##u_{xx}+6u_x+9u_y=0##, which can be solved by the method of characteristics: ##dx/ds=6, dy/ds=9, du/ds=-u_{xx}##, ##x(s)=6s, y(s)=9s## plug and get: ##du/ds=-1/36 d^2u/ds^2## which can be solved by repeated integration to get: ##du/ds+36u=c##.
Easy peasy from here.

edit: it seems the pde I suggested is the heat pde in disguise;
you can't solve it in the way I suggested above.
yes and you can reduce it to the standard form by the substitution ##u=e^{-3x+y}w(x,y)##
 
  • #10
Gavran said:
Your method and your result in the original post are correct because every partial differential equation that only involves derivatives with respect to one variable can be treated as an ordinary differential equation. If a partial differential equation involves derivatives with respect to more than one variable, your method does not work.
By checking/verifying/confirming my final answer/solution for ## u(x, y)=[A(y)+B(y)\cdot x]e^{-3x} ##, I've obtained ## u_{x}(x, y)=e^{-3x}[-3A(y)+B(y)(1-3x)], u_{xx}=e^{-3x}[9A(y)+9x\cdot B(y)-6B(y)] ##.
Thus, after using/applying the direct substitution method, I got/obtained that
## u_{xx}+6u_{x}+9u=0\implies e^{-3x}[9A(y)+9x\cdot B(y)-6B(y)]+6e^{-3x}[-3A(y)+B(y)(1-3x)]+
9e^{-3x}[A(y)+B(y)\cdot x]=18e^{-3x}A(y)+18xe^{-3x}\cdot B(y)-18e^{-3x}A(y)-6e^{-3x}B(y)+
6e^{-3x}B(y)-18xe^{-3x}\cdot B(y)=0 ##.
This implies that the final answer/solution ## u(x, y)=A(y)e^{-3x}+B(y)\cdot xe^{-3x} ## where ## A, B ## are arbitrary functions of ## y ## is correct. However, may someone please explain why, how, and where does ## u(x, y)=e^{rx} ## for such PDE problems? Does someone also know the correct command for putting these type(s) of PDEs into a graphing calculator and getting the exact answer/solution for verification/confirmation?
 
  • Like
Likes   Reactions: Gavran
  • #12
  • Like
Likes   Reactions: Math100

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
5
Views
2K
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K