Continued fractions are expressions that represent numbers through repeated integer parts and reciprocals. They help students approximate irrational numbers, analyze rational numbers, and understand why some fractions give especially accurate approximations. This cheat sheet gives the notation, algorithms, and main formulas needed for advanced algebra, number theory, and pre-calculus work.
Key Facts
- A simple continued fraction has the form , where is an integer and for are positive integers.
- To convert a rational number to a finite continued fraction, repeatedly divide using the Euclidean algorithm: , then , and continue until the remainder is .
- The th convergent of is , a rational approximation formed by stopping the continued fraction after .
- The convergent numerators and denominators satisfy and .
- Useful starting values for convergents are , , , and .
- Consecutive convergents obey , so each convergent is already in lowest terms.
- For an irrational number , the convergents usually alternate around , and the error satisfies .
- A quadratic irrational number has an eventually periodic continued fraction, such as .
Vocabulary
- Continued fraction
- A continued fraction is a number representation built from an integer plus the reciprocal of another expression of the same type.
- Simple continued fraction
- A simple continued fraction is a continued fraction whose terms after are positive integers.
- Partial quotient
- A partial quotient is one of the integers in a continued fraction.
- Convergent
- A convergent is a rational approximation found by stopping a continued fraction after finitely many partial quotients.
- Periodic continued fraction
- A periodic continued fraction is a continued fraction whose partial quotients repeat in a pattern, written with an overline such as .
- Euclidean algorithm
- The Euclidean algorithm is the repeated division process used to find greatest common divisors and finite continued fractions for rational numbers.
Common Mistakes to Avoid
- Dropping the reciprocal step is wrong because means , not .
- Using zero or negative values for when is wrong for simple continued fractions because those partial quotients must be positive integers.
- Forgetting the initial recurrence values is wrong because and need , , , and .
- Rounding too early is wrong because continued fractions rely on exact integer parts and exact reciprocals, so decimal rounding can change later partial quotients.
- Assuming every infinite continued fraction is periodic is wrong because periodic continued fractions correspond to quadratic irrational numbers, not all irrational numbers.
Practice Questions
- 1 Write as a simple continued fraction.
- 2 Find the first four convergents of .
- 3 Use the recurrence formulas to find for .
- 4 Explain why the continued fraction for a rational number must end, but the continued fraction for an irrational number does not.
Understanding Continued Fractions Reference
The division process behind a continued fraction is the same process used to find the greatest common divisor of two whole numbers. Each whole-number quotient becomes one entry in the expansion. This explains why a rational number eventually stops.
Its remainders become smaller nonnegative whole numbers, so one remainder must reach zero. For an irrational number, there is no final exact remainder, and the entries continue forever. When working by hand, keep every reciprocal step separate.
A common error is to take the reciprocal before removing the whole-number part. Another common error is forgetting that entries after the first one must be positive in a simple continued fraction.
Convergents are useful because they improve an estimate in a very organized way. Their denominators often grow quickly, while the error becomes very small. This makes them much better than choosing a nearby fraction at random.
More importantly, a convergent is often the best possible approximation among fractions whose denominator is no larger than its own denominator. That idea matters whenever a quantity must be represented with limited whole-number parts.
A gear ratio, a musical tuning ratio, a screen refresh relationship, or a repeating schedule may need a simple fraction rather than a long decimal. Continued fractions show which simple fractions preserve the most accuracy.
The recurrence rule is efficient because it avoids rebuilding every nested fraction from the beginning. To find the next numerator or denominator, multiply the latest value by the new entry, then add the value before it. The initial values are not arbitrary bookkeeping.
They make the same rule work from the first convergent onward. The relationship between neighboring convergents has another important consequence. Their cross-product difference has absolute value one.
Therefore no whole number greater than one can divide both parts of a convergent. It also means neighboring convergents are extremely close together in a precise fraction sense. This helps explain why the target value usually lies between successive estimates.
Large entries in a continued fraction deserve special attention. A large entry produces an unusually strong approximation at the step just before it. For example, if a decimal is very close to a fraction with a modest denominator, its continued fraction often has a large later entry.
This is a useful pattern in data analysis, measurement, and numerical work, though measured values can contain rounding error. Periodic patterns are important for square roots that are not whole numbers. Their repetition comes from a finite set of possible remainder states during the calculation.
This fact connects continued fractions to quadratic equations and to Pell equations, which seek whole-number solutions to equations involving squares. Students should distinguish a repeating decimal from a periodic continued fraction. The repeating blocks follow different rules, even when they describe the same number.