Professional Documents
Culture Documents
MATRICES
Mathematics Applied to Marketing
Matrices
■ Example:
1 4 −2 0 1 + (−2) 4+0
−1 0 + 3 3 = −1 + 3 0+3
0 2 −1 −5 0 + (−1) 2 + (−5)
−1 4
= 2 3
−1 −3
■ Example:
−2 0
1 −1 0
𝐴= ,𝐵 = 3 3 thus AB will
4 0 2 :HI
−1 −5 IH:
be a square matrix of order 2.
■ Example:
Step 1: We multiply the first row in A by the first
column in B
−2 0
1 −1 0
𝐴= ,𝐵 = 3 3
4 0 2 :HI
−1 −5 IH:
(𝐴𝐵)99 = 1 > −2 + −1 > 3 + 0 > −1 = −2 − 3
= −5
−5 ↓
𝐴𝐵 =
↓ ↓
■ Example:
Step 2: We multiply the first row in A by the second
column in B
−2 0
1 −1 0
𝐴= ,𝐵 = 3 3
4 0 2 :HI
−1 −5 IH:
(𝐴𝐵)9: = 1 > 0 + −1 > 3 + 0 > −5 = −3
−5 −3
𝐴𝐵 =
↓ ↓
■ Example:
Steps 3 and 4: We multiply the second row in A by the
columns in B to obtain:
−5 −3
𝐴𝐵 =
−10 −10
o If A is a matrix with a row where every entry is zero, or a column where every entry is zero, then det
A=0.
o Let B be the square m atrix obt ained from A by interchanging the location of two rows, or interchanging
the location of two columns. Then det(B)=−det(A).
o Suppose that A is a square matrix with two equal rows, or two equal columns. Then det(A)=0.
o Suppose that A is a square matrix. Let B be the square matrix obtained from A by multiplying a single
row by the scalar α, or by multiplying a single column by the scalar α. Then det(B)=αdet(A).
o Let A and B be square matrices of order nxn. Then, det(A>B)=det(A) >det(B)=det(B) >det(A)=det(B>A).
o Let B be a matrix in which a row is obtained by adding its elements to the entries of another row
multiplied by a real number (i.e. the row is a linear combination). Then det(B)=det(A).
o If A is a matrix with a row where every entry is zero, or a column where every entry is zero, then det
A=0.
o Let B be the square m atrix obt ained from A by interchanging the location of two rows, or interchanging
the location of two columns. Then det(B)=−det(A).
o Suppose that A is a square matrix with two equal rows, or two equal columns. Then det(A)=0.
o Suppose that A is a square matrix. Let B be the square matrix obtained from A by multiplying a single
row by the scalar α, or by multiplying a single column by the scalar α. Then det(B)=αdet(A).
o Let A and B be square matrices of order nxn. Then, det(A>B)=det(A) >det(B)=det(B) >det(A)=det(B>A).
o Let B be a matrix in which a row is obtained by adding its elements to the entries of another row
multiplied by a real number (i.e. the row is a linear combination). Then det(B)=det(A).
25
Systems of linear equations
■ We can write a system of linear equations as a
matrix equation Ax=b to be solved as we will see
later. If A is a mxn matrix, named coefficient matrix,
x is a column vector with n entries, and b is a
column vector with m entries. We will see an
example:
2𝑥 − 𝑦 + 2𝑧 = 1
■ Example: [3𝑥 + 2𝑦 + 3𝑧 = 0 →
5𝑥 − 2𝑦 = 1
2 −1 2 𝑥 1
𝐴 = 3 2 3 ,𝑥 = 𝑦 ,𝑏 = 0
5 −2 0 𝑧 1
2 −1 21
■ The augmented matrix is 𝐴 𝑏 = 3 2 30
5 −2 01 26
Systems of linear equations
Solving Systems of Linear Equations
■ We will discuss the number of solutions of a system
of linear equations using the Rouché–Capelli
theorem (Rouché-Frobenius theorem in Spain). Let
n be the number of variables in the system, and
consider the matrix equation.
■ If 𝑟𝑎𝑛𝑘 𝐴 ≠ 𝑟𝑎𝑛𝑘 𝐴 𝑏 the system is inconsistent
■ If 𝑟𝑎𝑛𝑘 𝐴 = 𝑟𝑎𝑛𝑘 𝐴 𝑏 = 𝑛 the system is
determined (finite number of solutions)
■ If 𝑟𝑎𝑛𝑘 𝐴 = 𝑟𝑎𝑛𝑘 𝐴 𝑏 ≠ 𝑛 the system is
undetermined (infinite solutions)
27
Systems of linear equations
Cramer’s Rule
■ Suppose the system is the following one. We are going to use
the matrix format:
𝑎𝑥 + 𝑏𝑦 + 𝑐𝑧 = 𝑙 𝑎 𝑏 𝑐 𝑥 𝑙
`𝑑𝑥 + 𝑒𝑦 + 𝑓𝑧 = 𝑚 → 𝑑 𝑒 𝑓 𝑦 = 𝑚
𝑔𝑥 + ℎ𝑦 + 𝑘𝑧 = 𝑛 𝑔 ℎ 𝑘 𝑧 𝑛