Answer on Question #71893 – Math – Differential Equations
Question
dy/dx+ycotx=5e∧cosxSolution
The given equation
dxdy+ycotx=5ecosx
is a linear differential equation of the form
dxdy+P(x)y=Q(x),
where P(x)=cotx, Q(x)=5ecosx.
To solve this equation we find the integrating factor
I(x)=e∫P(x)dx=e∫cotxdx
Calculate the integral in the exponent:
∫cotxdx=∫sinxcosxdx=∫sinxd(sinx)=ln∣sinx∣
So the integrating factor is
I(x)=eln∣sinx∣=sinx
Multiply both sides of the given equation by I(x)=sinx:
sinxdxdy+(sinx⋅cotx)y=5sinxecosxsinxdxdy+(cosx)y=5sinxecosx
Using the Product Rule we get
dxd(ysinx)=5sinxecosx
Integrate both sides of this equation:
∫dxd(ysinx)dx=∫5sinxecosxdx,ysinx=5∫ecosxd(−cosx)=−5∫ecosxd(cosx),ysinx=−5ecosx+c,
where c is an integration constant.
Dividing both sides by sinx we get the general solution of the original equation:
y=(−5ecosx+c)cscx.
Answer: y=(−5ecosx+c)cscx.
Answer provided by https://www.AssignmentExpert.com