Question
Question: Solve: \(\sin 2x\left( {\dfrac{{dy}}{{dx}} - \sqrt {\tan x} } \right) - y = 0\)...
Solve: sin2x(dxdy−tanx)−y=0
Solution
Hint: In order to solve this equation, we will divide the whole equation by sin2x and make it much simpler. By doing this, we will be eliminating the sin2x in the starting of the equation which will result in a much simpler solution.
Complete step-by-step answer:
Diving the whole equation sin2x(dxdy−tanx)−y=0 by sin2x, we will get-
sin2xsin2x(dxdy−tanx)−y=0 sin2xsin2x(dxdy−tanx)−sin2xy=0 (dxdy−tanx)−sin2xy=0
Now, taking tanx to the other side of the equation we will get the same value in positive making our following equation as:
dxdy−sin2xy=tanx → equation 1
As we know that we always find the integrating factor of the first order differential equations and the equation 1 written above is the first order differential equation, we will find its integrating factor in order to solve the solution further-
Integrating Factor = e∫pdx
And the value of p from the above equation is p=−sin2x1
Thus, Integrating Factor = e∫pdx= e∫−sin2x1dx
Now, as we know that sin2x=2sinxcosx, we will put this formula into e∫−sin2x1dxand further diving both numerator and denominator by cos2x we will make the solution simpler by cancelling cosx by cosx in the denominator giving us 2cosxsinx we get:
e∫−2sinxcosx1dx
Diving both numerator and denominator by cos2x we get
e∫−cos2x2sinxcosxcos2x1dx
In the numerator we get sec2x as cos2x1 = sec2x and in the denominator we will get 2cosxsinx by cancelling cosx by cosx. This will further give us 2tanx in the denominator because 2cosxsinx=2tanx. We will get the equation as:
IF=e∫−2tanxsec2xdx
Now, let tanx=t
Then sec2xdx=dt
This will make the integrating factor as:
e−∫2tdt
solving further we get:
e−21lnt =eln(t)−21 =t1
So, IF of the equation is t1. Putting the value of t=tanx we will get,
=tanx1
Solution is-
y.tanx1=∫tanx1.tanxdx tanxy=x+c
Since tanx1=cotx, we get
ycotx=x+c
Note: In such questions, always try to make the given equation into first order differential equation so that the integral factor could be found and further formulas could be implied into the equation. It must look lengthy in the starting but is easy to understand.