0% found this document useful (0 votes)
3 views5 pages

Matrix Algebra Basics for Financial Engineering

linera alegriba

Uploaded by

Pavani Kavindhya
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views5 pages

Matrix Algebra Basics for Financial Engineering

linera alegriba

Uploaded by

Pavani Kavindhya
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

University of Kelaniya

Bachelor of Business Honours in Financial Engineering


BBFE 21513 Linear Algebra
Lecture Note 02
Matrix Algebra
We have been using upper case letters to denote matrices. We use lower case letters
with an arrow overtop to denote row and column vectors.
An example of a row vector is

and an example of a column vector is

Before we learn how to multiply matrices in general, we will learn what it means
to multiply row vector by a column vector.

Multiplying a row vector by a column vector


Let be an row vector with entries and let be
an column vector with entries . The product of and
denoted by or is

EXAMPLE 1: Let

1
Do the remaining as an exercise.
Definition: Matrix Multiplication

This definition means that the entry in the ith row and the jth column of the product
is obtained by multiplying the entries in the ith row of A by the corresponding entries in
the jth column of and then adding the results.

To define the product of two matrices, the number of columns of the first matrix must

equal the number of rows of the second matrix. That is,

EXAMPLE 2

2
Solution:

Properties of Matrix Multiplication

Let A, B and C be matrices with dimensions so that the following


operations make sense, and let k be a scalar. The following equalities hold:
1. A(BC) = (AB)C (Associative Property)
2. A(B + C) = AB + AB and
(B + C)A = BA + CA (Distributive Property)
3. k(AB) = (kA)B
4. AI=IA=A

3
Remark: (1) We define If n is a positive integer, we define

(2) Matrix multiplication is not commutative; that is,


(3) In general, just because AX = BX, we cannot conclude that A = B.
(4)

EXAMPLE

Solution:

4
Properties of Matrix Transpose

EXAMPLE

Solution

Common questions

Powered by AI

The identity matrix I holds a special significance in matrix multiplication as it acts like the number 1 in real number multiplication. When any matrix A is multiplied by the identity matrix I, the result is the matrix A itself, such that AI = IA = A. The identity matrix is defined such that it has 1s on its diagonal and 0s elsewhere, thus preserving the non-zero elements of matrix A while not altering any other aspect of its structure or values. This property reinforces its role as a fundamental element in linear transformations and matrix equations .

Matrix addition is only defined for matrices of the same dimensions, meaning both matrices must have the same number of rows and columns. This dimensional constraint ensures a one-to-one correspondence between the entries of the matrices being added, allowing each element in one matrix to be directly added to the corresponding element in the other. This requirement influences operations by restricting addition to conformable matrices and emphasizing the need for careful dimensional consistency when performing linear algebraic manipulations .

Matrix power refers to the operation of multiplying a square matrix by itself a positive integer number of times, denoted as A^n. For a matrix A, its n-th power, A^n, is calculated as multiplying A by itself (n-1) times. This concept is significant in linear algebra because it simplifies the expression of repeated applications of matrices, such as in continuous transformations or evolution of systems in fields like physics and engineering. Matrix powers also play a critical role in solving differential equations and modeling dynamic systems .

The equation AX = BX does not guarantee that A = B because there are instances where the multiplication of matrices by the same matrix X results in equal products without A and B being identical. This is explained by the non-injective nature of matrix multiplication: a noninvertible matrix X can map different matrices onto the same result. This principle underlines the fact that additional information about the matrices or specific conditions (such as full rank of X) might be needed to equate A and B. This highlights the inherent complexity in matrix operations where equal outputs do not necessarily imply equal inputs .

The distributive property of matrix multiplication states that A(B + C) = AB + AC and (B + C)A = BA + CA. This property facilitates operations on matrices by allowing the distribution of a matrix multiplication over addition, much like numbers. It enables simplification of complex expressions involving multiple matrices by expanding the multiplication across summed matrices, thus dividing the workload into simpler, manageable components. This is useful for both numerical computations and symbolic manipulations in linear algebra .

Consider matrices A, B, and C where a straightforward calculation involves A(B + C). The distributive property allows simplification: instead of computing B + C first and then multiplying by A, one can simplify by computing AB and AC separately, and then summing the results: AB + AC. For example, if A = [[1, 0], [0, 1]], B = [[2, 3], [4, 5]], and C = [[5, 6], [7, 8]], instead of adding B and C first, one can directly compute AB = [[2, 3], [4, 5]] and AC = [[5, 6], [7, 8]], yielding AB + AC = [[7, 9], [11, 13]].

Matrix multiplication is not commutative, meaning that the order in which matrices are multiplied affects the result. Specifically, for matrices A and B, generally AB ≠ BA. This occurs because the structure and dimensions of matrices imply that changing their order can alter the inner products used to calculate the resulting entries. The implications of non-commutativity are significant: it means that swapping the order of two matrices can lead to entirely different products or even result in undefined operations if the matrices aren't conformably dimensioned for the reverse order .

For two matrices to be conformable for multiplication, the number of columns in the first matrix must equal the number of rows in the second matrix. This requirement ensures that each element in a resulting matrix is a sum of products between corresponding entries. Specifically, if matrix A is of size m×n and matrix B is of size n×p, then their product AB will be an m×p matrix. The element in the ith row and jth column of AB is calculated by taking the dot product of the ith row of A and the jth column of B .

The transpose of a matrix is an operation where the rows of the matrix become columns and vice versa. In matrix multiplication, the transposition property states that (AB)^T = B^T A^T. This means that the transpose of a product of two matrices is equivalent to the product of their transposes in reverse order. Practically, this property is essential in fields such as computer graphics and data science, where transformations often require efficient manipulation of matrix products to change dimensions or orientations easily and accurately .

The associative property of matrix multiplication states that for matrices A, B, and C, the equation (AB)C = A(BC) holds true. This means that when multiplying multiple matrices, the grouping of matrices does not change the result, as long as the order of multiplication is maintained. However, for these operations to be valid, the dimensions of the matrices must allow for multiplication. Specifically, if A is an m×n matrix, B must be an n×p matrix, and C must be a p×q matrix, so that both A(BC) and (AB)C yield an m×q matrix .

You might also like