Solve ODE using method of integrating factors.

alias25
Messages
197
Reaction score
0

Homework Statement


solve the following equation using method of intergrating factors:


Homework Equations


dy/dx = y + cosx - sinx


The Attempt at a Solution



i think i have to get it in the form dy/dx + r(x)y = f(x)

but i can't see how,

if i multiply or divide by a factor i won't have dy/dx on its own. and how do i identify what's f(x) and r(x)?

i also tried

dy + (-y -cosx +sinx)dx = 0

and then just finding a factor to make it an exact differntial, but I am not sure how i determine the factor.
 
Physics news on Phys.org
simply subtract the y from both sides...
dy/dx -y = cosx - sinx

your function in front of y is simply a constant function (-1)
 
its kinda obvious that y=sin(x) is a solution...
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top