ArticleslgStudy

computer science

Viète's formula

Viète's formula is a computer science 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 Viète's formula rather than just read about it. In short: In mathematics, Viète's formula is the following infinite product of nested radicals representing twice the reciprocal of the mathematical constant π: 2 π = 2 2 ⋅ 2 + 2 2 ⋅ 2 + 2 + 2 2 ⋯ = 1 2 ⋅ 1 2 + 1 2 1 2 ⋅ 1 2 + 1 2 1 2 + 1 2 1 2 ⋯ {\displaystyle {\begin{aligned}{\frac {2}{\pi }}&={\frac {\sqrt {2}}{2}}\cdot {\frac {\sqrt {2+{\sqrt {2}}}}{2}}\cdot {\frac {\sqrt {2+{\sqrt {2+{\sqrt {2}}}}}}{2}}\cdots \\[5mu]&={\…

Viète's formula — main illustration
Viète's formula — illustration

Key takeaways

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

Reference excerpt

In mathematics, Viète's formula is the following infinite product of nested radicals representing twice the reciprocal of the mathematical constant π:

2 π = 2 2 ⋅ 2 + 2 2 ⋅ 2 + 2 + 2 2 ⋯ = 1 2 ⋅ 1 2 + 1 2 1 2 ⋅ 1 2 + 1 2 1 2 + 1 2 1 2 ⋯ {\displaystyle {\begin{aligned}{\frac {2}{\pi }}&={\frac {\sqrt {2}}{2}}\cdot {\frac {\sqrt {2+{\sqrt {2}}}}{2}}\cdot {\frac {\sqrt {2+{\sqrt {2+{\sqrt {2}}}}}}{2}}\cdots \\[5mu]&={\sqrt {\frac {1}{2}}}\cdot {\sqrt {{\frac {1}{2}}+{\frac {1}{2}}{\sqrt {\frac {1}{2}}}}}\cdot {\sqrt {{\frac {1}{2}}+{\frac {1}{2}}{\sqrt {{\frac {1}{2}}+{\frac {1}{2}}{\sqrt {\frac {1}{2}}}}}}}\cdots \end{aligned}}}

It can also be represented as

2 π = ∏ n = 1 ∞ cos ⁡ π 2 n + 1 . {\displaystyle {\frac {2}{\pi }}=\prod _{n=1}^{\infty }\cos {\frac {\pi }{2^{n+1}}}.}

The formula is named after François Viète, who published it in 1593. As the first formula of European mathematics to represent an infinite process, it can be given a rigorous meaning as a limit expression and marks the beginning of mathematical analysis. It has linear convergence and can be used for calculations of π, but other methods before and since have led to greater accuracy. It has also been used in calculations of the behavior of systems of springs and masses and as a motivating example for the concept of statistical independence. The formula can be derived as a telescoping product of either the areas or perimeters of nested polygons converging to a circle. Alternatively, repeated use of the half-angle formula from trigonometry leads to a generalized formula, discovered by Leonhard Euler, that has Viète's formula as a special case. Many similar formulas involving nested roots or infinite products are now known.

Significance François Viète (1540–1603) was a French lawyer, privy councillor and code-breaker to two French kings, and amateur mathematician. He published this formula in 1593 in his work Variorum de rebus mathematicis responsorum, liber VIII. At this time, methods for approximating π to (in principle) arbitrary accuracy had long been known. Viète's own method can be interpreted as a variation of an idea of Archimedes of approximating the circumference of a circle by the perimeter of a many-sided polygon, used by Archimedes to find the approximation

223 71 < π < 22 7 . {\displaystyle {\frac {223}{71}}<\pi <{\frac {22}{7}}.}

… excerpt ends here. Continue reading the full article.

Illustrations

Viète's formula: Viète's formula, as printed in Viète's Variorum de rebus mathematicis responsorum, liber VIII (1593)
Viète's formula, as printed in Viète's Variorum de rebus mathematicis responsorum, liber VIII (1593)
Viète's formula: Comparison of the convergence of Viète's formula (×) and several historical infinite series for π. Sn is the approximation after taking n terms. Each subsequent subplot magnifies the shaded area horizontally by 10 times.
Comparison of the convergence of Viète's formula (×) and several historical infinite series for π. Sn is the approximation after taking n terms. Each subsequent subplot magnifies the shaded area horizontally by 10 times.
Viète's formula: A sequence of regular polygons with numbers of sides equal to powers of two, inscribed in a circle. The ratios between areas or perimeters of consecutive polygons in the sequence give the terms of Viète's formula.
A sequence of regular polygons with numbers of sides equal to powers of two, inscribed in a circle. The ratios between areas or perimeters of consecutive polygons in the sequence give the terms of Viète's formula.

Worked examples

Example 1 — a first encounter with Viète's formula

Start with the simplest possible case. Write down what Viète's formula claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, 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 Viète's formula 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 Viète's formula 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 Viète's formula

In research
Viète's formula appears in computer science 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 Viète's formula 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
Viète's formula is common in secondary-school and first-year university syllabi. It links to neighbouring topics Infinite products, Pi algorithms, so understanding it makes those chapters shorter.
In everyday life
Look for Viète's formula 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 “Viète's formula” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Viète's formula in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Viète's formula 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 Viète's formula out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Viète's formula in simple terms?

In mathematics, Viète's formula is the following infinite product of nested radicals representing twice the reciprocal of the mathematical constant π: 2 π = 2 2 ⋅ 2 + 2 2 ⋅ 2 + 2 + 2 2 ⋯ = 1 2 ⋅ 1 2 + 1 2 1 2 ⋅ 1 2 + 1 2 1 2 + 1 2 1 2 ⋯ {\displaystyle {\begin{aligned}{\frac {2}{\pi }}&={\frac {\sqr…

Why does Viète's formula matter?

Because it connects several computer science 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 Viète's formula?

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 Viète's formula.

Tags

  • Infinite products
  • Pi algorithms

Keep exploring