A7 Linear algebra · Practice
Conditioning and numerical error,
Problems dealt one at a time, with new numbers every time. The kinds you miss come back more often, and you can keep going as long as you like.
0 solved
0 in a row
0 of 10 kinds solid
Check
A matrix has condition number 1 × 10¹⁰. In double precision (16 digits), about how many correct digits does solving with it leave?
Check
A matrix's largest singular value is 50 and its smallest is 0.5. What is its condition number?
Check
= 100 and has a 0.1% error. What is the largest possible percent error in ?
Check
= 100000. What is the condition number of ?
Check
Solve , . What is ?
Check
Build the 8 × 8 Hilbert matrix H ( with 0-based indices), set kappa to its condition number, solve H @ x = H @ ones with np.linalg.solve, and set err to the largest error in the solution and res to the largest entry of the residual.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Solve , .
(a)
What is ?
(b)
What is ?
Check
A matrix has condition number 1000000. About how many decimal digits are lost solving with it?
Check
What is the condition number of an orthogonal matrix?
Check
A matrix has = 10 and condition number 100. What is ?
A kind of problem counts as solid once you've got it right on the first try twice in a row. Back to the lesson · Practice every topic in A7