Solveeit Logo

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 dydxycotx=cosec x\dfrac{{dy}}{{dx}} - y\cot x = {\text{cosec }}x, then its solution is ycosec x=cotx+cy \cdot {\text{cosec }}x = \cot x + c. If true enter 1 else 0.

Explanation

Solution

Hint : In this question, we need to determine the solution of the differential equation dydxycotx=cosec x\dfrac{{dy}}{{dx}} - y\cot x = {\text{cosec }}x and compare the result with the given solution ycosec x=cotx+cy \cdot {\text{cosec }}x = \cot x + 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 dydxycotx=cosec x\dfrac{{dy}}{{dx}} - y\cot x = {\text{cosec }}x
This equation can be written as dydxcotx.y=cosec x(i)\dfrac{{dy}}{{dx}} - \cot x.y = {\text{cosec }}x - - (i)
We know the standard linear differential equation is dydx+P(x)y=Q(x)\dfrac{{dy}}{{dx}} + P(x)y = Q(x)
So by comparing equation (i) by standard linear differential equation we can say
P(x)=cotxP(x) = - \cot x
Q(x)=cosec xQ(x) = {\text{cosec }}x
Now we find the Integrating factor of the differential equation which is given by the formula
IF=ePdx(ii)IF = {e^{\int {Pdx} }} - - (ii)
WhereP(x)=cotxP(x) = - \cot x, now substitute this value in equation (ii), we get

IF=ePdx =ecotx =elnsinx =elnsin1x =eln(1sinx) =1sinx =cosec x  IF = {e^{\int {Pdx} }} \\\ = {e^{ - \int {\cot x} }} \\\ = {e^{ - \ln \sin x}} \\\ = {e^{\ln {{\sin }^{ - 1}}x}} \\\ = {e^{\ln \left( {\dfrac{1}{{\sin x}}} \right)}} \\\ = \dfrac{1}{{\sin x}} \\\ = {\text{cosec }}x \\\

Hence we get the Integrating factor of the linear equation=cosecx = \cos ecx
Now we know the general solution of the linear differential equation is
y.IF=(Q(x).IF)dx+c(iii)y.IF = \int {\left( {Q(x).IF} \right)dx} + c - - (iii)
As we already know the value of Q(x)=cosec xQ(x) = {\text{cosec }}x and IF=cosec xIF = {\text{cosec }}x, hence by substituting these values in equation (iii) we can write
ycosec x=(cosec xcosec x)dx+cy \cdot {\text{cosec }}x = \int {\left( {{\text{cosec }}x \cdot {\text{cosec }}x} \right)dx} + c
By solving this we get

ycosec x=cosec2xdx+c ycosecx=cotx+c  y \cdot {\text{cosec }}x = \int {{\text{cose}}{{\text{c}}^2}xdx} + c \\\ y \cdot {\text{cosec}}x = - \cot x + c \\\

As we get the solution for the differential equation as ycosec x=cotx+cy \cdot {\text{cosec }}x = - \cot x + c which is not equivalent to the given solution of the differential solution ycosec x=cotx+cy \cdot {\text{cosec }}x = \cot x + c hence we can say the solution is false so the input will be 0.

Some important formulas used:
i.cotx=lnsinx\int {\cot x = \ln \sin x}
ii.y.log(x)=log(x)yy.\log (x) = \log {(x)^y}[Logarithm power rule]
iii.cosec2x=cotx\int {{\text{cose}}{{\text{c}}^2}x = - \cot x}
iv.cosec x=1sinx{\text{cosec }}x = \dfrac{1}{{\sin x}}

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 dydx+P(x)y=Q(x)\dfrac{{dy}}{{dx}} + P(x)y = Q(x)
Integrating factor of differential equation is IF=ePdxIF = {e^{\int {Pdx} }}