I'm a little rusty on my algebra so I'm hoping this is fairly easy. I'm trying to write some equations describing the Euclidean distance between two points but are subject to the constraints that the distance must be greater than zero and must also not be equal to one. Here is what I have so far:

Let and be the two points, Let the be the distance between them.

Then I should be able to use the following equation to require that the distance be anything greater than zero:

could be written as:

I think this would work because can never be zero. I don't think needs to be squared because if it's negative, there won't be a solution.

So where I'm stuck is: how would I write the distance equation subject to the constraint that:

Any suggestions to get me on the right foot?