Need help finding general solution of an initial value problem

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
8 replies · 2K views
maxfails
Messages
10
Reaction score
0
The equation is

y'' + 4y' + 4y = (3 + x)e-x

and initial conditions y(0) = 2, y'(0)=5so from the associated homogenous equation
I think the fundamental set of solutions is {e^-2x, xe^-2x} and so yc would be

Yc = c1e-2x + c2xe-2x

but now I don't know how to get Yp, particular solution or what form they are.

Do I need to expand the (3 + x)e-x, and then solve for 2 different particular solutions?

so solve for a Yp when y'' + 4y' + 4y = 3e-x as well as
y'' + 4y' + 4y = xe-x, or do I only need to solve for 1 Yp?
 
Physics news on Phys.org
You need to have something other than just your [itex]Y_c[/itex]

If you think about your vector spaces and your matrices and you remember the fact that the general solution contains linear combinations of the vectors of the nullspace?
Same thing here, your [itex]Y_c[/itex] is the nullspace part.

Now, just from looking at that equation, the solutions that aren't going to be in the nullspace are going to be of the form [itex]x\ e^{-x}[/itex] and [itex]e^{-x}[/itex] since the function of x on the right hand side contains only these terms, there aren't any e's with powers of +- 2x there.

If I was doing things, I'd plug in the terms I suggested and then add them to the nullspace terms and play about with the coefficients of the those terms to get the initial conditions.
 
HallsofIvy said:
Since you already have [itex]e^{-x}[/itex] and [itex]xe^{-x}[/itex] as solutions to the homeneous equation, look for a particular solution of the form [itex](Ax^2+ Bx^3)e^{-x}[/itex].

Hate to catch you on this, HoI, but not quite. His homogenous solution is [itex]c_1 e^{-2x} + c_2 x e^{-2x}[/itex]. His particular solution needs to be of the form [itex](A+Bx)e^{-x}[/itex].
 
Char. Limit said:
Hate to catch you on this, HoI, but not quite. His homogenous solution is [itex]c_1 e^{-2x} + c_2 x e^{-2x}[/itex]. His particular solution needs to be of the form [itex](A+Bx)e^{-x}[/itex].

So do I only need just one particular solution to find the general one?
 
maxfails said:
So do I only need just one particular solution to find the general one?

Yes, you only need one particular solution. Then when you add it to your fundamental solutions, you have all solutions. Then use your initial conditions to find the one that fits.
 
Is the form of the Yp supposed to come from the fundamental set of solutions or from the right side of the equation, the (3 + x)e-x ?
 
maxfails said:
Is the form of the Yp supposed to come from the fundamental set of solutions or from the right side of the equation, the (3 + x)e-x ?

You find the particular solution by substituting [itex](A+Bx)e^{-x}[/itex] into your differential equation and solving for A and B, as Char Limit pointed out.