I am working with the following differential equation: $$4\left(\frac{dz}{dx}\right)^2+z^4=4$$ On rearrangement, this yields $$\frac{dz}{dx}=\frac{\sqrt{4-z^4}}{{2}}$$ Using $z=\sqrt{2}\tan \theta$, we further get $$\frac{d\theta}{\sqrt{1-2\sin^2\theta}}=\frac{dx}{\sqrt{2}}$$
Now, as per this, this, this and other links, the term on the left is an elliptic integral. But Mathworld says that, for an elliptic integral of the form $\frac{d\theta}{\sqrt{1-k^2\sin^2\theta}}$, the bound on $k$ is given by $$0<k^2<1$$
But for my integral, $k^2=2>1$, which is also causing me difficulty in numerically trying to integrate the problem.
Can somebody tell me what is correct and what not and how I should proceed to integrate the LHS of the equation, numerically (or if possible analytically)?
This equation is interesting in that the points $(z, z') = (\sqrt{2}, 0)$ and $(-\sqrt{2},0)$ are equilibria. So whenever $z$ hits $\pm\sqrt{2}$ the solution does not extend in a natural way. I guess that any physically meaningful solution will immediately escape this equilibria. One such solution is
$$ z(x) = \sqrt{2} \operatorname{dn} \left( \frac{x}{\sqrt{2}} \, \middle| \, 2\right), $$
which satisfies $z(0) = \sqrt{2}$ and $z'(0) = 0$. Here, $\operatorname{dn}(\cdot \mid m)$ is the Jacobi delta amplitude and we are adopting the convention that $m = k^2$ is the parameter and $k$ is the elliptic modulus. This at least provides a way of computing $z(x)$, but I am not sure if $\operatorname{dn}$ can be easily computed in a numerical way.
Finally, here are some computations using Mathematica.