Posted by **Ella** on Wednesday, October 7, 2009 at 12:43am.

Solve the IVP

{y'=-(sinx)y + xexp(cosx)

y(0) = 1

Please show me step by step. Do I need to find out if this is exact? Do I use an integrating factor?

- Calculus -
**Count Iblis**, Wednesday, October 7, 2009 at 9:39am
Solve the homogeneous equation first:

y_h' = - sin(x) y_h ---->

y_h(x) = K exp[cos(x)]

Then, to find the solution, you use the variation of the constant method, i.e. take the solution of the homogeneous solution y_h and there you replace K by an unknown function K(x):

y(x) = K(x) exp[cos(x)]

If you substitute this in the differential equation then what happens is that only the term proportional to K' survives. Due to the product rule the terms proportional to K are what you would get if K were a constant, but these terms will satisfy the homogeneous equation, so they will sum to zero.

So, what you get is:

K' Exp[cos(x)] = x Exp[cos(x)] ----->

K = 1/2 x^2 + c ----->

y(x) = (1/2 x^2 + c)Exp[cos(x)]

## Answer this Question

## Related Questions

- trigonometry - can i use factoring to simplify this trig identity? the problem ...
- maths - trigonometry - I've asked about this same question before, and someone ...
- Trig........ - I need to prove that the following is true. Thanks (cosx / 1-sinx...
- Algebra 1--Step-by-Step - Can someone show me how to solve these step-by-step? ...
- Calculus - Determine the limit of the trigonometric function: Limit as x ...
- Pre-calc - prove the identity: (cosx)(tanx + sinx cotx)=sinx+cos(squared)x i ...
- math - solve each equation for 0=/<x=/<2pi sin^2x + 5sinx + 6 = 0? how do ...
- grouping - i am trying to solve for A and B....this question comes from a ...
- math - the problem is 2cos^2x + sinx-1=0 the directions are to "use an identity ...
- Pre-Calculus - How do you verify: 1.) sinxcosx+sinx^3secx=tanx 2.) (secx+tanx)/(...

More Related Questions