<< Chapter < Page Chapter >> Page >
In this section, you will:
  • Find the sum and difference of two matrices.
  • Find scalar multiples of a matrix.
  • Find the product of two matrices.
(credit: “SD Dirk,” Flickr)

Two club soccer teams, the Wildcats and the Mud Cats, are hoping to obtain new equipment for an upcoming season. [link] shows the needs of both teams.

Wildcats Mud Cats
Goals 6 10
Balls 30 24
Jerseys 14 20

A goal costs $300; a ball costs $10; and a jersey costs $30. How can we find the total cost for the equipment needed for each team? In this section, we discover a method in which the data in the soccer equipment table can be displayed and used for calculating other information. Then, we will be able to calculate the cost of the equipment.

Finding the sum and difference of two matrices

To solve a problem like the one described for the soccer teams, we can use a matrix    , which is a rectangular array of numbers. A row    in a matrix is a set of numbers that are aligned horizontally. A column    in a matrix is a set of numbers that are aligned vertically. Each number is an entry    , sometimes called an element, of the matrix. Matrices (plural) are enclosed in [ ] or ( ), and are usually named with capital letters. For example, three matrices named A , B , and C are shown below.

A = [ 1 2 3 4 ] , B = [ 1 2 7 0 −5 6 7 8 2 ] , C = [ −1 0 3 3 2 1 ]

Describing matrices

A matrix is often referred to by its size or dimensions:   m   ×   n   indicating m rows and n columns. Matrix entries are defined first by row and then by column. For example, to locate the entry in matrix A identified as a i j , we look for the entry in row i , column j . In matrix A ,   shown below, the entry in row 2, column 3 is a 23 .

A = [ a 11 a 12 a 13 a 21 a 22 a 23 a 31 a 32 a 33 ]

A square matrix is a matrix with dimensions   n   ×   n , meaning that it has the same number of rows as columns. The 3 × 3 matrix above is an example of a square matrix.

A row matrix is a matrix consisting of one row with dimensions 1   ×   n .

[ a 11 a 12 a 13 ]

A column matrix is a matrix consisting of one column with dimensions m   ×   1.

[ a 11 a 21 a 31 ]

A matrix may be used to represent a system of equations. In these cases, the numbers represent the coefficients of the variables in the system. Matrices often make solving systems of equations easier because they are not encumbered with variables. We will investigate this idea further in the next section, but first we will look at basic matrix operations .

Matrices

A matrix    is a rectangular array of numbers that is usually named by a capital letter: A , B , C , and so on. Each entry in a matrix is referred to as a i j , such that i represents the row and j represents the column. Matrices are often referred to by their dimensions: m × n indicating m rows and n columns.

Finding the dimensions of the given matrix and locating entries

Given matrix A :

  1. What are the dimensions of matrix A ?
  2. What are the entries at a 31 and a 22 ?
    A = [ 2 1 0 2 4 7 3 1 2 ]
  1. The dimensions are   3   ×   3   because there are three rows and three columns.
  2. Entry a 31 is the number at row 3, column 1, which is 3. The entry a 22 is the number at row 2, column 2, which is 4. Remember, the row comes first, then the column.
Got questions? Get instant answers now!
Got questions? Get instant answers now!

Questions & Answers

how to create a software using Android phone
Wiseman Reply
how
basra
what is the difference between C and C++.
Yan Reply
what is software
Sami Reply
software is a instructions like programs
Shambhu
what is the difference between C and C++.
Yan
yes, how?
Hayder
what is software engineering
Ahmad
software engineering is a the branch of computer science deals with the design,development, testing and maintenance of software applications.
Hayder
who is best bw software engineering and cyber security
Ahmad
Both software engineering and cybersecurity offer exciting career prospects, but your choice ultimately depends on your interests and skills. If you enjoy problem-solving, programming, and designing software syste
Hayder
what's software processes
Ntege Reply
I haven't started reading yet. by device (hardware) or for improving design Lol? Here. Requirement, Design, Implementation, Verification, Maintenance.
Vernon
I can give you a more valid answer by 5:00 By the way gm.
Vernon
it is all about designing,developing, testing, implementing and maintaining of software systems.
Ehenew
hello assalamualaikum
Sami
My name M Sami I m 2nd year student
Sami
what is the specific IDE for flutter programs?
Mwami Reply
jegudgdtgd my Name my Name is M and I have been talking about iey my papa john's university of washington post I tagged I will be in
Mwaqas Reply
yes
usman
how disign photo
atul Reply
hlo
Navya
hi
Michael
yes
Subhan
Show the necessary steps with description in resource monitoring process (CPU,memory,disk and network)
samuel Reply
What is software engineering
Tafadzwa Reply
Software engineering is a branch of computer science directed to writing programs to develop Softwares that can drive or enable the functionality of some hardwares like phone , automobile and others
kelvin
if any requirement engineer is gathering requirements from client and after getting he/she Analyze them this process is called
Alqa Reply
The following text is encoded in base 64. Ik5ldmVyIHRydXN0IGEgY29tcHV0ZXIgeW91IGNhbid0IHRocm93IG91dCBhIHdpbmRvdyIgLSBTdGV2ZSBXb3puaWFr Decode it, and paste the decoded text here
Julian Reply
what to do you mean
Vincent
hello
ALI
how are you ?
ALI
What is the command to list the contents of a directory in Unix and Unix-like operating systems
George Reply
how can i make my own software free of cost
Faizan Reply
like how
usman
hi
Hayder
The name of the author of our software engineering book is Ian Sommerville.
Doha Reply
what is software
Sampson Reply
the set of intruction given to the computer to perform a task
Noor
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply
Practice Key Terms 5

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