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

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
quantum_smile
Messages
21
Reaction score
1

Homework Statement


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

Homework Equations



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

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
[tex]u_{xx} + u = 6y,[/tex]
in terms of arbitrary functions.


Homework Equations



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

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
[tex]u_{xx} + u = 6y,[/tex]
in terms of arbitrary functions.

Homework Equations



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

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.