2.1.11.6 Solved using first_order_ode_homog_type_G

Entering first order ode homog type G solver

\[\begin {aligned} x^{\prime }&=2 \sqrt {x}\\ x \left (0\right ) &= 1\\ \end {aligned}\]

Multiplying the right side of the ode, which is \(2 \sqrt {x}\) by \(\frac {t}{x}\) gives

\begin{align*} x^{\prime } &= \left (\frac {t}{x}\right ) 2 \sqrt {x}\\ &= \frac {2 t}{\sqrt {x}}\\ &= F(t,x) \end{align*}

Since \(F \left (t , x\right )\) has \(x\), then let

\begin{align*} f_t&= t \left (\frac {\partial }{\partial t}F \left (t , x\right )\right )\\ &= \frac {2 t}{\sqrt {x}}\\ f_x&= x \left (\frac {\partial }{\partial x}F \left (t , x\right )\right )\\ &= -\frac {t}{\sqrt {x}}\\ \alpha &= \frac {f_t}{f_x} \\ &=-2 \end{align*}

Since \(\alpha \) is independent of \(t,x\) then this is Homogeneous type G. Let

\begin{align*} x&=\frac {z}{t^ \alpha }\\ &=\frac {z}{\frac {1}{t^{2}}} \end{align*}

Substituting the above back into \(F(t,x)\) gives

\begin{align*} F \left (z \right ) &=\frac {2}{\sqrt {z}} \end{align*}

The above shows that \(F \left (z \right )\) does not depend on \(t\) nor on \(x\). If this was not the case, then this method will not work.

Therefore, the implicit solution is given by

\begin{align*} \ln \left (t \right )- c_1 - \int ^{x t^\alpha } \frac {1}{z \left (\alpha + F(z)\right ) } \,dz & = 0 \end{align*}

Which gives

\begin{align*} \ln \left (t \right )-c_1 +\int _{}^{\frac {x}{t^{2}}}\frac {1}{z \left (2-\frac {2}{\sqrt {z}}\right )}d z = 0 \end{align*}

The value of the above is

\begin{align*} \ln \left (t \right )-c_1 +\ln \left (\sqrt {\frac {x}{t^{2}}}-1\right ) = 0 \end{align*}

Solving for the constant of integration from initial conditions, the solution becomes

\begin{align*} \ln \left (t \right )-i \pi +\ln \left (\sqrt {\frac {x}{t^{2}}}-1\right ) = 0 \end{align*}

Applying the initial condition \(x \left (0\right ) = 1\), the solution becomes

\begin{align*} \ln \left (t \right )-i \pi +\ln \left (\sqrt {\frac {x}{t^{2}}}-1\right ) &= 0 \\ \end{align*}

Solving for \(x\) from \(\ln \left (t \right )-i \pi +\ln \left (\sqrt {\frac {x}{t^{2}}}-1\right ) = 0\) gives

\begin{align*} x &= \left (-1+t \right )^{2} \\ \end{align*}
Direction field with Isoclines \( x = \left (-1+t \right )^{2} \)

Summary of solutions found

\[ x = \left (-1+t \right )^{2} \]