Solve differential equation(y2+1)dx=ysec^2(x)dy, y(0)=0

Jerold

Jerold

Answered question

2021-02-09

Solve differential equation (y2+1)dx=ysec2(x)dyy(0)=0

Answer & Explanation

Tasneem Almond

Tasneem Almond

Skilled2021-02-10Added 91 answers

(y2+1)=(ysec2x)dy/dx
(y2+1)=(ysec2x)y
y/(y21)y=(1)/sec2x
From the above, it is observed that the first order differential is in the form of N(x)y=M(x), where N(x)=y/(y21) and M(x)=(1)/sec2x
Integrate on both sides of y/(y21)dy=(1)/sec2xdx
y/(y21)dy=(1)/sec2xdx
y/(y21)dy=1/sec2xdx
1/2ln(y21)=/1/2(x+1/2sin(2x))+c
1/2ln(01)=1/2(0+1/2sin(0))+c [:y(0)=0]
c=0 Substitute c=01/2ln(y21)±1/2(x+1/2sin(2x))+c and solve for y.
1/2ln(y21)=1/2(x+1/2sin(2x))
ln(y21)=x+1/2sin(2x)
y21=ex+1/2sin(2x)
y2=ex+1/2sin(2x)+1
y2=ex+1/2sin(2x)1
y=±ex+1/2sin(2x)1

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?