Question
Question: If \(\sin x\) is the integrating factor of the linear differential equation \(\dfrac{{dy}}{{dx}} + P...
If sinx is the integrating factor of the linear differential equation dxdy+Py=Q, then P is ?
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=e∫Pdx, where P is the function of x and I.F is the integrating factor. Then we will find the value of P by equating the I.F to sinx, i.e., e∫Pdx=sinx.
Complete step by step answer:
For the differential equation given above i.e., dxdy+Py=Q, we know that the integrating factor is of the form I.F=e∫Pdx. Here P and Q are functions of x. But the given I.F is sinx. So, we will equate e∫Pdx to sinx. Hence, we get: e∫Pdx=sinx
Since P is in the exponential of e and we have to find the value of P, 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
⇒loge∫Pdx=logsinx........(The base of the log is e)
On further simplification using the property of log we will get:
⇒∫Pdx=logsinx........(Since logee=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:
⇒dxd∫Pdx=dxd(logsinx)
⇒P=dxd(logsinx)
Now we know that dxd(logx)=x1, so using this property and the chain rule of differentiation we will solve the above equation. So, the equation now becomes:
⇒P=sinx1×dxd(sinx)
⇒P=sinx1×cosx
∴P=cotx
Therefore, the value of P is cotx.
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.