Solve the following differential equation
$\dfrac{{dy}}{{dx}} = 1 + x + y + xy$
Last updated date: 27th Mar 2023
•
Total views: 309.6k
•
Views today: 7.87k
Answer
309.6k+ views
Hint- We will try to separate both the terms of $x\& y$. In that case it will be easy to integrate separately.
Given equation: $\dfrac{{dy}}{{dx}} = 1 + x + y + xy$
Before solving the differential equation, first let us rearrange the given equation by taking some common terms.
\[
\Rightarrow \dfrac{{dy}}{{dx}} = 1 + x + y + xy \\
\Rightarrow \dfrac{{dy}}{{dx}} = 1\left( {1 + x} \right) + y\left( {1 + x} \right) \\
\Rightarrow \dfrac{{dy}}{{dx}} = \left( {1 + x} \right)\left( {1 + y} \right) \\
\]
Now, let us separate the like terms together on either side of the equation.
\[ \Rightarrow \dfrac{{dy}}{{\left( {1 + y} \right)}} = \left( {1 + x} \right)dx\]
Now, integrating both the sides
\[ \Rightarrow \int {\dfrac{{dy}}{{\left( {1 + y} \right)}}} = \int {\left( {1 + x} \right)dx} \]
As we know that
\[\left[ {\because \int {\dfrac{{dx}}{x} = \ln x} } \right]\& \left[ {\int {{x^n}dx = \dfrac{{{x^{n + 1}}}}{{n + 1}}} } \right]\]
So using the above formula and by solving the integral, we get
\[ \Rightarrow \ln \left( {y + 1} \right) = \dfrac{{{x^2}}}{2} + x + c\]
As we know by the property of natural logarithm
$
\ln x = y \\
\Rightarrow x = {e^y} \\
$
So using this in the above equation, we have
\[
\Rightarrow y + 1 = {e^{\dfrac{{{x^2}}}{2} + x + c}} \\
\Rightarrow y = {e^{\dfrac{{{x^2}}}{2} + x + c}} - 1 \\
\]
Hence, the solution of the given equation is\[y = {e^{\dfrac{{{x^2}}}{2} + x + c}} - 1\]
Note- To solve any differential equation, rearranging of the equation in the correct form at the beginning is a very basic step. Re-arrangement should be made in such a way as the terms on L.H.S. and R.H.S. must contain different variables. $\ln $ in the solution represents natural logarithm which means logarithm with base $e$.
Given equation: $\dfrac{{dy}}{{dx}} = 1 + x + y + xy$
Before solving the differential equation, first let us rearrange the given equation by taking some common terms.
\[
\Rightarrow \dfrac{{dy}}{{dx}} = 1 + x + y + xy \\
\Rightarrow \dfrac{{dy}}{{dx}} = 1\left( {1 + x} \right) + y\left( {1 + x} \right) \\
\Rightarrow \dfrac{{dy}}{{dx}} = \left( {1 + x} \right)\left( {1 + y} \right) \\
\]
Now, let us separate the like terms together on either side of the equation.
\[ \Rightarrow \dfrac{{dy}}{{\left( {1 + y} \right)}} = \left( {1 + x} \right)dx\]
Now, integrating both the sides
\[ \Rightarrow \int {\dfrac{{dy}}{{\left( {1 + y} \right)}}} = \int {\left( {1 + x} \right)dx} \]
As we know that
\[\left[ {\because \int {\dfrac{{dx}}{x} = \ln x} } \right]\& \left[ {\int {{x^n}dx = \dfrac{{{x^{n + 1}}}}{{n + 1}}} } \right]\]
So using the above formula and by solving the integral, we get
\[ \Rightarrow \ln \left( {y + 1} \right) = \dfrac{{{x^2}}}{2} + x + c\]
As we know by the property of natural logarithm
$
\ln x = y \\
\Rightarrow x = {e^y} \\
$
So using this in the above equation, we have
\[
\Rightarrow y + 1 = {e^{\dfrac{{{x^2}}}{2} + x + c}} \\
\Rightarrow y = {e^{\dfrac{{{x^2}}}{2} + x + c}} - 1 \\
\]
Hence, the solution of the given equation is\[y = {e^{\dfrac{{{x^2}}}{2} + x + c}} - 1\]
Note- To solve any differential equation, rearranging of the equation in the correct form at the beginning is a very basic step. Re-arrangement should be made in such a way as the terms on L.H.S. and R.H.S. must contain different variables. $\ln $ in the solution represents natural logarithm which means logarithm with base $e$.
Recently Updated Pages
If ab and c are unit vectors then left ab2 right+bc2+ca2 class 12 maths JEE_Main

A rod AB of length 4 units moves horizontally when class 11 maths JEE_Main

Evaluate the value of intlimits0pi cos 3xdx A 0 B 1 class 12 maths JEE_Main

Which of the following is correct 1 nleft S cup T right class 10 maths JEE_Main

What is the area of the triangle with vertices Aleft class 11 maths JEE_Main

KCN reacts readily to give a cyanide with A Ethyl alcohol class 12 chemistry JEE_Main

Trending doubts
What was the capital of Kanishka A Mathura B Purushapura class 7 social studies CBSE

Difference Between Plant Cell and Animal Cell

Write an application to the principal requesting five class 10 english CBSE

Ray optics is valid when characteristic dimensions class 12 physics CBSE

Give 10 examples for herbs , shrubs , climbers , creepers

Tropic of Cancer passes through how many states? Name them.

Write the 6 fundamental rights of India and explain in detail

Write a letter to the principal requesting him to grant class 10 english CBSE

Name the Largest and the Smallest Cell in the Human Body ?
