Learning Objectives

Terminology:

·       Direction vector, normal vector

·       General equation of a line

·       Parametric equations of a line

·       Intercept form, slope (gradient)

Knowledge and Skills:

·       Describe and formulate the general equation and parametric equations of a straight line in the Cartesian coordinate plane.

·       Determine the equation of a straight line given: a point and a normal vector; a point and a direction vector; or two distinct points.

·       Explain the geometric and algebraic correspondence between a linear function graph and a straight line.

·       Apply line equations to geometric problems and practical real-world modeling (aircraft navigation, temperature scale conversion).

General Equation of a Line

a) Normal Vector and the General Equation

Definition of a Normal Vector: A non-zero vector n⃗≠0⃗\vec{n} \ne \vec{0} is called a normal vector of a line Δ\Delta if its line of action is perpendicular to Δ\Delta. • Remark 1: If n⃗\vec{n} is a normal vector of line Δ\Delta, then kn⃗k\vec{n} (k≠0k \ne 0) is also a normal vector of Δ\Delta. • Remark 2: A straight line is uniquely determined by a point it passes through and a normal vector.

General Equation of a Line: • In the Cartesian plane OxyOxy, the line Δ\Delta passing through point A(x0;y0)A(x_0; y_0) with normal vector n⃗(a;b)\vec{n}(a; b) is defined by: a(x−x0)+b(y−y0)=0⇔ax+by+c=0(where c=−ax0−by0)a(x - x_0) + b(y - y_0) = 0 \Leftrightarrow ax + by + c = 0 \quad (\text{where } c = -ax_0 - by_0) • Conversely, every linear equation of the form ax+by+c=0ax + by + c = 0 (a2+b2≠0a^2 + b^2 \ne 0) represents a straight line with normal vector n⃗(a;b)\vec{n}(a; b).

Special Cases of ax+by+c=0ax + by + c = 0: • If b=0b = 0 (a≠0a \ne 0): The line equation reduces to x=−cax = -\frac{c}{a}, which is perpendicular to the xx-axis (parallel to or coinciding with OyOy). • If a=0a = 0 (b≠0b \ne 0): The line equation reduces to y=−cby = -\frac{c}{b}, which is perpendicular to the yy-axis (parallel to or coinciding with OxOx). • If c=0c = 0: The line ax+by=0ax + by = 0 passes through the origin O(0;0)O(0; 0). • If b≠0b \ne 0: The equation can be expressed in slope-intercept form y=kx+my = kx + m (with slope k=−abk = -\frac{a}{b}).

b) Examples and Practice on the General Equation

Example 1: In the coordinate plane, given △ABC\triangle ABC with vertices A(3;1)A(3; 1), B(4;0)B(4; 0), and C(5;3)C(5; 3). Specify a normal vector of the perpendicular bisector of segment ABAB and a normal vector of the altitude from AA.

Solution for Example 1: • The perpendicular bisector of segment ABAB is orthogonal to segment ABAB, so it admits AB⃗=(4−3;0−1)=(1;−1)\vec{AB} = (4 - 3; 0 - 1) = (1; -1) as a normal vector. • The altitude through vertex AA is orthogonal to the opposite side BCBC, so it admits BC⃗=(5−4;3−0)=(1;3)\vec{BC} = (5 - 4; 3 - 0) = (1; 3) as a normal vector.

Example 2: Write the general equation of the line Δ\Delta passing through point A(2;1)A(2; 1) with normal vector n⃗(3;4)\vec{n}(3; 4).

Solution for Example 2: • The general equation of line Δ\Delta is: 3(x−2)+4(y−1)=0⇔3x−6+4y−4=0⇔3x+4y−10=0.3(x - 2) + 4(y - 1) = 0 \Leftrightarrow 3x - 6 + 4y - 4 = 0 \Leftrightarrow 3x + 4y - 10 = 0.

Practice 1: In the coordinate plane, given △ABC\triangle ABC with vertices A(−1;5)A(-1; 5), B(2;3)B(2; 3), and C(6;1)C(6; 1). Write the general equation of the altitude drawn from vertex AA.

Solution for Practice 1: • The altitude from AA passes through A(−1;5)A(-1; 5) and is perpendicular to BCBC, so it takes BC⃗=(6−2;1−3)=(4;−2)\vec{BC} = (6 - 2; 1 - 3) = (4; -2) as a normal vector. Choosing the collinear vector n⃗=(2;−1)\vec{n} = (2; -1): • The general equation of the altitude is: 2(x+1)−1(y−5)=0⇔2x−y+7=0.2(x + 1) - 1(y - 5) = 0 \Leftrightarrow 2x - y + 7 = 0.

Example 3: Determine the equation of the line Δ\Delta passing through A(0;b)A(0; b) with normal vector n⃗(a;−1)\vec{n}(a; -1). Explain its connection to the graph of the linear function y=ax+by = ax + b.

Solution for Example 3: • The equation of line Δ\Delta is: a(x−0)−1(y−b)=0⇔ax−y+b=0⇔y=ax+ba(x - 0) - 1(y - b) = 0 \Leftrightarrow ax - y + b = 0 \Leftrightarrow y = ax + b. • Line Δ\Delta is precisely the graph of the linear function y=ax+by = ax + b.

Practice 2: Identify a normal vector of the line Δ:y=3x+4\Delta: y = 3x + 4.

Solution for Practice 2: • Rewriting the equation in general form: 3x−y+4=03x - y + 4 = 0. • A normal vector of Δ\Delta is n⃗=(3;−1)\vec{n} = (3; -1) (or n⃗=(−3;1)\vec{n} = (-3; 1)).

Parametric Equations of a Line

a) Direction Vector and Parametric Equations

Definition of a Direction Vector: A non-zero vector u⃗≠0⃗\vec{u} \ne \vec{0} is called a direction vector of a line Δ\Delta if its line of action is parallel to or lies on Δ\Delta. • Remark 1: If u⃗\vec{u} is a direction vector of Δ\Delta, then ku⃗k\vec{u} (k≠0k \ne 0) is also a direction vector of Δ\Delta. • Remark 2: A straight line is uniquely determined by a point it passes through and a direction vector. • Duality between Direction and Normal Vectors: If a line has normal vector n⃗(a;b)\vec{n}(a; b), then u⃗(−b;a)\vec{u}(-b; a) (or u⃗(b;−a)\vec{u}(b; -a)) serves as a direction vector because n⃗⋅u⃗=a(−b)+b(a)=0\vec{n} \cdot \vec{u} = a(-b) + b(a) = 0.

Parametric Equations of a Line: Let line Δ\Delta pass through point A(x0;y0)A(x_0; y_0) with direction vector u⃗(u1;u2)\vec{u}(u_1; u_2). A point M(x;y)M(x; y) belongs to Δ\Delta if and only if AM⃗=tu⃗\vec{AM} = t\vec{u} for some scalar t∈Rt \in \mathbb{R}: {x=x0+u1t y=y0+u2t(t∈R)\begin{cases} x = x_0 + u_1 t \\\ y = y_0 + u_2 t \end{cases} \quad (t \in \mathbb{R}) This system is called the parametric equations of the straight line Δ\Delta (tt is the real parameter).

b) Examples and Practice on Parametric Equations

Example 4: In the coordinate plane, given A(3;2)A(3; 2) and B(1;−4)B(1; -4). Specify two direction vectors of the line ABAB.

Solution for Example 4: • The line ABAB admits AB⃗=(1−3;−4−2)=(−2;−6)\vec{AB} = (1 - 3; -4 - 2) = (-2; -6) as a direction vector. • Selecting u⃗=−12AB⃗=(1;3)\vec{u} = -\frac{1}{2}\vec{AB} = (1; 3), the vector u⃗\vec{u} is also a direction vector of the line ABAB.

Practice 3: Specify a direction vector of the line Δ:2x−y+1=0\Delta: 2x - y + 1 = 0.

Solution for Practice 3: • The line has normal vector n⃗=(2;−1)\vec{n} = (2; -1), and therefore a direction vector is u⃗=(1;2)\vec{u} = (1; 2).

Example 5: Write the parametric equations of the line Δ\Delta passing through point A(2;−3)A(2; -3) with direction vector u⃗(4;−1)\vec{u}(4; -1).

Solution for Example 5: • The parametric equations of Δ\Delta are: {x=2+4t y=−3−t(t∈R).\begin{cases} x = 2 + 4t \\\ y = -3 - t \end{cases} \quad (t \in \mathbb{R}).

Practice 4: Write the parametric equations of the line Δ\Delta passing through point M(−1;2)M(-1; 2) and parallel to the line d:3x−4y−1=0d: 3x - 4y - 1 = 0.

Solution for Practice 4: • Line dd has normal vector n⃗_d=(3;−4)\vec{n}\_d = (3; -4), so its direction vector is u⃗_d=(4;3)\vec{u}\_d = (4; 3). • Since Δ∥d\Delta \parallel d, line Δ\Delta takes u⃗=u⃗_d=(4;3)\vec{u} = \vec{u}\_d = (4; 3) as a direction vector. • The parametric equations of Δ\Delta are: {x=−1+4t y=2+3t(t∈R).\begin{cases} x = -1 + 4t \\\ y = 2 + 3t \end{cases} \quad (t \in \mathbb{R}).

Example 6: Write the parametric equations of the line passing through the two points A(2;3)A(2; 3) and B(1;5)B(1; 5).

Solution for Example 6: • Line ABAB passes through A(2;3)A(2; 3) and has direction vector AB⃗=(1−2;5−3)=(−1;2)\vec{AB} = (1 - 2; 5 - 3) = (-1; 2). • Its parametric equations are: {x=2−t y=3+2t(t∈R).\begin{cases} x = 2 - t \\\ y = 3 + 2t \end{cases} \quad (t \in \mathbb{R}).

Practice 5: Formulate the parametric and general equations of a line passing through two distinct given points A(x1;y1)A(x_1; y_1) and B(x2;y2)B(x_2; y_2).

Solution for Practice 5: • Line ABAB has direction vector AB⃗=(x2−x1;y2−y1)\vec{AB} = (x_2 - x_1; y_2 - y_1).   + Parametric equations: {x=x1+(x2−x1)t y=y1+(y2−y1)t(t∈R)\begin{cases} x = x_1 + (x_2 - x_1)t \\\ y = y_1 + (y_2 - y_1)t \end{cases} \quad (t \in \mathbb{R})   + Symmetric form (if x2≠x1x_2 \ne x_1 and y2≠y1y_2 \ne y_1): x−x1x2−x1=y−y1y2−y1\frac{x - x_1}{x_2 - x_1} = \frac{y - y_1}{y_2 - y_1}.   + General equation: Using normal vector n⃗=(y1−y2;x2−x1)\vec{n} = (y_1 - y_2; x_2 - x_1): (y2−y1)(x−x1)−(x2−x1)(y−y1)=0.(y_2 - y_1)(x - x_1) - (x_2 - x_1)(y - y_1) = 0.

Applications and Exercises

a) Real-World Problems and Modeling

Application (Temperature Scale Conversion between Celsius and Fahrenheit): Temperature conversion between degrees Celsius (a∘Ca^\circ\text{C}) and degrees Fahrenheit (b∘Fb^\circ\text{F}) is calibrated by two reference benchmarks: Water freezes at 0∘C0^\circ\text{C}, corresponding to 32∘F32^\circ\text{F}; Water boils at 100∘C100^\circ\text{C}, corresponding to 212∘F212^\circ\text{F}. In the Cartesian plane OxyOxy, the point M(a;b)M(a; b) lies on the straight line passing through A(0;32)A(0; 32) and B(100;212)B(100; 212). What Celsius temperatures correspond to 0∘F0^\circ\text{F} and 100∘F100^\circ\text{F}?

Solution for Application: • The equation of the line passing through A(0;32)A(0; 32) and B(100;212)B(100; 212):   Slope: k=212−32100−0=180100=95=1.8k = \frac{212 - 32}{100 - 0} = \frac{180}{100} = \frac{9}{5} = 1.8.   Linear relation: b=1.8a+32b = 1.8a + 32 (or b=95a+32b = \frac{9}{5}a + 32).   Expressing aa in terms of bb: a=b−321.8=59(b−32)a = \frac{b - 32}{1.8} = \frac{5}{9}(b - 32). • When b=0∘Fb = 0^\circ\text{F}: a=59(0−32)=−1609≈−17.78∘Ca = \frac{5}{9}(0 - 32) = -\frac{160}{9} \approx -17.78^\circ\text{C}. • When b=100∘Fb = 100^\circ\text{F}: a=59(100−32)=5⋅689=3409≈37.78∘Ca = \frac{5}{9}(100 - 32) = \frac{5 \cdot 68}{9} = \frac{340}{9} \approx 37.78^\circ\text{C}.

Exercise 7.5 (Intercept Form of a Line Equation): Prove that the straight line passing through the two intercept points A(a;0)A(a; 0) and B(0;b)B(0; b) with ab≠0ab \ne 0 has the equation: xa+yb=1\frac{x}{a} + \frac{y}{b} = 1

Solution for Exercise 7.5: • The vector AB⃗=(0−a;b−0)=(−a;b)\vec{AB} = (0 - a; b - 0) = (-a; b) is a direction vector of line ABAB. • Thus, a normal vector of line ABAB is n⃗=(b;a)\vec{n} = (b; a). • Since the line passes through B(0;b)B(0; b), its general equation is: b(x−0)+a(y−b)=0⇔bx+ay−ab=0⇔bx+ay=abb(x - 0) + a(y - b) = 0 \Leftrightarrow bx + ay - ab = 0 \Leftrightarrow bx + ay = ab • Dividing both sides by ab≠0ab \ne 0 yields: bxab+ayab=abab⇔xa+yb=1(Q.E.D.).\frac{bx}{ab} + \frac{ay}{ab} = \frac{ab}{ab} \Leftrightarrow \frac{x}{a} + \frac{y}{b} = 1 \quad (\text{Q.E.D.}).

Exercise 7.6 (Flight Trajectory from Noi Bai to Da Nang): Noi Bai International Airport is located at (21.2∘N21.2^\circ\text{N}, 105.8∘E105.8^\circ\text{E}), and Da Nang International Airport is at (16.1∘N16.1^\circ\text{N}, 108.2∘E108.2^\circ\text{E}). At time tt (in hours) after takeoff, the aircraft coordinates are modeled by the parametric equations: {x=21.2−15340t y=105.8+95t\begin{cases} x = 21.2 - \frac{153}{40}t \\\ y = 105.8 + \frac{9}{5}t \end{cases} a) How many hours does the flight from Hanoi to Da Nang take? b) At 1 hour after departure, has the flight crossed the 17th parallel (17∘N17^\circ\text{N})?

Solution for Exercise 7.6: • a) Upon arrival at Da Nang Airport, the aircraft latitude is x=16.1∘Nx = 16.1^\circ\text{N}.   Substituting into the latitude equation: 16.1=21.2−15340t⇔15340t=21.2−16.1=5.1⇔t=5.1⋅40153=204153=43 (hours)=1 hour 20 minutes.16.1 = 21.2 - \frac{153}{40}t \Leftrightarrow \frac{153}{40}t = 21.2 - 16.1 = 5.1 \Leftrightarrow t = \frac{5.1 \cdot 40}{153} = \frac{204}{153} = \frac{4}{3}\text{ (hours)} = 1\text{ hour } 20\text{ minutes}.   (Verification for longitude: y=105.8+95⋅43=105.8+2.4=108.2∘Ey = 105.8 + \frac{9}{5} \cdot \frac{4}{3} = 105.8 + 2.4 = 108.2^\circ\text{E}, which matches exactly).   Thus, the flight duration is 43\frac{4}{3} hours (1 hour 20 minutes). • b) At time t=1 hour after takeofft = 1\text{ hour after takeoff}:   The aircraft latitude is: x(1)=21.2−15340(1)=21.2−3.825=17.375∘Nx(1) = 21.2 - \frac{153}{40}(1) = 21.2 - 3.825 = 17.375^\circ\text{N}.   Since 17.375∘>17∘17.375^\circ > 17^\circ (the aircraft travels southbound, decreasing its latitude from 21.2∘21.2^\circ to 16.1∘16.1^\circ), at 1 hour the plane has not yet crossed the 17th parallel.

b) Detailed Section Exercises

Exercise 7.1: In the coordinate plane, given n⃗=(2;1)\vec{n} = (2; 1), v⃗=(3;2)\vec{v} = (3; 2), A(1;3)A(1; 3), B(−2;1)B(-2; 1). a) Write the general equation of line Δ1\Delta_1 passing through AA with normal vector n⃗\vec{n}. b) Write the parametric equations of line Δ2\Delta_2 passing through BB with direction vector v⃗\vec{v}. c) Write the parametric equations of line ABAB.

Solution for Exercise 7.1: • a) General equation of Δ1\Delta_1: 2(x−1)+1(y−3)=0⇔2x+y−5=02(x - 1) + 1(y - 3) = 0 \Leftrightarrow 2x + y - 5 = 0. • b) Parametric equations of Δ2\Delta_2 passing through B(−2;1)B(-2; 1) with direction vector v⃗(3;2)\vec{v}(3; 2): {x=−2+3t y=1+2t(t∈R).\begin{cases} x = -2 + 3t \\\ y = 1 + 2t \end{cases} \quad (t \in \mathbb{R}). • c) Line ABAB passes through A(1;3)A(1; 3) with direction vector AB⃗=(−2−1;1−3)=(−3;−2)\vec{AB} = (-2 - 1; 1 - 3) = (-3; -2) (choosing collinear vector u⃗=(3;2)\vec{u} = (3; 2)): {x=1+3t y=3+2t(t∈R).\begin{cases} x = 1 + 3t \\\ y = 3 + 2t \end{cases} \quad (t \in \mathbb{R}).

Exercise 7.2: Write the general equations of the coordinate axes OxOx and OyOy.

Solution for Exercise 7.2: • The xx-axis (OxOx): Passes through O(0;0)O(0; 0) and is perpendicular to OyOy, taking unit vector j⃗(0;1)\vec{j}(0; 1) as normal vector. General equation: 0(x−0)+1(y−0)=0⇔y=00(x - 0) + 1(y - 0) = 0 \Leftrightarrow y = 0. • The yy-axis (OyOy): Passes through O(0;0)O(0; 0) and is perpendicular to OxOx, taking unit vector i⃗(1;0)\vec{i}(1; 0) as normal vector. General equation: 1(x−0)+0(y−0)=0⇔x=01(x - 0) + 0(y - 0) = 0 \Leftrightarrow x = 0.

Exercise 7.3: Given two lines Δ1:{x=1+2t y=3+5t\Delta_1: \begin{cases} x = 1 + 2t \\\ y = 3 + 5t \end{cases} and Δ2:2x+3y−5=0\Delta_2: 2x + 3y - 5 = 0. a) Find the general equation of Δ1\Delta_1. b) Find the parametric equations of Δ2\Delta_2.

Solution for Exercise 7.3: • a) Line Δ1\Delta_1 passes through M(1;3)M(1; 3) with direction vector u⃗=(2;5)\vec{u} = (2; 5), hence normal vector n⃗=(5;−2)\vec{n} = (5; -2).   General equation of Δ1\Delta_1: 5(x−1)−2(y−3)=0⇔5x−2y+1=05(x - 1) - 2(y - 3) = 0 \Leftrightarrow 5x - 2y + 1 = 0. • b) Line Δ2\Delta_2 has normal vector n⃗=(2;3)\vec{n} = (2; 3), so a direction vector is u⃗=(3;−2)\vec{u} = (3; -2) (or (−3;2)(-3; 2)).   Finding a point on Δ2\Delta_2: set y=1⇒2x+3(1)−5=0⇒x=1y = 1 \Rightarrow 2x + 3(1) - 5 = 0 \Rightarrow x = 1, giving P(1;1)∈Δ2P(1; 1) \in \Delta_2.   Parametric equations of Δ2\Delta_2: {x=1+3t y=1−2t(t∈R).\begin{cases} x = 1 + 3t \\\ y = 1 - 2t \end{cases} \quad (t \in \mathbb{R}).

Exercise 7.4: In the coordinate plane, given △ABC\triangle ABC with A(1;2)A(1; 2), B(3;0)B(3; 0), and C(−2;−1)C(-2; -1). a) Write the equation of the altitude from AA. b) Write the equation of the median from BB.

Solution for Exercise 7.4: • a) The altitude through AA passes through A(1;2)A(1; 2) and is perpendicular to BCBC, so it takes BC⃗=(−2−3;−1−0)=(−5;−1)\vec{BC} = (-2 - 3; -1 - 0) = (-5; -1) as a normal vector (choosing n⃗=(5;1)\vec{n} = (5; 1)).   General equation of the altitude through AA: 5(x−1)+1(y−2)=0⇔5x+y−7=0.5(x - 1) + 1(y - 2) = 0 \Leftrightarrow 5x + y - 7 = 0. • b) Let MM be the midpoint of side ACAC:   xM=xA+xC2=1+(−2)2=−12x_M = \frac{x_A + x_C}{2} = \frac{1 + (-2)}{2} = -\frac{1}{2}; yM=yA+yC2=2+(−1)2=12⇒M(−12;12)y_M = \frac{y_A + y_C}{2} = \frac{2 + (-1)}{2} = \frac{1}{2} \Rightarrow M\left(-\frac{1}{2}; \frac{1}{2}\right).   The median line BMBM passes through B(3;0)B(3; 0) with direction vector BM⃗=(−12−3;12−0)=(−72;12)\vec{BM} = \left(-\frac{1}{2} - 3; \frac{1}{2} - 0\right) = \left(-\frac{7}{2}; \frac{1}{2}\right).   Selecting direction vector u⃗=(−7;1)\vec{u} = (-7; 1) or u⃗=(7;−1)\vec{u} = (7; -1).   Hence, a normal vector of line BMBM is n⃗=(1;7)\vec{n} = (1; 7).   The general equation of median BMBM is: 1(x−3)+7(y−0)=0⇔x+7y−3=0.1(x - 3) + 7(y - 0) = 0 \Leftrightarrow x + 7y - 3 = 0.