We find the triangle bounded by the three lines , and .
Each vertex comes from solving a pair of the lines simultaneously. There are three ways to choose two lines out of three, and those give the three vertices.
| Pair of lines solved | Vertex |
|---|---|
| and | |
| and | |
| and |
Taking the base along the -axis gives length , and the height is the -coordinate of the vertex , so the area is . The coordinate formula for the area confirms it.
This is no ordinary triangle. The line has slope and has slope , and the product is . The two lines therefore meet at a right angle, and the vertex is the right angle.
Moreover the distance from to and the distance from to are both , so the triangle is right isosceles. Computing the area as gives the same value again.
Three lines do not always bound a triangle.
Only when both conditions hold is there a triangle. If two lines are parallel, that pair yields no vertex. If all three share one point, the three vertices collapse onto it and the triangle degenerates.
Replacing with , for instance, makes all three lines pass through , and nothing is enclosed. The large dots on the graph are the three vertices.