Exercise 1.3.1. Solve the following equation using Gaussian elimination:
Answer: The first pivot is 2 (the coefficient of u in the first equation). We multiply the first equation by 2 (the coefficient of u in the second equation divided by the pivot) and subtract it from the second. We also multiply the first equation by 1 (the coefficient of u in the third equation divided by the pivot) and subtract it from the third:
The second pivot is 1 (the coefficient of v in the second equation). We multiply the second equation by 2 (the coefficient of v in the third equation divided by the pivot) and subtract it from the third:
We can then back-substitute, starting with solving for w:
So the solution is u = 3, v = 1, w = 0.
NOTE: This continues a series of posts containing worked out exercises from the (out of print) book Linear Algebra and Its Applications, Third Edition by Gilbert Strang.
If you find these posts useful I encourage you to also check out the more current Linear Algebra and Its Applications, Fourth Edition, Dr Strang’s introductory textbook Introduction to Linear Algebra, Fourth Edition
and the accompanying free online course, and Dr Strang’s other books
.