y'+\frac{1}{x}y=\cos (x)

Gregory Emery

Gregory Emery

Answered question

2022-01-01

y+1xy=cos(x)

Answer & Explanation

vrangett

vrangett

Beginner2022-01-02Added 36 answers

Given: y+1xy=cosx
Solution:
y1+1xy=cosx
comparing with the equation
y+p(x)y=q(x)
p(x)=1x,q(x)=cosx
M=Integrating factor=ep(x)dx
=e1xdx
=elnx
m=x
general solution is,
ym=q(x)m dx+c
yx=cosxx dx+c
xy=xcosx dx[d(x)dxcosx dx]dx
xy=xsinx1sinxdx
xy=xsinxsinxdx
xy=xsinx(cosx)+c
xy=xsinx+cosx+c
yotaniwc

yotaniwc

Beginner2022-01-03Added 34 answers

y+1xy=cosx
Integrating factor P(x)=1x
e1xdx=eln|x|=x
xdydx=xcosx
[xy]ddx=xcosx
xy=xcosx
xy=xsinx+cosx+c
y=xsinx+cosx+cx
y=sinx+cosxx+cx

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Differential Equations

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?