<< Chapter < Page Chapter >> Page >

Solving a dependent system of linear equations using matrices

Solve the following system of linear equations using matrices.

x −2 y + z = −1   2 x + 3 y = 2 y −2 z = 0

Write the augmented matrix.

[ −1 −2 1 2 3 0 0 1 −2    |    −1 2 0 ]

First, multiply row 1 by −1 to get a 1 in row 1, column 1. Then, perform row operations    to obtain row-echelon form.

R 1 [ 1 2 −1 1 2 3 0 2 0 1 −2 0 ]
R 2 R 3 [ 1 2 1 0 1 2 2 3 0    | 1 0 2 ]
−2 R 1 + R 3 = R 3 [ 1 2 −1 0 1 −2 0 −1 2 | 1 0 0 ]
R 2 + R 3 = R 3 [ 1 2 −1 0 1 −2 0 0 0 | 2 1 0 ]

The last matrix represents the following system.

  x + 2 y z = 1         y 2 z = 0                0 = 0

We see by the identity 0 = 0 that this is a dependent system with an infinite number of solutions. We then find the generic solution. By solving the second equation for y and substituting it into the first equation we can solve for z in terms of x .

      x + 2 y z = 1                    y = 2 z x + 2 ( 2 z ) z = 1             x + 3 z = 1                    z = 1 x 3

Now we substitute the expression for z into the second equation to solve for y in terms of x .

           y 2 z = 0                 z = 1 x 3   y 2 ( 1 x 3 ) = 0                   y = 2 2 x 3

The generic solution is ( x , 2 −2 x 3 , 1 x 3 ) .

Got questions? Get instant answers now!
Got questions? Get instant answers now!

Solve the system using matrices.

x + 4 y z = 4 2 x + 5 y + 8 z = 15 x + 3 y −3 z = 1

( 1 , 1 , 1 )

Got questions? Get instant answers now!

Can any system of linear equations be solved by Gaussian elimination?

Yes, a system of linear equations of any size can be solved by Gaussian elimination.

Given a system of equations, solve with matrices using a calculator.

  1. Save the augmented matrix as a matrix variable [ A ] , [ B ] , [ C ] ,   .
  2. Use the ref( function in the calculator, calling up each matrix variable as needed.

Solving systems of equations with matrices using a calculator

Solve the system of equations.

  5 x + 3 y + 9 z = −1 −2 x + 3 y z = −2 x −4 y + 5 z = 1

Write the augmented matrix for the system of equations.

[ 5 3 9 −2 3 −1 −1 −4 5    |    5 −2 −1 ]

On the matrix page of the calculator, enter the augmented matrix above as the matrix variable [ A ] .

[ A ] = [ 5 3 9 −1 −2 3 −1 −2 −1 −4 5 1 ]

Use the ref( function in the calculator, calling up the matrix variable [ A ] .

ref ( [ A ] )

Evaluate.

[ 1 3 5 9 5 1 5 0 1 13 21 4 7 0 0 1 24 187 ] x + 3 5 y + 9 5 z = 1 5         y + 13 21 z = 4 7                    z = 24 187

Using back-substitution, the solution is ( 61 187 , 92 187 , 24 187 ) .

Got questions? Get instant answers now!
Got questions? Get instant answers now!

Applying 2 × 2 matrices to finance

Carolyn invests a total of $12,000 in two municipal bonds, one paying 10.5% interest and the other paying 12% interest. The annual interest earned on the two investments last year was $1,335. How much was invested at each rate?

We have a system of two equations in two variables. Let x = the amount invested at 10.5% interest, and y = the amount invested at 12% interest.

                 x + y = 12,000 0.105 x + 0.12 y = 1,335

As a matrix, we have

[ 1 1 0.105 0.12    |    12,000 1,335 ]

Multiply row 1 by −0.105 and add the result to row 2.

[ 1 1 0 0.015    |    12,000 75 ]

Then,

0.015 y = 75           y = 5,000

So 12,000 −5,000 = 7,000.

Thus, $5,000 was invested at 12% interest and $7,000 at 10.5% interest.

Got questions? Get instant answers now!
Got questions? Get instant answers now!

Applying 3 × 3 matrices to finance

Ava invests a total of $10,000 in three accounts, one paying 5% interest, another paying 8% interest, and the third paying 9% interest. The annual interest earned on the three investments last year was $770. The amount invested at 9% was twice the amount invested at 5%. How much was invested at each rate?

We have a system of three equations in three variables. Let x be the amount invested at 5% interest, let y be the amount invested at 8% interest, and let z be the amount invested at 9% interest. Thus,

                      x + y + z = 10 , 000 0.05 x + 0.08 y + 0.09 z = 770                           2 x z = 0

As a matrix, we have

[ 1 1 1 0.05 0.08 0.09 2 0 −1    |    10 , 000 770 0 ]

Now, we perform Gaussian elimination to achieve row-echelon form.

−0.05 R 1 + R 2 = R 2 [ 1 1 1 0 0.03 0.04 2 0 −1 | 10,000 270 0 ] −2 R 1 + R 3 = R 3 [ 1 1 1 0 0.03 0.04 0 −2 −3 | 10,000 270 −20,000 ] 1 0.03 R 2 = R 2 [ 0 1 1 0 1 4 3 0 −2 −3 | 10,000 9,000 −20,000 ] 2 R 2 + R 3 = R 3 [ 1 1 1 0 1 4 3 0 0 1 3 | 10,000 9,000 −2,000 ]

The third row tells us 1 3 z = −2,000 ; thus z = 6,000.

The second row tells us y + 4 3 z = 9,000. Substituting z = 6,000 , we get

y + 4 3 ( 6,000 ) = 9,000 y + 8,000 = 9,000 y = 1,000

The first row tells us x + y + z = 10 , 000. Substituting y = 1 , 000 and z = 6 , 000 , we get

x + 1 , 000 + 6 , 000 = 10,000                                x = 3,000    

The answer is $3,000 invested at 5% interest, $1,000 invested at 8%, and $6,000 invested at 9% interest.

Got questions? Get instant answers now!
Got questions? Get instant answers now!

Questions & Answers

Discuss the differences between taste and flavor, including how other sensory inputs contribute to our  perception of flavor.
John Reply
taste refers to your understanding of the flavor . while flavor one The other hand is refers to sort of just a blend things.
Faith
While taste primarily relies on our taste buds, flavor involves a complex interplay between taste and aroma
Kamara
which drugs can we use for ulcers
Ummi Reply
omeprazole
Kamara
what
Renee
what is this
Renee
is a drug
Kamara
of anti-ulcer
Kamara
Omeprazole Cimetidine / Tagament For the complicated once ulcer - kit
Patrick
what is the function of lymphatic system
Nency Reply
Not really sure
Eli
to drain extracellular fluid all over the body.
asegid
The lymphatic system plays several crucial roles in the human body, functioning as a key component of the immune system and contributing to the maintenance of fluid balance. Its main functions include: 1. Immune Response: The lymphatic system produces and transports lymphocytes, which are a type of
asegid
to transport fluids fats proteins and lymphocytes to the blood stream as lymph
Adama
what is anatomy
Oyindarmola Reply
Anatomy is the identification and description of the structures of living things
Kamara
what's the difference between anatomy and physiology
Oyerinde Reply
Anatomy is the study of the structure of the body, while physiology is the study of the function of the body. Anatomy looks at the body's organs and systems, while physiology looks at how those organs and systems work together to keep the body functioning.
AI-Robot
what is enzymes all about?
Mohammed Reply
Enzymes are proteins that help speed up chemical reactions in our bodies. Enzymes are essential for digestion, liver function and much more. Too much or too little of a certain enzyme can cause health problems
Kamara
yes
Prince
how does the stomach protect itself from the damaging effects of HCl
Wulku Reply
little girl okay how does the stomach protect itself from the damaging effect of HCL
Wulku
it is because of the enzyme that the stomach produce that help the stomach from the damaging effect of HCL
Kamara
function of digestive system
Ali Reply
function of digestive
Ali
the diagram of the lungs
Adaeze Reply
what is the normal body temperature
Diya Reply
37 degrees selcius
Xolo
37°c
Stephanie
please why 37 degree selcius normal temperature
Mark
36.5
Simon
37°c
Iyogho
the normal temperature is 37°c or 98.6 °Fahrenheit is important for maintaining the homeostasis in the body the body regular this temperature through the process called thermoregulation which involves brain skin muscle and other organ working together to maintain stable internal temperature
Stephanie
37A c
Wulku
what is anaemia
Diya Reply
anaemia is the decrease in RBC count hemoglobin count and PVC count
Eniola
what is the pH of the vagina
Diya Reply
how does Lysin attack pathogens
Diya
acid
Mary
I information on anatomy position and digestive system and there enzyme
Elisha Reply
anatomy of the female external genitalia
Muhammad Reply
Organ Systems Of The Human Body (Continued) Organ Systems Of The Human Body (Continued)
Theophilus Reply
what's lochia albra
Kizito
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply
Practice Key Terms 7

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Algebra and trigonometry. OpenStax CNX. Nov 14, 2016 Download for free at https://legacy.cnx.org/content/col11758/1.6
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Algebra and trigonometry' conversation and receive update notifications?

Ask