Skip to content
Gioi Toan
Start learning
Two vectors joined head to tail on a grid, and their sum

Notes on Lesson 20: Relative position of two straight lines. Angle and distance (Maths 10 Ket noi tri thuc)

Lesson summary

Δ1\Delta_1 and Δ2\Delta_2 are parallel or coincident ⇔\Leftrightarrow u1⃗\vec{u_1} and u2⃗\vec{u_2} are parallel ⇔\Leftrightarrow n1⃗\vec{n_1} and n2⃗\vec{n_2} are parallel.

Given two straight lines Δ1:a1x+b1y+c1=0\Delta_1: a_1x + b_1y + c_1 = 0 and Δ2:a2x+b2y+c2=0\Delta_2: a_2x + b_2y + c_2 = 0.

The normal vector is a compass pointing in the direction perpendicular to the straight line.

This content is not yet available in English. It is shown below in the original Vietnamese.

  • Xét vị trí tương đối giữa hai đường thẳng bằng tọa độ.
  • Tính góc giữa hai đường thẳng, khoảng cách từ một điểm tới một đường thẳng.

Two roads on a map intersect at a crossroads, while two other roads run parallel forever without meeting. To know whether they intersect, are parallel, coincident or perpendicular, and to measure the distance from your home to the main road, you do not need to draw an accurate figure, only their equations. This lesson teaches how to use coordinates to examine the relative position of two straight lines, calculate the angle between them and the distance from a point to a straight line.

Practise nowTextbook solutions for this lesson

Key ideas: what do you need to know?

Relative position of two straight lines via normal vectors

Given two straight lines Δ1\Delta_1, Δ2\Delta_2 with direction vectors u1⃗\vec{u_1}, u2⃗\vec{u_2} and normal vectors n1⃗\vec{n_1}, n2⃗\vec{n_2} (Book note):

  • Δ1\Delta_1 and Δ2\Delta_2 are parallel or coincident ⇔\Leftrightarrow u1⃗\vec{u_1} and u2⃗\vec{u_2} are parallel ⇔\Leftrightarrow n1⃗\vec{n_1} and n2⃗\vec{n_2} are parallel.
  • Δ1\Delta_1 and Δ2\Delta_2 intersect ⇔\Leftrightarrow u1⃗\vec{u_1} and u2⃗\vec{u_2} are not parallel ⇔\Leftrightarrow n1⃗\vec{n_1} and n2⃗\vec{n_2} are not parallel.
  • Remark. When u1⃗\vec{u_1}, u2⃗\vec{u_2} (or n1⃗\vec{n_1}, n2⃗\vec{n_2}) are parallel: if Δ1\Delta_1 and Δ2\Delta_2 have a point of intersection then Δ1\Delta_1 are coincident lines Δ2\Delta_2; if there exists a point belonging to Δ1\Delta_1 but not belonging to Δ2\Delta_2 then Δ1\Delta_1 is parallel to Δ2\Delta_2.
  • Δ1⊥Δ2\Delta_1 \perp \Delta_2 ⇔\Leftrightarrow n1⃗⊥n2⃗\vec{n_1} \perp \vec{n_2}, that is n1⃗⋅n2⃗=0\vec{n_1} \cdot \vec{n_2} = 0 (Book note in the angle section).

Example: Δ1:x−2y+1=0\Delta_1: x - 2y + 1 = 0 has n1⃗=(1;−2)\vec{n_1} = (1; -2), Δ2:2x−4y+5=0\Delta_2: 2x - 4y + 5 = 0 has n2⃗=(2;−4)\vec{n_2} = (2; -4). Since n2⃗=2n1⃗\vec{n_2} = 2\vec{n_1}, the two straight lines are parallel or coincident; the point (−1;0)(-1; 0) belongs to Δ1\Delta_1 but 2⋅(−1)−4⋅0+5=3≠02 \cdot (-1) - 4 \cdot 0 + 5 = 3 \ne 0 so it does not belong to Δ2\Delta_2, therefore the two straight lines are parallel.

In plain words: The normal vector is a compass pointing in the direction perpendicular to the straight line. Two parallel straight lines are perpendicular to the same direction, so the two compasses are parallel. Two intersecting straight lines mean the two compasses must point in different directions. And perpendicular is a special case: the two compasses are perpendicular to each other, that is the dot product equals 0. Look at the coefficients of xx and yy; if you see they are proportional to each other, think straight away of parallel or coincident lines.

Phrase by phrase
parallel
Two vectors whose supporting lines are parallel or coincident, that is one vector is a multiple of the other.Example: n2⃗=2n1⃗\vec{n_2} = 2\vec{n_1} so n1⃗\vec{n_1}, n2⃗\vec{n_2} are parallel.
not parallel
Two vectors whose supporting lines are neither parallel nor coincident; for two vectors different from 0⃗\vec{0}, there is no number kk such that this vector equals kk times the other.Example: (1;−2)(1; -2) and (1;3)(1; 3) are not parallel.
n1⃗⋅n2⃗=0\vec{n_1} \cdot \vec{n_2} = 0
The dot product equals 0, meaning the two normal vectors are perpendicular, so the two straight lines are perpendicular.Example: Δ1:x+2y=0\Delta_1: x + 2y = 0, Δ2:2x−y+1=0\Delta_2: 2x - y + 1 = 0 have 1⋅2+2⋅(−1)=01 \cdot 2 + 2 \cdot (-1) = 0, perpendicular.

Examine the relative position by solving the system of equations

Given two straight lines Δ1:a1x+b1y+c1=0\Delta_1: a_1x + b_1y + c_1 = 0 and Δ2:a2x+b2y+c2=0\Delta_2: a_2x + b_2y + c_2 = 0. The coordinates of the point of intersection (if any) are the solution of the system of equations
{a1x+b1y+c1=0a2x+b2y+c2=0\begin{cases} a_1x + b_1y + c_1 = 0 \\ a_2x + b_2y + c_2 = 0 \end{cases}

  • Δ1\Delta_1 intersect Δ2\Delta_2 at M(x0;y0)M(x_0; y_0) if and only if the system has a unique solution (x0;y0)(x_0; y_0).
  • Δ1\Delta_1 is parallel to Δ2\Delta_2 if and only if the system has no solution.
  • Δ1\Delta_1 coincide with Δ2\Delta_2 if and only if the system has infinitely many solutions.

Example: Δ1:x+y−3=0\Delta_1: x + y - 3 = 0 and Δ2:x−y−1=0\Delta_2: x - y - 1 = 0. Solving the system gives x=2x = 2, y=1y = 1, so the two straight lines intersect at M(2;1)M(2; 1).

In plain words: Each straight line is an equation, and the point of intersection is the point satisfying both, so you have to solve the system. The three possibilities of the system are exactly the three positions: one solution is one point of intersection, no solution means no point of intersection, infinitely many solutions means they share the whole line. This way is certain but you have to solve the system, while looking at the normal vectors is faster when you only need to know the 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: {x+y=3x−y=1\begin{cases} x + y = 3 \\ x - y = 1 \end{cases} gives (2;1)(2; 1).
unique solution
The system has exactly one pair (x;y)(x; y), corresponding to one point of intersection.Example: The two lines intersect at M(2;1)M(2; 1).
no solution
No pair (x;y)(x; y) satisfies both, the two lines do not meet.Example: {x+y=1x+y=2\begin{cases} x + y = 1 \\ x + y = 2 \end{cases} has no solution.
infinitely many solutions
Every point of this line belongs to the other line, the two equations are equivalent.Example: x+y=1x + y = 1 and 2x+2y=22x + 2y = 2 are one line.

Common mistakesWhen finding the point of intersection, solving the system and then writing the coordinates in the wrong order xx, yy, or substituting with the wrong sign.

Angle between two straight lines

Two intersecting straight lines form four angles, the angle measure of the non-obtuse angle is called the angle measure (or simply the angle) between the two straight lines. The angle between two parallel or coincident lines is taken by convention to be 0∘0^\circ. Thus the angle φ\varphi between two straight lines always satisfies 0∘≤φ≤90∘0^\circ \le \varphi \le 90^\circ.

Given two straight lines Δ1:a1x+b1y+c1=0\Delta_1: a_1x + b_1y + c_1 = 0 and Δ2:a2x+b2y+c2=0\Delta_2: a_2x + b_2y + c_2 = 0, with normal vectors n1⃗(a1;b1)\vec{n_1}(a_1; b_1) and n2⃗(a2;b2)\vec{n_2}(a_2; b_2) respectively. Then the angle φ\varphi between those two straight lines is determined by the formula
cos⁡φ=∣cos⁡(n1⃗,n2⃗)∣=∣n1⃗⋅n2⃗∣∣n1⃗∣⋅∣n2⃗∣=∣a1a2+b1b2∣a12+b12⋅a22+b22.\cos\varphi = \left|\cos\left(\vec{n_1}, \vec{n_2}\right)\right| = \frac{|\vec{n_1} \cdot \vec{n_2}|}{|\vec{n_1}| \cdot |\vec{n_2}|} = \frac{|a_1a_2 + b_1b_2|}{\sqrt{a_1^2 + b_1^2} \cdot \sqrt{a_2^2 + b_2^2}}.
Note.

  • Δ1⊥Δ2⇔n1⃗⊥n2⃗\Delta_1 \perp \Delta_2 \Leftrightarrow \vec{n_1} \perp \vec{n_2}, that is a1a2+b1b2=0a_1a_2 + b_1b_2 = 0.
  • If Δ1\Delta_1, Δ2\Delta_2 have direction vectors u1⃗\vec{u_1}, u2⃗\vec{u_2} then the angle φ\varphi between Δ1\Delta_1 and Δ2\Delta_2 is also determined by the formula cos⁡φ=∣cos⁡(u1⃗,u2⃗)∣\cos\varphi = \left|\cos\left(\vec{u_1}, \vec{u_2}\right)\right|.

Example: Δ1:x+y=0\Delta_1: x + y = 0, Δ2:x−y=0\Delta_2: x - y = 0 have n1⃗=(1;1)\vec{n_1} = (1; 1), n2⃗=(1;−1)\vec{n_2} = (1; -1), cos⁡φ=∣1−1∣22=0\cos\varphi = \frac{|1 - 1|}{\sqrt{2}\sqrt{2}} = 0, so φ=90∘\varphi = 90^\circ.

In plain words: The angle between two straight lines is the non-obtuse angle they form, so it always goes from 0∘0^\circ to 90∘90^\circ; if the two lines are parallel or coincident then the angle equals 0∘0^\circ. Why is there an absolute value in the numerator? Because the angle between two normal vectors can be obtuse, while the angle between two straight lines takes the non-obtuse angle, so the sign must be removed. This formula is the same as the formula for the angle between two vectors learned in Lesson 11, just with an absolute value added. To check perpendicularity you do not need to compute the angle, just see whether a1a2+b1b2a_1a_2 + b_1b_2 equals 0.

Phrase by phrase
angle
The angle measure of the non-obtuse angle among the four angles formed by two intersecting straight lines; taken by convention to be 0∘0^\circ if the two lines are parallel or coincident.Example: Two perpendicular lines have angle 90∘90^\circ.
angle φ\varphi between two straight lines
Compute via cosine: cos⁡φ\cos\varphi equals the absolute value of the cosine of the angle between the two normal vectors.Example: n1⃗=(1;0)\vec{n_1} = (1; 0), n2⃗=(1;1)\vec{n_2} = (1; 1) give cos⁡φ=12\cos\varphi = \frac{1}{\sqrt{2}}, φ=45∘\varphi = 45^\circ.
direction vector
A nonzero vector 0⃗\vec{0} whose line is parallel or coincident with the straight line, used instead of the normal vector when computing angles.Example: Δ:x−y=0\Delta: x - y = 0 has u⃗=(1;1)\vec{u} = (1; 1).
a1a2+b1b2=0a_1a_2 + b_1b_2 = 0
Condition for two straight lines to be perpendicular.Example: x+2y=0x + 2y = 0 and 2x−y=02x - y = 0 are perpendicular.

TipChecking perpendicular with the product a1a2+b1b2a_1a_2 + b_1b_2 is faster than computing the angle, since 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 Δ:ax+by+c=0\Delta: ax + by + c = 0 with a2+b2>0a^2 + b^2 > 0 and point M(x0;y0)M(x_0; y_0). The distance from MM to Δ\Delta, denoted d(M,Δ)d(M, \Delta), is the length of the perpendicular segment MHMH, where HH is the foot of the perpendicular from MM onto Δ\Delta. Formula:
d(M,Δ)=∣ax0+by0+c∣a2+b2.d(M, \Delta) = \frac{|ax_0 + by_0 + c|}{\sqrt{a^2 + b^2}}.

  • The denominator a2+b2\sqrt{a^2 + b^2} is the length of the normal vector n⃗(a;b)\vec{n}(a; b).
  • Condition for the formula to work: a2+b2>0a^2 + b^2 > 0, that is aa, bb not both equal to 0.
  • MM belongs to Δ\Delta if and only if d(M,Δ)=0d(M, \Delta) = 0, that is ax0+by0+c=0ax_0 + by_0 + c = 0.

Example: The distance from M(1;2)M(1; 2) to Δ:3x−4y+5=0\Delta: 3x - 4y + 5 = 0 is d=∣3⋅1−4⋅2+5∣9+16=05=0d = \frac{|3 \cdot 1 - 4 \cdot 2 + 5|}{\sqrt{9 + 16}} = \frac{0}{5} = 0, so MM belongs to Δ\Delta.

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, then dividing by the length of the normal vector. Why divide by a2+b2\sqrt{a^2 + b^2}? 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 keep 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 sign.

Phrase by phrase
d(M,Δ)d(M, \Delta)
The distance from point MM to straight line Δ\Delta, is the length of the perpendicular segment dropped from MM to Δ\Delta.Example: d(M,Δ)=2d(M, \Delta) = 2 means MM is a distance 2 from Δ\Delta.
ax0+by0+c=0ax_0 + by_0 + c = 0
The coordinates of MM satisfy the equation of Δ\Delta, that is the numerator equals 0, so MM lies on Δ\Delta.Example: With M(1;2)M(1; 2), Δ:3x−4y+5=0\Delta: 3x - 4y + 5 = 0: 3−8+5=03 - 8 + 5 = 0.
a2+b2\sqrt{a^2 + b^2}
The length of the normal vector (a;b)(a; b), used for normalising.Example: Δ:3x−4y+5=0\Delta: 3x - 4y + 5 = 0 has 9+16=5\sqrt{9 + 16} = 5.
d(M,Δ)=0d(M, \Delta) = 0
A point on a line.Example: M(1;2)M(1; 2) belongs to 3x−4y+5=03x - 4y + 5 = 0.

Common mistakesComputing the distance but forgetting to divide by a2+b2\sqrt{a^2 + b^2}, taking only ∣ax0+by0+c∣|ax_0 + by_0 + c|.

Common mistakesTaking the wrong normal vector: for Δ:2x−3y+1=0\Delta: 2x - 3y + 1 = 0 writing n⃗=(2;3)\vec{n} = (2; 3) instead of (2;−3)(2; -3), which makes both the angle and the perpendicular condition wrong.

Worked examples

Example 1

Consider the relative position of the two straight lines Δ1:2x−3y+5=0\Delta_1: 2x - 3y + 5 = 0 and Δ2:4x−6y+7=0\Delta_2: 4x - 6y + 7 = 0.

Show the solution to example 1

Step 1: Read the normal vectors: n1⃗=(2;−3)\vec{n_1} = (2; -3), n2⃗=(4;−6)\vec{n_2} = (4; -6).
Step 2: Notice that n2⃗=2n1⃗\vec{n_2} = 2\vec{n_1} so n1⃗\vec{n_1}, n2⃗\vec{n_2} are parallel, the two lines are parallel or coincident lines.
Why: If they are parallel, the two perpendiculars point in the same direction, so they cannot intersect.
Step 3: Tell parallel from coincident lines by testing a point. Take N(−1;1)N(-1; 1): substitute into Δ1\Delta_1 gives 2⋅(−1)−3⋅1+5=02 \cdot (-1) - 3 \cdot 1 + 5 = 0, so NN belongs to Δ1\Delta_1. Substitute NN into Δ2\Delta_2: 4⋅(−1)−6⋅1+7=−3≠04 \cdot (-1) - 6 \cdot 1 + 7 = -3 \ne 0, so NN does not belong to Δ2\Delta_2.
Step 4: The two lines have parallel normal vectors but no point of intersection, so they are parallel.
Result: Δ1\Delta_1 and Δ2\Delta_2 are parallel lines.

TipLook at the pair of coefficients (a;b)(a; b) of the two lines: if proportional, they are parallel or coincident lines; if not, they intersect; to know whether coincident lines or parallel, substitute a point.

Example 2

Find the coordinates of the point of intersection of Δ1:x+2y−4=0\Delta_1: x + 2y - 4 = 0 and Δ2:3x−y+1=0\Delta_2: 3x - y + 1 = 0. Are these two lines perpendicular?

Show the solution to example 2

Step 1: The coordinates of the point of intersection are the solution of the system {x+2y=43x−y=−1\begin{cases} x + 2y = 4 \\ 3x - y = -1 \end{cases}.
Step 2: From the second equation, y=3x+1y = 3x + 1. Substitute into the first equation: x+2(3x+1)=4x + 2(3x + 1) = 4, that is 7x=27x = 2, x=27x = \frac{2}{7}.
Step 3: y=3⋅27+1=137y = 3 \cdot \frac{2}{7} + 1 = \frac{13}{7}.
Why: The system has a unique solution, so the two lines intersect at exactly one point, and the coordinates just found are the point of intersection.
Step 4: Check perpendicularity: n1⃗=(1;2)\vec{n_1} = (1; 2), n2⃗=(3;−1)\vec{n_2} = (3; -1), dot product 1⋅3+2⋅(−1)=1≠01 \cdot 3 + 2 \cdot (-1) = 1 \ne 0, so they are not perpendicular.
Result: The two lines intersect at M(27;137)M\left(\frac{2}{7}; \frac{13}{7}\right) and are not perpendicular.

Common mistakesConcluding perpendicular just because the coefficients of xx and yy are swapped, without checking a1a2+b1b2=0a_1a_2 + b_1b_2 = 0.

Example 3

Calculate the angle between the two straight lines Δ1:x+y−1=0\Delta_1: x + y - 1 = 0 and Δ2:x−3y+2=0\Delta_2: x - 3y + 2 = 0.

Show the solution to example 3

Step 1: n1⃗=(1;1)\vec{n_1} = (1; 1), n2⃗=(1;−3)\vec{n_2} = (1; -3).
Step 2: n1⃗⋅n2⃗=1⋅1+1⋅(−3)=−2\vec{n_1} \cdot \vec{n_2} = 1 \cdot 1 + 1 \cdot (-3) = -2; ∣n1⃗∣=2|\vec{n_1}| = \sqrt{2}, ∣n2⃗∣=1+9=10|\vec{n_2}| = \sqrt{1 + 9} = \sqrt{10}.
Step 3: cos⁡φ=∣−2∣2⋅10=220=225=15\cos\varphi = \frac{|-2|}{\sqrt{2} \cdot \sqrt{10}} = \frac{2}{\sqrt{20}} = \frac{2}{2\sqrt{5}} = \frac{1}{\sqrt{5}}.
Why: A negative dot product means the two normal vectors form an obtuse angle, but the angle between two lines is taken as the acute angle, so you must take the absolute value.
Step 4: 15≈0,4472\frac{1}{\sqrt{5}} \approx 0,4472, from the table or a calculator you get φ≈63∘26′\varphi \approx 63^\circ 26'.
Result: cos⁡φ=15≈0,4472\cos\varphi = \frac{1}{\sqrt{5}} \approx 0,4472, that is φ≈63∘26′\varphi \approx 63^\circ 26'.

Common mistakesForgetting the absolute value in the numerator of the cosine formula, getting a negative cosine and concluding an obtuse angle, when the angle between two straight lines never exceeds 90∘90^\circ.

Example 4

Calculate the distance from M(2;−1)M(2; -1) to straight line Δ:3x−4y+6=0\Delta: 3x - 4y + 6 = 0. Does point N(2;3)N(2; 3) belong to Δ\Delta?

Show the solution to example 4

Step 1: For M(2;−1)M(2; -1): 3⋅2−4⋅(−1)+6=6+4+6=163 \cdot 2 - 4 \cdot (-1) + 6 = 6 + 4 + 6 = 16.
Step 2: a2+b2=9+16=5\sqrt{a^2 + b^2} = \sqrt{9 + 16} = 5, so d(M,Δ)=∣16∣5=165=3,2d(M, \Delta) = \frac{|16|}{5} = \frac{16}{5} = 3,2.
Why: The numerator is positive so the absolute value keeps it unchanged, divide by the length of the normal vector so the distance does not depend on how the equation is written.
Step 3: For N(2;3)N(2; 3): 3⋅2−4⋅3+6=6−12+6=03 \cdot 2 - 4 \cdot 3 + 6 = 6 - 12 + 6 = 0, so d(N,Δ)=0d(N, \Delta) = 0, that is NN belongs to Δ\Delta.
Result: d(M,Δ)=3,2d(M, \Delta) = 3,2; NN lies on Δ\Delta.

TipRemember the distance by rhythm: "substitute the coordinates, take the absolute value, divide by the length of the normal vector", that is ∣ax0+by0+c∣a2+b2\frac{|ax_0 + by_0 + c|}{\sqrt{a^2 + b^2}}.

TipAfter computing the distance, try substituting a point on the line into the formula; it must give 0, to check for yourself whether the equation is written correctly.

Example 5

Given triangle ABCABC with A(1;1)A(1; 1), B(4;1)B(4; 1), C(1;5)C(1; 5). Calculate the area of triangle ABCABC using the distance formula, then calculate the angle between the two straight lines ABAB and ACAC.

Show the solution to example 5

Step 1: The straight line ABAB passes through A(1;1)A(1; 1), B(4;1)B(4; 1), so it has equation y=1y = 1, written as y−1=0y - 1 = 0. Length AB=3AB = 3.
Step 2: The distance from C(1;5)C(1; 5) to ABAB: d(C,AB)=∣5−1∣02+12=4d(C, AB) = \frac{|5 - 1|}{\sqrt{0^2 + 1^2}} = 4. This is exactly the altitude dropped from CC.
Step 3: Area S=12⋅AB⋅d(C,AB)=12⋅3⋅4=6S = \frac{1}{2} \cdot AB \cdot d(C, AB) = \frac{1}{2} \cdot 3 \cdot 4 = 6.
Why: The formula for the area of a triangle is half the product of the base and the height, and the height is exactly the distance from the vertex to the straight line containing the base.
Step 4: ABAB has n1⃗=(0;1)\vec{n_1} = (0; 1); ACAC through A(1;1)A(1; 1), C(1;5)C(1; 5) is x=1x = 1, with n2⃗=(1;0)\vec{n_2} = (1; 0). The dot product 0⋅1+1⋅0=00 \cdot 1 + 1 \cdot 0 = 0, so AB⊥ACAB \perp AC, the angle between them is 90∘90^\circ.
Result: S=6S = 6; the angle between ABAB and ACAC is 90∘90^\circ.

Example 6

On a coordinate map, a straight road has equation 4x+3y−12=04x + 3y - 12 = 0 (units on the axes are km). An's house is at point A(1;1)A(1; 1). Find the shortest distance from An's house to the road. If An walks straight out perpendicular to the road, how many km does An walk?

Show the solution to example 6

Step 1: The shortest distance from a point to a straight line is exactly d(A,Δ)d(A, \Delta) with Δ:4x+3y−12=0\Delta: 4x + 3y - 12 = 0.
Step 2: Substitute A(1;1)A(1; 1): 4⋅1+3⋅1−12=−54 \cdot 1 + 3 \cdot 1 - 12 = -5, take the absolute value to get 5.
Step 3: 42+32=5\sqrt{4^2 + 3^2} = 5, so d(A,Δ)=55=1d(A, \Delta) = \frac{5}{5} = 1 (km).
Why: The shortest path from a point to a straight line is the perpendicular, which is exactly 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.

Example 7

Given two straight lines Δ1:(m−1)x+y−3=0\Delta_1: (m - 1)x + y - 3 = 0 and Δ2:2x+y+1=0\Delta_2: 2x + y + 1 = 0. Find mm so that Δ1\Delta_1 is parallel to Δ2\Delta_2, and find mm so that Δ1\Delta_1 is perpendicular to Δ2\Delta_2.

Show the solution to example 7

Step 1: n1⃗=(m−1;1)\vec{n_1} = (m - 1; 1), n2⃗=(2;1)\vec{n_2} = (2; 1).
Step 2: For parallel lines, the two normal vectors are in the same direction: m−12=11\frac{m - 1}{2} = \frac{1}{1}, giving m−1=2m - 1 = 2, m=3m = 3.
Step 3: Check again with m=3m = 3: Δ1\Delta_1 becomes 2x+y−3=02x + y - 3 = 0. The two lines 2x+y−3=02x + y - 3 = 0 and 2x+y+1=02x + y + 1 = 0 have the same left-hand side but different constant terms, so they are parallel (not coincident lines).
Why: Being in the same direction only gives parallel or coincident lines, so you must check again to rule out the coincident case.
Step 4: For perpendicular lines, n1⃗⋅n2⃗=0\vec{n_1} \cdot \vec{n_2} = 0: 2(m−1)+1⋅1=02(m - 1) + 1 \cdot 1 = 0, that is 2m−1=02m - 1 = 0, m=12m = \frac{1}{2}.
Result: m=3m = 3 for parallel; m=12m = \frac{1}{2} for perpendicular.

Common mistakesSeeing that two normal vectors are in the same direction and concluding right away that the two lines are coincident lines, when they could be parallel; you must test a point to tell them apart.

Terms

Normal vector
A vector other than 0⃗\vec{0} whose line of action is perpendicular to the straight line.Example: Δ:x−2y+1=0\Delta: x - 2y + 1 = 0 has n⃗=(1;−2)\vec{n} = (1; -2).
Direction vector
A vector other than 0⃗\vec{0} whose line of action is parallel or coincident with the straight line.Example: Δ:x−2y+1=0\Delta: x - 2y + 1 = 0 has u⃗=(2;1)\vec{u} = (2; 1).
Same direction
Two vectors whose lines of action are parallel or coincident, one vector is a multiple of the other.Example: (1;−2)(1; -2) and (2;−4)(2; -4) are in the same direction.
Relative position
The relation intersect, parallel, coincident lines between two straight lines (perpendicular is a special case of intersect).Example: The two lines x+y=1x + y = 1 and x+y=2x + y = 2 are parallel.
Point of intersection
The common point of two intersecting straight lines, whose coordinates are the solution of the system.Example: x+y=3x + y = 3, x−y=1x - y = 1 intersect at (2;1)(2; 1).
Angle between two straight lines
The angle measure, not obtuse, formed by two intersecting straight lines, taken as 0∘0^\circ when they are parallel or coincident lines; always from 0∘0^\circ to 90∘90^\circ.Example: Two perpendicular lines have angle 90∘90^\circ.
Distance from a point to a line
The length of the perpendicular dropped from the point to the straight line.Example: d(M,Δ)=∣ax0+by0+c∣a2+b2d(M, \Delta) = \frac{|ax_0 + by_0 + c|}{\sqrt{a^2 + b^2}}.
Dot product
With u⃗=(x1;y1)\vec{u} = (x_1; y_1), v⃗=(x2;y2)\vec{v} = (x_2; y_2) then u⃗⋅v⃗=x1x2+y1y2\vec{u} \cdot \vec{v} = x_1x_2 + y_1y_2.Example: (1;2)⋅(3;−1)=3−2=1(1; 2) \cdot (3; -1) = 3 - 2 = 1.

Practise this lesson with instant marking and saved progress in the study app. Suggested plan: Class lessons plan, Maths 10.

Practice

Answer each question, then press Check. If you get stuck, open the hints under the question one step at a time.

Question 1 of 1Written answer · Understanding

This content is not yet available in English. It is shown below in the original Vietnamese.

Xét vị trí tương đối giữa các cặp đường thẳng sau:
a) Δ1:32x+2y−3=0{\Delta _1}:3\sqrt 2 x + \sqrt 2 y - \sqrt 3 = 0 và Δ2:6x+2y−6=0{\Delta _2}:6x + 2y - \sqrt 6 = 0;
b) d1:x−3y+2=0{d_1}:x - \sqrt 3 y + 2 = 0 và d2:3x−3y+2=0{d_2}:\sqrt 3 x - 3y + 2 = 0;
c) m1:x−2y+1=0{m_1}:x - 2y + 1 = 0 và m2:3x+y−2=0{m_2}:3x + y - 2 = 0.

Do this question in your notebook and show every step. When you finish, press the button below to compare with the mark scheme.

Asking the teacher while practising is for children who have a profile. It is free to turn on: Parent sign-in.

More practice questions for you

Additional exercises

  • Tính khoảng cách từ điểm đến đường thẳng; độ dài đường cao, diện tích tam giác (Applying)
  • 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 (Applying)

Challenge yourself

  • Tính góc giữa hai đường thẳng (Understanding, Applying)
  • 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 (Understanding, Applying)
  • 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 (Applying)
  • Tính khoảng cách từ điểm đến đường thẳng; độ dài đường cao, diện tích tam giác (Applying)
  • Bài toán thực tế xác định vị trí bằng đường thẳng, khoảng cách (Applying)

Ask a parent to sign in and create your profile to unlock more. It's free. Sign in