Cross Product and Normal Vector Related Question

In summary, to find the distance from a point to a line, we can find the dot product of a vector from any point on the line to the point and the line's normal vector. We can also find the distance by finding the shortest distance from the point to the line, which involves finding a normal plane to the line that contains the point. Another method is to find a point and a unit direction vector for the line, and then take the magnitude of the cross product of the vector from the point to the line and the direction vector.
  • #1
shards5
38
0

Homework Statement


Find the distance from the point (2, 4, 4) to the line x = 0, y = 4 + 3t, z = 4 + 2t.


Homework Equations



The cross product and the dot product and d = |n * b|/|n|

The Attempt at a Solution



So the distance from the point to the line is the line directly perpendicular from the point to the line. To find that distance we can find the dot product (which produces a scalar projection of the distance from the point to the line onto the line's normal vector) of the vector from any point on the line (call it q) and the point (call it p) and the line itself. To get the line from p to q (call it pq) I simply do the following:
Set t = 3 and retrieve the following points <0,13,10> and we subtract that from p to get pq = <2,-9,-6>.
Next I need to find the normal vector, which is where I am having trouble with. I can find the direction numbers of the line which results in <0, 3, 2>, however my problem now is that I don't know what I should cross product it with to get the normal vector. If I cross product it with pq I'll get a line coming straight out of the board and for me it seems like that a normal vector that isn't pointing in the same direction as p will screw up the projection. Can you please explain?
 
Physics news on Phys.org
  • #2
shards5 said:

Homework Statement


Find the distance from the point (2, 4, 4) to the line x = 0, y = 4 + 3t, z = 4 + 2t.


Homework Equations



The cross product and the dot product and d = |n * b|/|n|

The Attempt at a Solution



So the distance from the point to the line is the line directly perpendicular from the point to the line. To find that distance we can find the dot product (which produces a scalar projection of the distance from the point to the line onto the line's normal vector) of the vector from any point on the line (call it q) and the point (call it p) and the line itself. To get the line from p to q (call it pq) I simply do the following:
Set t = 3 and retrieve the following points <0,13,10> and we subtract that from p to get pq = <2,-9,-6>.
Next I need to find the normal vector, which is where I am having trouble with. I can find the direction numbers of the line which results in <0, 3, 2>, however my problem now is that I don't know what I should cross product it with to get the normal vector. If I cross product it with pq I'll get a line coming straight out of the board and for me it seems like that a normal vector that isn't pointing in the same direction as p will screw up the projection. Can you please explain?
I don't know what you mean by the "normal vector" to the line. A plane has a normal direction (and so normal vectors in that direction) but a line has a normal plane- any vector in that plane will be normal to the line.

The simplest way to find the shortest distance from a point into a line is to find the normal plane to the line that contains the point. A plane, with normal vector <A, B, C> containing point [itex](x_0, y_0, z_0)[/itex] is given by [itex]A(x- x_0)+ B(y- y_0)+ C(z-z_0)= 0[/itex]. Here the vector perpendicular to the plane you want is <0, 3, 2>, the vector in the direction of the line, and the point is (2, 4, 4) so the plane is 0(x- 2)+3(y- 4)+ 2(z- 4)= 0 or 3y+ 2z= 20. Find the point where the given line crosses that plane and then find the distance from that point to (2, 4, 4).
 
  • #3
Find a point P on the line and a unit direction vector D for the line (both easy).
If Q is the point off the line, let V be the vector from P to Q (also easy). Then

distance = |V x D|

Draw a picture to see why this works.
 
  • #4
In response to LCKurtz, sorry but I don't see how it works conceptually. What it looks like to me is that you are getting the magnitude of the cross product on the direction vector of the line and the line from the line to Q. From what I understand about cross products is that this will give us a vector which is perpendicular to both the line and the line V. I don't understand why the magnitude of this vector will give me the distance unless it is a property of the vector which results from the cross product to be equal to the perpendicular distance from point Q to the line.
Also can you check my work since I don't think I am doing this correctly.
Unit Direction Vector = <0, 3, 2> (I got this from isolating t from the line equation and getting their a, b, c).
Point of the line L(1) = <0,7,6>
V = <2,4,4> - <0,7,6> = <2,-3,-2>
Doing the cross product of <2,-3,-2> x <0,3,2> I get < <0,-4,6>.
Getting the magnitude of the vector will mean.
[tex]\sqrt{16+36}[/tex] = 7.21110255 which doesn't appear to be the answer. Am I doing something wrong?
 
  • #5
shards5 said:
In response to LCKurtz, sorry but I don't see how it works conceptually. What it looks like to me is that you are getting the magnitude of the cross product on the direction vector of the line and the line from the line to Q. From what I understand about cross products is that this will give us a vector which is perpendicular to both the line and the line V. I don't understand why the magnitude of this vector will give me the distance unless it is a property of the vector which results from the cross product to be equal to the perpendicular distance from point Q to the line.
Also can you check my work since I don't think I am doing this correctly.
Unit Direction Vector = <0, 3, 2> (I got this from isolating t from the line equation and getting their a, b, c).
Point of the line L(1) = <0,7,6>
V = <2,4,4> - <0,7,6> = <2,-3,-2>
Doing the cross product of <2,-3,-2> x <0,3,2> I get < <0,-4,6>.
Getting the magnitude of the vector will mean.
[tex]\sqrt{16+36}[/tex] = 7.21110255 which doesn't appear to be the answer. Am I doing something wrong?

Yes. Your direction vector is not a unit vector (having length 1). You have to multiply it by 1/sqrt(13) to make it a unit vector. That makes your answer sqrt(52)/sqrt(13) = sqrt(4) = 2 which is the correct answer.

To see why it works draw a picture of the line with P = (0,7,6) on it, Q = (2,4,4,) off of it, the vector V from P to Q, and drop a perpendicular from Q to the nearest point W on the line. That perpendicular line's length h is what you want to calculate. Draw a little vector at P pointing towards W representing the unit vector. Call theta the angle between your unit vector and V. From the right triangle, h = |V| sin(theta).

But remember your geometric formula for the magnitude of a cross product:

|V x D| = |V||D| sin(theta). Since |D| = 1 it equals h.

The fact that V x D is perpendicular to V and D is irrelevant.
 

1. What is the cross product of two vectors?

The cross product of two vectors is a vector that is perpendicular to both of the original vectors. It is calculated by multiplying the magnitude of the two vectors and the sine of the angle between them.

2. How do you find the direction of the cross product vector?

The direction of the cross product vector can be determined using the right-hand rule. Point your index finger in the direction of the first vector, your middle finger in the direction of the second vector, and your thumb will point in the direction of the cross product vector.

3. Can the cross product of two vectors be zero?

Yes, the cross product of two vectors can be zero if the vectors are parallel or if one of the vectors has a magnitude of zero.

4. What is the purpose of the normal vector in the cross product?

The normal vector is used to determine the direction of the cross product vector. It is also used in many applications, such as calculating torque and determining if two planes are parallel or perpendicular.

5. How is the cross product related to the dot product?

The cross product is related to the dot product by the fact that the dot product of two vectors is equal to the product of the magnitudes of the vectors and the cosine of the angle between them. This can be used to find the angle between two vectors or to determine if two vectors are perpendicular.

Similar threads

  • Calculus and Beyond Homework Help
Replies
6
Views
887
  • Calculus and Beyond Homework Help
Replies
19
Views
2K
  • Calculus and Beyond Homework Help
Replies
5
Views
875
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
13
Views
1K
  • Precalculus Mathematics Homework Help
Replies
7
Views
608
Replies
8
Views
825
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
Replies
10
Views
711
  • Calculus and Beyond Homework Help
Replies
2
Views
2K
Back
Top