Intersections of Two Lines
Intersections of Two Lines
Enter coefficients of ax+by=c and dx+ey=f to find the intersection or classify parallel, coincident and invalid lines.
- 117 bytes
- COMP mode
Worked examples
Example 1
Two route centre lines are L₁: x+y=5 and L₂: 2x−y=1. Find their intersection.
Answer
A — (2,3)
Standard solution (without a calculator)
- Rewrite: (a,b,c,d,e,f)=(1,1,5,2,−1,1)
- Calculate: (x+y)+(2x−y)=5+1 ⇒ 3x=6 ⇒ x=2
- Substitute: x+y=5 ⇒ y=3
- Check: 2(2)−3=1; Δ=1(−1)−1(2)=−3≠0
- Therefore: Answer A; (x,y)=(2,3)
Example 2
How many common points do 2x−3y=6 and 4x−6y=15 have?
Answer
A — 0; Parallel distinct lines
Standard solution (without a calculator)
- Rewrite: 2(2x−3y=6) ⇒ 4x−6y=12; 4x−6y=15
- Check: 12≠15; Δ=2(−6)−(−3)(4)=0
- Calculate: ce−bf=6(−6)−(−3)(15)=9≠0
- Therefore: Parallel distinct lines; Answer A; 0
Example 3
Two observation equations are 3x+2y=12 and 6x+4y=24. (a) Decide whether the lines coincide and explain. (b) Give two common points and decide whether the intersection is unique.
Answer
(a) Coincident lines; (b) (0,6), (4,0); ∞
Standard solution (without a calculator)
- Rewrite: 2(3x+2y=12) ⇒ 6x+4y=24
- Therefore: (a) Coincident lines; (6,4,24)=2(3,2,12)
- Substitute: (b) x=0 ⇒ y=6 ⇒ (0,6); y=0 ⇒ x=4 ⇒ (4,0)
- Check: Δ=3(4)−2(6)=0; ce−bf=0; af−cd=0
- Therefore: Coincident lines; ∞; Status code 1
When to use it
Enter coefficients of ax+by=c and dx+ey=f to find the intersection or classify parallel, coincident and invalid lines.
Use it for
- Intersections of Two Lines
You enter
- A=a → B=b → C=c → D=d → X=e → Y=f; ax+by=c, dx+ey=f
- Use COMP / Deg / Norm 1. Enter every value anew; blank EXE keeps the stored value rather than entering zero.
It shows
- x → y
- 0: Parallel distinct lines; 1: Coincident lines; 9: Invalid line
Check before starting
- ax+by=c, dx+ey=f; (a,b)≠(0,0), (d,e)≠(0,0); 0/1/9: Status code
- Finite precision can affect nearly parallel lines, very large values or tiny differences; extreme data may give Math ERROR. This is numerical calculation, not symbolic algebra.
- These are original DSE-style exercises.
Checking access…