06.09.2021 Views

A First Course in Linear Algebra, 2017a

A First Course in Linear Algebra, 2017a

A First Course in Linear Algebra, 2017a

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2.1. Matrix Arithmetic 77<br />

AX = B. Suppose you f<strong>in</strong>d the <strong>in</strong>verse of the matrix A −1 . Then you could multiply both sides of this<br />

equation on the left by A −1 and simplify to obta<strong>in</strong><br />

(<br />

A<br />

−1 ) (<br />

AX = A −1 B<br />

A −1 A ) X = A −1 B<br />

IX = A −1 B<br />

X = A −1 B<br />

Therefore we can f<strong>in</strong>d X, the solution to the system, by comput<strong>in</strong>g X = A −1 B. Note that once you have<br />

found A −1 , you can easily get the solution for different right hand sides (different B). It is always just<br />

A −1 B.<br />

We will explore this method of f<strong>in</strong>d<strong>in</strong>g the solution to a system <strong>in</strong> the follow<strong>in</strong>g example.<br />

Example 2.40: Us<strong>in</strong>g the Inverse to Solve a System of Equations<br />

Consider the follow<strong>in</strong>g system of equations. Use the <strong>in</strong>verse of a suitable matrix to give the solutions<br />

to this system.<br />

x + z = 1<br />

x − y + z = 3<br />

x + y − z = 2<br />

Solution. <strong>First</strong>, we can write the system of equations <strong>in</strong> matrix form<br />

⎡<br />

⎤⎡<br />

⎤ ⎡ ⎤<br />

1 0 1 x 1<br />

AX = ⎣ 1 −1 1 ⎦⎣<br />

y ⎦ = ⎣ 3 ⎦ = B (2.10)<br />

1 1 −1 z 2<br />

is<br />

The<strong>in</strong>verseofthematrix<br />

⎡<br />

A = ⎣<br />

A −1 =<br />

⎡<br />

⎢<br />

⎣<br />

1 0 1<br />

1 −1 1<br />

1 1 −1<br />

0<br />

1<br />

2<br />

1<br />

2<br />

1 −1 0<br />

1 − 1 2<br />

− 1 2<br />

⎤<br />

⎦<br />

⎤<br />

⎥<br />

⎦<br />

Verify<strong>in</strong>g this <strong>in</strong>verse is left as an exercise.<br />

From here, the solution to the given system 2.10 is found by<br />

⎡<br />

⎤<br />

⎡ ⎤<br />

1 1<br />

0 ⎡<br />

x<br />

2 2<br />

⎣ y ⎦ = A −1 1<br />

B = ⎢<br />

⎣ 1 −1 0 ⎥⎣<br />

z<br />

1 − 1 2<br />

− 1 ⎦ 3<br />

2<br />

2<br />

⎤<br />

⎦ =<br />

⎡<br />

⎢<br />

⎣<br />

5<br />

2<br />

−2<br />

− 3 2<br />

⎤<br />

⎥<br />

⎦<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!