Vectors: lines and perpendicular feet
Vectors: lines and perpendicular feet · Diagrams · Complete reading
A polygon mesh represents a surface
Expand diagramFit diagram to page
Use the scrollbars or arrow keys to inspect details.
A light–surface–eye ray path
Expand diagramFit diagram to page
Use the scrollbars or arrow keys to inspect details.
Method map: Build a line from a point and a direction
Separate the fixed position from the direction of travel along the line. A direction must be nonzero; the real parameter selects a point, with negative values allowed.
Identify a point and a nonzero direction
Choose one fixed point on the line and a direction parallel to it. If two distinct points are supplied, subtract their position vectors.
- Point and direction givenKeep their roles separate
locates A relative to O. The nonzero vector gives the line direction; it need not be a unit vector.
- Two distinct points givenForm a displacement
If A and B have position vectors and , use . The reverse direction is equally valid. Identical points alone do not determine a line.
A zero component is allowed. A direction vector with every component zero gives a single fixed point in the proposed equation, not a line.
Add a parallel displacement
Let R be any point on the line. Reach it by going from O to A, then from A to R.
- Vector additionFollow the two displacements
The triangle law gives
- Parallel displacementUse a scalar multiple
Because AR is parallel to the nonzero direction,
Combining these statements gives the vector equation.
The fixed vector a is not generally parallel to the line. It is AR, the displacement between two line points, that is parallel to m.
Interpret the parameter and its range
With a nonzero direction, each real parameter value gives one point, and every point on the unrestricted line has one parameter value for this representation.
- Position and distanceKeep the sign for position
Zero gives A; negative values move opposite to the chosen direction. The distance from A is
Only for a unit direction does itself give that distance.
- Equivalent equationsThe same line can look different
Choose another point on the line and any nonzero parallel direction. With a free real parameter, the equation still describes the same line, although parameter values change. Restrictions on the parameter must be considered separately.
A restricted parameter range can describe only part of the line. Interpret a parameter as elapsed time only when the question explicitly defines that model and its units.
Try a worked example
Read a case, make a prediction, then reveal the reasoning. The examples keep their stated values.
The source exploration: points on both sides
Take and . The source places E at three times PQ from P, F halfway from P to Q, and G on the opposite side of P with PG twice PQ. Predict the parameter for each point before opening the reasoning.
Show reasoning
1. Reach Q and continue to E
One copy of PQ reaches Q; three copies reach E on PQ produced.
2. Stop halfway at F
The midpoint needs half the displacement from P to Q.
3. Reverse direction to G
G is on the other side of P, so its displacement is a negative multiple. The parameters 1, 3, one-half and minus 2 all belong to the same unrestricted line.
Two source points: one coordinate stays fixed
Use the source points and . Predict which coordinate is constant and whether a zero direction component prevents a line.
Show reasoning
1. Subtract the position vectors
AB is a nonzero direction even though its y component is zero.
2. Use A as the fixed point
The parameter ranges over all real values. Zero gives A and one gives B.
3. Read the fixed coordinate
Keep the same parameter in all three coordinates. The constant coordinate is an equation, not a fraction with denominator zero; the linked question continues to Cartesian form.
Same line, different parameter values
Authored comparison using the same source line: replace by and call the new parameter . Both parameters range over all real values. Predict how the parameter for B changes.
Show reasoning
1. Recognise the nonzero scale factor
The direction has been multiplied by minus 2. This reverses and rescales its displacement per parameter unit, while preserving the unrestricted line.
2. Match displacements
The two equations reach the same point only when their parameters are related. The old value one for B becomes minus one-half.
3. Separate the parameter from distance
The original direction has length square-root 5. The distance from A to B is square-root 5 coordinate units, not the original parameter value one. A signed parameter is not automatically a distance or elapsed time.
Compare with the source vector construction
Expand diagramFit diagram to page
Use the scrollbars or arrow keys to inspect details.
Method map: Two ways to find a foot on a line
Choose either method for the same foot F. A is a known point on the line, p is P's position vector, and m is a nonzero line direction. The foot must lie on the line and have a perpendicular displacement from P.
Put the foot on the line
Use this route when a line parameter is convenient. Write a candidate foot on the line before imposing perpendicularity.
- Parameter routeSolve one scalar equation
Put . Then
Hence
Substitute back into to find F.
Check both line membership and perpendicularity. The parameter can be negative; its sign is not a distance.
Project from a known line point
Use the vector projection of AP onto the line direction. Keep its sign when locating the foot.
- Projection routeAdd the projection vector to OA
First find
Then . A negative component puts F opposite to the chosen direction from A. Taking an absolute value here would put F on the wrong side.
Use a unit direction, or divide by m·m as in the parameter formula. If P is on the line, F=P and the distance is zero.
Try a worked example
Read a case, make a prediction, then reveal the reasoning. The examples keep their stated values.
The foot is behind the line point
For and , predict which side of contains the foot F. Compare the two methods on the same geometry.
Show reasoning
1. Put F on the line
Use the same parameter in all three coordinates, then require the displacement from P to F to be perpendicular to the line direction.
2. Check by signed projection
AP has dot product −6 with m, while m·m=6. Keep the negative sign: AF points opposite to m, so F is behind A. A schematic’s left-to-right order cannot override the coordinates.
3. Verify both conditions
F lies on the line at λ=−1 and PF has zero dot product with its nonzero direction. A negative parameter is allowed on an infinite line; it is not a negative distance.
Illustration: P already lies on the line
Boundary-case illustration: keep but choose . Predict the foot and distance. Use this extra comparison to check the zero-distance boundary.
Show reasoning
1. Check membership
At λ=2 the line already reaches P. Its foot is P itself.
2. Accept the zero displacement
The perpendicular-displacement equation still holds when PF=0. The point-to-line distance is zero; do not require a nonzero displacement to accept this boundary.
Compare the geometric constructions
Expand diagramFit diagram to page
Use the scrollbars or arrow keys to inspect details.
Method map: Choose a point-to-line distance method
These are alternative routes to the same nonnegative perpendicular distance. Choose a known point A on the infinite line and a nonzero direction m. Reuse a foot or projection length when the question has already supplied it.
A verified foot is already available
If F has already been found, reuse it. Confirm that F lies on the line and PF is perpendicular to its direction.
- Known footTake the displacement's magnitude
A line parameter is not this length. When P lies on the line, F=P and h=0.
Use the companion foot method if F has not been established. A point merely lying on the line is not necessarily the perpendicular foot.
A direction and line point are available
Find AP and normalise the line direction. This route gives the height directly without first finding F.
- Cross productUse area divided by base
-
An unnormalised cross product gives an area, not the perpendicular distance.
Reversing or rescaling a nonzero direction leaves the distance unchanged after normalisation.
A projection length is available
Resolve AP along the line, then use Pythagoras for the perpendicular component. A signed component and a length are different quantities.
- Projection and PythagorasSubtract squared lengths
The signed component s can be negative; d and h are nonnegative. Keep exact values until the final calculation.
All three routes give distance to the infinite line. A foot outside a specified segment or ray requires a separate restriction check.
Try a worked example
Read a case, make a prediction, then reveal the reasoning. The examples keep their stated values.
Reuse a foot already found
The existing foot calculation gives for . How can you deduce the shortest distance without another projection?
Show reasoning
1. Take the perpendicular displacement's magnitude
The foot has already been verified. The requested distance is a nonnegative length, not the line parameter −1.
Use the cross product with the right scale
Use , and . Predict why alone is not the distance to the line AB.
Show reasoning
1. Find the displacements
AB is a nonzero direction, but its length is √6 rather than 1.
2. Expand the cross product
Compute all three signed cross-product components before taking the magnitude. The middle component is negative.
3. Divide by the direction's length
The cross product’s magnitude is the parallelogram area. Dividing by the base length gives its perpendicular height.
A negative component gives a positive length
For the same , and , compare signed projection with projection length. Must the perpendicular foot lie between A and B?
Show reasoning
1. Keep direction and length distinct
The component is negative, so AF points opposite to AB. Its magnitude gives the projection length.
2. Use the right triangle
AP²=17 and d²=6. The remaining perpendicular length agrees with the cross-product result.
3. Check which object the question names
F=(0,0,2) lies before A along AB, giving the order F,A,B. The source sketch is schematic. Distance to the infinite line permits this foot; distance to a segment would also need its endpoint constraints checked.
Compare the three geometric routes
Expand diagramFit diagram to page
Use the scrollbars or arrow keys to inspect details.
Method map: Two checks to classify the lines
Compare nonzero direction vectors first. Parallel directions need a coincidence check; nonparallel directions need all three coordinate equations.
Compare directions
Start with two nonzero direction vectors. Are they scalar multiples?
- Yes · parallel directionsCheck for coincidence
Test whether a point on one line also lies on the other. A shared point means coincident lines; otherwise they are distinct parallel lines. If the lines are given as distinct, coincidence is excluded.
- No · nonparallel directionsContinue to the coordinate test
Use independent parameters λ and μ for the two lines. Their directions alone cannot distinguish intersecting from skew lines.
Check every coordinate
For nonparallel directions, does the same pair (λ, μ) satisfy all three component equations?
- Yes · consistent systemIntersecting lines
The solution gives the common point:
- No · inconsistent systemSkew lines
No point lies on both lines.
Solve the complete system with G.C. PlySmlt2, or solve two independent equations and check the unused third equation. An arbitrary pair may be dependent.
Try a worked example
Read a case, make a prediction, then reveal the reasoning. The examples keep their stated values.
Case A · Parallel directions
Compare and . Are they distinct parallel lines or the same line?
Show reasoning
1. Compare nonzero directions
, so the directions are parallel. This alone does not rule out coincidence.
2. Test the base-point displacement
The displacement (0,1,1) cannot be a scalar multiple of (1,2,1): its first coordinate would force the scalar to zero, contradicting its other coordinates. The lines are distinct parallel lines.
Case B · Nonparallel directions
Compare with . Predict intersecting or skew. Why must the parameters remain independent?
Show reasoning
1. Rule out parallel directions
The two direction vectors are not scalar multiples. Use separate parameters λ and μ, since the same point need not have the same parameter on both lines.
2. Solve two independent coordinates
Equate x and z. Their equations give μ=−1 and λ=−2.
3. Check the unused coordinate
The y equation is also satisfied. Both lines give the point (−1,−2,1), so they intersect.
Case C · Check the unused coordinate
Compare with . Its direction is unchanged from Case B. Can the relationship change?
Show reasoning
1. The directions are still nonparallel
Directions alone cannot distinguish intersection from skew.
2. Use x and z to get a candidate
These two independent equations give μ=0 and λ=−1.
3. Reject the candidate with y
The y equation fails. No common point exists and parallel directions were already excluded, so the lines are skew.
Case D · Different equations, same line?
Extra illustration: compare with . The base point and direction both look different. Are the lines distinct?
Show reasoning
1. Check the base point
The second base point lies on the first line at λ=1.
2. Compare complete parametrizations
As μ runs through all real values, λ=1+2μ also runs through all real values. The lines are coincident, not distinct parallel lines.
Method map: Choose the angle between two lines
Read which angle is asked for before using a dot product. Reversing a direction changes the directed-vector angle but preserves the smaller angle between the lines.
Extract two nonzero directions
Use the vectors multiplying the independent line parameters. The fixed position vectors locate the lines; they do not determine the angle.
- Intersecting or skewAn intersection is unnecessary
Translate the direction vectors to a common starting point to compare them. Skew lines still have an angle between their directions; a nonzero angle alone does not prove the lines intersect.
A zero direction does not define a line. A zero component is allowed. Keep separate parameters for the two line equations.
Choose the requested angle
For the smaller line angle, take the absolute value of the dot product. For an angle between specified directed vectors, retain its sign.
- Smaller line angleRemove direction reversal
-
This gives . The source calls this the acute angle; the parallel and perpendicular boundaries are and .
- Specified vector angleKeep the signed dot product
-
This gives . For an internal angle ABC, use BA and BC, both directed from the vertex B. An absolute value could replace the required obtuse angle by its supplement.
Inverse cosine is not a reciprocal. Set the calculator to the requested degree or radian mode, and retain full precision until the final answer.
Check the angle and the geometry
The same supporting lines can be represented using reversed or rescaled directions. Their smaller angle must stay unchanged. In radians use π − θ for the supplement; in degrees use 180° − θ.
- Reversed directionThe vector angle may change
Reversing one direction replaces by and by . The value , and therefore the smaller line angle, stays the same.
- Boundary casesSeparate angle from line relationship
A zero dot product gives a right angle between directions. Parallel directions give a zero smaller angle; the lines may be distinct or coincident. Check positions separately when classifying the lines.
Use the smaller-angle rule only when that convention is requested. Do not force an internal polygon angle or a specified vector angle to be acute.
Try a worked example
Read a case, make a prediction, then reveal the reasoning. The examples keep their stated values.
Source Example 26: use the directions
The source directions are and . Predict whether their directed-vector angle is already acute before calculating.
Show reasoning
1. Find the dot product and lengths
The fixed line points do not enter the angle calculation. The positive dot product predicts an acute directed-vector angle.
2. Calculate the smaller angle
The direction angle is already acute, so its supplement is unnecessary. Round only the final answer to one decimal place.
Reverse a direction, preserve the line angle
Authored comparison using Example 26: replace the second direction by . Predict what changes and what stays the same. Both lines still use unrestricted real parameters.
Show reasoning
1. Keep the sign for the vector angle
The dot product becomes minus 13. The directed-vector angle is now obtuse, although the supporting line is unchanged.
2. Take the supplement for the line angle
Use the unrounded angle in a calculation, or take the absolute dot product directly. Reversing or nonzero rescaling cannot change the smaller angle between these lines.
Source Example 27: an internal angle can be obtuse
The source asks for the internal angle OAB. Both and start at A. Predict why an absolute dot product would answer a different question.
Show reasoning
1. Use both vectors from the vertex
The signed dot product is minus 105. Their lengths are square-root 251 and square-root 105, so the internal angle is obtuse.
2. Retain the obtuse answer
The source rounds the internal angle to the nearest degree. Taking an absolute value would instead give about 50 degrees, the smaller angle between the supporting lines.
Compare the source angle constructions
Expand diagramFit diagram to page
Use the scrollbars or arrow keys to inspect details.