Numerical linear systems
Objective. Use elimination while controlling stability.
- 1. Learn
- 2. Worked example
- 3. Practice
- 4. Feedback
- 5. Continue
Learn: the key idea
Numerical linear systems are solved on computers using Gaussian elimination, reducing Ax=b to upper-triangular form via row operations, then back-substituting. Partial pivoting swaps rows to put the largest available pivot on the diagonal at each step, preventing division by very small numbers which would amplify rounding error. For the system 0.0001x + y = 1 and x + y = 2, eliminating without pivoting divides by 0.0001 and destroys accuracy, while swapping rows first keeps the pivot large and stable. Stability, not just correctness in exact arithmetic, is the key concern in numerical linear algebra.
Worked example
Use Gaussian elimination to solve the numerical linear system x + y = 5 and 2x + 3y = 13.
- 1From equation 1: x = 5 − y
- 2Substitute into equation 2: 2(5−y)+3y=13
- 3Simplify: 10 + y = 13, so y = 3
- 4Back-substitute: x = 5 − 3 = 2
Answer: x = 2, y = 3
Concept mastery
Based on your past attempts at this lesson — the question types to practise again come first.
Complete a practice set to see your concept breakdown here.
Practice
Practice happens on its own screen, one question at a time. Answers stay hidden until you submit yours, and you can stop and pick up at the same question later.
Start practisingCommon mistake. Performing Gaussian elimination without pivoting when a diagonal entry is very small; dividing by a tiny pivot massively amplifies rounding error, even though the algorithm is mathematically correct in exact arithmetic.
Your progress
Tick each step as you finish it. Your exact reading position is saved automatically, so Continue drops you back on the same line.
0 of 5 steps complete
Your place saves automatically as you read.