📚 Matrix Algebra | 矩阵代数
Matrix algebra is a powerful branch of mathematics that provides a compact and efficient way to handle systems of linear equations, transformations, and much more. In the IB Mathematics curriculum, matrices appear in topics such as solving simultaneous equations, representing geometric transformations, and modelling real-world situations. This article revisits the core concepts of matrix algebra, including matrix operations, determinants, inverses, and their applications.
矩阵代数是数学中一个强大的分支,它为处理线性方程组、变换等问题提供了一种简洁高效的方式。在 IB 数学课程中,矩阵出现在求解联立方程组、表示几何变换以及建立现实世界模型等主题中。本文将回顾矩阵代数的核心概念,包括矩阵运算、行列式、逆矩阵及其应用。
1. What is a Matrix? | 什么是矩阵?
A matrix is a rectangular array of numbers, symbols, or expressions arranged in rows and columns. The size or order of a matrix is given as m × n, where m is the number of rows and n is the number of columns. Each individual entry can be referred to by its position, for example aij for the element in the i-th row and j-th column. Below is an example of a 2 × 3 matrix:
矩阵是一个按行和列排列的数字、符号或表达式的矩形阵列。矩阵的规模或阶数表示为 m × n,其中 m 是行数,n 是列数。每个单独的项可以通过其位置来引用,例如 aij 表示第 i 行第 j 列的元素。下面是一个 2 × 3 矩阵的例子:
| 4 | -1 | 0 |
| 2 | 5 | 3 |
Matrices are usually denoted by capital letters, such as A, B, or M. A matrix with the same number of rows and columns is called a square matrix; otherwise it is rectangular.
矩阵通常用大写字母表示,如 A、B 或 M。行数和列数相同的矩阵称为方阵;否则就是矩形矩阵。
2. Matrix Addition and Scalar Multiplication | 矩阵加法与数乘
y have the same dimensions. The sum is obtained by adding corresponding entries: if A = [aij] and B = [bij], then A + B = [aij + bij]. Scalar multiplication multiplies every entry of a matrix by a constant k: kA = [k aij]. These operations are straightforward and follow intuitive rules.
两个矩阵只有在维度相同时才能相加。求和是通过将对应元素相加得到的:如果 A = [aij] 且 B = [bij],则 A + B = [aij + bij]。数乘是将矩阵中的每个元素乘以常数 k:kA = [k aij]。这些运算直观且遵循简单的规则。
nsider A = [1 3; 0 -2] and B = [4 -1; 2 5]. Then A + B = [5 2; 2 3], and 2A = [2 6; 0 -4].
例如,设 A = [1 3; 0 -2] 和 B = [4 -1; 2 5],则 A + B = [5 2; 2 3],且 2A = [2 6; 0 -4]。
3. Matrix Multiplication | 矩阵乘法
Matrix multiplication is defined when the number of columns in the first matrix equals the number of rows in the second. If A is m × n and B is n × p, their product AB is an m × p matrix. The entry in row i, column j of AB is the dot product of the i-th row of A and the j-th column of B:
矩阵乘法在第一个矩阵的列数等于第二个矩阵的行数时有定义。如果 A 是 m × n,B 是 n × p,那么它们的乘积 AB 是一个 m × p 矩阵。AB 中第 i 行第 j 列的元素是 A 的第 i 行与 B 的第 j 列的点积:
(AB)ij = ai1b1j + ai2b2j + ... + ainbnj
It is crucial to remember that matrix multiplication is not commutative: in general, AB ≠ BA. Even the dimensions may not allow multiplication in the reverse order. However, multiplication is associative and distributive over addition.
必须牢记,矩阵乘法不满足交换律:一般来说,AB ≠ BA。甚至反向相乘可能因为维度不匹配而无法进行。不过,乘法满足结合律并对加法满足分配律。
As an example, let A = [1 2; 3 4] and B = [0 5; 6 7]. Then AB = [1×0+2×6 1×5+2×7; 3×0+4×6 3×5+4×7] = [12 19; 24 43].
例如,设 A = [1 2; 3 4] 且 B = [0 5; 6 7],则 0+2×6 1×5+2×7; 3×0+4×6 3×5+4×7] = [12 19; 24 43]。
4. Properties of Matrix Operations | 矩阵运算的性质
Matrix algebra exhibits many familiar properties, though some differ from ordinary number algebra. The key properties include:
矩阵代数具有许多熟悉的性质,但有些与普通数的代数不同。关键性质包括:
- Addition is commutative: A + B = B + A
- Addition is associative: (A + B) + C = A + (B + C)
- Multiplication is associative: (AB)C = A(BC)
- Distributive laws: A(B + C) = AB + AC and (A + B)C = AC + BC
- Scalar multiplication compatibility: k(AB) = (kA)B = A(kB)
加法交换律:A + B = B + A。
加法结合律:(A + B) + C = A + (B + C)。
乘法结合律:(AB)C = A(BC)。
分配律:A(B + C) = AB + AC 以及 (A + B)C = AC + BC。
数乘兼容性:k(AB) = (kA)B = A(kB)。
Note that matrix multiplication is not commutative, which means the order of factors matters. This is one of the most important differences to keep in mind when solving problems.
请注意,矩阵乘法不满足交换律,这意味着因子的顺序很重要。这是解题时必须牢记的最重要区别之一。
5. The Identity Matrix and Zero Matrix | 单位矩阵与零矩阵
The identity matrix, denoted I or In for an n × n matrix, has 1s on the main diagonal and 0s elsewhere. It acts like the number 1 in matrix multiplication: for any matrix A of appropriate size, AI = A and IA = A.
单位矩阵,记作 I 或 In(对于 n × n 矩阵),其主对角线上为 1,其他位置为 0。它在矩阵乘法中的作用类似于数字 1:对于任何合适大小的矩阵 A,有 AI = A 以及 IA = A。
The zero matrix . Multiplying a matrix by a zero matrix (with compatible dimensions) yields a zero matrix.
零矩阵,记作 O 或 0,全部由零组成。加上零矩阵不会改变矩阵:A + O = A。将一个矩阵乘以一个零矩阵(维度兼容)将得到零矩阵。
0 0]. These special matrices are fundamental for defining inverses and solving equations.
对于 2 × 2 的情形,I = [1 0; 0 1],O = [0 0; 0 0]。这些特殊矩阵对于定义逆矩阵和解方程至关重要。
6. Determinant of a Matrix | 矩阵的行列式
information about the matrix. For a 2 × 2 matrix A = [a b; c d], the determinant is:
行列式是一个可以从方阵计算得到的标量值,它包含了关于矩阵的重要信息。对于一个 2 × 2 矩阵 A = [a b; c d],行列式为:
det(A) = |A| = ad − bc
h i], the determinant can be found using the rule of Sarrus or cofactor expansion. Using the first row:
对于 3 × 3 矩阵 A = [a b c; d e f; g h i],行列式可以通过萨鲁斯法则或余子式展开求得。使用第一行展开:
|A| = a(ei − fh) − b(di − fg) + c(dh − eg)
determinant is non-zero. Other useful properties include det(AB) = det(A)det(B) and det(A-1) = 1/det(A).
一个关键性质是,当且仅当方阵的行列式不为零时,该矩阵可逆(非奇异)。其他有用的性质包括 det(AB) = det(A)det(B) 和 det(A-1) = 1/det(A)。
Determinants also have geometric meaning: the absolute value of a 2 × 2 determinant gives the area of the parallelogram spanned by its column (or row) vectors.
行列式还具有几何意义:2 × 2 行列式的绝对值给出了由其列(或行)向量张成的平行四边形的面积。
7. Inverse of a 2 × 2 Matrix | 2×2 矩阵的逆
The inverse of a square matrix A, denoted A-1, satisfies AA-1 = A-1A = I mes; 2 matrix A = [a b; c d] with det(A) ≠ 0, the inverse is given by a simple formula:
方阵 A 的逆矩阵,记作 A-1,满足 AA-1 = A-1A = I。对于 2 × 2 矩阵 A = [a b; c d],如果 det(A) ≠ 0,逆矩阵由一个简单公式给出:
A-1 = (1 / (ad − bc)) × [ d −b; −c a ]
nd divide by the determinant. If det(A) = 0, the matrix is singular and no inverse exists.
这意味着你将元素 a 和 d 交换,改变 b 和 c 的符号,并除以行列式。如果 det(A) = 0,矩阵是奇异的,不存在逆矩阵。
xample, if A = [2 1; 5 3], then det(A) = 2×3 − 1×5 = 1. The inverse is A-1 = 1/1 × [3 −1; −5 2] = [3 −1; −5 2].
例如,若 A = [2 1; 5 3],则 det(A) = 2×3 − 1×5 = 1。逆矩阵为 A-1 = 1/1 × [3 −1; −5 2] = [3 −1; −5 2]。
8. Inverse of a 3 × 3 and Larger Matrices | 3×3 及更大矩阵的逆
For 3 × 3 and larger matrices, finding the inverse becomes more involved. A general method uses the adjugate (adjoint) matrix: A-1 = (1/det(A)) adj(A), where adj(A) is the transpose of the cofactor matrix. The cofactor Cij is (−1)i+j times the determinant of the submatrix obtained by deleting row i and column j.
对于 3 × 3 及更大的矩阵,求逆变得更复杂。一种一般方法是使用伴随矩阵:A-1 = (1/det(A)) adj(A),其中 adj(A) 是余子式矩阵的转置。余子式 Cij 等于 (−1)i+j 乘以删除第 i 行和第 j 列所得到的子矩阵的行列式。
In the IB programme, technology (such as a GDC) is often used to compute inverses of 3 × 3 matrices directly. Another theoretical approach is Gauss-Jordan elimination, where the augmented matrix [A | I] is row-reduced to [I | A-1].
在 IB 课程中,通常使用技术(如图形计算器)直接计算 3 × 3 矩阵的逆。另一种理论方法是高斯-若尔当消元法,通过将增广矩阵 [A | I] 行化简为 [I | A-1] 来求得逆矩阵。
Regardless of the method, the condition det(A) ≠ 0 is always necessary for a unique inverse to exist.
无论采用哪种方法,唯一逆矩阵存在的必要条件始终是 det(A) ≠ 0。
9. Solving Systems of Linear Equations using Matrix Inverses | 用逆矩阵解线性方程组
One of the most practical applications of matrix algebra is solving systems of linear equations. A system can be written in matrix form as AX = B, where A is the coefficient matrix, X is the column matrix of variables, and B is the constant matrix. If A is invertible, the solution is simply:
矩阵代数最实用的应用之一是解线性方程组。一个方程组可以写成矩阵形式 AX = B,其中 A 是系数矩阵,X 是变量列矩阵,B 是常数列矩阵。如果 A 可逆,其解就是:
X = A-1B
r example, consider the system: 2x + y = 5, x − 3y = −1. In matrix form, [2 1;
Published by TutorHao | IB Mathematics Revision Series | aleveler.com
更多咨询请联系16621398022(同微信)

或截图后用「扫一扫 → 相册」选择本图