Notes on Lesson 2: Straight lines in the coordinate plane (Maths 10 Chan troi sang tao, Chapter IX)
Lesson summary
A vector different from is called a normal vector of the straight line if the line of action of is perpendicular to .
The straight line passes through the point and has normal vector : the point belongs to if and only if .
Think of a straight line as a road, the direction vector is an arrow pointing along the road, and the normal vector is an arrow pointing straight into the road, perpendicular to it.
This content is not yet available in English. It is shown below in the original Vietnamese.
- Mô tả được phương trình tổng quát, tham số của đường thẳng
- Xác định được vị trí tương đối, góc giữa hai đường thẳng, khoảng cách từ điểm đến đường thẳng
On the digital map, you want to draw a straight line through two places whose coordinates are known. Just two numbers are enough to build the whole line, that is the power of the coordinate method. This lesson helps you describe a straight line with a general equation and a parametric equation, then set up that equation when you know a point together with a normal vector, a direction vector, or two points that the straight line passes through. Not only writing equations, you also learn how to examine the relative position of two straight lines, calculate the angle between them and the distance from a point to a straight line, the tools needed to solve many geometry and real-life problems.
Key ideas: what do you need to know?
Normal vector and direction vector of a straight line
- A vector different from is called a normal vector of the straight line if the line of action of is perpendicular to .
- A vector different from is called a direction vector of the straight line if the line of action of is parallel or coincident with .
- If is a normal vector then and are direction vectors; conversely, if is a direction vector then is a normal vector.
- Remark. If is a normal vector of then is also a normal vector of ; if is a direction vector then is also a direction vector. So a straight line has infinitely many normal vectors and infinitely many direction vectors.
- A straight line is completely determined if we know one point and one normal vector of it, or one point and one direction vector of it.
In plain words: Think of a straight line as a road, the direction vector is an arrow pointing along the road, and the normal vector is an arrow pointing straight into the road, perpendicular to it. Why can we switch between them? Because two perpendicular arrows have dot product equal to 0: . A way to remember the switch: swap the two coordinates and change the sign of one of them, like turning the arrow by an angle of .
Phrase by phrase
- normal vector
- A vector different from whose line of action is perpendicular to the straight line.Example: A horizontal straight line takes as a normal vector.
- direction vector
- A vector different from whose line of action is parallel or coincident with the straight line.Example: A horizontal straight line takes as a direction vector.
- How to turn the normal vector into a direction vector.Example: then .
- infinitely many normal vectors
- Every vector parallel to a normal vector is a normal vector.Example: Both and are normal vectors.
General equation of a straight line
- The straight line passes through the point and has normal vector : the point belongs to if and only if . Setting , the equation can be written in the form , called the general equation of . The point belongs to if and only if its coordinates satisfy the general equation of .
- In the coordinate plane, every straight line has a general equation of the form , with and not both equal to 0. Conversely, every equation of the form , with and not both equal to 0, is the equation of a straight line, taking as a normal vector.
- Example: the straight line through with has the equation , that is .
In plain words: The general equation gives the normal vector directly: the coefficient of and the coefficient of are exactly the coordinates of . Why is that formula correct? Take any point on the straight line, then is perpendicular to , so the dot product equals 0, and expanding it gives exactly the equation above. Remember well: the coefficient in front of is the x-coordinate of , the one in front of is the y-coordinate of .
Phrase by phrase
- general equation
- An equation of the form with not both equal to 0.Example: .
- not both equal to 0
- At least one of the two numbers , must be different from 0, if both are 0 it is no longer a straight line.Example: is still a straight line, namely .
- Equation of the straight line through with normal vector .Example: Through with : .
Parametric equation of a straight line
- Given the straight line passing through the point and having direction vector . Then the point belongs to if and only if there exists a real number such that , or . This system is called the parametric equation of the straight line ( is the parameter).
- For each value of , we get a point on ; as changes, the point runs along the whole line.
- Example: through with : . With we get the point .
In plain words: A parametric equation is like a set of directions: start from , and at each step go one more segment in the direction . The parameter is exactly the number of steps. stays still at , takes exactly one step of , steps backwards. Why do we need this form? Because it tells us both the point and the direction of travel, which is very handy when we need to find a specific point on the line or describe uniform straight motion.
Phrase by phrase
- parametric equation
- The system of two equations of and in terms of a parameter .Example: .
- parameter
- The letter takes any real value, and each value gives one point.Example: With in the example above we get the point .
- The two numbers added to , , are exactly the coordinates of the direction vector.Example: has .
Equation of the line through two points and intercept equation
- The straight line passing through two distinct points and has as its direction vector.
- From that we can write the parametric equation , or switch to the general equation by taking .
- If and , the line can also be written in the form .
- The straight line cutting the axis and the axis at and respectively, with , has the intercept equation .
- Example: through and we have , the parametric equation , the general equation .
In plain words: Two points give us an arrow joining them, and that arrow lies along the road, so it is a direction vector. Why must they be two distinct points? If coincides with then , we cannot find any direction, and through one point there are infinitely many straight lines. Once we have a direction vector, turn it through a right angle to get a normal vector for writing the general equation. The intercept equation is just a special case when the line cuts the two axes at two points different from the origin.
Phrase by phrase
- The vector from to , take the coordinates of minus the coordinates of in that order.Example: , : .
- two distinct points
- Two points that do not coincide, so that .Example: and do not determine a single straight line.
- intercept equation
- The equation of the straight line cutting at and at , with .Example: The straight line cutting at and at has the equation .
Common mistakesMixing up the two kinds of vectors: taking and then writing the parametric equation with . You must turn by a right angle: or .
The graph of a linear function is a straight line
- The linear function (with ) has a straight line as its graph.
- Rewrite , which is exactly the general equation with , , . So the graph of a linear function is a straight line with normal vector and direction vector .
- Conversely, the straight line with and can be written as , which is the graph of a linear function; if and then is a constant function, and its graph is a straight line parallel to or coinciding with the axis.
- Remark: given . If then the equation can be brought to the form (with ) and is perpendicular to ; if then it can be brought to the form (with , ).
- The equation of the x-axis is , the equation of the y-axis is .
- The slope of the straight line (with ) is ; if the line has direction vector with then the slope is .
- The coefficient tells us how steep the line is; is the y-coordinate of the point of intersection of the line with the axis.
- Example: is the straight line , with slope , cutting the axis at .
In plain words: You drew the graph of back in grade 9 by taking two points and joining them. Now look with coordinate eyes: every point satisfying lies on a straight line, and conversely, every straight line not parallel to the y-axis can be written as (when , it really is the graph of a linear function). Why is the direction vector ? Because each time increases by 1, increases by , so the step always lies along the line. The slope is exactly the "steepness" of that road: the road goes up, the road goes down.
Phrase by phrase
- linear function
- A function of the form with .Example: .
- slope
- The number in , which tells the steepness of the straight line; for the straight line () we have .Example: has slope .
- A direction vector of the graph of .Example: has .
Relative position of two straight lines
- In the plane , given two straight lines with normal vector and with normal vector .
- If and are parallel, then and are parallel or coincident lines. Take any point on :
+ If then .
+ If then .
- If and are not parallel, then and intersect at a point that is the solution of the system .
- Note:
+ If then .
+ To check whether and are parallel, consider : if it equals 0 they are parallel, if it is different from 0 they are not parallel.
+ If are all different from 0, you can consider the ratio: then they are parallel; then they are not parallel.
In plain words: Two straight lines are like two roads. If the two normal vectors are parallel, then the two roads are either parallel or one and the same. To tell them apart, just take a point on the first line and see whether it lies on the second line. If the two normal vectors are not parallel, the two roads must intersect. The sign is like checking whether two arrows point the same way, avoiding division by 0.
Phrase by phrase
- relative position
- Relations between two straight lines: intersect, parallel, coincident lines (or perpendicular).Example: and are parallel.
- A quantity used to check whether two normal vectors and are parallel.Example: and : , parallel.
- Coincident lines, that is, every point of one line belongs to the other.Example: and are coincident lines.
Common mistakesSeeing two parallel normal vectors and concluding right away that the two lines are coincident lines, while they may be parallel; you must test a point to tell them apart.
Angle between two straight lines
- Two straight lines and intersect and form four angles:
+ If and are not perpendicular to each other, the acute angle among the four angles formed is called the angle between two straight lines and .
+ If and are perpendicular to each other, the angle between them equals .
- Convention:
+ When is parallel or coincident with , the angle between the two straight lines equals .
+ The angle between two straight lines is always less than or equal to , that is, .
+ The angle between two straight lines , is denoted by or .
- In the coordinate plane, given , with normal vectors , respectively. We have:
- Remark: If , have direction vectors , then .
- Note:
+ If and then .
+ If and then . two straight lines whose product of slopes equals are perpendicular to each other.
In plain words: The angle between two straight lines is the smallest of the angles they form, so it always goes from to . Since a normal vector can point to either side, the dot product can be negative, so you must take the absolute value to get a non-negative cosine. The formula really means computing the angle between the two normal vectors and then taking the corresponding acute angle.
Phrase by phrase
- angle between two straight lines
- An acute angle (or ) formed by two straight lines never exceeds .Example: , have , .
- The cosine of the angle between two straight lines, computed using normal vectors and taking the absolute value.Example: , : .
- The perpendicular condition for two straight lines with slopes , .Example: and are perpendicular.
Distance from a point to a straight line
- In the plane , given the straight line and the point .
- The distance from the point to the straight line , denoted , is given by the formula:
- This distance is exactly the length of the perpendicular segment drawn from to , so it is the shortest distance from to .
In plain words: To measure the distance from a point to a straight road, draw the perpendicular from that point down to the road. The formula is just 'plug the coordinates of the point into the equation of the line, take the absolute value, then divide by the length of the normal vector'. Divide by to normalise, because can be longer or shorter and still describe the same straight line.
Phrase by phrase
- The distance from the point to the straight line .Example: , : .
- The length of the normal vector of the straight line.Example: has .
- the shortest distance
- The perpendicular segment from a point to a straight line is the shortest segment joining that point to a point on the straight line.Example: From to , going perpendicular for km.
Common mistakesComputing the distance but forgetting to divide by , only taking .
TipRemember the distance with a rhythm: "substitute the coordinates, take the absolute value, divide by the length of the normal vector", that is .
Worked examples
Example 1
Give a normal vector and a direction vector of each of the following straight lines: a) ; b) .
Show the solution to example 1
Step 1: a) The general equation has the form with , , so .
Why: The coefficients in front of and are exactly the coordinates of the normal vector.
Step 2: Rotate by a right angle by swapping the two coordinates and then changing the sign of one of them: take .
Step 3: b) The parametric equation has the numbers added to and equal to and , so .
Step 4: Rotate : take .
Result: a) , ; b) , .
Common mistakesIn the formula , taking the wrong sign: point but writing instead of . You need to subtract the coordinates of the point, in the right order.
TipReading the general equation means reading right away; to get you swap the two coordinates and change the sign of one number.
Example 2
Form the general equation of the straight line passing through and having normal vector . Check whether belongs to .
Show the solution to example 2
Step 1: Use the formula with , , , : .
Why: This formula is exactly the condition , so the straight line takes exactly as its normal vector.
Step 2: Expand: , that is .
Step 3: Substitute the coordinates of : , which holds.
Result: .
Example 3
Form the parametric equation of the straight line passing through and having direction vector . Find the point on corresponding to and the point corresponding to .
Show the solution to example 3
Step 1: Apply the formula: .
Step 2: With : , , giving the point .
Step 3: With : , , giving the point .
Why: Each value of is the number of steps taken in the direction starting from ; a negative means stepping in the opposite sense to the arrow.
Step 4: Check the point by adding 3 times to : , which matches.
Result: ; for , for .
Example 4
Given two points and . Form the parametric equation and the general equation of the straight line .
Show the solution to example 4
Step 1: . This is a direction vector.
Why: The straight line contains the segment , so the line carrying coincides with the straight line.
Step 2: Simplify , take for simplicity (it is parallel, so it is still a direction vector).
Step 3: Parametric equation through : .
Step 4: Normal vector . General equation: , that is .
Step 5: Substitute : , correct.
Result: and .
Example 5
Consider the relative position of the two straight lines and .
Show the solution to example 5
Step 1: Read the normal vector: , .
Step 2: Notice that so , are parallel, the two straight lines are parallel or coincident lines.
Why: If they are parallel, the two perpendicular lines point in the same direction, they cannot intersect.
Step 3: Tell parallel from coincident lines by testing a point. Take : substitute into gives , so belongs to . Substitute into : , so does not belong to .
Step 4: The two lines have parallel normal vectors but no point of intersection, so they are parallel.
Result: and are parallel lines.
TipLook at the pair of coefficients of the two lines: if proportional, they are parallel or coincident lines, if not proportional, they intersect; to know whether coincident lines or parallel, substitute a point.
Example 6
Find the angle between the two straight lines and .
Show the solution to example 6
Step 1: , .
Step 2: ; , .
Step 3: .
Why: A negative dot product means the two normal vectors form an obtuse angle, but the angle between two straight lines is taken as the acute angle, so you must take the absolute value.
Step 4: , look it up in a table or press the calculator to get .
Result: , that is .
Common mistakesForgetting the absolute value in the numerator of the cosine formula, getting a negative cosine and concluding an obtuse angle, while the angle between two straight lines does not exceed .
Example 7
On a coordinate map, a straight road has the equation (units on the axes are km). An's house is at point . Find the shortest distance from An's house to the road. If An walks straight out perpendicular to the road, how many km is that?
Show the solution to example 7
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: , so (km).
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
- Normal vector
- A vector different from whose line of action is perpendicular to the straight line.Example: is a normal vector of .
- Direction vector
- A vector different from whose line of action is parallel or coincident with the straight line.Example: is a direction vector of .
- General equation
- The equation with not both equal to 0.Example: .
- Parametric equation
- The system , with parameter , where is a direction vector.Example: .
- Parameter
- The letter in the parametric equation, each value gives one point.Example: gives point in the example above.
- Slope
- The number in , measuring the steepness of the straight line.Example: has slope .
- Point on a line
- A point whose coordinates satisfy the equation of the straight line.Example: belongs to .
- Graph of a linear function
- The straight line with .Example: is a straight line.
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ác định vectơ pháp tuyến, vectơ chỉ phương và chuyển đổi giữa chúng
- Lập phương trình tổng quát của đường thẳng
- Lập phương trình tham số và chuyển đổi giữa phương trình tham số và tổng quát
- Lập phương trình đường thẳng qua hai điểm, theo hệ số góc, các trục tọa độ
- Lập phương trình cạnh, đường cao, trung tuyến, trung trực của tam giác
- Bài toán chuyển động, vị trí dùng phương trình tham số