
Solve the following differential equation: \[\left( {{x^2} + xy} \right)dy = \left( {{x^2} + {y^2}} \right)dx\].
Answer
623.7k+ views
Hint- Here, we will proceed by using the general method of solving any homogeneous differential equation which includes substituting y = vx and then converting the given differential equation into variable separable form in order to obtain the solution.
Complete step-by-step answer:
Given differential equation is \[\left( {{x^2} + xy} \right)dy = \left( {{x^2} + {y^2}} \right)dx\]
By shifting \[\left( {{x^2} + xy} \right)\] on the RHS and dx on the LHS of the above equation, we get
\[ \Rightarrow \dfrac{{dy}}{{dx}} = \dfrac{{\left( {{x^2} + {y^2}} \right)}}{{\left( {{x^2} + xy} \right)}}{\text{ }} \to {\text{(1)}}\]
Since, the above differential equation is homogeneous differential equation because the degree of the function on the RHS of the equation (1) is same in the numerator and in the denominator (i.e., second degree function)
Put y = vx,
Differentiating the above equation with respect to x on both the sides, we get
$
\Rightarrow \dfrac{{dy}}{{dx}} = \dfrac{d}{{dx}}\left( {vx} \right) \\
\Rightarrow \dfrac{{dy}}{{dx}} = v\dfrac{{dx}}{{dx}} + x\dfrac{{dv}}{{dx}} \\
\Rightarrow \dfrac{{dy}}{{dx}} = v + x\dfrac{{dv}}{{dx}}{\text{ }} \to {\text{(2)}} \\
$
By substituting y = vx and equation (2) in equation (1), we get
\[
\Rightarrow v + x\dfrac{{dv}}{{dx}} = \dfrac{{\left( {{x^2} + {{\left( {vx} \right)}^2}} \right)}}{{\left( {{x^2} + x\left( {vx} \right)} \right)}} \\
\Rightarrow x\dfrac{{dv}}{{dx}} = \dfrac{{\left( {{x^2} + {v^2}{x^2}} \right)}}{{\left( {{x^2} + v{x^2}} \right)}} - v \\
\]
Now, taking ${x^2}$ common from both the numerator and the denominator of the function \[\dfrac{{\left( {{x^2} + {v^2}{x^2}} \right)}}{{\left( {{x^2} + v{x^2}} \right)}}\] in the above equation, we get
\[ \Rightarrow x\dfrac{{dv}}{{dx}} = \dfrac{{{x^2}\left( {1 + {v^2}} \right)}}{{{x^2}\left( {1 + v} \right)}} - v\]
Clearly, \[{x^2}\] will be cancelling out from both the numerator and denominator of the term given in the above equation.
\[ \Rightarrow x\dfrac{{dv}}{{dx}} = \dfrac{{1 + {v^2}}}{{1 + v}} - v\]
By taking \[\left( {1 + v} \right)\] as the LCM of the terms given in the RHS of the above equation, we get
\[
\Rightarrow x\dfrac{{dv}}{{dx}} = \dfrac{{\left( {1 + {v^2}} \right) - v\left( {1 + v} \right)}}{{1 + v}} \\
\Rightarrow x\dfrac{{dv}}{{dx}} = \dfrac{{1 + {v^2} - v - {v^2}}}{{1 + v}} \\
\Rightarrow x\dfrac{{dv}}{{dx}} = \dfrac{{1 - v}}{{1 + v}} \\
\Rightarrow \left( {\dfrac{{1 + v}}{{1 - v}}} \right)dv = \dfrac{{dx}}{x} \\
\]
By multiplying -1 to both the numerator and the denominator of the term given in the LHS of the above equation, we get
\[
\Rightarrow \left[ {\dfrac{{ - 1\left( {1 + v} \right)}}{{ - 1\left( {1 - v} \right)}}} \right]dv = \dfrac{{dx}}{x} \\
\Rightarrow - \left[ {\dfrac{{\left( { - 1 - v} \right)}}{{\left( {1 - v} \right)}}} \right]dv = \dfrac{{dx}}{x} \\
\Rightarrow - \left[ {\dfrac{{\left( { - 1 - v + 1 - 1} \right)}}{{\left( {1 - v} \right)}}} \right]dv = \dfrac{{dx}}{x} \\
\Rightarrow - \left[ {\dfrac{{\left( {1 - v} \right) - 1 - 1}}{{\left( {1 - v} \right)}}} \right]dv = \dfrac{{dx}}{x} \\
\Rightarrow - \left[ {\dfrac{{\left( {1 - v} \right) - 2}}{{\left( {1 - v} \right)}}} \right]dv = \dfrac{{dx}}{x} \\
\Rightarrow - \left[ {\dfrac{{\left( {1 - v} \right)}}{{\left( {1 - v} \right)}} - \dfrac{2}{{\left( {1 - v} \right)}}} \right]dv = \dfrac{{dx}}{x} \\
\Rightarrow - \left[ {1 - \dfrac{2}{{\left( {1 - v} \right)}}} \right]dv = \dfrac{{dx}}{x} \\
\Rightarrow \left[ { - 1 + \dfrac{2}{{\left( {1 - v} \right)}}} \right]dv = \dfrac{{dx}}{x} \\
\]
By integrating both the sides of the above equation, we get
\[
\Rightarrow \int {\left( { - 1 + \dfrac{2}{{1 - v}}} \right)dv} = \int {\dfrac{{dx}}{x}} \\
\Rightarrow \int {\left( { - 1} \right)dv} + \int {\left( {\dfrac{2}{{1 - v}}} \right)dv} = \int {\dfrac{{dx}}{x}} \\
\Rightarrow - \int {dv} + 2\int {\dfrac{{dv}}{{1 - v}}} = \int {\dfrac{{dx}}{x}} \\
\Rightarrow - v + 2\left( {\dfrac{{\ln \left( {1 - v} \right)}}{{ - 1}}} \right) = \ln x + c \\
\Rightarrow - v - 2\ln \left( {1 - v} \right) = \ln x + c{\text{ }} \to {\text{(3)}} \\
\]
where c is any constant of integration
By substituting the value of v given by $y = vx \Rightarrow v = \dfrac{y}{x}$ in equation (3), we get
\[
\Rightarrow - \dfrac{y}{x} - 2\ln \left( {1 - \dfrac{y}{x}} \right) = \ln x + c \\
\Rightarrow \ln x + \dfrac{y}{x} + 2\ln \left( {1 - \dfrac{y}{x}} \right) + c = 0 \\
\]
The above equation represents the solution to the given differential equation.
Note- In this particular problem, the function \[\dfrac{{{x^2} + {y^2}}}{{{x^2} + xy}}\] is homogeneous because here if we will put replace x by ax and y by ay, the above function becomes \[\dfrac{{{{\left( {ax} \right)}^2} + {{\left( {ay} \right)}^2}}}{{{{\left( {ax} \right)}^2} + \left( {ax} \right)\left( {ay} \right)}} = \dfrac{{{a^2}{x^2} + {a^2}{y^2}}}{{{a^2}{x^2} + {a^2}xy}}\]. Here, we will take \[{a^2}\] common from both the numerator and the denominator and will cancel them with each other we will get \[\dfrac{{{a^2}\left( {{x^2} + {y^2}} \right)}}{{{a^2}\left( {{x^2} + xy} \right)}} = \dfrac{{{x^2} + {y^2}}}{{{x^2} + xy}}\] which is the same function that we considered.
Complete step-by-step answer:
Given differential equation is \[\left( {{x^2} + xy} \right)dy = \left( {{x^2} + {y^2}} \right)dx\]
By shifting \[\left( {{x^2} + xy} \right)\] on the RHS and dx on the LHS of the above equation, we get
\[ \Rightarrow \dfrac{{dy}}{{dx}} = \dfrac{{\left( {{x^2} + {y^2}} \right)}}{{\left( {{x^2} + xy} \right)}}{\text{ }} \to {\text{(1)}}\]
Since, the above differential equation is homogeneous differential equation because the degree of the function on the RHS of the equation (1) is same in the numerator and in the denominator (i.e., second degree function)
Put y = vx,
Differentiating the above equation with respect to x on both the sides, we get
$
\Rightarrow \dfrac{{dy}}{{dx}} = \dfrac{d}{{dx}}\left( {vx} \right) \\
\Rightarrow \dfrac{{dy}}{{dx}} = v\dfrac{{dx}}{{dx}} + x\dfrac{{dv}}{{dx}} \\
\Rightarrow \dfrac{{dy}}{{dx}} = v + x\dfrac{{dv}}{{dx}}{\text{ }} \to {\text{(2)}} \\
$
By substituting y = vx and equation (2) in equation (1), we get
\[
\Rightarrow v + x\dfrac{{dv}}{{dx}} = \dfrac{{\left( {{x^2} + {{\left( {vx} \right)}^2}} \right)}}{{\left( {{x^2} + x\left( {vx} \right)} \right)}} \\
\Rightarrow x\dfrac{{dv}}{{dx}} = \dfrac{{\left( {{x^2} + {v^2}{x^2}} \right)}}{{\left( {{x^2} + v{x^2}} \right)}} - v \\
\]
Now, taking ${x^2}$ common from both the numerator and the denominator of the function \[\dfrac{{\left( {{x^2} + {v^2}{x^2}} \right)}}{{\left( {{x^2} + v{x^2}} \right)}}\] in the above equation, we get
\[ \Rightarrow x\dfrac{{dv}}{{dx}} = \dfrac{{{x^2}\left( {1 + {v^2}} \right)}}{{{x^2}\left( {1 + v} \right)}} - v\]
Clearly, \[{x^2}\] will be cancelling out from both the numerator and denominator of the term given in the above equation.
\[ \Rightarrow x\dfrac{{dv}}{{dx}} = \dfrac{{1 + {v^2}}}{{1 + v}} - v\]
By taking \[\left( {1 + v} \right)\] as the LCM of the terms given in the RHS of the above equation, we get
\[
\Rightarrow x\dfrac{{dv}}{{dx}} = \dfrac{{\left( {1 + {v^2}} \right) - v\left( {1 + v} \right)}}{{1 + v}} \\
\Rightarrow x\dfrac{{dv}}{{dx}} = \dfrac{{1 + {v^2} - v - {v^2}}}{{1 + v}} \\
\Rightarrow x\dfrac{{dv}}{{dx}} = \dfrac{{1 - v}}{{1 + v}} \\
\Rightarrow \left( {\dfrac{{1 + v}}{{1 - v}}} \right)dv = \dfrac{{dx}}{x} \\
\]
By multiplying -1 to both the numerator and the denominator of the term given in the LHS of the above equation, we get
\[
\Rightarrow \left[ {\dfrac{{ - 1\left( {1 + v} \right)}}{{ - 1\left( {1 - v} \right)}}} \right]dv = \dfrac{{dx}}{x} \\
\Rightarrow - \left[ {\dfrac{{\left( { - 1 - v} \right)}}{{\left( {1 - v} \right)}}} \right]dv = \dfrac{{dx}}{x} \\
\Rightarrow - \left[ {\dfrac{{\left( { - 1 - v + 1 - 1} \right)}}{{\left( {1 - v} \right)}}} \right]dv = \dfrac{{dx}}{x} \\
\Rightarrow - \left[ {\dfrac{{\left( {1 - v} \right) - 1 - 1}}{{\left( {1 - v} \right)}}} \right]dv = \dfrac{{dx}}{x} \\
\Rightarrow - \left[ {\dfrac{{\left( {1 - v} \right) - 2}}{{\left( {1 - v} \right)}}} \right]dv = \dfrac{{dx}}{x} \\
\Rightarrow - \left[ {\dfrac{{\left( {1 - v} \right)}}{{\left( {1 - v} \right)}} - \dfrac{2}{{\left( {1 - v} \right)}}} \right]dv = \dfrac{{dx}}{x} \\
\Rightarrow - \left[ {1 - \dfrac{2}{{\left( {1 - v} \right)}}} \right]dv = \dfrac{{dx}}{x} \\
\Rightarrow \left[ { - 1 + \dfrac{2}{{\left( {1 - v} \right)}}} \right]dv = \dfrac{{dx}}{x} \\
\]
By integrating both the sides of the above equation, we get
\[
\Rightarrow \int {\left( { - 1 + \dfrac{2}{{1 - v}}} \right)dv} = \int {\dfrac{{dx}}{x}} \\
\Rightarrow \int {\left( { - 1} \right)dv} + \int {\left( {\dfrac{2}{{1 - v}}} \right)dv} = \int {\dfrac{{dx}}{x}} \\
\Rightarrow - \int {dv} + 2\int {\dfrac{{dv}}{{1 - v}}} = \int {\dfrac{{dx}}{x}} \\
\Rightarrow - v + 2\left( {\dfrac{{\ln \left( {1 - v} \right)}}{{ - 1}}} \right) = \ln x + c \\
\Rightarrow - v - 2\ln \left( {1 - v} \right) = \ln x + c{\text{ }} \to {\text{(3)}} \\
\]
where c is any constant of integration
By substituting the value of v given by $y = vx \Rightarrow v = \dfrac{y}{x}$ in equation (3), we get
\[
\Rightarrow - \dfrac{y}{x} - 2\ln \left( {1 - \dfrac{y}{x}} \right) = \ln x + c \\
\Rightarrow \ln x + \dfrac{y}{x} + 2\ln \left( {1 - \dfrac{y}{x}} \right) + c = 0 \\
\]
The above equation represents the solution to the given differential equation.
Note- In this particular problem, the function \[\dfrac{{{x^2} + {y^2}}}{{{x^2} + xy}}\] is homogeneous because here if we will put replace x by ax and y by ay, the above function becomes \[\dfrac{{{{\left( {ax} \right)}^2} + {{\left( {ay} \right)}^2}}}{{{{\left( {ax} \right)}^2} + \left( {ax} \right)\left( {ay} \right)}} = \dfrac{{{a^2}{x^2} + {a^2}{y^2}}}{{{a^2}{x^2} + {a^2}xy}}\]. Here, we will take \[{a^2}\] common from both the numerator and the denominator and will cancel them with each other we will get \[\dfrac{{{a^2}\left( {{x^2} + {y^2}} \right)}}{{{a^2}\left( {{x^2} + xy} \right)}} = \dfrac{{{x^2} + {y^2}}}{{{x^2} + xy}}\] which is the same function that we considered.
Recently Updated Pages
Basicity of sulphurous acid and sulphuric acid are

Master Class 12 English: Engaging Questions & Answers for Success

Master Class 12 Social Science: 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 Physics: 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

Draw ray diagrams each showing i myopic eye and ii class 12 physics CBSE

Giving reasons state the signs positive or negative class 12 physics CBSE

Explain esterification reaction with the help of a class 12 chemistry CBSE

What is defined as a solenoid Depict a diagram with class 12 physics CBSE

