Three-point area and orientation
Three-point area and orientation
Find unsigned and signed area from three Cartesian points; the sign describes their order.
- 88 bytes
- COMP mode
Worked examples
Example 1
Three park entrances have the given coordinates in metres. Find the area in m² and the orientation of A→B→C; choose the area.
A=(1,1); B=(9,1); C=(4,6).
Answer
Standard solution (without a calculator)
- Coordinates: B−A=(9−1,1−1)=(8,0); C−A=(4−1,6−1)=(3,5).
- Signed area: D=8(5)−0(3)=40; D/2=20.
- Area: S=|40|/2=20 m²; D>0 ⇒ A→B→C: Counterclockwise.
Example 2
A drone visits A→B→C, with coordinates in kilometres. Find the area in km² and justify the orientation.
A=(−4,−1); B=(3,2); C=(1,−6).
Answer
Standard solution (without a calculator)
- Coordinates: B−A=(3−(−4),2−(−1))=(7,3); C−A=(1−(−4),−6−(−1))=(5,−5).
- Signed area: D=7(−5)−3(5)=−35−15=−50; D/2=−25.
- Area: S=|−50|/2=25 km²; D<0 ⇒ A→B→C: Clockwise.
Example 3
An engineer marks three points with coordinates in metres. Determine whether they are collinear and find the triangle’s area, explaining any zero result.
A=(1.5,−2); B=(3,1); C=(4.5,4).
Answer
Standard solution (without a calculator)
- Coordinates: B−A=(3−1.5,1−(−2))=(1.5,3); C−A=(4.5−1.5,4−(−2))=(3,6).
- Collinear: (3,6)=2(1.5,3); D=1.5(6)−3(3)=9−9=0 ⇒ Collinear.
- Area: S=|0|/2=0 m²; D/2=0.
When to use it
Find unsigned and signed area from three Cartesian points; the sign describes their order.
Use
- Find unsigned and signed area from three Cartesian points; the sign describes their order.
Enter
- Write every value, including zero; EXE alone keeps the old variable value.
- x_A (A), y_A (B), x_B (C), y_B (D), x_C (X), y_C (Y)
Results
- Area |D|/2
- Signed area D/2
Limits
- If |D|<10^(−12)(|M|+|C|), the program sets D=0. Thin nonzero triangles can therefore be classified as collinear. Exact proofs need exact algebra; large coordinates and cancellation can reduce reliability.
- Write every value, including zero; EXE alone keeps the old variable value.
Checking access…