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

In summary, to verify if a point is inside a sphere, you can use the equation \sqrt{(x-2)^2+(y-2)^2+(z-2)^2}=1.5 to calculate the distance between the point and the center of the sphere. If this distance is less than the radius of the sphere, then the point is inside the sphere. This is because the equation gives the distance from the center to any point on the surface of the sphere, and any point inside the sphere will have a shorter distance to the center.
  • #1
yungman
5,718
240

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
  • #2
[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?
 
  • #3
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
 
  • #4
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.
 
  • #5
Got it. thanks both of you for the help.

Alan
 

1. How do you determine if a position vector points to a point inside a sphere?

To verify if a position vector points to a point inside a sphere, we need to calculate the distance between the center of the sphere and the point represented by the position vector. If this distance is less than the radius of the sphere, then the point is inside the sphere.

2. What is a position vector?

A position vector is a mathematical representation of a point in space, usually denoted by a vector with three components (x, y, z) corresponding to the coordinates of the point in a 3D coordinate system.

3. How do you calculate the distance between two points in 3D space?

The distance between two points in 3D space can be calculated using the distance formula, which is √(x2-x1)^2 + (y2-y1)^2 + (z2-z1)^2, where (x1, y1, z1) and (x2, y2, z2) are the coordinates of the two points.

4. Can a position vector point to a point outside of a sphere?

Yes, a position vector can point to a point outside of a sphere if the distance between the center of the sphere and the point represented by the position vector is greater than the radius of the sphere. In this case, the point is outside of the sphere.

5. Are there any other ways to verify if a point is inside a sphere?

Yes, another way to verify if a point is inside a sphere is to calculate the dot product between the position vector and the normal vector of the sphere. If the result is positive, then the point is inside the sphere. However, this method only works for spheres with their center at the origin.

Similar threads

  • Calculus and Beyond Homework Help
Replies
5
Views
773
  • Calculus and Beyond Homework Help
Replies
3
Views
929
  • Introductory Physics Homework Help
Replies
17
Views
378
  • Calculus and Beyond Homework Help
Replies
8
Views
448
  • Calculus and Beyond Homework Help
Replies
4
Views
3K
  • Calculus and Beyond Homework Help
Replies
7
Views
961
  • Calculus and Beyond Homework Help
Replies
2
Views
2K
  • Calculus and Beyond Homework Help
Replies
7
Views
2K
  • Calculus and Beyond Homework Help
Replies
7
Views
689
  • Calculus and Beyond Homework Help
Replies
2
Views
2K
Back
Top