ArticleslgStudy

science

Residual (numerical analysis)

Residual (numerical analysis) is a 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 Residual (numerical analysis) rather than just read about it. In short: Loosely speaking, a residual is the error in a result. To be precise, suppose we want to find x such that f ( x ) = b . {\displaystyle f(x)=b.} Given an approximation x0 of x, the residual is b − f ( x 0 ) {\displaystyle b-f(x_{0})} that is, "what is left of the right hand side" after subtracting f(x0)" (thus, the name "residual": what is left, the rest).

Key takeaways

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

Reference excerpt

Loosely speaking, a residual is the error in a result. To be precise, suppose we want to find x such that

f ( x ) = b . {\displaystyle f(x)=b.}

Given an approximation x0 of x, the residual is

b − f ( x 0 ) {\displaystyle b-f(x_{0})}

that is, "what is left of the right hand side" after subtracting f(x0)" (thus, the name "residual": what is left, the rest). On the other hand, the error is

x − x 0 {\displaystyle x-x_{0}}

If the exact value of x is not known, the residual can be computed, whereas the error cannot.

Residual of the approximation of a function Similar terminology is used dealing with differential, integral and functional equations. For the approximation f a {\displaystyle f_{\text{a}}} of the solution f {\displaystyle f} of the equation

T ( f ) ( x ) = g ( x ) , {\displaystyle T(f)(x)=g(x)\,,}

the residual can either be the function

g ( x ) − T ( f a ) ( x ) {\displaystyle ~g(x)~-~T(f_{\text{a}})(x)} , or can be said to be the maximum of the norm of this difference

max x ∈ X | g ( x ) − T ( f a ) ( x ) | {\displaystyle \max _{x\in {\mathcal {X}}}|g(x)-T(f_{\text{a}})(x)|}

over the domain X {\displaystyle {\mathcal {X}}} , where the function f a {\displaystyle f_{\text{a}}} is expected to approximate the solution f {\displaystyle f} , or some integral of a function of the difference, for example:

∫ X | g ( x ) − T ( f a ) ( x ) | 2 d x . {\displaystyle \int _{\mathcal {X}}|g(x)-T(f_{\text{a}})(x)|^{2}~\mathrm {d} x.}

In many cases, the smallness of the residual means that the approximation is close to the solution, i.e.,

| f a ( x ) − f ( x ) f ( x ) | ≪ 1. {\displaystyle \left|{\frac {f_{\text{a}}(x)-f(x)}{f(x)}}\right|\ll 1.}

In these cases, the initial equation is considered as well-posed; and the residual can be considered as a measure of deviation of the approximation from the exact solution.

Use of residuals When one does not know the exact solution, one may look for the approximation with small residual. Residuals appear in many areas in mathematics, including iterative solvers such as the generalized minimal residual method, which seeks solutions to equations by systematically minimizing the residual. In physics-informed neural networks, an additional term is included in the loss function consisting of the residual of the PDE.

References

Worked examples

Example 1 — a first encounter with Residual (numerical analysis)

Start with the simplest possible case. Write down what Residual (numerical analysis) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In 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 Residual (numerical analysis) 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 Residual (numerical analysis) 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 Residual (numerical analysis)

In research
Residual (numerical analysis) appears in 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 Residual (numerical analysis) 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
Residual (numerical analysis) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Numerical analysis, so understanding it makes those chapters shorter.
In everyday life
Look for Residual (numerical analysis) 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 Residual (numerical analysis) in 20 minutes

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

Frequently asked questions

What is Residual (numerical analysis) in simple terms?

Loosely speaking, a residual is the error in a result. To be precise, suppose we want to find x such that f ( x ) = b . {\displaystyle f(x)=b.} Given an approximation x0 of x, the residual is b − f ( x 0 ) {\displaystyle b-f(x_{0})} that is, "what is left of the right hand side" after subtracting f…

Why does Residual (numerical analysis) matter?

Because it connects several 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 Residual (numerical analysis)?

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 Residual (numerical analysis).

Tags

  • Numerical analysis

Keep exploring