本文主要是介绍Chapter 1 (Linear Equations in Linear Algebra): Solution sets of linear systems,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
本文为《Linear algebra and its applications》的读书笔记
目录
- Homogeneous Linear Systems
- Parametric Vector Form
- Solutions of Nonhomogeneous Systems
Homogeneous Linear Systems
齐次线性方程组
- A system of linear equations is said to be homogeneous if it can be written in the form A x = 0 A\boldsymbol x = \boldsymbol0 Ax=0, where A A A is an m × n m \times n m×n matrix and 0 \boldsymbol0 0 is the zero vector in R m \mathbb{R^m} Rm.
- Such a system A x = 0 A\boldsymbol x = \boldsymbol0 Ax=0 always has at least one solution, namely, x = 0 \boldsymbol x = \boldsymbol0 x=0 (the zero vector in R n \mathbb{R^n} Rn. This zero solution is usually called the trivial solution (平凡解). For a given equation A x = 0 A\boldsymbol x = \boldsymbol0 Ax=0; the important question is whether there exists a nontrivial solution (非平凡解), that is, a nonzero vector x \boldsymbol x x that satisfies A x = 0 A\boldsymbol x = \boldsymbol0 Ax=0
- The Existence and Uniqueness Theorem in Section 1.2 leads immediately to the following fact:
- The homogeneous equation A x = 0 A\boldsymbol x = \boldsymbol0 Ax=0 has a nontrivial solution if and only if the equation has at least one free variable.
区别:
当 A A A 的每个列都是主元列时, A x = 0 A\boldsymbol x = \boldsymbol0 Ax=0 或 A x = b A\boldsymbol x = \boldsymbol b Ax=b 有唯一解 (假设 A x = b A\boldsymbol x = \boldsymbol b Ax=b 有解)
当 A A A 的每行都有主元时, A x = b A\boldsymbol x = \boldsymbol b Ax=b 对任意 b \boldsymbol b b 均有解
补充 ( A A A 为 m × n m\times n m×n 的矩阵):
- A x = b A\boldsymbol x = \boldsymbol b Ax=b 有解 ⇔ \Leftrightarrow ⇔ r a n k ( [ A b ] ) = r a n k ( A ) rank([A\ \ \boldsymbol b])=rank(A) rank([A b])=rank(A)
- A x = b A\boldsymbol x = \boldsymbol b Ax=b 有唯一解 ⇔ \Leftrightarrow ⇔ r a n k ( [ A b ] ) = r a n k ( A ) = n rank([A\ \ \boldsymbol b])=rank(A)=n rank([A b])=rank(A)=n
- A x = 0 A\boldsymbol x = \boldsymbol 0 Ax=0 有非零解 (只有零解) ⇔ \Leftrightarrow ⇔ r a n k ( A ) < n rank(A)<n rank(A)<n ( r a n k ( A ) = n rank(A)=n rank(A)=n)
EXAMPLE 1
Determine if the following homogeneous system has a nontrivial solution. Then describe the solution set.
SOLUTION
- As a vector, the general solution of A x = 0 A\boldsymbol x = \boldsymbol0 Ax=0 has the form
- This shows that every solution of A x = 0 A\boldsymbol x = \boldsymbol0 Ax=0 in this case is a scalar multiple of v \boldsymbol v v. The trivial solution is obtained by choosing x 3 = 0 x_3 = 0 x3=0: Geometrically, the solution set is a line through 0 \boldsymbol 0 0 in R 3 \mathbb{R^3} R3.
EXAMPLE 2
A single linear equation can be treated as a very simple system of equations. Describe all solutions of the homogeneous “system”
10 x 1 − 3 x 2 − 2 x 3 = 0 ( 1 ) 10x_1-3x_2-2x_3=0\ \ \ \ \ \ \ (1) 10x1−3x2−2x3=0 (1)
SOLUTION
- The general solution is x 1 = . 3 x 2 + . 2 x 3 x_1 = .3x_2 + .2x_3 x1=.3x2+.2x3, with x 2 x_2 x2 and x 3 x_3 x3 free. As a vector, the general solution is
- This calculation shows that every solution is a linear combination of the vectors u \boldsymbol u u and v \boldsymbol v v. That is, the solution set is Span{ u , v \boldsymbol u,\boldsymbol v u,v}. Since neither u \boldsymbol u u nor v \boldsymbol v v is a scalar multiple of the other, the solution set is a plane through the origin. See Figure 2.
- Examples 1 and 2 illustrate the fact that the solution set of a homogeneous equation A x = 0 A\boldsymbol x = \boldsymbol0 Ax=0 can always be expressed explicitly as Span{ v 1 , . . . , v p \boldsymbol v_1,..., \boldsymbol v_p v1,...,vp} for suitable vectors v 1 , . . . , v p \boldsymbol v_1,..., \boldsymbol v_p v1,...,vp.
- If the only solution is the zero vector, then the solution set is Span{ 0 \boldsymbol 0 0}.
- If the equation A x = 0 A\boldsymbol x = \boldsymbol0 Ax=0 has only one free variable, the solution set is a line through the origin, as in Figure 1.
- A plane through the origin, as in Figure 2, provides a good mental image for the solution set of A x = 0 A\boldsymbol x = \boldsymbol0 Ax=0 when there are two or more free variables.
Parametric Vector Form
参数向量形式
- The original equation (1) for the plane in Example 2 is an i m p l i c i t implicit implicit description of the plane. Solving this equation amounts to finding an e x p l i c i t explicit explicit description of the plane as the set spanned by u \boldsymbol u u and v \boldsymbol v v. Equation (2) is called a parametric vector equation of the plane. Sometimes such an equation is written as
x = s u + t v ( s , t i n R ) \boldsymbol x = s\boldsymbol u+t\boldsymbol v\ \ \ (s,t\ in\ \mathbb{R}) x=su+tv (s,t in R)- In Example 1, the equation x = t v \boldsymbol x = t \boldsymbol v x=tv (with t t t in R \mathbb R R), is a parametric vector equation of a line.
- Whenever a solution set is described explicitly with vectors as in Examples 1 and 2, we say that the solution is in parametric vector form.
通过将解写为参数向量形式,可以清楚的描述出解的几何分布情况 (直线、平面、点)
Solutions of Nonhomogeneous Systems
- When a nonhomogeneous linear system has many solutions, the general solution can be written in parametric vector form as one vector plus an arbitrary linear combination of vectors that satisfy the corresponding homogeneous system.
EXAMPLE 3
Describe all solutions of A x = b A\boldsymbol x = \boldsymbol b Ax=b, where
SOLUTION
- Here A A A is the matrix of coefficients from Example 1.
- The equation
x = p + t v ( t i n R ) ( 3 ) \boldsymbol x= \boldsymbol p+t \boldsymbol v\ \ \ \ (t\ in\ \mathbb{R})\ \ \ \ \ \ (3) x=p+tv (t in R) (3)describes the solution set of A x = b A\boldsymbol x = \boldsymbol b Ax=b in parametric vector form. Recall from Example 1 that the solution set of A x = 0 A\boldsymbol x = \boldsymbol 0 Ax=0 has the parametric vector equation
x = t v ( t i n R ) ( 4 ) \boldsymbol x= t \boldsymbol v\ \ \ \ (t\ in\ \mathbb{R})\ \ \ \ \ \ (4) x=tv (t in R) (4)[with the same v \boldsymbol v v]. Thus the solutions of A x = b A\boldsymbol x = \boldsymbol b Ax=b are obtained by adding the vector p \boldsymbol p p to the solutions of A x = 0 A\boldsymbol x = \boldsymbol 0 Ax=0. The vector p \boldsymbol p p itself is just one particular solution of A x = b A\boldsymbol x = \boldsymbol b Ax=b [corresponding to t = 0 t = 0 t=0 in (3)].
- To describe the solution set of A x = b A\boldsymbol x = \boldsymbol b Ax=b geometrically, we can think of vector addition as a t r a n s l a t i o n ( 平 移 ) translation (平移) translation(平移). Given v \boldsymbol v v and p \boldsymbol p p in R 2 \mathbb{R^2} R2 or R 3 \mathbb{R^3} R3, the effect of adding p \boldsymbol p p to v \boldsymbol v v is to move v \boldsymbol v v in a direction parallel to the line through p \boldsymbol p p and 0 \boldsymbol 0 0. We say that v \boldsymbol v v is translated by p \boldsymbol p p to v \boldsymbol v v + + + p \boldsymbol p p. See Figure 3.
- If each point on a line L L L in R 2 \mathbb{R^2} R2 or R 3 \mathbb{R^3} R3 is t r a n s l a t e d translated translated by a vector p \boldsymbol p p, the result is a line parallel to L L L. See Figure 4.
- Suppose L L L is the line through 0 \boldsymbol 0 0 and v \boldsymbol v v, described by equation (4). Adding p \boldsymbol p p to each point on L L L produces the translated line described by equation (3). Note that p \boldsymbol p p is on the line in equation (3). We call (3) the equation of the line through p \boldsymbol p p parallel to v \boldsymbol v v (通过 p \boldsymbol p p 平行于 v \boldsymbol v v 的直线方程). Thus the solution set of A x = b A\boldsymbol x = \boldsymbol b Ax=b is a line through p \boldsymbol p p parallel to the solution set of A x = 0 A\boldsymbol x = \boldsymbol 0 Ax=0. Figure 5 illustrates this case.
- The relation between the solution sets of A x = b A\boldsymbol x = \boldsymbol b Ax=b and A x = 0 A\boldsymbol x = \boldsymbol 0 Ax=0 shown in Figure 5 generalizes to any consistent equation A x = b A\boldsymbol x = \boldsymbol b Ax=b, although the solution set will be larger than a line when there are several free variables. The following theorem gives the precise statement.
W a r n i n g Warning Warning: Theorem 6 and Figure 6 apply only to an equation A x = b A\boldsymbol x = \boldsymbol b Ax=b that has at least one nonzero solution p \boldsymbol p p. When A x = b A\boldsymbol x = \boldsymbol b Ax=b has no solution, the solution set is empty.
PROOF
- Suppose p \boldsymbol p p satisfies A x = b A\boldsymbol x = \boldsymbol b Ax=b. Then A p = b A\boldsymbol p = \boldsymbol b Ap=b. Theorem 6 says that the solution set of A x = b A\boldsymbol x = \boldsymbol b Ax=b equals the set S = { w : w = p + v h f o r s o m e v h s u c h t h a t A v h = 0 } S = \{\boldsymbol w : \boldsymbol w = \boldsymbol p +\boldsymbol v_h\ for\ some\ \boldsymbol v_h\ such\ that\ A\boldsymbol v_h = \boldsymbol 0\} S={w:w=p+vh for some vh such that Avh=0}. There are two things to prove: (a) every vector in S S S satisfies A x = b A\boldsymbol x = \boldsymbol b Ax=b, (b) every vector that satisfies A x = b A\boldsymbol x = \boldsymbol b Ax=b is in S S S.
- Theorem 6 says that if A x = b A\boldsymbol x = \boldsymbol b Ax=b has a solution, then the solution set is obtained by translating the solution set of A x = 0 A\boldsymbol x = \boldsymbol 0 Ax=0, using any particular solution p \boldsymbol p p of A x = b A\boldsymbol x = \boldsymbol b Ax=b for the translation. Figure 6 illustrates the case in which there are two free variables.
- Theorem 6 also indicates that the number of free variables in A x = b A\boldsymbol x = \boldsymbol b Ax=b depends only on A A A, not on b \boldsymbol b b.
C h e c k p o i n t Checkpoint Checkpoint:
Let A A A be a 2 × 2 2 \times 2 2×2 matrix. Answer True or False: If the solution set of A x = 0 A\boldsymbol x = \boldsymbol 0 Ax=0 is a line through the origin in R 2 \mathbb R^2 R2 and if b ≠ 0 b \neq 0 b=0, then the solution set of A x = b A\boldsymbol x = \boldsymbol b Ax=b is a line not through the origin
SOLUTION
- False. The solution set could be empty. In this case, the solution set of A x = b A\boldsymbol x = \boldsymbol b Ax=b is not produced by translating the (nonempty) solution set of A x = 0 A\boldsymbol x = \boldsymbol 0 Ax=0. See the Warning after Theorem 6.
这篇关于Chapter 1 (Linear Equations in Linear Algebra): Solution sets of linear systems的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!