Consider the differential equation dy/dx = x^4(y-2) and find the particular solution y = f(x) to the given differential equation with the initial condition f(0) = 0.
I got ln|y-2| = x^5/5 + c and did y-2 = ce^(x^5/5) before putting in the given values to get c = -2. Then I got the solution as y=2-2e^(x^5/5).
However, my teacher wants me to find c right after getting ln|y-2| = x^5/5 + c. This seems to lead to a different c-value and solution.
ln|0-2| = c
ln2 = c
ln|y-2| = x^5/5 + ln2
e ln|y-2| = e^(x^5/5) * e^ln2
y=2+2e^(x^5/5)
The online calculator says that 2-2e^(x^5/5) is the correct answer. How can I find c as my teacher wants me to, and what's wrong with the above?
I got ln|y-2| = x^5/5 + c and did y-2 = ce^(x^5/5) before putting in the given values to get c = -2. Then I got the solution as y=2-2e^(x^5/5).
However, my teacher wants me to find c right after getting ln|y-2| = x^5/5 + c. This seems to lead to a different c-value and solution.
ln|0-2| = c
ln2 = c
ln|y-2| = x^5/5 + ln2
e ln|y-2| = e^(x^5/5) * e^ln2
y=2+2e^(x^5/5)
The online calculator says that 2-2e^(x^5/5) is the correct answer. How can I find c as my teacher wants me to, and what's wrong with the above?