Question
Question: Solve \[\dfrac{{dy}}{{dx}} = 1 + {x^2} + {y^2} + {x^2}{y^2}\] given that \[y = 1\] and \[x = 0\]...
Solve dxdy=1+x2+y2+x2y2 given that y=1 and x=0
Solution
Here we will first simplify the terms and then we will separate the unlike variables. Then we will integrate the terms using integration formulas. Then we will find the value of the constant terms by putting the given value of the variables in the equation obtained after integration. We will then back substitute the value of constant in the obtained equation to get the required solution.
Complete step by step solution:
Here we need to solve the given differential equation.
dxdy=1+x2+y2+x2y2
Now, we will first simplify the terms by taking common terms.
⇒dxdy=(1+x2)+y2(1+x2)
We can see that both the terms i.e. the first and the second term have the common factor 1+x2. So we will take this factor from both the terms.
⇒dxdy=(1+x2)(1+y2)
Now, we will separate the variables on both sides. Therefore, we get
⇒(1+y2)1dy=(1+x2)dx
Now, we will integrate both sides. So,
⇒∫(1+y2)1dy=∫(1+x2)dx
On integrating the terms using the basic formulas tan−1y=∫(1+y2)1dy, ∫kdx=kx and ∫xndx=n+1xn+1 we get
⇒tan−1y=x+3x3+c ………….. (1)
Now, we will find the value of the constant term by substituting the values y=1 and x=0 in the above equation. Therefore, we get
⇒tan−11=0+303+c
We know from the basic formula that tan−11=4π .
Now, we will substitute this value in the above equation. So,
⇒4π=c
Now, we will back substitute the value of the constant term in equation (1). Therefore,
tan−1y=x+3x3+4π
On further simplifying the terms, we get
⇒y=tan(x+3x3+4π)
This is the required answer.
Note:
Here we have solved the differential equation. A differential equation is defined as the equation which contains one or more functions along with their derivatives. The derivatives of any function define the rate of change of that function at a point. Integration is an inverse of differentiation and is also called anti derivative. Here, we can make a mistake by directly substituting the values of x and y without even solving the equation. This will give us the wrong answer.