Hello,

Find an equation translating the "farthest away from point (1,-1,1)"

That is you want to maximize the distance from a point on the sphere to this point.

Let

Let

Define

f represents the constraint. That is if ,

Let be a Lagrange multiplier for this problem.

Define

Solve for in , that is to say :