# Bicentric polygon

In geometry, a bicentric polygon is a tangential polygon (a polygon all of whose sides are tangent to an inner incircle) which is also cyclic — that is, inscribed in an outer circle that passes through each vertex of the polygon. All triangles and all regular polygons are bicentric. On the other hand, a rectangle with unequal sides is not bicentric, because no circle can be tangent to all four sides.

## Triangles

Every triangle is bicentric. In a triangle, the radii r and R of the incircle and circumcircle respectively are related by the equation
    ${\frac {1}{R-x}}+{\frac {1}{R+x}}={\frac {1}{r}}$
where x is the distance between the centers of the circles. This is one version of Euler's triangle formula.

## Bicentric quadrilaterals

Not all quadrilaterals are bicentric (having both an incircle and a circumcircle). Given two circles (one within the other) with radii R and r where $R>r$, there exists a convex quadrilateral inscribed in one of them and tangent to the other if and only if their radii satisfy
    ${\frac {1}{(R-x)^{2}}}+{\frac {1}{(R+x)^{2}}}={\frac {1}{r^{2}}}$
where x is the distance between their centers. This condition (and analogous conditions for higher order polygons) is known as Fuss' theorem.

## Polygons with n > 4

A complicated general formula is known for any number n of sides for the relation among the circumradius R, the inradius r, and the distance x between the circumcenter and the incenter. Some of these for specific n are:
    $n=5:\quad r(R-x)=(R+x){\sqrt {(R-r+x)(R-r-x)}}+(R+x){\sqrt {2R(R-r-x)}},$
    $n=6:\quad 3(R^{2}-x^{2})^{4}=4r^{2}(R^{2}+x^{2})(R^{2}-x^{2})^{2}+16r^{4}x^{2}R^{2},$
    $n=8:\quad 16p^{4}q^{4}(p^{2}-1)(q^{2}-1)=(p^{2}+q^{2}-p^{2}q^{2})^{4},$
where $p={\tfrac {R+x}{r}}$ and $q={\tfrac {R-x}{r}}.$

## Regular polygons

Every regular polygon is bicentric. In a regular polygon, the incircle and the circumcircle are concentric—that is, they share a common center, which is also the center of the regular polygon, so the distance between the incenter and circumcenter is always zero. The radius of the inscribed circle is the apothem (the shortest distance from the center to the boundary of the regular polygon).
For any regular polygon, the relations between the common edge length a, the radius r of the incircle, and the radius R of the circumcircle are:
    $R={\frac {a}{2\sin {\frac {\pi }{n}}}}={\frac {r}{\cos {\frac {\pi }{n}}}}.$
For some regular polygons which can be constructed with compass and ruler, we have the following algebraic formulas for these relations:
| $n\!\,$ | $R\,{\text{and}}\,a\!\,$ | $r\,{\text{and}}\,a\!\,$ | $r\,{\text{and}}\,R\!\,$ |
| 3 | $R{\sqrt {3}}=a\!\,$ | $2r={\frac {a}{3}}{\sqrt {3}}\!\,$ | $2r=R\!\,$ |
| 4 | $R{\sqrt {2}}=a\!\,$ | $r={\frac {a}{2}}\!\,$ | $2r=R{\sqrt {2}}\!\,$ |
| 5 | $R{\sqrt {\frac {5-{\sqrt {5}}}{2}}}=a\!\,$ | $r\left({\sqrt {5}}-1\right)={\frac {a}{10}}{\sqrt {50+10{\sqrt {5}}}}\!\,$ | $r({\sqrt {5}}-1)=R\!\,$ |
| 6 | $R=a\!\,$ | ${\frac {2r}{3}}{\sqrt {3}}=a\!\,$ | ${\frac {2r}{3}}{\sqrt {3}}=R\!\,$ |
| 8 | $R{\sqrt {2+{\sqrt {2}}}}=a\left({\sqrt {2}}+1\right)\!\,$ | $r{\sqrt {4-2{\sqrt {2}}}}={\frac {a}{2}}{\sqrt {4+2{\sqrt {2}}}}\!\,$ | $2r\left({\sqrt {2}}-1\right)=R{\sqrt {2-{\sqrt {2}}}}\!\,$ |
| 10 | $({\sqrt {5}}-1)R=2a\!\,$ | $2r{\sqrt {25-10{\sqrt {5}}}}=5a\!\,$ | ${\frac {2r}{5}}{\sqrt {25-10{\sqrt {5}}}}={\frac {R}{2}}\left({\sqrt {5}}-1\right)\!\,$ |
Thus we have the following decimal approximations:
| $n\!\,$ | $R/a\!\,$ | $r/a\!\,$ | $R/r\!\,$ |
| $3\,$ | $0.577\,$ | $0.289$ | $2.000\,$ |
| $4$ | $0.707\,$ | $0.500$ | $1.414\,$ |
| $5$ | $0.851\,$ | $0.688$ | $1.236\,$ |
| $6$ | $1.000\,$ | $0.866$ | $1.155\,$ |
| $8$ | $1.307\,$ | $1.207$ | $1.082\,$ |
| $10$ | $1.618\,$ | $1.539$ | $1.051\,$ |

## Poncelet's porism

If two circles are the inscribed and circumscribed circles of a particular bicentric n-gon, then the same two circles are the inscribed and circumscribed circles of infinitely many bicentric n-gons. More precisely, every tangent line to the inner of the two circles can be extended to a bicentric n-gon by placing vertices on the line at the points where it crosses the outer circle, continuing from each vertex along another tangent line, and continuing in the same way until the resulting polygonal chain closes up to an n-gon. The fact that it will always do so is implied by Poncelet's closure theorem, which more generally applies for inscribed and circumscribed conics.
Moreover, given a circumcircle and incircle, each diagonal of the variable polygon is tangent to a fixed circle.