Answer on Question #68322 - Math - Differential Equations
Question
(1) Obtain the solution for the initial value problem dy/dx+(cotx)y=xcsx,y(pi/2)=1
(2) Solve the differential equation dy/dx=x(1+y∧2)
(3) Solve the differential equation dy/dx+(cotx)y=xcsx
Solution
Q1. We have the initial value problem
dxdy+(cotx)y=xcscxy(2π)=1
First we find the general solution of the equation, i.e. solve the problem
dxdy+(cotx)y=xcscx
This equation is a linear equation of the form
dxdy+P(x)y=Q(x)
where
P(x)=cotx,Q(x)=xcscx
To solve this differential equation, we need to multiply both sides by the integrating factor I(x) , where
∣I(x)∣=e∫P(x)dx=e∫cotxdx
and integrate both sides.
Find integral
∫cotxdx=∫sinxcosxdx=∫sinxd(sinx)=ln∣sinx∣+C
We are looking for a particular integrating factor, so we take C=0 . Then we get
∣I(x)∣=eln∣sinx∣=∣sinx∣
Multiply both sides of the equation by I(x)=sinx
sinxdxdy+(sinx⋅cotx)y=x(cscx⋅sinx)
or
sinxdxdy+(cosx)y=x
and so we can rewrite the equation as
dxd(y⋅sinx)=x
Integrate both sides of this equation we get the general solution
∫dxd(y⋅sinx)dx=∫xdx⇒y⋅sinx=2x2+c
where c is constant defined by the initial conditions.
Now we find c and solve the initial value problem. Substitute the initial condition
y(2π)=1
into the general solution:
1⋅sin(2π)=21(2π)2+c
or
1=8π2+c⇒c=1−8π2
Then we obtain the solution for the initial value problem
y⋅sinx=2x2+1−8π2
or dividing both sides by sinx ,
y=(2x2+1−8π2)cscx
Answer: the solution for the initial value problem is
y=(2x2+1−8π2)cscx
Q2. We have the equation
dxdy=x(1+y2)
This equation is the separable equation, i.e. it is a first-order differential equation in which the expression for dxdy can be written in the form
dxdy=f(x)g(y)
For this problem
f(x)=x,g(y)=(1+y2)
To solve this equation we rewrite it in the differential form
dy=x(1+y2)dx
or, dividing both sides by 1+y2
(1+y2)dy=xdx
Then we integrate both sides of this equation:
∫(1+y2)dy=∫xdx
We get
arctany=2x2+c
or
y=tan(2x2+c),
where c is constant
Answer: The solution of the given differential equation is
y=tan(2x2+c)
Q3. We have the equation
dxdy+(cotx)y=xcscx
The general solution of this equation we obtained by solving problem 1:
y⋅sinx=2x2+c
or dividing both sides by sinx,
y=(2x2+c)cscx
Answer: The solution of the given differential equation is
y=(2x2+c)cscx
Answer provided by https://www.AssignmentExpert.com