Consider the initial value problem

$\displaystyle \frac{dy}{dx} = |x|^{p/q}$, $\displaystyle x(0) = 0$, where $\displaystyle p$ and $\displaystyle q$ are positive integers with no common factors.

(a) Show that there are an infinite number of solutions if $\displaystyle p < q$.
(b) Show that there is a unique solution if $\displaystyle p > q$.

I separated the equations and was trying to integrate $\displaystyle \frac{1}{|x|^{p/q}}$ but I couldn't figure out how to do this.

I tried to break it down by the definition of absolute value so that

(1)$\displaystyle \frac{dy}{dx} = x^{p/q}$, $\displaystyle x \geq 0$
(2)$\displaystyle \frac{dy}{dx} = -x^{p/q}$, $\displaystyle x < 0$

That way, I would show that for both cases (1) and (2), parts (a) and (b) are valid. Is this okay to do, or is there a more appropriate method to solving this problem?

Thank you very much.

Regards,
crushingyen