How to verify a position vector points to a point inside a sphere?

yungman
Messages
5,741
Reaction score
294

Homework Statement



Given a sphere center at (2,2,2) with radius of 1.5, given a vector A=<3,2,1>. How do I verify A point to a point inside the sphere?

Homework Equations



Equation of circle:

\sqrt{(x-2)^2+(y-2)^2+(z-2)^2}=1.5


The Attempt at a Solution



I know A point to a point inside the sphere.

\sqrt{(3-2)^2+(2-2)^2+(1-2)^2}=\sqrt{2}\;\hbox { smaller than 1.5}

Is any point that give number smaller than 2.25 indicate the point is inside the sphere? can you explain why?

Thanks

Alan
 
Physics news on Phys.org
<br /> \sqrt{(x-2)^2+(y-2)^2+(z-2)^2}=1.5<br />

This equation will give any point on the surface of the sphere since the distance from the center to the surface is constant.

If your point is before the surface, would the distance be more or less than the radius?
 
rock.freak667 said:
<br /> \sqrt{(x-2)^2+(y-2)^2+(z-2)^2}=1.5<br />

This equation will give any point on the surface of the sphere since the distance from the center to the surface is constant.

If your point is before the surface, would the distance be more or less than the radius?

It would be more than the radius if the point is outside the sphere.

I have to think a little about this.

Thanks
 
The way to go about this question is to examine the distance between the centre of the sphere and the point defined by the vector. If the distance is less than the radius of te sphere then you know that the point is inside the sphere.
 
Got it. thanks both of you for the help.

Alan
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top