Appendix G: Matrices, Determinants, and Systems of Equations
Appendix G: Matrices, Determinants, and Systems of Equations
For each subscript, aij, i = the row, and j = the column. If m = n, the matrix is said to be a
square matrix.
Vector
If a matrix has just one row, it is called a row vector. An example of a row vector follows:
B b11 b12 b1n G:2
If a matrix has just one column, it is called a column vector. An example of a column vector
follows:
2 3
c11
6c 7
6 12 7
C6 7
6 .. 7 G:3
4 . 5
cm1
1
ONLINEAPPG 11/22/2014 11:40:16 Page 2
Partitioned Matrix
A matrix can be partitioned into component matrices or vectors. For example, let
2 3 2 3
a11 a12 a13 a14 a11 a12 a13 a14
6a
6 21 a22 a23 a24 7 6a
7 6 21 a22 a23 a24 7
7 A11 A12
A6 76 7 G:4
4 a31 a32 a33 a34 5 4 a31 a32 a33 a34 5 A21 A22
a41 a42 a43 a44 a41 a42 a43 a44
where
2 3 2 3
a11 a12 a13 a14
6 7 6 7
A11 4 a21 a22 5; A12 4 a23 a24 5
a31 a32 a33 a34
A21 a41 a42 ; A22 a43 a44
Null Matrix
A matrix with all elements equal to zero is called the null matrix; that is, aij 0 for all i and j
An example of a null matrix follows:
2 3
0 0 0 0
60 07
6 0 0 7
A6
6 .. .. .. .. .. .. .. 7
7 G:5
4. . . . . . .5
0 0 0 0 0 0 0
Diagonal Matrix
A square matrix with all elements off of the diagonal equal to zero is said to be a diagonal
matrix; that is, aij 0 for i
6 j. An example of a diagonal matrix follows:
2 3
a11 0 0 0
6 7
6 0 a22 0 0 7
6 7
6 0 7
A6 0 0 a33 7 G:6
6 . .. .. .. .. 7
6 . 7
4 . . . . . 5
0 0 0 ann
Identity Matrix
A diagonal matrix with all diagonal elements equal to unity is called an identity matrix and is
denoted by I; that is, aij 1 for i j, and aij 0 for i
6 j. An example of an identity matrix
follows:
2 3
1 0 0 0
60 07
6 1 0 7
A6
6 .. .. .. .. .. 7
7 G:7
4. . . . .5
0 0 0 1
ONLINEAPPG 11/22/2014 11:40:16 Page 3
Symmetric Matrix
A square matrix for which aij = aji is called a symmetric matrix. An example of a symmetric
matrix follows:
2 3
3 8 7
6 7
A 48 9 25 G:8
7 2 4
Matrix Transpose
The transpose of matrix A, designated AT, is formed by interchanging the rows and columns
of A. Thus, if A is an m n matrix with elements aij, the transpose is an n m matrix with
elements aji. An example follows. Given
2 3
1 7 9
6 2 6 37
6 7
A6 7 G:9
4 4 8 55
1 3 2
then
2 3
1 2 4 1
6 7
AT 4 7 6 8 35 G:10
9 3 5 2
is evaluated as
a11 a12
det A a11 a22 a21 a12 G:13
a21 a 22
Minor of an Element
The minor, Mij of element aij of det A is the determinant formed by removing the ith row and the
jth column from det A. As an example, consider the following determinant:
3 8 7
det A 6 9 2 G:14
5 1 4
ONLINEAPPG 11/22/2014 11:40:17 Page 4
The minor M32 is the determinant formed by removing the third row and the second column
from det A. Thus,
3 7
M 32 36 G:15
6 2
Cofactor of an Element
The cofactor, Cij, of element aij of det A is dened to be
C i j 1ij M i j G:16
where n = number of columns of A; j is the jth row selected to expand by minors; and Cik is
the cofactor of aik. Expanding along any column, we nd
P
m
det A akj C kj G:19
k1
where m = number of rows of A; j is the jth column selected to expand by minors; and Ckj is
the cofactor of akj. For example, if
2 3
1 3 2
6 7
A4 5 6 75 G:20
8 5 4
Singular Matrix
A matrix is singular if its determinant equals zero.
Nonsingular Matrix
A matrix is nonsingular if its determinant does not equal zero.
ONLINEAPPG 11/22/2014 11:40:17 Page 5
Adjoint of a Matrix
The adjoint of a square matrix, A, written adj A, is the matrix formed from the transpose of the
matrix A after all elements have been replaced by their cofactors. Thus,
2 3
C11 C 12 C 1n T
6C C 2n 7
6 21 C 22 7
adj A 6
6 .. .. .. .. 77 G:23
4 . . . . 5
C n1 Cn2 C nn
Hence,
2 3
4 5 1 5 1 4 T
6 8 7 6 7 6 87 2 3
6 7
6 7 12 10 2
6 2 3 1 3 1 7
7 6 7
2
adj A 6
6 8 4 37 11 85 G:25
6 7 6 7 6 87 7
6 7 32 4 6
4 2
3 1
3 1
2 5
4 5 1 5 1 4
Rank of a Matrix
The rank of a matrix, A, equals the number of linearly independent rows or columns. The
rank can be found by nding the highest-order square submatrix that is nonsingular. For
example, consider the following:
2 3
1 5 2
6 7
A4 4 7 55 G:26
3 15 6
Subtraction
The difference between two matrices, written A B = C, is dened by aij bij = cij. For
example,
2 1 7 5 5 4
G:29
3 5 4 3 7 2
Multiplication P
n
The product of two matrices, written AB = C, is dened by cij aik bkj . For example, if
k1
2 3
b11 b12 b13
a11 a12 a13 6 7
A ; B 4 b21 b22 b23 5 G:30
a21 a22 a23
b31 b32 b33
then
a11 b11 a12 b21 a13 b31 a11 b12 a12 b22 a13 b32 a11 b13 a12 b23 a13 b33
C
a21 b11 a22 b21 a23 b31 a21 b12 a22 b22 a23 b32 a21 b13 a22 b23 a23 b33
G:31
Notice that muitiplicalion is dened only if the number of columns of A equals the number
of rows of B.
Multiplication by a Constant
A matrix can be multiplied by a constant by multiplying every element of the matrix by that
constant. For example, if
a11 a12
A G:32
a21 a22
then
ka11 ka12
kA G:33
ka21 ka22
Inverse
An n n square matrix, A, has an inverse, denoted by A 1, which is dened by
AA 1
I G:34
adj A
A 1
G:35
det A
For example, nd the inverse of A in Eq. (G.24). The adjoint was calculated in Eq. (G.25).
The determinant of A is
4 5 2 3 2 3
det A 1 1 6 34 G:36
8 7 8 7 4 5
ONLINEAPPG 11/22/2014 11:40:18 Page 7
Hence,
2 3
12 10 2
6 7 2 3
4 37 11 85
0:353 0:294 0:059
32 4 6 6 7
A 1
4 1:088 0:324 0:235 5 G:37
34
0:941 0:118 0:176
Matrix Identities
Commutative Law
ABBA G:38
AB
6 BA G:39
Associative Law
A B C A B C G:40
Transpose of Sum
A BT AT BT G:42
Transpose of Product
ABT BT AT G:43
Determinant Identities
Multiplication of a Single Row or Single Column of a Matrix, A, by a Constant
If a single row or single column of a matrix, A, is multiplied by a constant, k, forming the
matrix, , then
~ k det A
det A G:44
Transpose
where
2 3 2 3 2 3
a11 a12 a1n b1 x1
6a a2n 7 6b 7 6x 7
6 21 a22 7 6 27 6 27
A6
6 .. .. .. .. 7
7; B6 7
6 .. 7; x6 7
6 .. 7
4 . . . . 5 4 . 5 4 . 5
an1 an2 ann bn xn
For example, the following system of equations,
5x1 7x2 3 G:51a
x A 1B G:53
1
For example, premultiplying both sides of Eq. (G.52) by A , where
1
5 7 0:0526 0:0921
A 1
G:54
8 4 0:1053 0:0658
Bibliography 9
det Ak
xk G:56
det A
where Ak; is a matrix formed by replacing the kth column of A by B. For example, solve
Eq. (G.52). Using Eq. (G.56) with
5 7 3
A ; B
8 4 9
we nd
3 7
9 4 75
x1 0:987 G:57
5 7 76
8 4
and
5 3
8 9 21
x2
2:276 G:58
5 7 76
8 4
Bibliography
Dorf, R. C. Matrix AlgebraA Programmed Introduction. Wiley, New York, 1969.
Kreyszig, E. Advanced Engineering Mathematics. 4th ed. Wiley, New York, 1979.
Wylie, C. R., Jr. Advanced Engineering Mathematics. 5th ed. McGraw-Hill, New York, 1982.
ONLINEAPPG 11/22/2014 11:40:18 Page 10
Copyright 2015 John Wiley & Sons, Inc. All rights reserved.
No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means,
electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or
108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or
authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, Inc. 222 Rosewood
Drive, Danvers, MA 01923, website www.copyright.com. Requests to the Publisher for permission should be addressed
to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030-5774, (201)748-6011,
fax (201)748-6008, website http://www.wiley.com/go/permissions.
Founded in 1807, John Wiley & Sons, Inc. has been a valued source of knowledge and understanding for more than
200 years, helping people around the world meet their needs and fulll their aspirations. Our company is built on a
foundation of principles that include responsibility to the communities we serve and where we live and work. In 2008,
we launched a Corporate Citizenship Initiative, a global effort to address the environmental, social, economic, and
ethical challenges we face in our business. Among the issues we are addressing are carbon impact, paper specications
and procurement, ethical conduct within our business and among our vendors, and community and charitable support.
For more information, please visit our website: www.wiley.com/go/citizenship.
The software programs and experiments available with this book have been included for their instructional value. They
have been tested with care but are not guaranteed for any particular purpose. The publisher and author do not offer any
warranties or restrictions, nor do they accept any liabilities with respect to the programs and experiments.
AMTRAK is a registered trademark of National Railroad Passenger Corporation. Adobe and Acrobat are trademarks
of Adobe Systems, Inc. which may be registered in some jurisdictions. FANUC is a registered trademark of FANUC,
Ltd. Microsoft, Visual Basic, and PowerPoint are registered trademarks of Microsoft Corporation. QuickBasic is a
trademark of Microsoft Corporation. MATLAB and SIMULINK are registered trademarks of The MathWorks, Inc.
The Control System Toolbox, LTI Viewer, Root Locus Design GUI, Symbolic Math Toolbox, Simulink Control
Design, and MathWorks are trademarks of The MathWorks, Inc. LabVIEW is a registered trademark of National
Instruments Corporation. Segway is a registered trademark of Segway, Inc. in the United States and/or other countries.
Chevrolet Volt is a trademark of General Motors LLC. Virtual plant simulations pictured and referred to herein are
trademarks or registered trademarks of Quanser Inc. and/or its afliates. 2010 Quanser Inc. All rights reserved.
Quanser virtual plant simulations pictured and referred to herein may be subject to change without notice. ASIMO is a
registered trademark of Honda.
Evaluation copies are provided to qualied academics and professionals for review purposes only, for use in their
courses during the next academic year. These copies are licensed and may not be sold or transferred to a third party.
Upon completion of the review period, please return the evaluation copy to Wiley. Return instructions and a free of
charge return shipping label are available at www.wiley.com/go/returnlabel. Outside of the United States, please contact
your local representative.
Library of Congress Cataloging-in-Publication Data
Nise, Norman S.
Control systems engineering / Norman S. Nise, California State Polytechnic University, Pomona. Seventh edition.
1 online resource.
Includes bibliographical references and index.
Description based on print version record and CIP data provided by publisher; resource not viewed.
ISBN 978-1-118-80082-9 (pdf) ISBN 978-1-118-17051-9 (cloth : alk. paper)
1. Automatic controlTextbooks. 2. Systems engineeringTextbooks. I. Title.
TJ213
629.8dc23
2014037468
Printed in the United States of America
10 9 8 7 6 5 4 3 2 1