13.07.2015 Views

Mathematical Methods for Physics and Engineering - Matematica.NET

Mathematical Methods for Physics and Engineering - Matematica.NET

Mathematical Methods for Physics and Engineering - Matematica.NET

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

8.4 BASIC MATRIX ALGEBRANow, since x is arbitrary, we can immediately deduce the way in which matricesare added or multiplied, i.e.(A + B) ij = A ij + B ij , (8.26)(λA) ij = λA ij , (8.27)(AB) ij = ∑ A ik B kj .k(8.28)We note that a matrix element may, in general, be complex. We now discussmatrix addition <strong>and</strong> multiplication in more detail.8.4.1 Matrix addition <strong>and</strong> multiplication by a scalarFrom (8.26) we see that the sum of two matrices, S = A + B, is the matrix whoseelements are given byS ij = A ij + B ij<strong>for</strong> every pair of subscripts i, j, with i =1, 2,...,M <strong>and</strong> j =1, 2,...,N. Forexample, if A <strong>and</strong> B are 2 × 3 matrices then S = A + B is given by( ) ( )S11 S 12 S 13 A11 A=12 A 13+S 21 S 22 S 23 A 21 A 22 A 23=( )B11 B 12 B 13B 21 B 22 B 23( )A11 + B 11 A 12 + B 12 A 13 + B 13. (8.29)A 21 + B 21 A 22 + B 22 A 23 + B 23Clearly, <strong>for</strong> the sum of two matrices to have any meaning, the matrices must havethe same dimensions, i.e. both be M × N matrices.From definition (8.29) it follows that A + B = B + A <strong>and</strong> that the sum of anumber of matrices can be written unambiguously without bracketting, i.e. matrixaddition is commutative <strong>and</strong> associative.The difference of two matrices is defined by direct analogy with addition. Thematrix D = A − B has elementsD ij = A ij − B ij , <strong>for</strong> i =1, 2,...,M, j =1, 2,...,N. (8.30)From (8.27) the product of a matrix A with a scalar λ is the matrix withelements λA ij , <strong>for</strong> example( ) ( )A11 Aλ12 A 13 λA11 λA=12 λA 13. (8.31)A 21 A 22 A 23 λA 21 λA 22 λA 23Multiplication by a scalar is distributive <strong>and</strong> associative.251

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!