# Equations of Lines – Series 3 > Advanced exercises on the equation of a line: intercepts, altitudes, perpendicular bisectors, distance point-to-line, concurrency, parametric lines. --- LLMS index: [llms.txt](/llms.txt) --- These exercises combine several notions. A complete solution is expected. > **Reminder.** Distance from P(x0,y0) to ax+by+c=0: > d=|ax0+by0+c|a2+b2. --- ## Exercises **Exercise 2.1** — Find the equation of the line with x-intercept 3 and y-intercept −2. **Exercise 2.2** — Calculate the distance from P(2,−1) to the line 3x−4y+5=0. **Exercise 2.3** — Let A(0,0), B(4,0), C(0,3). Find the equations of the three sides of triangle ABC. **Exercise 2.4** — For the same triangle, find the equation of the altitude from C to AB. **Exercise 2.5** — Find the perpendicular bisector of the segment joining A(1,3) and B(5,7). **Exercise 2.6** — Find the equation of the line through A(2,1) parallel to the line through B(1,4) and C(3,−2). **Exercise 2.7** — The lines L1:(m−1)x+2y−3=0 and L2:3x+(m+1)y+4=0 are perpendicular. Find the value(s) of m. **Exercise 2.8** — Find the point on the line y=2x+1 that is closest to the origin. **Exercise 2.9** — Find the equation(s) of the line through (1,2) such that the triangle formed with the two axes has area 4. **Exercise 2.10** — The lines L1:x+y=1, L2:2x−y=3, and L3:ax+3y=5 are concurrent. Find a. --- ## Solutions **2.1** Intercept form: x3 + y−2 =1 ⇒ −2x+3y=−6 ⇒ y=23x−2 **2.2** Distance formula: d= |3(2)−4(−1)+5| 32+(−4)2 = |6+4+5|5 = 155 =3 **2.3** Side AB: both endpoints have y=0, so y=0. Side AC: both endpoints have x=0, so x=0. Side BC: slope 3−00−4=−34, y-intercept 3, so y=−34x+3 **2.4** AB is the horizontal line y=0. The altitude from C is therefore vertical through C(0,3): x=0 **2.5** Midpoint M(3,5). Slope AB=7−35−1=1, so the perpendicular slope is −1. Then y−5=−1(x−3) ⇒ y=−x+8 **2.6** Slope BC=−2−43−1=−3. Parallel line through A(2,1): y−1=−3(x−2) ⇒ y=−3x+7 **2.7** Slopes: m1=−m−12 , m2=−3m+1 Perpendicular condition m1m2=−1: 3(m−1) 2(m+1) =−1 ⇒ 3m−3=−2m−2 ⇒ 5m=1 ⇒ m=15 (Valid since m≠−1.) So m=15. **2.8** Write the line as 2x−y+1=0. Its direction vector is (1,2), so a normal vector is n→=(2,−1). The closest point is the orthogonal projection of O(0,0): P=O+tn→ , 2(2t)−(−t)+1=0 ⇒ t=−15 So P=(−25,15) **2.9** Let the line be xa+yb=1. It passes through (1,2): 1a+2b=1 and 12|ab|=4 ⇒ |ab|=8 *Case ab=8:* multiply by ab: b+2a=8, so b=8−2a. Then a(8−2a)=8 ⇒ a2−4a+4=0 ⇒ a=2,b=4 *Case ab=−8:* b=−8−2a. Then a(−8−2a)=−8 ⇒ a2+4a−4=0 ⇒ a=−2±22 Solutions: x2+y4=1 , x−2+22+y−4−42=1 , x−2−22+y−4+42=1 **2.10** Solve L1 and L2: x+y=1 , 2x−y=3 ⇒ 3x=4 ⇒ x=43,y=−13 Substitute into L3: a⋅43 + 3⋅(−13) =5 ⇒ 4a3−1=5 ⇒ a=92