Notes on Lesson 4: Relative position and angle between two straight lines. Distance from a point to a straight line (Maths 10 Canh Dieu, Chapter VII)
Lesson summary
In the coordinate plane, let two straight lines and have direction vectors , respectively.
Given two straight lines and .
A direction vector is like a compass pointing along the road.
This content is not yet available in English. It is shown below in the original Vietnamese.
- Xác định vị trí tương đối, góc giữa hai đường thẳng
- Tính khoảng cách từ một điểm đến một đường thẳng
On a map, some roads cross each other to form a junction, and some roads run parallel and never meet. How can you tell whether they intersect, are parallel, are coincident lines or are perpendicular when all you have is their equations? And if you want to measure the shortest distance from your home to the main road, how do you work it out? This lesson will help you answer those questions with coordinates, so that you can work out the relative position, the angle between two straight lines and the distance from a point to a straight line without needing an accurate drawing.
Key ideas: what do you need to know?
Relative position of two straight lines using direction vectors
In the coordinate plane, let two straight lines and have direction vectors , respectively. Then:
- intersect if and only if , are not parallel.
- is parallel to if and only if , are parallel and there is a point that belongs to one line but does not belong to the other.
- are coincident lines with if and only if , are parallel and there is a point that belongs to both lines.
Example: has direction vector , has direction vector . Since , the two lines are parallel or coincident lines. Take the point on , substitute into to get , so does not belong to . Therefore is parallel to .
In plain words: A direction vector is like a compass pointing along the road. If two lines intersect, the two compasses must point in different directions, meaning the two vectors are not parallel. If two lines are parallel or coincident lines, the two compasses point the same way, meaning the two vectors are parallel. Once they are parallel, to tell parallel from coincident lines you only need to test one point: if that point belongs to both lines, they are coincident lines; if it belongs to only one line, they are parallel. This is quick because you only look at the direction vectors, with no need to solve a system.
Phrase by phrase
- direction vector
- A nonzero vector whose line of action is parallel to or lies on the straight line.Example: The straight line has direction vector .
- not parallel
- Two vectors whose lines of action are neither parallel nor coincident lines; there is no number for which one vector equals times the other.Example: and are not parallel.
- parallel
- Two vectors whose lines of action are parallel or coincident lines, that is, one vector is a multiple of the other.Example: and are parallel because .
Finding the relative position using a system of equations
Given two straight lines and . Consider the system of equations
Then:
- intersect if and only if system (I) has a unique solution.
- is parallel to if and only if system (I) has no solution.
- are coincident lines with if and only if system (I) has infinitely many solutions.
Example: and . Solving the system gives , . The system has a unique solution, so the two lines intersect at .
In plain words: Each straight line is an equation, and the point of intersection is the point that satisfies both, so you have to solve the system. The three possibilities of the system are exactly the three relative positions: one solution is one point of intersection (intersect), no solution is no point of intersection (parallel), infinitely many solutions is sharing the whole line (coincident lines). This way is certain but you have to solve the system, while checking the direction vector is faster when you only need to know the relative position. Once you know they intersect, solve the system to find the coordinates of the point of intersection.
Phrase by phrase
- system of equations
- Two linear equations in two variables written together, their common solution is the point of intersection.Example: gives the solution .
- unique solution
- The system has exactly one pair , corresponding to one point of intersection.Example: The two lines intersect at .
- no solution
- No pair satisfies both, the two lines do not meet.Example: has no solution.
- infinitely many solutions
- Every point of this line belongs to the other line, the two equations are equivalent.Example: and are one line.
Angle between two straight lines
Two intersecting straight lines form four angles. If the two lines are not perpendicular to each other, the acute angle among those four is called the angle between two straight lines. If the two lines are perpendicular to each other, we say the angle between them equals . When two lines are parallel or coincident, we agree that the angle between them equals . Thus, the angle between two straight lines always satisfies .
In the coordinate plane, given two straight lines and with direction vectors , respectively. Then:
If , have normal vectors , respectively, then
In particular, , that is .
Example: has , has . We have , so .
In plain words: The angle between two straight lines is the non-obtuse angle formed by them, so it always goes from to . Why is there an absolute value in the numerator? Because the angle between two direction vectors can be an obtuse angle, but the angle between two straight lines takes the acute angle, so the sign must be dropped. This formula is like the formula for the angle between two vectors you have learned, just with an absolute value added. To check perpendicularity you do not need to compute the angle, just see whether equals 0.
Phrase by phrase
- angle between two straight lines
- The angle measure of the non-obtuse angle among the four angles formed by two intersecting straight lines; agreed to equal if the two lines are parallel or coincident.Example: Two perpendicular lines have an angle of .
- normal vector
- A vector other than whose line of action is perpendicular to the straight line.Example: The straight line has normal vector .
- The perpendicularity condition of two straight lines when their normal vectors and are known.Example: and are perpendicular because .
Common mistakesForgetting the absolute value sign in the numerator of the cosine formula, getting a negative cosine and then concluding an obtuse angle, while the angle between two straight lines is always from to .
TipChecking perpendicular with the product is faster than calculating the angle, because you only need to see whether it equals 0.
Distance from a point to a straight line
In the coordinate plane , given the straight line with equation where , and the point . The distance from the point to the straight line , denoted , is given by the formula:
Note: If then .
Example: The distance from to is , so belongs to .
In plain words: This formula is like substituting the coordinates of the point into the left-hand side of the equation of the line, taking the absolute value and then dividing by the length of the normal vector. Why divide by ? Because if you multiply the whole equation by a number, the line does not change but the left-hand side grows, so you must divide to make the distance independent of how it is written. A numerator of 0 means the point lies right on the line. Distance is never negative, so do not forget the absolute value.
Phrase by phrase
- The distance from the point to the straight line , which is the length of the perpendicular segment dropped from to .Example: means is a distance of 2 from .
- The coordinates of satisfy the equation of , that is the numerator equals 0, so lies on .Example: With , : .
- The length of the normal vector , used for normalizing.Example: has .
Common mistakesWhen the straight line is given in parametric form, forgetting to change it to the general equation and substituting straight into the distance formula, which leads to using the wrong coefficients , , .
Worked examples
Example 1
Determine the relative position of the two straight lines and .
Show the solution to example 1
Step 1: Read the direction vector of each line. has normal vector , so its direction vector is . has normal vector , so its direction vector is .
Step 2: Compare the two direction vectors: , so and are not parallel.
Why: Not being parallel means the two lines cannot be parallel or coincident lines, so they must intersect.
Step 3: Find the point of intersection by solving the system . From the first equation , substitute into the second equation: , that is , . Then .
Result: intersects at the point .
Example 2
Determine the relative position of and .
Show the solution to example 2
Step 1: has normal vector , so its direction vector is . has direction vector .
Step 2: Notice that , so the two direction vectors are parallel, therefore is parallel or coincident with .
Step 3: Tell them apart by testing a point. Choose in the equation of to get the point that belongs to . Substitute into : , so does not belong to .
Why: If they are parallel and one point belongs to one line but not to the other, the two lines cannot be coincident lines, they are parallel.
Result: is parallel to .
Common mistakesSeeing that two direction vectors (or normal vectors) are parallel and immediately concluding that the two lines are coincident lines, while they may be parallel. You must test a point to tell them apart: a point that belongs to both lines means coincident lines, a point that belongs to only one line means parallel.
TipLook at the pair of coefficients of the two lines: if they are proportional the lines are parallel or coincident lines, if not they intersect; to know whether they are coincident lines or parallel, substitute one point.
Example 3
Calculate the angle measure between the two straight lines and .
Show the solution to example 3
Step 1: Read the normal vectors: , .
Step 2: Calculate the dot product . Lengths , .
Step 3: .
Why: A negative dot product shows that the two normal vectors form an obtuse angle, but the angle between two straight lines is taken as the non-obtuse angle, so you must take the absolute value.
Step 4: , so the angle you need is .
Result: .
Example 4
Calculate the distance from point to the straight line .
Show the solution to example 4
Step 1: Substitute the coordinates of into the left-hand side: .
Step 2: Calculate the length of the normal vector: .
Step 3: .
Why: The numerator is negative but a distance is never negative, so you must take the absolute value; divide by so the result does not depend on how the equation is written.
Result: .
Common mistakesWhen calculating the distance you forgot to divide by , you only took , so the result depends on how the equation is written and the units are wrong.
TipRemember the distance by rhythm: substitute the coordinates, take the absolute value, divide by the length of the normal vector, that is .
Example 5
Calculate the distance from point to the straight line .
Show the solution to example 5
Step 1: passes through the point and has direction vector , so its normal vector is .
Step 2: Write the general equation: , that is .
Step 3: Substitute : . The length of the normal vector is .
Step 4: .
Why: The distance formula can only be used with the general equation, so you must convert from the parameter form to the general form first.
Result: .
Common mistakesTaking the wrong normal vector: with you wrote instead of , which makes both the angle and the perpendicular condition wrong.
Example 6
On a coordinate map with kilometres as the unit on the axes, a straight road has the equation . An's house is at the point . Calculate the shortest distance from An's house to the road. If An walks straight out perpendicular to the road, how many kilometres does An walk?
Show the solution to example 6
Step 1: The shortest distance from a point to a straight line is exactly with .
Step 2: Substitute : , take the absolute value to get 5.
Step 3: The length of the normal vector is , so .
Why: The shortest path from a point to a straight line is the perpendicular, exactly equal to the distance in the formula, so walking straight out perpendicular to the road is the shortest distance.
Result: The shortest distance is 1 km, which is also the distance if An walks perpendicular to the road.
Terms
- Direction vector
- A nonzero vector whose line of action is parallel to or lies on the straight line.Example: The straight line has direction vector .
- Normal vector
- A vector other than whose line of action is perpendicular to the straight line.Example: The straight line has normal vector .
- Same direction
- Two vectors whose lines are parallel or coincident lines, one vector is a multiple of the other.Example: and have the same direction.
- Relative position
- The relations intersect, parallel, coincident lines between two straight lines (perpendicular is a special case of intersect).Example: The two lines and are parallel.
- Point of intersection
- The common point of two intersecting straight lines, whose coordinates are the solution of a system.Example: , intersect at .
- Angle between two straight lines
- The angle measure, not obtuse, formed by two intersecting straight lines, taken by convention as when they are parallel or coincident lines; always from to .Example: Two perpendicular lines have an angle of .
- Distance from a point to a line
- The length of the perpendicular dropped from the point to the straight line.Example: .
- Dot product
- With , then .Example: .
Practise similar problems
Practice questions from the Ket noi tri thuc series on the same ideas as this lesson. Answer each one and get it marked straight away.
- Xét vị trí tương đối của hai đường thẳng và tìm giao điểm
- Tính góc giữa hai đường thẳng
- Tính khoảng cách từ điểm đến đường thẳng; độ dài đường cao, diện tích tam giác
- Lập đường thẳng song song hay vuông góc với đường thẳng cho trước; điều kiện qua hệ số góc
- Tìm tham số hay điểm thỏa điều kiện về góc, khoảng cách, vị trí tương đối
- Bài toán thực tế xác định vị trí bằng đường thẳng, khoảng cách