Solve the following differential equation:
\[\dfrac{dy}{dx}+y\tan x=\cos x\]
Answer
628.2k+ views
Hint: The given differential equation is a first degree linear differential equation of the form \[\dfrac{dy}{dx}+Py=Q\]. The solution is given by:
\[y\times I.F=\int{Q\times I.F.dx+c}\]
where \[I.F={{e}^{\int{Pdx}}}\]
So we will first calculate an integrating factor known as I.F then we will substitute it in the equation of solution.
Complete step-by-step answer:
We have been given the differential equation \[\dfrac{dy}{dx}+y\tan x=\cos x\].
It is of the form \[\dfrac{dy}{dx}+Py=Q\] known as first degree differential equation and the solution is given by,
\[y\times I.F=\int{Q\times I.Fdx+c}\]
where \[I.F={{e}^{\int{Pdx}}}\]
So we have where \[P=\tan x\] and \[Q=\cos x\].
Now we will calculate the value of I.F as follows:
\[I.F={{e}^{\int{Pdx}}}={{e}^{\int{\tan xdx}}}\]
Since we know that \[\int{\tan xdx}=ln\left( \sec x \right)\]
\[\Rightarrow I.F={{e}^{ln\left( \sec x \right)}}\]
Also, we know that \[{{e}^{lnt}}=t\]
\[\Rightarrow I.F=\sec x\]
So the equation of the given differential equation is given as follows:
\[y\sec x=\int{\sec x\cos xdx+c}\]
Since we know that \[\sec x=\dfrac{1}{\cos x}\]
\[\begin{align}
& \Rightarrow y\sec x=\int{\dfrac{1}{\cos x}\times \operatorname{cosxdx}}+c \\
& \Rightarrow y\sec x=\int{dx+c} \\
\end{align}\]
\[\Rightarrow y\sec x=x+c\], where c is any arbitrary constant.
Therefore, the solution of the given differential equation is equal to \[y\sec x=x+c\].
Note: Be careful while finding the value of I.F, i.e. integrating factor. Sometimes we just forget that the term \[\int{Pdx}\] is on the power to ‘e’ and we use the I.F is equal to the value obtained by \[\int{Pdx}\] which gives us the wrong result. Also, don’t forget to mention plus ‘c’ in the final solution which is an arbitrary constant.
\[y\times I.F=\int{Q\times I.F.dx+c}\]
where \[I.F={{e}^{\int{Pdx}}}\]
So we will first calculate an integrating factor known as I.F then we will substitute it in the equation of solution.
Complete step-by-step answer:
We have been given the differential equation \[\dfrac{dy}{dx}+y\tan x=\cos x\].
It is of the form \[\dfrac{dy}{dx}+Py=Q\] known as first degree differential equation and the solution is given by,
\[y\times I.F=\int{Q\times I.Fdx+c}\]
where \[I.F={{e}^{\int{Pdx}}}\]
So we have where \[P=\tan x\] and \[Q=\cos x\].
Now we will calculate the value of I.F as follows:
\[I.F={{e}^{\int{Pdx}}}={{e}^{\int{\tan xdx}}}\]
Since we know that \[\int{\tan xdx}=ln\left( \sec x \right)\]
\[\Rightarrow I.F={{e}^{ln\left( \sec x \right)}}\]
Also, we know that \[{{e}^{lnt}}=t\]
\[\Rightarrow I.F=\sec x\]
So the equation of the given differential equation is given as follows:
\[y\sec x=\int{\sec x\cos xdx+c}\]
Since we know that \[\sec x=\dfrac{1}{\cos x}\]
\[\begin{align}
& \Rightarrow y\sec x=\int{\dfrac{1}{\cos x}\times \operatorname{cosxdx}}+c \\
& \Rightarrow y\sec x=\int{dx+c} \\
\end{align}\]
\[\Rightarrow y\sec x=x+c\], where c is any arbitrary constant.
Therefore, the solution of the given differential equation is equal to \[y\sec x=x+c\].
Note: Be careful while finding the value of I.F, i.e. integrating factor. Sometimes we just forget that the term \[\int{Pdx}\] is on the power to ‘e’ and we use the I.F is equal to the value obtained by \[\int{Pdx}\] which gives us the wrong result. Also, don’t forget to mention plus ‘c’ in the final solution which is an arbitrary constant.
Recently Updated Pages
Three beakers labelled as A B and C each containing 25 mL of water were taken A small amount of NaOH anhydrous CuSO4 and NaCl were added to the beakers A B and C respectively It was observed that there was an increase in the temperature of the solutions contained in beakers A and B whereas in case of beaker C the temperature of the solution falls Which one of the following statements isarecorrect i In beakers A and B exothermic process has occurred ii In beakers A and B endothermic process has occurred iii In beaker C exothermic process has occurred iv In beaker C endothermic process has occurred

Master Class 12 Social Science: Engaging Questions & Answers for Success

Master Class 12 Physics: Engaging Questions & Answers for Success

Master Class 12 Maths: Engaging Questions & Answers for Success

Master Class 12 Economics: Engaging Questions & Answers for Success

Master Class 12 Chemistry: Engaging Questions & Answers for Success

Trending doubts
Which are the Top 10 Largest Countries of the World?

Draw a labelled sketch of the human eye class 12 physics CBSE

Differentiate between homogeneous and heterogeneous class 12 chemistry CBSE

What are the major means of transport Explain each class 12 social science CBSE

Sulphuric acid is known as the king of acids State class 12 chemistry CBSE

Why should a magnesium ribbon be cleaned before burning class 12 chemistry CBSE

