Circle a triangle whose base has the length of the circle's circumference and whose height equals the circle's radius, which comes to multiplied by the radius squared: Equivalently, denoting diameter by "d", that is, approximately 79% of the circumscribing square (whose side is of length "d"). The circle is the plane curve enclosing the maximum area for a given arc length. This relates the circle to a problem in the calculus of variations, namely the isoperimetric inequality. Equation of a circle<br> In an "x"–"y" Cartesian coordinate system, the circle with centre coordinates ("a", "b") and radius "r" is the set of
Distance from a point to a line has coordinates: Horizontal and vertical lines In the general equation of a line, "ax" + "by" + "c" = 0, "a" and "b" cannot both be zero unless "c" is also zero, in which case the equation does not define a line. If "a" = 0 and "b" 0, the line is horizontal and has equation "y" = -"c"/"b". The distance from ("x", "y") to this line is measured along a vertical line segment of length |"y" - (-"c"/"b")| = |"by" + "c"| / |"b"| in accordance with the formula. Similarly, for vertical lines ("b" = 0) the distance between