Triangle formed by three lines
Triangle formed by three lines
Enter three general-form lines; read the area followed by all three Cartesian vertices.
- 244 bytes
- COMP mode
Worked examples
Example 1
Find the area bounded by the three given lines; choose the answer.
L1: x=0; L2: y=0; L3: x+y=6.
Answer
C; S=18.
Standard solution (without a calculator)
- Coordinates: P12=(0,0); P23: y=0, x+y=6 ⇒ (6,0); P31: x=0, x+y=6 ⇒ (0,6).
- Area: b=6; h=6; S=bh/2=6(6)/2=18.
- Results: 18, 0, 0, 6, 0, 0, 6.
Example 2
Find the area bounded by the translated horizontal, vertical and oblique lines; choose the answer.
L1: y=1; L2: x=2; L3: x+y=7.
Answer
B; S=8.
Standard solution (without a calculator)
- Coefficients: y−1=0; x−2=0; x+y−7=0 ⇒ (0,1,−1), (1,0,−2), (1,1,−7).
- Coordinates: P12=(2,1); P23: x=2, x+y=7 ⇒ (2,5); P31: y=1, x+y=7 ⇒ (6,1).
- Area: b=6−2=4; h=5−1=4; S=4(4)/2=8.
- Results: 8, 2, 1, 2, 5, 6, 1.
Example 3
L2 is perpendicular to L1 and meets it on the y-axis; L3 is the x-axis. Find L2, the three vertices and the enclosed area.
L1: 3x+4y−48=0; L2⊥L1; L3: y=0.
Answer
(a) 4x−3y+36=0; (b) (0,12), (−9,0), (16,0); (c) S=150.
Standard solution (without a calculator)
- Coordinates: L1∩(x=0): 4y−48=0 ⇒ P=(0,12).
- Coefficients: m1=−3/4; m2=−1/m1=4/3. y−12=(4/3)x ⇔ L2: 4x−3y+36=0.
- Coordinates: P12=(0,12); P23: y=0 ⇒ x=−9 ⇒ (−9,0); P31: y=0 ⇒ x=16 ⇒ (16,0).
- Area: b=16−(−9)=25; h=12; S=25(12)/2=150.
When to use it
Enter three general-form lines; read the area followed by all three Cartesian vertices.
Use
- Enter three general-form lines; read the area followed by all three Cartesian vertices.
Enter
- Write every value, including zero; EXE alone keeps the old variable value.
- a1 (A), b1 (M), c1 (B), a2 (C), b2 (M), c2 (D), a3 (X), b3 (M), c3 (M)
Results
- Area S
- Coordinates P12: x
- Coordinates P12: y
- Coordinates P23: x
- Coordinates P23: y
- Coordinates P31: x
- Coordinates P31: y
Limits
- Require three valid, distinct lines bounding a nonzero triangle. Zero normals or division by zero from parallel/coincident lines give Math ERROR. Concurrent lines trigger the explicit error guard only when the computed area is exactly zero; a tiny nonzero result near degeneracy is not evidence of a reliable triangle area. Near parallelism/concurrency and extreme coefficients can make the polar calculation unreliable. Derive unknown lines first.
- Write every value, including zero; EXE alone keeps the old variable value.
Checking access…