distance from (x,y,z) to (0,0,0) is http://latex.codecogs.com/gif.latex?\sqrt{(x-0)^2+(y-0)^2+(z-0)^2} your purpose is http://latex.codecogs.com/gif.latex?d=\sqrt{x^2+y^2+x^2y^2+2xy+1} and then d'=0 but ratio to x and y then x=0 and y=0 and z=1 and the point =(0,0,1)