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

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 2K views
yungman
Messages
5,741
Reaction score
291

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:

[tex]\sqrt{(x-2)^2+(y-2)^2+(z-2)^2}=1.5[/tex]


The Attempt at a Solution



I know A point to a point inside the sphere.

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

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
[tex] \sqrt{(x-2)^2+(y-2)^2+(z-2)^2}=1.5[/tex]

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:
[tex] \sqrt{(x-2)^2+(y-2)^2+(z-2)^2}=1.5[/tex]

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