<< Chapter < Page Chapter >> Page >
This module is part of the collection, A First Course in Electrical and Computer Engineering . The LaTeX source files for this collection were created using an optical character recognition technology, and because of this process there may be more errors than usual. Please contact us if you discover any errors.

We are now equipped to set up systems of linear equations as matrix- vector equations so that they can be solved in a standard way on a computer.Suppose we want to solve the equations from Example 1 from "Linear Algebra: Introduction" for x 1 and x 2 using a computer. Recall that Equations 1 and 2 from Linear Algebra: Introduction are

x 1 + x 2 = 85 x 1 1 . 2 = x 2 1 . 5 - 1 . 2

The first step is to arrange each equation with all references to x 1 in the first column, all references to x 2 in the second column, etc., and all constants on the right-hand side:

x 1 + x 2 = 85 0 . 3 x 1 - 1 . 2 x 2 = 0 .

Then the equations can be converted to a single matrix-vector equation. The coefficients form a matrix, keeping their same relative positions, and the variables and constants each form a vector:

1 1 0 . 3 - 1 . 2 x 1 x 2 = 85 0 .

Equation 3 is of the general form

A x = b

where in this case

A = 1 1 0 . 3 - 1 . 2 , x = x l x 2 , b = 85 0 .

Given any A R n × n and b R n , MATLAB can solve Equation 4 for x (as long as a solution exists). Key ideas in the solution process are the identity matrix and the inverse of a matrix.

When the matrix A is the 1 × 1 matrix a , the vector x is the l-vector x , and the vector b is the l-vector b , then the matrix equation A x = b becomes the scalar equation

a x = b .

The scalar a - 1 is the inverse of the scalar a , so we may multiply on both sides of Equation 6 to obtain the result

a - 1 ( a x ) = a - 1 b 1 x = a - 1 b .

We would like to generalize this simple idea to the matrix equation A x = b so that we can find an inverse of the matrix A , called A - 1 , and write

A - 1 ( A x ) = A - 1 b I x = A - 1 b .

In this equation the matrix I is the identity matrix

I = 1 0 0 ... 0 0 1 0 ... 0 0 0 1 ... 0 0 0 0 ... 1 .

It is clear that the identity matrix I and the inverse of a matrix, A - 1 , play a key role in the solution of linear equations. Let's study them in more detail.

The Matrix Identity. When we multiply a scalar by 1, we get back that same scalar. For this reason, the number 1 is called the multiplicative identity element. This may seem trivial, but the generalization to matrices is more interesting. The question is, is there a matrix that, when it multipliesanother matrix, does not change the other matrix? The answer is yes. The matrix is called the identity matrix and is denoted by I . The identity matrix is always square, with whatever size is appropriate for the matrix multiplication.The identity matrix has l's on its main diagonal and 0 ' s everywhere else. For example,

I 5 = [ 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 ] .

The subscript 5 indicates the size. In terms of the unit coordinate vectors e i , we can also write the n × n identity matrix as

I n = | | | e 1 e 2 ... e n | | | .

For any matrix A R n × p , we have

A = I n A .

For p = 1 , we obtain the following special form for any vector x R n :

x = I n x .

This last equation can be written as the sum

x = i = 1 n x i e i .

This is a special case of one of the results you proved in Exercise 3 from "Linear Algebra: Matrices" . Figure 1 illustrates Equation 14 and shows how the vector x can be broken into component vectors x i e i , each of which lies in the direction of one coordinate axis. The values of the x i ' s are the coordinates of x , and their magnitudes are also the lengths of the component vectors.

Questions & Answers

what is phylogeny
Odigie Reply
evolutionary history and relationship of an organism or group of organisms
AI-Robot
ok
Deng
what is biology
Hajah Reply
the study of living organisms and their interactions with one another and their environments
AI-Robot
what is biology
Victoria Reply
HOW CAN MAN ORGAN FUNCTION
Alfred Reply
the diagram of the digestive system
Assiatu Reply
allimentary cannel
Ogenrwot
How does twins formed
William Reply
They formed in two ways first when one sperm and one egg are splited by mitosis or two sperm and two eggs join together
Oluwatobi
what is genetics
Josephine Reply
Genetics is the study of heredity
Misack
how does twins formed?
Misack
What is manual
Hassan Reply
discuss biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles
Joseph Reply
what is biology
Yousuf Reply
the study of living organisms and their interactions with one another and their environment.
Wine
discuss the biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles in an essay form
Joseph Reply
what is the blood cells
Shaker Reply
list any five characteristics of the blood cells
Shaker
lack electricity and its more savely than electronic microscope because its naturally by using of light
Abdullahi Reply
advantage of electronic microscope is easily and clearly while disadvantage is dangerous because its electronic. advantage of light microscope is savely and naturally by sun while disadvantage is not easily,means its not sharp and not clear
Abdullahi
cell theory state that every organisms composed of one or more cell,cell is the basic unit of life
Abdullahi
is like gone fail us
DENG
cells is the basic structure and functions of all living things
Ramadan
What is classification
ISCONT Reply
is organisms that are similar into groups called tara
Yamosa
in what situation (s) would be the use of a scanning electron microscope be ideal and why?
Kenna Reply
A scanning electron microscope (SEM) is ideal for situations requiring high-resolution imaging of surfaces. It is commonly used in materials science, biology, and geology to examine the topography and composition of samples at a nanoscale level. SEM is particularly useful for studying fine details,
Hilary
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, A first course in electrical and computer engineering. OpenStax CNX. Sep 14, 2009 Download for free at http://cnx.org/content/col10685/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'A first course in electrical and computer engineering' conversation and receive update notifications?

Ask