3. Matrices

by M. Bourne

A matrix is simply a rectangular table of numbers written in either ( ) or [ ] brackets. Matrices have many applications in science, engineering and computing. Let's first see some of the typical problems that are solved using matrices. We will learn how to solve these later.

Applications of Matrices

a. Engineering: Forces in a bridge or truss

A typical statics problem is represented by the following:

math expression

There are 3 unknown forces F1, F2, & F3. From the diagram, we can obtain 3 equations involving the 3 unknowns and then solve the system using matrix operations.

We will see how to do this problem later, in Matrices and Linear Equations.

b. Electronics

The following circuit has 7 unknown currents marked I1, I2, I3, I4, I5, I6 and I7.

math expression

We can set up 7 equations involving the 7 unknowns and then use matrices to solve the system. We will see how to solve this later, also in Matrices and Linear Equations.

c. Other Applications of Matrices

Matrices is also used to solve problems in:

Now let's move on to matrix notation, some simple operations with matrices and some properties of matrices.


Matrix Notation

A matrix is written with ( ) or [ ] brackets.

Do not confuse a matrix with a determinant which uses vertical bars | |. A matrix is a pattern of numbers; a determinant gives us a single number.

The size of a matrix is written: rows × columns.

Examples:

This is a 2 × 4 matrix:

math expression

This is a 4 × 1 matrix.

math expression

This is a 3 × 3 matrix. A matrix with the same number of rows and columns is called a square matrix.

math expression


Elements in a matrix

The elements in a matrix A are denoted by aij, where i is the row number and j is the column number.

Example:

Consider the matrix

math expression

The element a21 = 1, since the element in the 2nd row and 1st column is 1.

The element a13 = 9, since the element in the 1st row and 3rd column is 9.


Equality of Matrices

Equal matrices have identical corresponding elements.

Example:

If

math expression

then x = 2, y = 7 and a = 3.


Addition (and Subtraction) of Matrices

We can only add (or subtract) matrices if they have the same dimensions. That is, the two matrices must have the same number of rows and the same number of columns.

To add matrices, just add corresponding elements:

Example:

math expression

Note: We started with two matrices, both having dimensions 2 × 3. Our answer was also a 2 × 3 matrix.

See many more examples of matrix addition and subtraction in the Flash matrix applet, which is on the next page.


Let's see how LiveMath does this. You can put your own numbers in, too.

LIVEMath


Identity Matrix

The Identity Matrix, written I, is a square matrix where all the elements are 0 except the principal diagonal which has all ones:

math expression
2 × 2 identity matrix
math expression
3 × 3 identity matrix


The identity matrix I is analogous to the number "1" in ordinary number multiplication. If we multiply the number 8 by 1 (on either side), we have no change - the answer is 8.

1 × 8 = 8 × 1 = 8

We'll see how matrix multiplication by the identity matrix works in the next section.

The identity matrix is also known as the unit matrix.

Diagonal Matrices

A diagonal matrix is a square matrix that has zeroes everywhere except along the main diagonal (top left to bottom right).

For example, here is a 3 × 3 diagonal matrix:

3x3 diagonal matrix

Note: The identity matrix (above) is another example of a diagonal matrix.


Scalar Multiplication (and Division)

Scalar multiplication of matrices is similar to scalar multiplication of vectors. [For background, see Vector Concepts.]

We multiply (or divide) each element by the scalar value (a single number).

Example:

If

math expression

then

math expression

Note 1: When doing scalar multiplication, if we start with a 3 × 2 matrix, we end with a 3 × 2 matrix. This is not so in matrix multiplication that we meet in the next section.

Note 2: See many more examples of scalar multiplication in the Flash matrix applet, which is on the next page.


Let's see how LiveMath does scalar multiplication.

You can put your own numbers in, too.

LIVEMath


Exercises

1. Find the value of the literal numbers:

math expression

Answer



2. Find the sum of:

math expression

Answer





Didn't find what you are looking for on this page? Try search:

The IntMath Newsletter

Sign up for the free IntMath Newsletter. Get math study tips, information, news and updates each fortnight. Join thousands of satisfied students, teachers and parents!

Given name: * required

Family name:

email: * required

See the Interactive Mathematics spam guarantee.

Algebra Lessons on DVD

get MathTutorDVDs

Easy to understand algebra lessons on DVD. See samples before you commit.

More info: Algebra videos

 

Book mark this page

Add this page to Del.icio.us, Furl, Digg, StumbleUpon, Google, whatever...

 


Need a break? Play a math game. Well, they all involve math... No, really!

dumbolf memoTST bola shadow factory mindfields trick-hoops-challenge crystal clear