Solveeit Logo

Question

Question: If \(\sin x\) is the integrating factor of the linear differential equation \(\dfrac{{dy}}{{dx}} + P...

If sinx\sin x is the integrating factor of the linear differential equation dydx+Py=Q\dfrac{{dy}}{{dx}} + Py = Q, then PP is ?

Explanation

Solution

The integration of a differential equation can be made easier by multiplying it with the integrating factor. We will use the integrating factor formula i.e., I.F=ePdxI.F = {e^{\int {Pdx} }}, where PP is the function of xx and I.F is the integrating factor. Then we will find the value of PP by equating the I.F to sinx\sin x, i.e., ePdx=sinx{e^{\int {Pdx} }} = \sin x.

Complete step by step answer:
For the differential equation given above i.e., dydx+Py=Q\dfrac{{dy}}{{dx}} + Py = Q, we know that the integrating factor is of the form I.F=ePdxI.F = {e^{\int {Pdx} }}. Here PP and QQ are functions of xx. But the given I.F is sinx\sin x. So, we will equate ePdx{e^{\int {Pdx} }} to sinx\sin x. Hence, we get: ePdx=sinx{e^{\int {Pdx} }} = \sin x

Since PP is in the exponential of ee and we have to find the value of PP, so in order to solve the equation we will take the logarithms of both sides L.H.S and R.H.S. So, the equation now becomes
logePdx=logsinx\Rightarrow \log {e^{\int {Pdx} }} = \log \sin x........(The base of the log\log is ee)
On further simplification using the property of log we will get:
Pdx=logsinx\Rightarrow \int {Pdx = \log \sin x}........(Since logee=1{\log _e}e = 1)

Now we know that the derivative of an integral is the function itself. So, for further simplification we will differentiate both sides of the above equation.
So, the equation now becomes:
dPdxdx=d(logsinx)dx\Rightarrow \dfrac{{d\int {Pdx} }}{{dx}} = \dfrac{{d(\log \sin x)}}{{dx}}
P=d(logsinx)dx\Rightarrow P = \dfrac{{d(\log \sin x)}}{{dx}}

Now we know that d(logx)dx=1x\dfrac{{d(\log x)}}{{dx}} = \dfrac{1}{x}, so using this property and the chain rule of differentiation we will solve the above equation. So, the equation now becomes:
P=1sinx×d(sinx)dx\Rightarrow P = \dfrac{1}{{\sin x}} \times \dfrac{{d(\sin x)}}{{dx}}
P=1sinx×cosx\Rightarrow P = \dfrac{1}{{\sin x}} \times \cos x
P=cotx\therefore P = \cot x

Therefore, the value of PP is cotx\cot x.

Note: Here one important point that we need to keep in mind in order to solve the question is the formula for integrating factors. The integrating factor method can be used to solve differential equations of first order in a very simple way. The given differential equation becomes easily solvable when we multiply it with the integrating factor.