I have the following equation
$\sqrt{(x_a-x_n)^2+(y_a-y_n)^2}$. I want to get rid of square-root and find an approximation which contains only $x_a,x_n,y_a,y_n$ (there should not be any other non-linear operator in the approximation). Can anyone help me in this matter and guide me to the right direction?
$x_n <x_a, y_n<y_a, y_a<x_a$ and $x_a,x_n,y_a,y_n \in[-1,1]$. However, $y_n$ is not always less than $x_n$.


Let $\vec{r}=<x_n,y_n>$, $\vec{r_0}=<x_a,y_a>$
$d^2=(\vec{r}-\vec{r_0})^2$
$d=\sqrt{r_n^2+ r_0^2-2 \vec{r_n} \cdot \vec{r_0}}$
From here, I Think there are several options.
With some tweaking, I think you can expand with legendre polynomials.
There's also a vector version of Taylor Series applicable.:
$f(x,y)=f(x_0,y_0)+\nabla f \cdot\vec{ds}+...$