A triangle is a three sided polygon. The shape is foundational for the subject of trigonometry and is used throughout mathematics and programming. In text, a triangle defined by three points is denoted using the triangle symbol followed by three letters representing the points: .