Exercise 2.2.6. Consider the following system of linear equations:
Find the general solution expressed as the sum of a particular solution to and the solution to
.
Answer: We perform elimination by subtracting 2 times the first row from the second row:
This completes elimination. The matrix has pivots in columns 1 and 3, so that the basic variables are
and
and the free variable is
.
We can replace the system with the new system
:
From the second equation we have . Substituting into the first equation gives us
or
. The general solution to
is thus
We now consider the inhomogeneous system or
The elimination sequence from above produces the system or
From the second equation we have . Substituting into the first equation and setting the free variable
produces
or
. The particular solution is thus
.
We can combine the particular solution to this system with the general solution to to produce the general solution
for the system
:
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
.
you solved the particular solution right but copied it wrong in your total solution
Thanks for catching this! I’ve updated the post to fix it.