(adsbygoogle = window.adsbygoogle || []).push({}); 1. The problem statement, all variables and given/known data

What function represents the distance between the point P(1, 2, 2) and any point on the sphere

x^2 + y^2 + z^2 = 1?

2. Relevant equations

My solutions manual says that the answer is f = (x - 1)^2 + (y - 2)^2 + (z - 2)^2

3. The attempt at a solution

I tried applying pythagoras' theorem and came up with f = sqrt[ (1 - x)^2 + (2 - y)^2 + (2 - z)^2 ] :/

It's actually part of an optimisation problem (what are the shortest and longest distances from P and the sphere?), but I'm pretty sure I've got it sorted once I can get the function... can anyone help?... please? ): (without vectors if possible :/)

thankyou (:

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Homework Help: Distance between a point and a surface (sphere)

**Physics Forums | Science Articles, Homework Help, Discussion**