In elementary geometry, an inscribed square in a triangle is a square whose four vertices all lie on a given triangle. By the pigeonhole principle, two of the square's vertices, and the edge between them, must lie on one of the sides of the triangle. For instance, for the Calabi triangle depicted, the square with horizontal and vertical sides is inscribed; the other two squares in the figure are not inscribed.