ArticleslgStudy

computer science

Regula falsi

Regula falsi 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 Regula falsi rather than just read about it. In short: In mathematics, the regula falsi, method of false position, or false position method is a family of algorithms used to solve linear equations and smooth nonlinear equations for a single unknown value. In its oldest known examples found in cuneiform and hieroglyphic writings, the method replaces simple trial and error with proportional correction of an initial guess.

Regula falsi — main illustration
Regula falsi — illustration

Key takeaways

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

Reference excerpt

In mathematics, the regula falsi, method of false position, or false position method is a family of algorithms used to solve linear equations and smooth nonlinear equations for a single unknown value. In its oldest known examples found in cuneiform and hieroglyphic writings, the method replaces simple trial and error with proportional correction of an initial guess. In modern usage, the method relies on linear interpolation based on two different guesses.

Two historical types Two basic types of false position method can be distinguished historically, simple false position and double false position. Simple false position is aimed at solving problems involving direct proportion and can be thought of as an early algorithm for division. Such problems can be written algebraically in the form: determine x such that

a x = b , {\displaystyle ax=b,}

if a and b are known. The method begins by using a test input value x′, and finding the corresponding output value b′ by multiplication: ax′ = b′. The correct answer is then found by proportional adjustment, x = ⁠b/ b′⁠ x′. As an example, consider problem 26 in the Rhind papyrus, which asks for a solution of (written in modern notation) the equation x + ⁠x/4⁠ = 15. This is solved by false position. First, guess that x = 4 to obtain, on the left, 4 + ⁠4/4⁠ = 5. This guess is a good choice since it produces an integer value. However, 4 is not the solution of the original equation, as it gives a value which is three times too small. To compensate, multiply x (currently set to 4) by 3 and substitute again to get 12 + ⁠12/4⁠ = 15, verifying that the solution is x = 12. Double false position is aimed at solving more difficult problems that can be written algebraically in the form: determine x such that

f ( x ) = a x + c = 0 , {\displaystyle f(x)=ax+c=0,}

if it is known that

f ( x 1 ) = b 1 ; f ( x 2 ) = b 2 . {\displaystyle {\begin{aligned}f(x_{1})&=b_{1};\\f(x_{2})&=b_{2}.\end{aligned}}}

Double false position is mathematically equivalent to linear interpolation. By using a pair of test inputs and the corresponding pair of outputs, the result of this algorithm given by,

x = b 1 x 2 − b 2 x 1 b 1 − b 2 , {\displaystyle x={\frac {b_{1}x_{2}-b_{2}x_{1}}{b_{1}-b_{2}}},}

would be memorized and carried out by rote. Indeed, the rule as given by Robert Recorde in his Ground of Artes (c. 1542) is:

For an affine linear function,

f ( x ) = a x + c , {\displaystyle f(x)=ax+c,}

double false position provides the exact solution, while for a nonlinear function f it provides an approximation that can be successively improved by iteration.

History The simple false position technique is found in cuneiform tablets from ancient Babylonian mathematics, and in papyri from ancient Egyptian mathematics. Double false position arose in late antiquity as a purely arithmetical algorithm. In the ancient Chinese mathematical text called The Nine Chapters on the Mathematical Art (九章算術), dated from 200 BC to AD 100, most of Chapter 7 was devoted to the algorithm. There, the procedure was justified by concrete arithmetical arguments, then applied creatively to a wide variety of story problems, including one involving what we would call secant lines on a conic section. A more typical example is this "joint purchase" problem involving an "excess and deficit" condition:

Now an item is purchased jointly; everyone contributes 8 [coins], the excess is 3; everyone contributes 7, the deficit is 4. Tell: The number of people, the item price, what is each? Answer: 7 people, item price 53.

… excerpt ends here. Continue reading the full article.

Illustrations

Regula falsi: Plot of function F, its exact root (point K), and the approximated root
Plot of function F, its exact root (point K), and the approximated root

Worked examples

Example 1 — a first encounter with Regula falsi

Start with the simplest possible case. Write down what Regula falsi 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 Regula falsi 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 Regula falsi 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 Regula falsi

In research
Regula falsi 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 Regula falsi 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
Regula falsi is common in secondary-school and first-year university syllabi. It links to neighbouring topics Latin words and phrases, Root-finding algorithms, so understanding it makes those chapters shorter.
In everyday life
Look for Regula falsi 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.

Affiliate

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

How to study Regula falsi in 20 minutes

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

Frequently asked questions

What is Regula falsi in simple terms?

In mathematics, the regula falsi, method of false position, or false position method is a family of algorithms used to solve linear equations and smooth nonlinear equations for a single unknown value. In its oldest known examples found in cuneiform and hieroglyphic writings, the method replaces sim…

Why does Regula falsi 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 Regula falsi?

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 Regula falsi.

Tags

  • Latin words and phrases
  • Root-finding algorithms

Keep exploring