ArticleslgStudy

computer science

Bernoulli's method

Bernoulli's method 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 Bernoulli's method rather than just read about it. In short: In numerical analysis, Bernoulli's method, named after Daniel Bernoulli, is a root-finding algorithm which calculates the root of largest absolute value of a univariate polynomial. The method works under the condition that there is only one root (possibly multiple) of maximal absolute value.

Bernoulli's method — main illustration
Bernoulli's method — illustration

Key takeaways

  • Bernoulli's method 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 Bernoulli's method to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Bernoulli's method from memory before moving on to harder problems.

Reference excerpt

In numerical analysis, Bernoulli's method, named after Daniel Bernoulli, is a root-finding algorithm which calculates the root of largest absolute value of a univariate polynomial. The method works under the condition that there is only one root (possibly multiple) of maximal absolute value. The method computes the root of maximal absolute value as the limit of the quotients of two successive terms of a sequence defined by a linear recurrence whose coefficients are those of the polynomial. Since the method converges with a linear order only, it is less efficient than other methods, such as Newton's method. However, it can be useful for finding an initial guess ensuring that these other methods converge to the root of maximal absolute value. Bernoulli's method holds historical significance as an early approach to numerical root-finding and provides an elegant connection between recurrence relations and polynomial roots.

History

Bernoulli's method was first introduced by Swiss-French mathematician and physicist Daniel Bernoulli (1700–1782) in 1728. He noticed a trend from recurrent series created using polynomial coefficients growing by a ratio related to a root of the polynomial but did not prove why it worked. In 1725, Bernoulli moved to Saint Petersburg with his brother Nicolaus II Bernoulli, who unfortunately died of fever in 1726. While there, he worked closely with Leonhard Euler, a student of Johann Bernoulli, and made many advancements in harmonics, mathematical economics (see St. Petersburg paradox), and hydrodynamics. Euler called Bernoulli's method "frequently very useful" and gave a justification for why it works in 1748. The mathematician Joseph-Louis Lagrange expanded on this for the case of multiple roots in 1798. Bernoulli's method predates other root-finding algorithms like Graeffe's method (1826 to Dandelin) and is contemporary to Halley's method (1694). Since then, it has influenced the development of more modern algorithms such as the QD method.

The method Given a polynomial p=a0zd+a1zd−1+⋯+ad of degree d with complex coefficients. Choose d starting values x−d+1,x−d,…,x−1,x0, that are usually 0,0,0,…,0,1. Then, consider the sequence defined by the recurrence relation xn=−a1xn−1+a2xn−2+⋯+adxn−da0. Let qn=xn+1xn be the ratio of successive terms of the sequence. If there is only one complex root of maximal absolute value, then the sequence of the ⁠qn⁠ has a limit that is this root. If the coefficients of the polynomial are real then, via the complex conjugate root theorem, each of the polynomial's roots must be either a real number or part of a complex conjugate pair. Therefore, if the polynomial contains a single dominant complex root, then the coefficients must include a complex number, and so the sequence generated using the coefficients will contain complex numbers. Bernoulli's method will work to find a single dominant root, regardless of whether it is real or complex. If a root is part of a complex conjugate pair, then each root in the pair has the same maximal absolute value, and a modified form of Bernoulli's method is needed to calculate them.

Derivation of the method The solutions of the n−th order difference equation

anxm+an−1xm−1+⋯+a0xm−n=0 have the form

xm=c1(m)r1m+c2(m)r2m+⋯+ck(m)rkm, where the ri are the distinct complex roots of p(z), and ci(m) is polynomial in m of degree less than the multiplicity of ri. For simple roots, ci is a constant. The coefficients ci can be determined from the first n terms of the sequence xm by solving a linear system of equations. This system has always a unique solution since its matrix is a Vandermonde matrix if the roots are simple, or a confluent Vandermonde matrix otherwise. The quotient of two successive terms of the sequence is

xm+1xm=c1(m+1)r1m+1+c2(m+1)r2m+1+⋯+ck(m+1)rkm+1c1(m)r1m+c2(m)r2m+⋯+ck(m)rkm. Factoring out r1 gives

xm+1xm=r1⋅c1(m+1)+c2(m+1)(r2r1)m+1+⋯+ck(m+1)(rkr1)m+1c1(m)+c2(m)(r2r1)m+⋯+ck(m)(rkr1)m. Assuming r1 is the dominant root, such that |r1|>|ri| for ⁠i>1⁠, each ratio rir1 has an absolute value less than 1. Thus as m increases, (rir1)m approaches zero, so limm→∞ci(m)(rir1)m=0, even for non-constant ci(m). Hence the limit of the fraction is the same as that of c1(m+1)c1(m), which is 1 if ⁠ci⁠ is a constant or a nonzero polynomial in m. Hence limm→∞xm+1xm=r1 in all cases where there is only one root of maximal absolute value. This assumes c1≠0, which is satisfied by using initial values of all zeros followed by a final 1. Indeed, Cramer's rule implies that c1 is a signed quotient of two nonsingular Vandermonde matrices, if all roots are simple; in the case of multiple roots, the dominant coefficient of c1(m) is a signed quotient of two nonsingular confluent matrices.

Extensions

Bernoulli's method converges to the root of largest modulus of a polynomial with a linear order of convergence. It does not converge when there are two distinct complex roots of the same largest modulus, but there are extensions of the method that work in this case. For finding the root of smallest absolute value, one can apply the method on the reciprocal polynomial (polynomial obtained by reversing the order of the coefficients), and inverting the result. When using root deflation with something like Horner's method, deflating from the smallest root is more stable. To speed convergence, Alexander Aitken developed his Aitken delta-squared process as part of an improvement on his extension to Bernoulli's method, which also found all of the roots simultaneously. Another extension of Bernoulli's method is the Quotient-Difference (QD) method, which also finds all roots simultaneously, even though it can be unstable. Given the slow convergence of Bernoulli's method, and the instability of QD method, they can instead be used as reliable ways to find starting values for other root-finding algorithms, rather than iterated until tolerance.

Example

The following example illustrates Bernoulli's method applied to a quadratic polynomial. Let p(z)=z2−z−1=0. Then a0=1, a1=−1, and a2=−1, so the recurrence becomes: xn=−(−1)xn−1+(−1)xn−21=xn−1+xn−2 Using the recommended initial values x−1=0, x0=1 generates the following table:

… excerpt ends here. Continue reading the full article.

Illustrations

Bernoulli's method: Excerpt from Observations Concerning Series by Daniel Bernoulli published in 1729.[1]
Excerpt from Observations Concerning Series by Daniel Bernoulli published in 1729.[1]
Bernoulli's method: Lagrange on Bernoulli's method.[5]
Lagrange on Bernoulli's method.[5]
Bernoulli's method: Excerpt by Aitken on his extension of Bernoulli's method.[19]
Excerpt by Aitken on his extension of Bernoulli's method.[19]
Bernoulli's method: Plot of the example polynomial on a Cartesian plane showing the dominant root at (1+52,0).
Plot of the example polynomial on a Cartesian plane showing the dominant root at (1+52,0).
Bernoulli's method: Bernoulli's method convergence on the root of p(z)=z2−z−1.
Bernoulli's method convergence on the root of p(z)=z2−z−1.

Worked examples

Example 1 — a first encounter with Bernoulli's method

Start with the simplest possible case. Write down what Bernoulli's method 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 Bernoulli's method 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 Bernoulli's method 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 Bernoulli's method

In research
Bernoulli's method 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 Bernoulli's method 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
Bernoulli's method is common in secondary-school and first-year university syllabi. It links to neighbouring topics Polynomial factorization algorithms, so understanding it makes those chapters shorter.
In everyday life
Look for Bernoulli's method 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 “Bernoulli's method” →

How to study Bernoulli's method in 20 minutes

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

Frequently asked questions

What is Bernoulli's method in simple terms?

In numerical analysis, Bernoulli's method, named after Daniel Bernoulli, is a root-finding algorithm which calculates the root of largest absolute value of a univariate polynomial. The method works under the condition that there is only one root (possibly multiple) of maximal absolute value.

Why does Bernoulli's method 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 Bernoulli's method?

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 Bernoulli's method.

Tags

  • Polynomial factorization algorithms

Keep exploring