Simple PDE: Finding the General Solution for u_{xx} + u = 6y

quantum_smile
Messages
21
Reaction score
1

Homework Statement


Find the general solution of
u_{xx} + u = 6y,
in terms of arbitrary functions.

Homework Equations



The PDE has the homogeneous solution, u(x,y)=Acos(x)+Bsin(x).
u_{xx} + u = 6y has the particular solution, u(x,y)=6y

The Attempt at a Solution



Taking a superposition of the homogeneous and particular solutions, we can write that
u(x,y)=Acos(x)+Bsin(x)+6y. <--my solution

My question is, how do I know whether or not this is *the* most general solution? How do I know that I haven't missed something?
 
Physics news on Phys.org
quantum_smile said:

Homework Statement


Find the general solution of
u_{xx} + u = 6y,
in terms of arbitrary functions.


Homework Equations



The PDE has the homogeneous solution, u(x,y)=Acos(x)+Bsin(x).
u_{xx} + u = 6y has the particular solution, u(x,y)=6y

The Attempt at a Solution



Taking a superposition of the homogeneous and particular solutions, we can write that
u(x,y)=Acos(x)+Bsin(x)+6y. <--my solution

My question is, how do I know whether or not this is *the* most general solution? How do I know that I haven't missed something?

You know that ##y_h## and ##y_p## are both linearly independent solutions to the equation. Therefore the sum of those two linearly independent solutions is also a linearly independent solution. Hence the most general solution (although not necessarily unique) is ##y = y_h + y_p##.

Consider a regular ODE for a moment of the form: ##a(x)y'' + b(x)y' + c(x)y = f(x)##.

Differentiating ##y## twice and plugging it into the above equation you will find the answer to be ##0 + f(x) = f(x)##.
 
quantum_smile said:

Homework Statement


Find the general solution of
u_{xx} + u = 6y,
in terms of arbitrary functions.

Homework Equations



The PDE has the homogeneous solution, u(x,y)=Acos(x)+Bsin(x).
u_{xx} + u = 6y has the particular solution, u(x,y)=6y

The Attempt at a Solution



Taking a superposition of the homogeneous and particular solutions, we can write that
u(x,y)=Acos(x)+Bsin(x)+6y. <--my solution

My question is, how do I know whether or not this is *the* most general solution? How do I know that I haven't missed something?

You don't know that it is. And obviously it isn't because you could have$$
u(x,y) = A(y)\cos x + B(y)\sin x + 6y$$where ##A(y)## and ##B(y)## are arbitrary functions of ##y##. Is this the most general solution? It might be, but I don't know. Usually problems like this come with some boundary conditions and assumptions which guarantee a unique solution. When you have that situation, then if you come up with something that works, no matter how you found it, you know you are done because you have the only solution there is.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top