2.1.11.3 Solved using first_order_ode_bernoulli

Entering first order ode bernoulli solver

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

In canonical form, the ODE is

\begin{align*} x' &= F(t,x)\\ &= 2 \sqrt {x} \end{align*}

This is a Bernoulli ODE.

\[ x' = \left (2\right ) \sqrt {x} \tag {1} \]

The standard Bernoulli ODE has the form

\[ x' = f_0(t)x+f_1(t)x^n \tag {2} \]

Comparing this to (1) shows that

\begin{align*} f_0 &=0\\ f_1 &=2 \end{align*}

The first step is to divide the above equation by \(x^n \) which gives

\[ \frac {x'}{x^n} = f_1(t) \tag {3} \]

The next step is use the substitution \(v = x^{1-n}\) in equation (3) which generates a new ODE in \(v \left (t \right )\) which will be linear and can be easily solved using an integrating factor. Backsubstitution then gives the solution \(x(t)\) which is what we want.

This method is now applied to the ODE at hand. Comparing the ODE (1) With (2) Shows that

\begin{align*} f_0(t)&=0\\ f_1(t)&=2\\ n &={\frac {1}{2}} \end{align*}

Dividing both sides of ODE (1) by \(x^n=\sqrt {x}\) gives

\begin{align*} x'\frac {1}{\sqrt {x}} &= 0 +2 \tag {4} \end{align*}

Let

\begin{align*} v &= x^{1-n} \\ &= \sqrt {x} \tag {5} \end{align*}

Taking derivative of equation (5) w.r.t \(t\) gives

\begin{align*} v' &= \frac {1}{2 \sqrt {x}}x' \tag {6} \end{align*}

Substituting equations (5) and (6) into equation (4) gives

\begin{align*} 2 v^{\prime }\left (t \right )&= 2\\ v' &= 1 \tag {7} \end{align*}

The above now is a linear ODE in \(v \left (t \right )\) which is now solved.

Because the ODE has the form \(v^{\prime }\left (t \right )=f(t)\), the solution requires only integration. Therefore

\begin{align*} dv &= \left (1\right ) \, dt\\ v &= \int { \left (1\right ) \, dt}\\ &= t +c_1 \end{align*}

The substitution \(v = x^{1-n}\) is now used to convert the above solution back to \(x\) which results in

\begin{align*} \sqrt {x} = t +c_1\end{align*}

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

\begin{align*} \sqrt {x} &= t +1 \\ \end{align*}

Solving for \(x\) from \(\sqrt {x} = t +1\) gives

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

Summary of solutions found

\[ x = t^{2}+2 t +1 \]