Little help with differential equations

Titans86
Messages
17
Reaction score
0

Homework Statement



\frac{dy}{dx} = \sqrt{xy^3} , y(0) = 4


The Attempt at a Solution



So;

\frac{dy}{dx} = x^{\frac{1}{2}}y^{\frac{3}{2}}<br /> <br /> \Rightarrow \int y^{-\frac{3}{2}}dy = \int x^{\frac{1}{2}}dx<br /> \Rightarrow -2y^{-\frac{1}{2}} = \frac{2}{3}x^{\frac{3}{2}} + C<br /> \Rightarrow y^{-\frac{1}{2}} = -\left(\frac{1}{3}x^{\frac{3}{2}} + \frac{1}{2}C\right)<br /> \Rightarrow y^{\frac{1}{2}} = -\left(\frac{1}{\frac{1}{3}x^{\frac{3}{2}} + \frac{1}{2}C}\right)<br /> \Rightarrow y = \frac{1}{(\frac{1}{3}x^{\frac{3}{2}} + \frac{1}{2}C)^2}<br />

Then Putting in the conditions mentioned above:

<br /> 4 = \frac{1}{(0 + \frac{1}{2}C)^2}<br /> \Rightarrow \frac{1}{4}C^2 = \frac{1}{4}<br /> \Rightarrow C = 1<br />

Yet my book shows C = \frac{3}{2}
 
Physics news on Phys.org
Your work looks fine to me except near the end. C can also equal -1.
Is the book's answer y = 1/[1/3*x^(3/2) + 1/2 * 3/4]^2? (I.e., same as yours but with C = 3/2 rather than C = 1 as you have it.)

I don't see why your general solution wouldn't be a solution to the DE, and I don't see any problems with your use of the initial condition to find the particular solution. I would want to verify that the book's solution solves the DE and initial condition. After all, math text occasionally have typos.
 
you mean there can be more then one particular solution?
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top