Question
Question: If the given equation is of the form \[\dfrac{{dy}}{{dx}} - y\cot x = {\text{cosec }}x\], then its s...
If the given equation is of the form dxdy−ycotx=cosec x, then its solution is y⋅cosec x=cotx+c. If true enter 1 else 0.
Solution
Hint : In this question, we need to determine the solution of the differential equation dxdy−ycotx=cosec x and compare the result with the given solution y⋅cosec x=cotx+c. If the calculated solution is equivalent to the given solution then, the answer is 1 otherwise 0. For this, we will first find the integrating factor and then find the general solution equation by multiplying the integrating factor.
Complete step-by-step answer :
Given the differential equation is dxdy−ycotx=cosec x
This equation can be written as dxdy−cotx.y=cosec x−−(i)
We know the standard linear differential equation is dxdy+P(x)y=Q(x)
So by comparing equation (i) by standard linear differential equation we can say
P(x)=−cotx
Q(x)=cosec x
Now we find the Integrating factor of the differential equation which is given by the formula
IF=e∫Pdx−−(ii)
WhereP(x)=−cotx, now substitute this value in equation (ii), we get
Hence we get the Integrating factor of the linear equation=cosecx
Now we know the general solution of the linear differential equation is
y.IF=∫(Q(x).IF)dx+c−−(iii)
As we already know the value of Q(x)=cosec x and IF=cosec x, hence by substituting these values in equation (iii) we can write
y⋅cosec x=∫(cosec x⋅cosec x)dx+c
By solving this we get
As we get the solution for the differential equation as y⋅cosec x=−cotx+c which is not equivalent to the given solution of the differential solution y⋅cosec x=cotx+c hence we can say the solution is false so the input will be 0.
Some important formulas used:
i.∫cotx=lnsinx
ii.y.log(x)=log(x)y[Logarithm power rule]
iii.∫cosec2x=−cotx
iv.cosec x=sinx1
Note : Integrating factor is a function which is used to a given differential equation, it is commonly used in ordinary differential equations.
The standard form of the linear differential equation is dxdy+P(x)y=Q(x)
Integrating factor of differential equation is IF=e∫Pdx