Matrix
You're on the right track, but let's refine your definition for better clarity and accuracy.
Corrected Definition:
A matrix is a rectangular array of numbers, arranged in rows and columns. Each row or column can be considered a vector in some cases. Matrices are widely used in mathematics, physics, computer science, and machine learning to represent and manipulate large amounts of data efficiently.
Matrix Representation:
An m \times n (read as "m by n") matrix has m rows and n columns: $$ A = \begin{bmatrix} a_{11} & a_{12} & \dots & a_{1n} \ a_{21} & a_{22} & \dots & a_{2n} \ \vdots & \vdots & \ddots & \vdots \ a_{m1} & a_{m2} & \dots & a_{mn} \end{bmatrix} $$ Each column can be treated as a vector: $$ A = \begin{bmatrix} v_1 & v_2 & \dots & v_n \end{bmatrix} $$ where v_i represents a column vector.
Basic Matrix Operations:
- Addition & Subtraction: Possible when matrices have the same dimensions.
- Multiplication :
- Scalar multiplication (each element is multiplied by a number).
- Matrix multiplication (dot product of rows and columns).
- Transpose: Flipping rows and columns.
properties of Matrix
Here’s a detailed explanation of each property:
2. Distributivity of Matrix Multiplication
Understanding the Equations
This property states that matrix multiplication distributes over matrix addition.
-
Left Distributive Property (2.19a):
When you add two matrices and then multiply by another matrix, you get the same result as if you had multiplied each matrix separately and then added the results. -
Right Distributive Property (2.19b):
When a matrix is multiplied by the sum of two matrices, it is the same as multiplying it by each separately and adding them.
Example
Let: $$ A = \begin{bmatrix} 1 & 2 \ 3 & 4 \end{bmatrix}, \quad B = \begin{bmatrix} 5 & 6 \ 7 & 8 \end{bmatrix}, \quad C = \begin{bmatrix} 9 & 10 \ 11 & 12 \end{bmatrix} $$
Compute (A + B)C: 1. Add A and B: $$ A + B = \begin{bmatrix} 1+5 & 2+6 \ 3+7 & 4+8 \end{bmatrix} = \begin{bmatrix} 6 & 8 \ 10 & 12 \end{bmatrix} $$
- Multiply by C: $$ (A + B)C = \begin{bmatrix} 6(9) + 8(11) & 6(10) + 8(12) \ 10(9) + 12(11) & 10(10) + 12(12) \end{bmatrix} = \begin{bmatrix} 150 & 168 \ 222 & 248 \end{bmatrix} $$
Now, compute AC + BC separately: - Compute AC and BC (using the same multiplication rules). - Add the results.
The result will match (A + B)C, proving distributivity.
3. Multiplication with the Identity Matrix
Understanding the Equation
- I_m is the identity matrix of size m \times m.
- I_n is the identity matrix of size n \times n.
- When you multiply any matrix A with the identity matrix, it remains unchanged.
However, I_m \neq I_n if m \neq n because their sizes differ.
Example
Let: $$ A = \begin{bmatrix} 2 & 3 \ 4 & 5 \end{bmatrix}, \quad I_2 = \begin{bmatrix} 1 & 0 \ 0 & 1 \end{bmatrix} $$
Compute I_2 A:
The identity matrix behaves like 1 in number multiplication.
Summary
✔ Associativity: Matrix multiplication is associative.
✔ Distributivity: Matrix multiplication distributes over addition.
✔ Identity Matrix: Multiplying a matrix by an identity matrix leaves it unchanged.
Tags: #math #statistics