Vectors: Distance between 3D object and line

In summary, the shortest distance between the given surface and line is approximately 7.355 units. To find the coordinates of a point on the line and a point on the surface that are nearest to each other, we need to find a perpendicular line to both the line and the surface. This perpendicular line must pass through the center of the sphere and the point where the given line intersects the plane perpendicular to it. The distance between these two points is the shortest distance between the line and the surface.
  • #1
MarcMTL
26
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
  • #2
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.
 

Related to Vectors: Distance between 3D object and line

1. What is a vector?

A vector is a mathematical object that has both magnitude (size) and direction. It is represented by an arrow, with the length of the arrow representing the magnitude and the direction of the arrow representing the direction.

2. How is a vector different from a scalar?

A scalar is a mathematical quantity that has only magnitude, while a vector has both magnitude and direction. For example, temperature is a scalar quantity, as it only has a numerical value, while velocity is a vector quantity, as it has both magnitude (speed) and direction.

3. What is the distance between a 3D object and a line?

The distance between a 3D object and a line is the shortest distance between any point on the object and any point on the line. It can be calculated using the formula d = |(P1 - P0) x (P2 - P0)| / |P2 - P1|, where P0 is a point on the line, P1 is a point on the object, and P2 is any other point on the line.

4. How is the distance between a 3D object and a line useful in scientific research?

The distance between a 3D object and a line can be useful in a variety of scientific fields, such as physics, computer graphics, and engineering. It can help determine the closest point of contact between two objects, the shortest path for a moving object, and the orientation of an object in space.

5. Can the distance between a 3D object and a line be negative?

No, the distance between a 3D object and a line cannot be negative. This is because distance is a scalar quantity and cannot have a negative value. However, the direction of the distance can be positive or negative, depending on the relative positions of the object and the line.

Similar threads

  • Calculus and Beyond Homework Help
Replies
9
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
645
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Precalculus Mathematics Homework Help
Replies
17
Views
1K
  • Introductory Physics Homework Help
2
Replies
36
Views
591
  • Calculus and Beyond Homework Help
Replies
2
Views
3K
  • Calculus and Beyond Homework Help
Replies
3
Views
736
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
Replies
1
Views
923
Back
Top