Question
Question: The solution of \(\dfrac{{dy}}{{dx}} - 3y\cot x = \sin 2x\) is: A. \(y + {\sin ^2}x = c{\sin ^3}x\...
The solution of dxdy−3ycotx=sin2x is:
A. y+sin2x=csin3x
B. y+sinx=c(sin3x+cosx)
C. y+sin2x=sin3x
D. y=−2sin2x+csin3x
Solution
Hint: We will begin the solution by comparing the given equation with the general form, dxdy+Py=Q and find the values of P and Q. Once we have determined the values of P and Q, then we will be using the formula for the Integrating factor, which is given by, IF=e∫Pdx and substitute the value of P to calculate it. In the end, when we have calculated or determined P, Q, and the integrating factor, we will be using the formula of the solution of the differential equation, given by, y×IF=∫Q⋅IFdx to find the required solution.
Complete step-by-step answer
Let us consider the given equation,
dxdy−3ycotx=sin2x
This equation can be compared with the standard form, dxdy+Py=Q to find the value of P and Q.
Thus, on comparing we get;
P=−3cotx
And,
Q=sin2x
Now, we will now be calculating the integrating factor, using the formula;
IF=e∫Pdx
We will now substitute, P=−3cotx into the above formula, and find the value of the integrating factor.
⇒e∫−3cotxdx=e−3∫cotxdx =e−3log∣sinx∣ =elog∣sinx∣−3 =elog∣sin3x∣1 =elog∣cosec3x∣ =cosec3xThus, we get the value of the integrating factor to be equal to cosec3x.
Now, we know that the solution to the differential equation of the given form, is given by;
y×IF=∫Q⋅IFdx. Thus, we substitute the given values into the formula to find the solution to the given equation.
Now, we will use the known integration that, ∫cotxcosecxdx=−cosecx+c .
⇒ycosec3x=2(−cosecx)+c ⇒y=cosec3x−2cosecx+cosec3xc ⇒y=cosec2x−2+cosec3xc ⇒y=−2sin2x+csin3xwhich is the required solution.
Hence, option (D) is the correct option.
Note: There are numerous ways to solve these types of questions, like, for example, you could have begun the solution using the trigonometric relations and formulae and tried finding the solution to the given equation by separating the variables. But after a certain number of steps you would have noticed that the complexity of the equation has increased. So, wherever you find equations having the term, dxdy and the question is asking to find its solutions, just use the method of integrating factor. This method is time saving and reduces the complexity of the given equation.