\documentclass[12pt]{article}
\usepackage{epsfig}
\newcommand{\ds}{\displaystyle}
\newcommand{\pl}{\partial}
\newcommand{\dy}{\frac{dy}{dx}}
\parindent=0pt
\begin{document}

{\bf Question}

Find {\bf all} the solutions ($y(x)$ for $x\ge 0$) of the
following differential equations with the given initial condition.
(You may wish to sketch the direction field and the solution
curves in each case to help indicate if you have missed any
solutions. Be particularly aware of possible division by zero in
your algebra).

\begin{enumerate}

\item $\ds \left(\dy\right)^2=y \qquad y(0)=1\qquad (*)$

\item $\ds \left(\dy\right)^2=y \qquad y(0)=0\qquad (*)$

\item $\ds \left(\dy\right)^4=x^2(y-1) \qquad y(0)=1$

\end{enumerate}





\vspace{0.25in}

{\bf Answer}

\begin{itemize}
\item[a)]
Can be written as either \,\, i) $\ds\frac{dy}{dx}=+y^\frac{1}{2}$
or \, ii) $\ds\frac{dy}{dx}=-y^\frac{1}{2} \, \, (y\geq0)$

which are separable, so if $y\not=0$

\item[i)]
$\ds\int y^{-\frac{1}{2}}dy=\int dx \Rightarrow 2y^\frac{1}{2}=x+A
\, \,$ use \,$\ds y(0)=1 \Rightarrow A=2$

$\ds\Rightarrow 2y^\frac{1}{2}=x+2 \Rightarrow
y=\left(\frac{x}{2}+1\right)^2$

\item[ii)]
$\ds\int y^{-\frac{1}{2}}dy=-\int dx \Rightarrow
2y^\frac{1}{2}=-x+A \, \,$ use \,$\ds y(0)=1 \Rightarrow A=2$

$\ds\Rightarrow 2y^\frac{1}{2}=-x+2 \Rightarrow
y=\left(\frac{x}{2}-1\right)^2$

note: $\ds y=0$ when $\ds x=2$

\begin{center}
$ \begin{array}{cc}
\frac{dy}{dx}=y^{\frac{1}{2}} & \frac{dy}{dx} = -y^{\frac{1}{2}}\\
\epsfig{file=114-2-1.eps, width=45mm} \ \ & \ \
\epsfig{file=114-2-2.eps, width=45mm}
\end{array}$
\end{center}


Hence two possible solutions are:
\item[1)]
$\ds y=\left(\frac{x}{2}+1\right)^2 \hspace{0.55in} x\geq0$

\item[2)]
$\ds y=\left\{\begin{array}{lr}\left(\frac{x}{2}-1\right)^2 &
0\leq x\leq2\\ 0 & x>2 \end{array} \right.$

\item[b)]
Use the direction field above and consider $\ds y(0)=0$

If $\ds\frac{dy}{dx}=-y^\frac{1}{2} \Rightarrow y\equiv0 \,\,\,\,
x\geq0$ \, however if $\ds\frac{dy}{dx}=y^\frac{1}{2}$

there are a whole set of solutions given by

$\ds y=\left\{\begin{array}{lr} 0 & 0\leq x\leq A\\
\left(\frac{x}{2}-\frac{A}{2}\right)^2 & x>A \end{array}\right.$

and A can be any positive constant.

\item[c)]
Consider the positive roots first.

$\ds\frac{dy}{dx}=x^\frac{1}{2}(y-1)^\frac{1}{4} \,\,\, y\geq1
\,\,\,\,$

$\ds\int(y-1)^\frac{-1}{4}dy=\int x^\frac{1}{2}dx$ \, for $\ds
y\not=1$

$\ds\frac{4}{3}(y-1)^\frac{3}{4}=\frac{2}{3}x^\frac{3}{2}+A \,\,$
note $\ds y=1$ is a solution,

so all the solutions are given by:

$\ds y(x)=1 \,\,$ for $\ds 0\leq x\leq B$

$\ds\frac{4}{3}(y-1)^\frac{3}{4}=\frac{2}{3}x^\frac{3}{2}+A$ for
$\ds x\geq B$ with $\ds y(B)=1$

$\frac{4}{3}(y-1)^\frac{3}{4}=\frac{2}{3}(x\frac{3}{2}-B^\frac{3}{2})$

$\ds\Rightarrow y(x)=\left\{\begin{array}{lr} 1 & 0\leq x\leq B\\
1+(\frac{1}{2}(x^\frac{3}{2}-B^\frac{3}{2}))^\frac{4}{3} & x\geq B
\end{array}\right.$

for any constant $\ds B\geq0$

Now consider the negative roots

$\ds\frac{dy}{dx}=-x^\frac{1}{2}(y-1)^\frac{1}{4} \,\,\,\, y\geq1
\,\,\, x\geq0$ \,\, the only solution with $\ds y(0)=1$ is $\ds
y\equiv1$ for all $\ds x\geq0$ as in 4b).

\end{itemize}


\end{document}
