A simple continued fraction recursively expands a real number by taking integer parts and reciprocals. Its convergents are exceptionally good rational approximations.
A continued fraction with integer and positive integer for . Its partial numerators are all one. The continued fraction convergents have the standard two-term numerator and denominator recurrences.
The map on , with . Its digit gives the successive partial quotients of a continued fraction. This is distinct from the geometric Gauss map assigning surface normals.
The invariant measure for the Gauss continued-fraction map with density on . Inverse branches give transformed density , which telescopes to the same density.
For a simple continued fraction, the complete quotients satisfy , and whenever the denominator is nonzero. Thus .
A simple continued fraction terminates exactly when its value is rational. For a reduced rational , each reciprocal step is one step of the Euclidean algorithm and replaces the denominator by a strictly smaller nonnegative remainder.
Truncating a simple continued fraction gives a convergent; sufficiently accurate rational approximations with bounded denominator occur among these convergents.
A rational is a best approximation of the second kind to when is no larger than for every competing rational with . Every simple continued-fraction convergent has this property.
With ,
Because each matrix is symmetric, reversing the partial quotients transposes their product. If the convergents of are , then the last two convergents of are
When and are positive integers, adjacent convergents satisfyEven and odd convergents are monotone from opposite sides, their separation is , and . They therefore have a common limit , with
If every , then and . Binet's formulashows that the convergents tend to and gives sharp scaled errors through .
The Lagrange theorem says that a real number has an eventually periodic simple continued fraction exactly when it is a quadratic irrational.
The simple continued fraction of a quadratic irrational is eventually periodic. For a nonsquare positive integer , the continued fraction of is periodic after its integer part.
A continued fraction is purely periodic when its repeating block begins at its first partial quotient:
Let , and let be its algebraic conjugate, the other fixed point of the Möbius transformation represented by . ThenThe identity follows by transposing the continued-fraction matrix and substituting in its fixed-point equation.