Skip to main content
2 of 3
added 87 characters in body; edited title
Yuval Filmus
  • 279.1k
  • 27
  • 316
  • 512

Numerical issues in solving linear systems

There was an exam in the class. The course is "High Performance Scientific Computing". One of the question in the exam is as follows:

Consider the linear system

$$ \begin{bmatrix} a & b \\ b & a \end{bmatrix} \times \begin{bmatrix} x \\ y \end{bmatrix} = \begin{bmatrix} 1 \\ 0 \end{bmatrix}$$ with $a,b>0$.

a) If $a$ is very similar to $b$, what is the numerical difficulty in solving this linear system?

b) Suggest a numerically stable formula for computing $z = x + y$ given $a$ and $b$.

This is a Computer Engineering course, however I am not able to answer these questions. What is the keyword to find a solution on the issue?

Thanks in advance.