How to get a particular solution.

Cafka
Messages
6
Reaction score
0
I have a "Solve the initial value problem" It is:

y'' + y = 2cosx - 3sinx

I know how to do everything except for get yp. I know it has to be something so when i substitute yp into the left hand side of the equation, i get the right hand side, 2cosx - 3sinx.

By this definition i would think yp = Acosx - Bsinx, where A = 2 and B = 3. But that doesn't seem right.

Can anyone help me out?

Thank you.
 
Physics news on Phys.org
Yeah,use Lagrange's method of variation of constants...Solve the homogenous ODE and then make the 2 constants (associated with the 2 independent solution spanning the solutions space) become functions of "x"...


Daniel.
 
For the equation:

y^{''}+y=2Cos[x]-3Sin[x]

Whenever the right-hand side is a particular solution of a linear homogeneous equation, then you can apply that differential operator to both sides of the above equation to collapse it into a homogeneous one:

Since RHS is a particular solution to homogeneous equation (in operator notation):

(D^2+1)y=0

Applying this opearator to both sides of the original equation leads to:

(D^2+1)(D^2+1)R=0

Solution of this one is:

y(x)=c_1Sin[x]+c_2Cos[x]+AxSin[x]+BxCos[x]

but:

Well, read the book to fill in the details, but then just substitute:

y_p(x)=AxSin[x]+BxCos[x]

into the original equation, equate coefficients. You're done.
 
Thread 'Direction Fields and Isoclines'
I sketched the isoclines for $$ m=-1,0,1,2 $$. Since both $$ \frac{dy}{dx} $$ and $$ D_{y} \frac{dy}{dx} $$ are continuous on the square region R defined by $$ -4\leq x \leq 4, -4 \leq y \leq 4 $$ the existence and uniqueness theorem guarantees that if we pick a point in the interior that lies on an isocline there will be a unique differentiable function (solution) passing through that point. I understand that a solution exists but I unsure how to actually sketch it. For example, consider a...
Back
Top