Question
Question: The solution of differential equation, \(\dfrac{dy}{dx}={{\left( y-x \right)}^{2}}\) when \(y\left( ...
The solution of differential equation, dxdy=(y−x)2 when y(1)=1, is –
(a) loge2−x2−y=2(y−1)
(b) −loge1−x+x1+x−y=x+y−2
(c) loge2−y2−x=x−y
(d) −loge1+x−y1−x+y=2(x−1)
Solution
Here, we will use a substitution method to find the solution of the given differential equation. After finding the general solution, we will use the given condition y(1)=1 to find the value of constant obtained in the general solution and thus conclude our final answer. We will use the basic differentiation and integration for solving the differentiation equation. Integration formula that we will use are given as ∫1−x2dx=21log21−x1+x and ∫1dx=x
Complete step-by-step solution
Given equation is dxdy=(y−x)2 with given condition y(1)=1, which means when we put value of x as 1, the solution value of y is also 1.
dxdy=(y−x)2 ...(1)
We will use this substitution method to solve this equation, thus we will put t in place of (x−y). Let (x−y)=t.
Let us take derivative with respect to x on both sides, we get –
dxdx−dxdy=dxdt⇒dxdy=1−dxdt
Putting both values in equation (1), we get –
dxdt=1−t2
By using a variable separable method, let us take terms containing t on one side and terms containing x on the other side. We will get –
1−t2dt=dx
To solve this equation, let us take integration on both sides. We get –
∫1−t21.dt=∫1.dx
Solving LHS of the equation first, we get –
∫1−t21.dt
Factoring numerator and denominator , we get –
∫(1−t)(1+t)1.dt
Using partial fraction decomposition,