Solveeit Logo

Question

Question: If $(2xy - y^2 - y)dx = (2xy + x - x^2)dy$ and $y(1) = 1$, then the value of $12|y(-1)|$ is...

If (2xyy2y)dx=(2xy+xx2)dy(2xy - y^2 - y)dx = (2xy + x - x^2)dy and y(1)=1y(1) = 1, then the value of 12y(1)12|y(-1)| is

Answer

12

Explanation

Solution

The given differential equation is (2xyy2y)dx=(2xy+xx2)dy(2xy - y^2 - y)dx = (2xy + x - x^2)dy. We can rewrite this as (2xyy2y)dx(2xy+xx2)dy=0(2xy - y^2 - y)dx - (2xy + x - x^2)dy = 0. Let M=2xyy2yM = 2xy - y^2 - y and N=(2xy+xx2)=x22xyxN = -(2xy + x - x^2) = x^2 - 2xy - x. We check if the differential equation is exact by verifying if My=Nx\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}. My=y(2xyy2y)=2x2y1\frac{\partial M}{\partial y} = \frac{\partial}{\partial y}(2xy - y^2 - y) = 2x - 2y - 1. Nx=x(x22xyx)=2x2y1\frac{\partial N}{\partial x} = \frac{\partial}{\partial x}(x^2 - 2xy - x) = 2x - 2y - 1. Since My=Nx\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}, the differential equation is exact.

For an exact differential equation Mdx+Ndy=0M dx + N dy = 0, there exists a function F(x,y)F(x, y) such that dF=Mdx+NdydF = M dx + N dy. This means Fx=M\frac{\partial F}{\partial x} = M and Fy=N\frac{\partial F}{\partial y} = N. We integrate MM with respect to xx to find F(x,y)F(x, y): F(x,y)=Mdx=(2xyy2y)dx=x2yxy2xy+g(y)F(x, y) = \int M dx = \int (2xy - y^2 - y) dx = x^2y - xy^2 - xy + g(y), where g(y)g(y) is an arbitrary function of yy.

Now, we differentiate F(x,y)F(x, y) with respect to yy and set it equal to NN: Fy=y(x2yxy2xy+g(y))=x22xyx+g(y)\frac{\partial F}{\partial y} = \frac{\partial}{\partial y}(x^2y - xy^2 - xy + g(y)) = x^2 - 2xy - x + g'(y). We have N=x22xyxN = x^2 - 2xy - x. So, x22xyx+g(y)=x22xyxx^2 - 2xy - x + g'(y) = x^2 - 2xy - x. This implies g(y)=0g'(y) = 0. Integrating with respect to yy, we get g(y)=C1g(y) = C_1, where C1C_1 is a constant.

The general solution is F(x,y)=CF(x, y) = C, which is x2yxy2xy+C1=C2x^2y - xy^2 - xy + C_1 = C_2. Let C=C2C1C = C_2 - C_1. The general solution is x2yxy2xy=Cx^2y - xy^2 - xy = C.

We are given the initial condition y(1)=1y(1) = 1. We substitute x=1x=1 and y=1y=1 into the general solution to find the value of CC: (1)2(1)(1)(1)2(1)(1)=C(1)^2(1) - (1)(1)^2 - (1)(1) = C 111=C1 - 1 - 1 = C C=1C = -1.

The particular solution is x2yxy2xy=1x^2y - xy^2 - xy = -1.

We need to find the value of 12y(1)12|y(-1)|. Let y(1)=y0y(-1) = y_0. We substitute x=1x=-1 into the particular solution: (1)2y0(1)y02(1)y0=1(-1)^2 y_0 - (-1) y_0^2 - (-1) y_0 = -1 1y0(1)y02(1)y0=11 \cdot y_0 - (-1) y_0^2 - (-1) y_0 = -1 y0+y02+y0=1y_0 + y_0^2 + y_0 = -1 y02+2y0+1=0y_0^2 + 2y_0 + 1 = 0 (y0+1)2=0(y_0 + 1)^2 = 0 This gives y0=1y_0 = -1.

So, y(1)=1y(-1) = -1.

Finally, we need to find the value of 12y(1)12|y(-1)|: 12y(1)=121=12×1=1212|y(-1)| = 12|-1| = 12 \times 1 = 12.