We are tasked with solving the differential equation:
(x−x3)dy=(y+yx2−3x4)dx
subject to the initial condition
y(3)=3. Our goal is to determine the value of
y(4).
First, we expand the terms to observe the structure of the equation:
xdy−x3dy=ydx+yx2dx−3x4dx
To simplify, we group the terms involving
x and
y strategically. We bring
xdy and
ydx together on one side:
xdy−ydx=x3dy+yx2dx−3x4dx
We recognize that the left side resembles the numerator of the derivative of a quotient, specifically
d(xy)=x2xdy−ydx. To facilitate this, we divide the entire equation by
x2:
x2xdy−ydx=xdy+xydx−3x2dx
The left side is now the exact differential
d(xy). The right side can be rewritten as:
d(xy)=d(xy)−d(x3)
Integrating both sides of the equation yields:
xy=xy−x3+C
We apply the initial condition
y(3)=3 to solve for the constant
C:
33=(3)(3)−(3)3+C
1=9−27+C
1=−18+C⇒C=19
The general solution is therefore:
xy=xy−x3+19