Final answer:
The solution to the given initial value problem is y(x) =
.
Step-by-step explanation:
To solve the given initial value problem, we start by rearranging the differential equation:
![\[ xy^2 (dy)/(dx) = y^3 - x^3 \]](https://img.qammunity.org/2024/formulas/mathematics/high-school/1s288d4t0b9l0v6wrupvbvcb9ta4m9h2pz.png)
Divide both sides by
to separate variables:
![\[ (1)/(y^2) (dy)/(dx) = (y)/(x) - (x^2)/(y^2) \]](https://img.qammunity.org/2024/formulas/mathematics/high-school/cdszy306910ns8sfn3eykcemjcjd5fap78.png)
Now, let's make the substitution
. Then,
. Substitute this into the equation:
![\[ (dv)/(dx) = -(v)/(x) + x^2v^2 \]](https://img.qammunity.org/2024/formulas/mathematics/high-school/hfpdgt3m90gac4g0sevt95a3o7ufuo82vo.png)
This is a first-order linear differential equation, and we can solve it using an integrating factor. The solution is:
![\[ v(x) = (1)/((x^2 + C)^(1/2)) \]](https://img.qammunity.org/2024/formulas/mathematics/high-school/hpuddpqvc1u7ersoba1l9zrt8gdl06dftr.png)
Now, substitute back
:
![\[ y(x) = (x^2 + C)^(1/2) \]](https://img.qammunity.org/2024/formulas/mathematics/high-school/t7gwd2ljudi8wqc2x382cgfqdwxhskskw4.png)
Apply the initial condition (y(1) = 4) to solve for (C), yielding the final solution:
![\[ y(x) = (x^2 + 4)^(1/2) \]](https://img.qammunity.org/2024/formulas/mathematics/high-school/xn3t6vemuel8c4nt9xfscq1ah8a7mqd6l0.png)