Eric C. answered 02/07/20
Math and Physics teacher with over twenty years of teaching experience
The differential equation given in the problem is separable, meaning we can get everything involving y on one side and everything involving x on the other. Once we separate the variables, then we can just integrate both sides.
dy/dx + 6xy^4 = 0
dy/dx = -6xy^4
y^-4 dy = -6x dx
now we integrate both sides, remembering the constants of integration, to get:
(-1/3)y^-3 + C1 = -3x^2 + C2
we can clean this up a bit:
y^-3 = 9x^2 + C
Now, we know that y(0)= 1/2; we can use this to find C.
(1/2)^-3 = C = 8
Now, we can plug in x=2 to get the final result:
y^-3 = 9*2^2 + 8 = 44
so y = 44^(-1/3)
I hope this helps