Answer
Verified
397.8k+ views
Hint: Here we will use the method of integrating factor t solve the given differential equation and the then use the given value to find the value of constant of integration and then finally find the value of \[y\left( \pi \right)\]
The method of integrating factor is:-
If a differential equation is of the form: \[\dfrac{{dy}}{{dx}} + y.P\left( x \right) = Q\left( x \right)\]
Then the integrating factor is given by:-
\[I.F. = {e^{\int {p\left( x \right)dx} }}\]
And the solution of the equation is given by:-
\[y \times I.F. = \int {\left( {Q\left( x \right) \times I.F} \right)dx} + C\]
Complete step-by-step answer:
The given differential equation is:-
\[\dfrac{{dy}}{{dx}} + y\tan x = \sin 2x\;\]
Since it is of the form:
\[\dfrac{{dy}}{{dx}} + y.P\left( x \right) = Q\left( x \right)\]
On comparing we get:-
\[
p\left( x \right) = \tan x \\
Q\left( x \right) = \sin 2x \\
\]
Hence we will use the method of integrating factor to solve this equation.
The integrating factor is given by:-
\[I.F. = {e^{\int {p\left( x \right)dx} }}\]
Hence in this equation the integrating factor is:-
\[I.F. = {e^{\int {\tan xdx} }}\]
Now we know that:-
\[\int {\tan xdx = \log \left( {\sec x} \right)} + C\]
Hence putting the value we get:-
\[I.F. = {e^{\log \sec x}}\]
Simplifying it we get:-
\[I.F. = \sec x\]
Now the solution of the equation is given by:-
\[y \times I.F. = \int {\left( {Q\left( x \right) \times I.F} \right)dx} + C\]
Hence putting the respective values we get:-
\[y \times \sec x = \int {\left( {\sin 2x \times \sec x} \right)dx} + C\]
Now we know that:-
\[
\sin 2x = 2\sin x\cos x \\
\sec x = \dfrac{1}{{\cos x}} \\
\]
Hence substituting these values we get:-
\[y \times \sec x = \int {\left( {2\sin x\cos x \times \dfrac{1}{{\cos x}}} \right)dx} + C\]
Simplifying it further we get:-
\[
y \times \sec x = \int {\left( {2\sin x} \right)dx} + C \\
\Rightarrow y \times \sec x = 2\int {\left( {\sin x} \right)dx} + C \\
\]
Now we know that:-
\[\int {\sin xdx = - \cos x + C} \]
Hence putting this value in above equation we get:-
\[y \times \sec x = 2\left( { - \cos x} \right) + C\]
We know that:-
\[\sec x = \dfrac{1}{{\cos x}}\]
Putting the value we get:-
\[\dfrac{y}{{\cos x}} = 2\left( { - \cos x} \right) + C\]
Simplifying it we get:-
\[y = - 2{\cos ^2}x + C\cos x\]……………………………….(1)
Now putting in the given value i.e. \[y\left( 0 \right) = 1\]
We get:-
\[1 = - 2{\cos ^2}\left( 0 \right) + C\cos \left( 0 \right)\]
We know that:-
\[\cos 0 = 1\]
Hence substituting this value we get:-
\[1 = - 2\left( 1 \right) + C\left( 1 \right)\]
Evaluating the value of C we get:-
\[
C = 1 + 2 \\
\Rightarrow C = 3 \\
\]
Putting this value in equation 1 we get:-
\[y = - 2{\cos ^2}x + 3\cos x\]…………………………..(2)
Now we have to find \[y\left( \pi \right)\]
Hence putting \[x = \pi \]in equation 2 we get:-
\[y = - 2{\cos ^2}\left( \pi \right) + 3\cos \left( \pi \right)\]
Now we know that:
\[\cos \left( \pi \right) = - 1\]
Putting this value we get:-
\[y = - 2{\left( { - 1} \right)^2} + 3\left( { - 1} \right)\]
Solving it further we get:-
\[
y = - 2 - 3 \\
\Rightarrow y = - 5 \\
\]
Hence option C is correct.
Note: In the questions of differential equations we have to observe which form is given and then solve it accordingly.
Students may make mistakes while evaluating the value of C so all the values should be substituted carefully.
The method of integrating factor is:-
If a differential equation is of the form: \[\dfrac{{dy}}{{dx}} + y.P\left( x \right) = Q\left( x \right)\]
Then the integrating factor is given by:-
\[I.F. = {e^{\int {p\left( x \right)dx} }}\]
And the solution of the equation is given by:-
\[y \times I.F. = \int {\left( {Q\left( x \right) \times I.F} \right)dx} + C\]
Complete step-by-step answer:
The given differential equation is:-
\[\dfrac{{dy}}{{dx}} + y\tan x = \sin 2x\;\]
Since it is of the form:
\[\dfrac{{dy}}{{dx}} + y.P\left( x \right) = Q\left( x \right)\]
On comparing we get:-
\[
p\left( x \right) = \tan x \\
Q\left( x \right) = \sin 2x \\
\]
Hence we will use the method of integrating factor to solve this equation.
The integrating factor is given by:-
\[I.F. = {e^{\int {p\left( x \right)dx} }}\]
Hence in this equation the integrating factor is:-
\[I.F. = {e^{\int {\tan xdx} }}\]
Now we know that:-
\[\int {\tan xdx = \log \left( {\sec x} \right)} + C\]
Hence putting the value we get:-
\[I.F. = {e^{\log \sec x}}\]
Simplifying it we get:-
\[I.F. = \sec x\]
Now the solution of the equation is given by:-
\[y \times I.F. = \int {\left( {Q\left( x \right) \times I.F} \right)dx} + C\]
Hence putting the respective values we get:-
\[y \times \sec x = \int {\left( {\sin 2x \times \sec x} \right)dx} + C\]
Now we know that:-
\[
\sin 2x = 2\sin x\cos x \\
\sec x = \dfrac{1}{{\cos x}} \\
\]
Hence substituting these values we get:-
\[y \times \sec x = \int {\left( {2\sin x\cos x \times \dfrac{1}{{\cos x}}} \right)dx} + C\]
Simplifying it further we get:-
\[
y \times \sec x = \int {\left( {2\sin x} \right)dx} + C \\
\Rightarrow y \times \sec x = 2\int {\left( {\sin x} \right)dx} + C \\
\]
Now we know that:-
\[\int {\sin xdx = - \cos x + C} \]
Hence putting this value in above equation we get:-
\[y \times \sec x = 2\left( { - \cos x} \right) + C\]
We know that:-
\[\sec x = \dfrac{1}{{\cos x}}\]
Putting the value we get:-
\[\dfrac{y}{{\cos x}} = 2\left( { - \cos x} \right) + C\]
Simplifying it we get:-
\[y = - 2{\cos ^2}x + C\cos x\]……………………………….(1)
Now putting in the given value i.e. \[y\left( 0 \right) = 1\]
We get:-
\[1 = - 2{\cos ^2}\left( 0 \right) + C\cos \left( 0 \right)\]
We know that:-
\[\cos 0 = 1\]
Hence substituting this value we get:-
\[1 = - 2\left( 1 \right) + C\left( 1 \right)\]
Evaluating the value of C we get:-
\[
C = 1 + 2 \\
\Rightarrow C = 3 \\
\]
Putting this value in equation 1 we get:-
\[y = - 2{\cos ^2}x + 3\cos x\]…………………………..(2)
Now we have to find \[y\left( \pi \right)\]
Hence putting \[x = \pi \]in equation 2 we get:-
\[y = - 2{\cos ^2}\left( \pi \right) + 3\cos \left( \pi \right)\]
Now we know that:
\[\cos \left( \pi \right) = - 1\]
Putting this value we get:-
\[y = - 2{\left( { - 1} \right)^2} + 3\left( { - 1} \right)\]
Solving it further we get:-
\[
y = - 2 - 3 \\
\Rightarrow y = - 5 \\
\]
Hence option C is correct.
Note: In the questions of differential equations we have to observe which form is given and then solve it accordingly.
Students may make mistakes while evaluating the value of C so all the values should be substituted carefully.
Recently Updated Pages
Basicity of sulphurous acid and sulphuric acid are
Assertion The resistivity of a semiconductor increases class 13 physics CBSE
The Equation xxx + 2 is Satisfied when x is Equal to Class 10 Maths
What is the stopping potential when the metal with class 12 physics JEE_Main
The momentum of a photon is 2 times 10 16gm cmsec Its class 12 physics JEE_Main
Using the following information to help you answer class 12 chemistry CBSE
Trending doubts
Fill the blanks with the suitable prepositions 1 The class 9 english CBSE
Difference between Prokaryotic cell and Eukaryotic class 11 biology CBSE
Difference Between Plant Cell and Animal Cell
Fill the blanks with proper collective nouns 1 A of class 10 english CBSE
What is the color of ferrous sulphate crystals? How does this color change after heating? Name the products formed on strongly heating ferrous sulphate crystals. What type of chemical reaction occurs in this type of change.
One Metric ton is equal to kg A 10000 B 1000 C 100 class 11 physics CBSE
Change the following sentences into negative and interrogative class 10 english CBSE
Net gain of ATP in glycolysis a 6 b 2 c 4 d 8 class 11 biology CBSE
What organs are located on the left side of your body class 11 biology CBSE