Ask question

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

Question
First order differential equations asked 2021-02-09
Solve differential equation $$(y2+1)dx=ysec^2(x)dy$$, y(0)=0

## Answers (1) 2021-02-10
$$(y^2+1)=(ysec^2x)dy/dx$$
$$(y^2+1)=(ysec^2x)y'$$
$$y/(-y^2-1)y'= (-1)/sec^2x$$
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/(-y^2-1)$$ and $$M(x) = (-1)/sec^2x$$
Integrate on both sides of $$y/(-y^2-1)dy= (-1)/sec^2x dx$$
$$=> int y/(-y^2-1) dy= int (-1)/sec^2x dx$$
$$=> -int y/(-y^2-1) dy= -int 1/sec^2x dx$$
$$=> -1/2 ln(-y^2-1)= /1/2(x+1/2sin(2x))+c$$
$$-1/2 ln(0-1)= -1/2(0+1/2sin(0))+c$$ $$[:' y(0)=0]$$
c=0 Substitute $$c=0 in -1/2 ln(-y^2-1)+ -1/2(x+1/2sin(2x))+c$$ and solve for y.
$$-1/2 ln(-y^2-1)= -1/2(x+1/2sin(2x))$$
$$ln(-y^2-1)= x+1/2sin(2x)$$
$$-y^2-1= e^(x+1/2sin(2x))$$
$$-y^2= e^(x+1/2sin(2x))+1$$
$$y^2= e^(x+1/2sin(2x))-1$$
$$y= +- sqrt(e^(x+1/2sin(2x))-1)$$

### Relevant Questions asked 2021-05-01
Solve differential equation $$xy'+2y= -x^3+x, \ y(1)=2$$ asked 2021-03-07

Solve differential equation $$\frac{\cos^2y}{4x+2}dy= \frac{(\cos y+\sin y)^2}{\sqrt{x^2+x+3}}dx$$ asked 2020-12-17
Solve differential equation $$\displaystyle{y}{\left({2}{x}-{2}+{x}{y}+{1}\right)}{\left.{d}{x}\right.}+{\left({x}-{y}\right)}{\left.{d}{y}\right.}={0}$$ asked 2020-12-24
Solve differential equation $$\displaystyle{2}{x}{y}-{9}{x}^{{2}}+{\left({2}{y}+{x}^{{2}}+{1}\right)}{\frac{{{\left.{d}{y}\right.}}}{{{\left.{d}{x}\right.}}}}={0},\ {y}{\left({0}\right)}=-{3}$$ asked 2020-12-29
Solve differential equation $$2xy-9x^2+(2y+x^2+1)dy/dx=0$$, y(0)= -3 asked 2021-03-07
Solve differential equation $$1+y^2+xy^2)dx+(x^2y+y+2xy)dy=0$$ asked 2021-02-05
Solve differential equation $$((3y^2-t^2)/y^5)dy/dx+t/(2y^4)=0$$, y(1)=1 asked 2020-11-16
Solve differential equation $$(6x+1)y^2 dy/dx+3x^2+2y^3=0$$, y(0)=1 asked 2021-05-16
Consider the curves in the first quadrant that have equationsy=Aexp(7x), where A is a positive constant. Different valuesof A give different curves. The curves form a family,F. Let P=(6,6). Let C be the number of the family Fthat goes through P.
A. Let y=f(x) be the equation of C. Find f(x).
B. Find the slope at P of the tangent to C.
C. A curve D is a perpendicular to C at P. What is the slope of thetangent to D at the point P?
D. Give a formula g(y) for the slope at (x,y) of the member of Fthat goes through (x,y). The formula should not involve A orx.
E. A curve which at each of its points is perpendicular to themember of the family F that goes through that point is called anorthogonal trajectory of F. Each orthogonal trajectory to Fsatisfies the differential equation dy/dx = -1/g(y), where g(y) isthe answer to part D.
Find a function of h(y) such that x=h(y) is the equation of theorthogonal trajectory to F that passes through the point P. asked 2020-11-14
Solve differential equation $$sin(x) dy/dx+(cos(x))y=0$$, $$y((7pi)/6)=-2$$
...