ArticleslgStudy

mathematics

Continued fraction

Continued fraction is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Continued fraction rather than just read about it. In short: A continued fraction is a mathematical expression written as a fraction whose denominator contains a sum involving another fraction, which may itself be a simple or a continued fraction. If this iteration (repetitive process) terminates with a simple fraction, the result is a finite continued fraction; if it continues indefinitely, the result is an infinite continued fraction.

Continued fraction — main illustration
Continued fraction — illustration

Key takeaways

  • Continued fraction belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Continued fraction to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Continued fraction from memory before moving on to harder problems.

Reference excerpt

A continued fraction is a mathematical expression written as a fraction whose denominator contains a sum involving another fraction, which may itself be a simple or a continued fraction. If this iteration (repetitive process) terminates with a simple fraction, the result is a finite continued fraction; if it continues indefinitely, the result is an infinite continued fraction. The special case in which all numerators {ai} (see image) are equal to one, and all denominators {bi} are positive integers, is referred to as a simple (or regular) continued fraction. Any positive rational number can be expressed as a finite simple continued fraction, and any positive irrational number can be expressed as an infinite simple continued fraction. Different areas of mathematics use different terminology and notation for continued fractions. In number theory, the unqualified term continued fraction usually refers to simple continued fractions, whereas the general case is referred to as generalized continued fractions. In complex analysis and numerical analysis, the general case is usually referred to by the unqualified term continued fraction. The numerators and denominators of continued fractions can be sequences {ai},{bi} of numbers or functions.

Formulation A continued fraction is an expression of the form x=b0+a1b1+a2b2+a3b3+a4b4+⋱ where the an (n > 0) are the partial numerators, the bn are the partial denominators, and the leading term b0 is called the integer part of the continued fraction. The successive convergents of the continued fraction are formed by applying the fundamental recurrence formulas: x0=A0B0=b0,x1=A1B1=b1b0+a1b1,x2=A2B2=b2(b1b0+a1)+a2b0b2b1+a2, … where An is the numerator and Bn is the denominator, called continuants, of the nth convergent. They are given by the three-term recurrence relation An=bnAn−1+anAn−2,Bn=bnBn−1+anBn−2for n≥1 with initial values A−1=1,A0=b0,B−1=0,B0=1. If the sequence of convergents {xn} approaches a limit, the continued fraction is convergent and has a definite value. If the sequence of convergents never approaches a limit, the continued fraction is divergent. It may diverge by oscillation (for example, the odd and even convergents may approach two different limits), or it may produce an infinite number of zero denominators Bn.

History The story of continued fractions begins with the Euclidean algorithm, a procedure for finding the greatest common divisor of two natural numbers m and n. That algorithm introduced the idea of dividing to extract a new remainder – and then dividing by the new remainder repeatedly. Nearly two thousand years passed before Bombelli (1579) devised a technique for approximating the roots of quadratic equations with continued fractions in the mid-sixteenth century. Now the pace of development quickened. Just 34 years later, in 1613, Pietro Cataldi introduced the first formal notation for the generalized continued fraction. Cataldi represented a continued fraction as a0⋅&n1d1⋅&n2d2⋅&n3d3 with the dots indicating where the next fraction goes, and each & representing a modern plus sign. Late in the seventeenth century John Wallis introduced the term "continued fraction" into mathematical literature. New techniques for mathematical analysis (Newton's and Leibniz's calculus) had recently come onto the scene, and a generation of Wallis' contemporaries put the new phrase to use. In 1744 Euler published De fractionibus continuis dissertatio [An essay on continued fractions]. (A very readable English translation is available.) In 1748 Euler published a theorem showing that a particular kind of continued fraction is equivalent to a certain very general infinite series. Euler's continued fraction formula is still the basis of many modern proofs of convergence of continued fractions. In 1761, Johann Heinrich Lambert gave the first proof that π is irrational, by using the following continued fraction for tan x: tan⁡(x)=x1+−x23+−x25+−x27+⋱ Continued fractions can also be applied to problems in number theory, and are especially useful in the study of Diophantine equations. In the late eighteenth century Lagrange used continued fractions to construct the general solution of Pell's equation, thus answering a question that had fascinated mathematicians for more than a thousand years. Lagrange's discovery implies that the canonical continued fraction expansion of the square root of every non-square integer is periodic and that, if the period is of length p > 1, it contains a palindromic string of length p − 1. In 1813 Gauss derived from complex-valued hypergeometric functions what are now called Gauss's continued fractions. They can be used to express many elementary functions and some more advanced functions (such as the Bessel functions), as continued fractions that are rapidly convergent almost everywhere in the complex plane.

Notation The long continued fraction expression displayed in the introduction is easy for an unfamiliar reader to interpret. However, it takes up a lot of space and can be difficult to typeset. So mathematicians have devised several alternative notations. Gottfried Leibniz sometimes used notation like x=b0+a1b1+ a2b2+ a3b3+a4b4+⋯. An even more concise notation sets each nested fraction on the same line, indicating the nesting by dangling plus signs in the denominators x=b0+a1b1 +a2b2 +a3b3 +a4b4 +⋯, or sometimes with the plus signs typeset to vertically align with the denominators but not under the fraction bars, x=b0+a1b1+a2b2+a3b3+a4b4+⋯. Pringsheim wrote a generalized continued fraction this way: x=b0+|a1b1|+|a2b2|+|a3b3|+|a4b4|+⋯. Carl Friedrich Gauss evoked the more familiar infinite product ∏ when he devised this notation: x=b0+Ki=1∞aibi. Here, the "K" stands for Kettenbruch, the German word for "continued fraction". This is probably the most compact and convenient way to express continued fractions; however, it is not widely used by English typesetters. (Usually the K should be the same size as ∑ used for a sum or ∏ used for a product, but within this article K appears much smaller than those due to technical limitations.)

Some elementary considerations Here are some elementary results that are of fundamental importance in the further development of the analytic theory of continued fractions.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Continued fraction

Start with the simplest possible case. Write down what Continued fraction claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Continued fraction before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Continued fraction ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Continued fraction

In research
Continued fraction appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Continued fraction in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Continued fraction is common in secondary-school and first-year university syllabi. It links to neighbouring topics Continued fractions, Fractions (mathematics), so understanding it makes those chapters shorter.
In everyday life
Look for Continued fraction outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Continued fraction” →

How to study Continued fraction in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Continued fraction means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Continued fraction out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Continued fraction in simple terms?

A continued fraction is a mathematical expression written as a fraction whose denominator contains a sum involving another fraction, which may itself be a simple or a continued fraction. If this iteration (repetitive process) terminates with a simple fraction, the result is a finite continued fract…

Why does Continued fraction matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Continued fraction?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Continued fraction.

Tags

  • Continued fractions
  • Fractions (mathematics)

Keep exploring