Maths & numbers

Relative residual for an approximate linear solve calculator

Measure how well an approximate solution satisfies one linear equation.

Your numbers

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

Measure how well an approximate solution satisfies one linear equation.

THE FORMULA|b−ax|/|b|

A worked example

For 3x=10 with x=3, the residual is 1 and the relative residual is 0.1.

Good to know

When b is zero, report the absolute residual separately.

Read the result

Measure how well an approximate solution satisfies one linear equation.

The primary result is labeled “Relative residual”. Keep the input definitions in view when comparing this result with another method.

Try a related calculation

When b is zero, report the absolute residual separately.

For a related exercise, try the quadratic equation solver.

A few questions, answered

How can I check the default inputs by hand?

For 3x=10 with x=3, the residual is 1 and the relative residual is 0.1.

Which rule does this calculator apply?

|b−ax|/|b|

Find your calculator

Start typing to explore the library.