Vectors: Distance between 3D object and line

  • Thread starter Thread starter MarcMTL
  • Start date Start date
  • Tags Tags
    3d Line Vectors
Click For Summary
SUMMARY

The discussion focuses on calculating the shortest distance between a sphere defined by the equation (x+2)²+(y-3)²+(z-5)²=9 and a line passing through points P0:(9,8,10) and P1:(16,6,14). The distance formula used is Distance Line-Point = ||P0P1 x P0PC|| / ||P0P1||. The solution involves finding a perpendicular line to both the given line and the sphere, which requires determining the intersection of the line with a plane that contains the sphere's center at PC:(-2, 3, 5).

PREREQUISITES
  • Understanding of 3D geometry and vector mathematics
  • Familiarity with the equation of a sphere
  • Knowledge of vector cross products and scalar products
  • Ability to solve linear equations in three dimensions
NEXT STEPS
  • Learn how to derive the equation of a plane from a point and a normal vector
  • Study the method for finding the intersection of a line and a plane in 3D space
  • Explore the concept of perpendicular distances in 3D geometry
  • Investigate applications of vector calculus in physics and engineering
USEFUL FOR

Students studying vector mathematics, geometry enthusiasts, and anyone involved in physics or engineering requiring spatial analysis of objects in three dimensions.

MarcMTL
Messages
25
Reaction score
0

Homework Statement


a) Find the shortest distance between the surface A: (x+2)^2+(y-3)^2+(z-5)^2=9 and the line that passes by the points P0:(9,8,10) and P1:(16,6,14).

b)Find the coordinates of a point on the line and a point on the surface that are nearest to each other.


Homework Equations


Surface is a sphere, centered around PC:(-2, 3, 5).

Distance Line-Point = [tex]\frac {||P0P1 x P0PC||}{||POP1||}[/tex]


The Attempt at a Solution


I found the distance between the line and the center of the sphere, then substracted by the radius (3) of the sphere, to find a distance of approx. 7.355 units.

However, how can I now find the Vector that defines the line of the shortest distance between the sphere and the line? Once I have the equation of that line, I can solve for b) by finding the intersects.

I know I'm looking for a perpendicular line to the one that is defined by POP1, so that the scalar product must equal 0, however in 3D, there is an infinite answer of perpendicular lines.

Thanks.
 
Physics news on Phys.org
You are looking for a line that is perpendicular to both given line and given sphere. Of course, any line perpendicular to a sphere lies along a diameter and passes through the center of the sphere.

The line through P0:(9,8,10) and P1:(16,6,14) has "direction vector" <16- 9, 6- 8, 14- 10>= <7, -2, 4> and so has perpendicular plane [itex]7(x- x_0)- 2(y- y_0)+ 4(z- z_0)= 0[/itex] where [itex](x_0, y_0, z_0)[/itex] is any point in that plane. The plane we want must contain the center of the circle, (-2, 3, 5) and so is [itex]7(x+ 2)- 2(y- 3)+ 4(z- 5)= 0[/itex].

Find the point where the given line crosses that plane and you will have the point where the perpendicular line touches the given line. Once you have that, find where the line through that point and (-2, 3, 5) crosses the sphere. The distance between those two points is the distance from sphere to line.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
1
Views
1K
Replies
2
Views
23K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K