So I was messing around in Desmos with the following generic equation: $$f(x)^2+f(y)^2=25.$$ And it turns out that when: $$f(a)=\frac{1}{a^2-1},$$ which is to say: $$\left(\frac{1}{x^{2}-1}\right)^{2}+\left(\frac{1}{y^{2}-1}\right)^{2}=25,$$ then the resulting plot looks like this:
How would I go about finding the precise equation that gives ONLY the "squircle" that forms around the origin? My trial-and-error attempts have gotten me fairly close, but I would imagine some actual algebra/calculus is required to find the exact numbers. Thanks for your time!
User Servaes notes that one can restrict $x,y$ to $[-1,1]$, but OP objects, wanting an equation with no extraneous restrictions. We can make the equation do the restricting for us. Any equation that has $\sqrt{1-x^2}$ in it automatically restricts $x$ to $[-1,1]$, since we don't do square roots of negative numbers. So $$\left({1\over\sqrt{1-x^2}}\right)^4+\left({1\over\sqrt{1-y^2}}\right)^4=25$$ is the same as the original equation, but with the necessary restrictions on $x,y$ implicit in the square root.