Skip to content

Commit fa7c944

Browse files
committed
docs: 修正部分 repo,添加 24-25 线代 I 历年卷答案
1 parent 7c53d98 commit fa7c944

File tree

4 files changed

+311
-2
lines changed

4 files changed

+311
-2
lines changed

讲义/LALU-answers.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ \chapter{线性代数I(H)期末历年卷试题集}
120120
% 线代I期末答案
121121
\chapter{线性代数I(H)期末历年卷答案}
122122
\input{./历年卷/2023-2024-1final-answer.tex}
123+
\input{./历年卷/2024-2025-1final-answer.tex}
123124

124125
% 线代II期中/练习
125126
\chapter{线性代数II(H)期中/小测历年卷试题集}

讲义/专题/3 有限维线性空间.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ \subsection{极大线性无关组的求法}
530530
已知 $\mathbf{R}^4$ 的一个子集 $S = \{a_1, a_2, a_3, a_4\}$, 其中
531531
\[
532532
a_1 = (1,1,0,1), \quad a_2 = (0,1,2,4), \quad
533-
a_3 = (2,1,-2,2), \quad a_4 = (0,1,1,1).
533+
a_3 = (2,1,-2,-2), \quad a_4 = (0,1,1,1).
534534
\]
535535
试求 $\spa(S)$ 的维数及其一组基$B$
536536
\end{example}

讲义/专题/8 相抵标准形.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ \section{相抵标准形}
391391
\sigma(\alpha_i)=0 & i=r+1,\ldots,n
392392
\end{cases}\]
393393
其中$e_i$表示第$i$个位置为1,其余位置全为0的列向量. 因此我们根据线性映射矩阵表示的定义得到
394-
\[\sigma(\alpha_1,\ldots,\alpha_r,\alpha_{r+1},\alpha_n)=(\sigma(\alpha_1),\ldots,\sigma(\alpha_r),\beta_{r+1},\ldots,\beta_m)\begin{pmatrix}
394+
\[\sigma(\alpha_1,\ldots,\alpha_r,\alpha_{r+1},\ldots,\alpha_n)=(\sigma(\alpha_1),\ldots,\sigma(\alpha_r),\beta_{r+1},\ldots,\beta_m)\begin{pmatrix}
395395
E_r & O \\ O & O
396396
\end{pmatrix}.\]
397397
根据\autoref{thm:换基公式},设$B_1$$B_1'$的过渡矩阵为$Q$$B_2'$$B_2$的过渡矩阵为$P$,则有$PAQ=U_r$,其中$P$$Q$因是过渡矩阵所以可逆,由此得证.
Lines changed: 308 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,308 @@
1+
\section{2024-2025学年线性代数I(H)期末答案}
2+
3+
\begin{enumerate}
4+
\item 增广矩阵为
5+
\begin{align*}
6+
\begin{pmatrix}[ccc|c]
7+
1 & a & 1 & 3 \\
8+
1 & 1 & 1 & 4 \\
9+
1 & 2a & 1 & 4
10+
\end{pmatrix} & \to
11+
\begin{pmatrix}[ccc|c]
12+
1 & a & 1 & 3 \\
13+
0 & 1 - a & 0 & 1 \\
14+
0 & a & 0 & 1
15+
\end{pmatrix}
16+
\end{align*}
17+
故有 \((1 - a)x_{2} = ax_{2} = 1 \implies a = \dfrac{1}{2}, x_{2} = 2, x_{1} + x_{3} = 2\).
18+
19+
即一般解为 \((x_{1}, x_{2}, x_{3})^\mathrm{T}=(0,2,2)^\mathrm{T}+k(1,0,-1)^\mathrm{T}\).
20+
21+
\item\(X=(x_1,x_2,x_3)^\mathrm{T}\)
22+
\begin{align*}
23+
X^\mathrm{T}AX &= 2x_{1}^{2}+x_{2}^{2}+3x_{3}^{2}+2tx_{1}x_{2}+4x_{1}x_{3} \\
24+
&= 2\left(x_{1}+\dfrac{t}{2}x_{2}+x_{3}\right)^{2}+\left(x_{3}-tx_{2}\right)^{2}+\left(1-\dfrac{3}{2}t^{2}\right)x_{2}^{2}
25+
\end{align*}
26+
因此:
27+
\begin{enumerate}
28+
\item \(A\)正定\(\iff 1-\dfrac{3}{2}t^{2}>0\),即\(\vert t\vert<\sqrt{\dfrac{2}{3}}\).
29+
\item \(A\)半正定\(\iff 1-\dfrac{3}{2}t^{2} \geq 0\),即\(\vert t\vert \leq \sqrt{\dfrac{2}{3}}\).
30+
\item \(X^\mathrm{T}AX\)的负惯性指数为\(1\),即\(\vert t\vert > \sqrt{\dfrac{2}{3}}\).
31+
\end{enumerate}
32+
33+
\item \(A=\begin{pmatrix}
34+
1 & 0 & 25 & 8 \\
35+
1 & 1 & 2 & 2 \\
36+
0 & 0 & 4 & 3 \\
37+
0 & 0 & 6 & 5
38+
\end{pmatrix}\),计算得
39+
\begin{gather*}
40+
A_{11}=2, A_{12}=-2, A_{13}=0, A_{14}=0, \\
41+
A_{21}=0, A_{22}=2, A_{23}=0, A_{24}=0, \\
42+
A_{31}=-77, A_{32}=79, A_{33}=5, A_{34}=-6, \\
43+
A_{41}=43, A_{42}=-47, A_{43}=-3, A_{44}=4.
44+
\end{gather*}
45+
46+
\(\vert A\vert = 4\times5 - 3\times6 = 2\)
47+
\(A^{-1}=\begin{pmatrix}
48+
1 & 0 & -\dfrac{77}{2} & \dfrac{43}{2} \\[0.5em]
49+
-1 & 1 & \dfrac{79}{2} & -\dfrac{47}{2} \\[0.5em]
50+
0 & 0 & \dfrac{5}{2} & -\dfrac{3}{2} \\
51+
0 & 0 & -3 & 2
52+
\end{pmatrix}\).
53+
\item
54+
\begin{enumerate}
55+
\item 分别验证 \(W\) 关于加法和数乘封闭性即可.
56+
\item 显然 \(x^{2}-1\)\(x - 1\) 为一组基.
57+
\item\(\sigma(x^{i})=x^{i}-1\)\(i = 0,1,2\),我们证明此即为所求.
58+
59+
一方面我们验证其满足题设。显然 \(\sigma(1)=0\),且对 \(\forall f \in \mathbf{R}[x]_{3}\),设 \(f(x)=a_{0}+a_{1}x+a_{2}x^{2}\),则 \(\sigma(f(x))=a_{1}(x - 1)+a_{2}(x^{2}-1)\),且 \(x - 1\)\(x^{2}-1\)\(W\) 的一组基,故 \(\mathrm{Im}(\sigma)=W\).
60+
61+
另一方面,由一组基上的像可唯一确定一个线性映射,故 \(\sigma\) 唯一,即其为所求.
62+
\end{enumerate}
63+
64+
\item
65+
\begin{enumerate}
66+
\item\(k_1\beta+k_2 A\beta+\cdots k_n A^{n-1}\beta=0\). 同时左乘\(A\)\[ k_1 A\beta+\cdots+k_n A^n\beta=k_1 A\beta+\cdots+k_{n-1} A^{n-1}\beta=0. \]
67+
68+
一直如此可得到 \(k_1 A^{n-1}\beta=0\). 由条件 \(A^i\beta\neq 0, \enspace\forall 0\leq i \leq n-1 \implies k_1=0\),将其回代可得到 $k_2 = \cdots = k_n = 0$. 即这些向量线性无关,且长度为n,因此是一组基.
69+
\item 由(1)知对 \(\forall \alpha \in \mathbf{R}^{n}\),存在 \(k_{1}, k_{2}, \cdots, k_{n}\) 使得 \(\alpha=k_{1}\beta + k_{2}A\beta+\cdots + k_{n}A^{n - 1}\beta\).
70+
71+
从而对任意$\alpha$\(A^n\alpha=k_1 A^n\beta+\cdots+k_n A^{2n-1}\beta=0 \implies A^n=0\).
72+
\item 即证\(\dim N(A)=1\).
73+
74+
任取 \(X_{1}, X_{2} \in N(A)\),设 \(X_{1}=\displaystyle\sum\limits_{i = 1}^{n}a_{i}A^{i - 1}\beta\)\(X_{2}=\displaystyle\sum\limits_{i = 1}^{n}b_{i}A^{i - 1}\beta\). 则对 \(\forall k_{1}, k_{2} \in \mathbf{R}\),由 \(k_{1}X_{1}+k_{2}X_{2} \in N(A)\),有
75+
\[
76+
A(k_{1}X_{1}+k_{2}X_{2})=\sum_{i = 1}^{n}(k_{1}a_{i}+k_{2}b_{i})A^{i}\beta=\sum_{i = 1}^{n - 1}(k_{1}a_{i}+k_{2}b_{i})A^{i}\beta = 0.
77+
\]
78+
\(A\beta, \cdots, A^{n - 1}\beta\) 线性无关知 \(k_{1}a_{i}+k_{2}b_{i}=0, \enspace\forall i = 1,2,\cdots, n - 1\).
79+
80+
\(k_{1}, k_{2}\) 任意性知 \(a_{i}=b_{i}=0, \enspace\forall i = 1,2,\cdots, n - 1\).
81+
\(X_{1}=a_{n}A^{n - 1}\beta\)\(X_{2}=b_{n}A^{n - 1}\beta\),从而 \(X_{1}\)\(X_{2}\) 线性相关,故 \(\dim N(A)=1\).
82+
\end{enumerate}
83+
84+
\item
85+
\begin{enumerate}
86+
\item
87+
\begin{align*}
88+
T(x_{1}, x_{2}, x_{3}, x_{4})^\mathrm{T} &= (x_{1}-x_{2}+x_{4}, x_{1}+2x_{3}+2x_{4}, x_{1}+x_{2}+4x_{3}+3x_{4})^\mathrm{T} \\
89+
&=\begin{pmatrix}
90+
1 & -2 & 0 & 1 \\
91+
1 & 0 & 2 & 2 \\
92+
1 & 1 & 4 & 3
93+
\end{pmatrix}\begin{pmatrix}
94+
x_{1} \\
95+
x_{2} \\
96+
x_{3} \\
97+
x_{4}
98+
\end{pmatrix}
99+
\end{align*}
100+
故所求即为 \(A=\begin{pmatrix}
101+
1 & -2 & 0 & 1 \\
102+
1 & 0 & 2 & 2 \\
103+
1 & 1 & 4 & 3
104+
\end{pmatrix}\).
105+
106+
\item
107+
$AX=0$ 可得 $x_2 = 0, x_4 = -2x_3, x_1 = 2x_3$,即$X=(x_1,x_2,x_3,x_4)^\mathrm{T} = k(2,0,1,-2)^\mathrm{T}$,核空间为$\operatorname{span}\{(2,0,1,-2)^\mathrm{T}\}$.
108+
109+
取出发空间的一组自然基$e_1,\ldots,e_4$,则$T(e_1)=(1,1,1)^\mathrm{T}$$T(e_2)=(-2,0,1)^\mathrm{T}$$T(e_3)=(0,2,4)^\mathrm{T}$$T(e_4)=(1,2,3)^\mathrm{T}$. 从而可以对 $A$ 作初等列变换:
110+
\[
111+
\begin{pmatrix}
112+
1 & -2 & 0 & 1 \\
113+
1 & 0 & 2 & 2 \\
114+
1 & 1 & 4 & 3
115+
\end{pmatrix}
116+
\to
117+
\begin{pmatrix}
118+
1 & 0 & 0 & 0 \\
119+
1 & 2 & 2 & 1 \\
120+
1 & 3 & 4 & 2
121+
\end{pmatrix}
122+
\to
123+
\begin{pmatrix}
124+
1 & 0 & 0 & 0 \\
125+
1 & 2 & 1 & 0 \\
126+
1 & 3 & 2 & 0
127+
\end{pmatrix}
128+
\to
129+
\begin{pmatrix}
130+
1 & 0 & 0 & 0 \\
131+
0 & 1 & 1 & 0 \\
132+
0 & 1 & 2 & 0
133+
\end{pmatrix}
134+
\]
135+
可得像空间的一组基为 $T(e_1), T(e_2), T(e_3)$.
136+
137+
故像空间为$\operatorname{span}\{(1,1,1)^\mathrm{T}, (-2,0,1)^\mathrm{T}, (0,2,4)^\mathrm{T}\}$.
138+
\item 即求$P,Q$使得
139+
\[
140+
Q^{-1}AP =
141+
\begin{pmatrix}
142+
E_r & O \\
143+
O & O
144+
\end{pmatrix}
145+
\]
146+
% 利用行列变换得:
147+
% \begin{align*}
148+
% \begin{pmatrix}[cccc|cccc]
149+
% 1 & -2 & 0 & 1 & 1 & 0 & 0 \\
150+
% 1 & 0 & 2 & 2 & 0 & 1 & 0 \\
151+
% 1 & 1 & 4 & 3 & 0 & 0 & 1
152+
% \end{pmatrix}
153+
% \to
154+
% \begin{pmatrix}[cccc|cccc]
155+
% 1 & -2 & 0 & 1 & 1 & 0 & 0 \\
156+
% 0 & 2 & 2 & 1 & -1 & 1 & 0 \\
157+
% 0 & 3 & 4 & 2 & -1 & 0 & 1
158+
% \end{pmatrix}
159+
% \to
160+
% \begin{pmatrix}[cccc|cccc]
161+
% 1 & -2 & 0 & 1 & 1 & 0 & 0 \\
162+
% 0 & 1 & 2 & 1 & 0 & -1 & 1 \\
163+
% 0 & 0 & 2 & 1 & 1 & -3 & 2
164+
% \end{pmatrix}
165+
% \end{align*}
166+
% \[
167+
% \begin{pmatrix}
168+
% 1 & -2 & 0 & 1 \\
169+
% 0 & 1 & 2 & 1 \\
170+
% 0 & 0 & 2 & 1 \\
171+
% \hline
172+
% 1 & 0 & 0 & 0 \\
173+
% 0 & 1 & 0 & 0 \\
174+
% 0 & 0 & 1 & 0 \\
175+
% 0 & 0 & 0 & 1
176+
% \end{pmatrix}
177+
% \to
178+
% \begin{pmatrix}
179+
% 1 & 0 & 0 & 0 \\
180+
% 0 & 1 & 2 & 1 \\
181+
% 0 & 0 & 2 & 1 \\
182+
% \hline
183+
% 1 & 2 & 0 & -1 \\
184+
% 0 & 1 & 0 & 0 \\
185+
% 0 & 0 & 1 & 0 \\
186+
% 0 & 0 & 0 & 1
187+
% \end{pmatrix}
188+
% \to
189+
% \begin{pmatrix}
190+
% 1 & 0 & 0 & 0 \\
191+
% 0 & 1 & 0 & 0 \\
192+
% 0 & 0 & 1 & 1 \\
193+
% \hline
194+
% 1 & 2 & -1 & -3 \\
195+
% 0 & 1 & -1 & -1 \\
196+
% 0 & 0 & 1 & 0 \\
197+
% 0 & 0 & 0 & 1
198+
% \end{pmatrix}
199+
% \to
200+
% \begin{pmatrix}
201+
% 1 & 0 & 0 & 0 \\
202+
% 0 & 1 & 0 & 0 \\
203+
% 0 & 0 & 1 & 0 \\
204+
% \hline
205+
% 1 & 2 & -1 & -2 \\
206+
% 0 & 1 & -1 & 0 \\
207+
% 0 & 0 & 1 & -1 \\
208+
% 0 & 0 & 0 & 1
209+
% \end{pmatrix}
210+
% \]
211+
% 利用初等行变换求$Q^{-1}$:
212+
% \[
213+
% \begin{pmatrix}[ccc|ccc]
214+
% 1 & 0 & 0 & 1 & 0 & 0 \\
215+
% 0 & -1 & 1 & 0 & 1 & 0 \\
216+
% 1 & -3 & 2 & 0 & 0 & 1
217+
% \end{pmatrix}
218+
% \to
219+
% \begin{pmatrix}[ccc|ccc]
220+
% 1 & 0 & 0 & 1 & 0 & 0 \\
221+
% 0 & -1 & 1 & 0 & 1 & 0 \\
222+
% 0 & 3 & -2 & 1 & 0 & -1
223+
% \end{pmatrix}
224+
% \to
225+
% \begin{pmatrix}[ccc|ccc]
226+
% 1 & 0 & 0 & 1 & 0 & 0 \\
227+
% 0 & 1 & 0 & 1 & 2 & -1 \\
228+
% 0 & 0 & 1 & 1 & 3 & -1
229+
% \end{pmatrix}
230+
% \]
231+
%
232+
参考 LALU 8.5 节例 8.6,具体过程略,结果为:
233+
\[
234+
P =
235+
\begin{pmatrix}
236+
1 & 2 & -1 & -2 \\
237+
0 & 1 & -1 & 0 \\
238+
0 & 0 & 1 & -1 \\
239+
0 & 0 & -1 & 2
240+
\end{pmatrix},
241+
Q =
242+
\begin{pmatrix}
243+
1 & 0 & 0 \\
244+
1 & 2 & -1 \\
245+
1 & 3 & -1
246+
\end{pmatrix}.
247+
\]
248+
(尽管笔者记得考场上的结果是\(r(A)=2\),可能是回忆卷出现误差,但是重要的还是求\(P,Q\)的方法.)
249+
\end{enumerate}
250+
251+
\item
252+
\begin{enumerate}
253+
\item 由相抵标准型知存在 \(P, Q\) 为可逆矩阵,且
254+
\[
255+
A = P \diag(1,1,0,\ldots, 0)Q = P\diag(1,0,\ldots, 0)Q + P\diag(0,1,0,\ldots, 0)Q.
256+
\]
257+
\(P = (\beta_{1}, \beta_{2}, \cdots, \beta_{n})\)\(Q^\mathrm{T}=(\alpha_{1}, \alpha_{2}, \cdots, \alpha_{n})\),则
258+
\[
259+
P\diag(1,0,\cdots, 0)Q=(\beta_{1}, \cdots, \beta_{n})\begin{pmatrix}
260+
1 \\
261+
0 \\
262+
\vdots \\
263+
0
264+
\end{pmatrix}\begin{pmatrix}
265+
1 & 0 & \cdots & 0
266+
\end{pmatrix}\begin{pmatrix}
267+
\alpha_{1}^\mathrm{T} \\
268+
\alpha_{2}^\mathrm{T} \\
269+
\vdots \\
270+
\alpha_{n}^\mathrm{T}
271+
\end{pmatrix}=\beta_{1}\alpha_{1}^\mathrm{T}.
272+
\]
273+
同理 \(P\diag(0,1,0,\cdots, 0)Q=\beta_{2}\alpha_{2}^\mathrm{T}\),即 \(A=\beta_{1}\alpha_{1}^\mathrm{T}+\beta_{2}\alpha_{2}^\mathrm{T}\),得证.
274+
275+
\item \(\beta_{1}=\alpha_{1}=(1,0,\cdots, 0)^\mathrm{T}\)\(\beta_{2}=\alpha_{2}=(0,1,0,\cdots, 0)^\mathrm{T}\),自行验证 \(A\) 的确可对角化.
276+
277+
\item 对于将 \(A\) 对角化处理的矩阵 \(C\)(即 \(C^{-1}AC\) 中的 \(C\))的列向量 \(X\),要么 \(X \in \mathrm{span}\{\beta_{1}, \beta_{2}\}\),要么 \(X \perp \alpha_{1}\)\(X \perp \alpha_{2}\).
278+
279+
证明:设 \(C=(X_{1}, \cdots, X_{n})\),则
280+
\[
281+
AC = C\mathrm{diag}\left(\lambda_{1}, \cdots, \lambda_{n}\right) \iff \beta_{1}\alpha_{1}^\mathrm{T}X_{i}+\beta_{2}\alpha_{2}^\mathrm{T}X_{i}=\lambda_{i}X_{i}
282+
\]
283+
\(\lambda_{i} \neq 0\),则 \(X_{i}\)\(\beta_{1}\)\(\beta_{2}\) 的线性扩张(注意到 \(\alpha_{1}^\mathrm{T}X_{i}\)\(\alpha_{2}^\mathrm{T}X_{i}\) 都是实数).
284+
285+
若不然,由于 \(\beta_{1}\)\(\beta_{2}\) 线性无关,有 \(\alpha_{1}^\mathrm{T}X_{i}=0\)\(\alpha_{2}^\mathrm{T}X_{i}=0\),即 \(X_{i} \perp \alpha_{1}\)\(X_{i} \perp \alpha_{2}\).
286+
\end{enumerate}
287+
288+
\item
289+
\begin{enumerate}
290+
\item 错. \(\alpha_{1}=(1,0)\)\(\alpha_{2}=(-1,0)\)\(\beta_{1}=(0,1)\)\(\beta_{2}=(0,-2)\) 即有矛盾.
291+
\item 对. 设 \(A = (\alpha_{1}, \cdots, \alpha_{n})\),则
292+
\[
293+
A^{2}=\begin{pmatrix}
294+
\alpha_{1}^\mathrm{T} \\
295+
\vdots \\
296+
\alpha_{n}^\mathrm{T}
297+
\end{pmatrix}\left(\alpha_{1}, \cdots, \alpha_{n}\right)
298+
\]
299+
其第 \(i\) 个主对角元元素为 \(\alpha_{i}^\mathrm{T}\alpha_{i}=\vert\alpha_{i}\vert^{2}=0\),故 \(\alpha_{i}=0\),即 \(A = 0\).
300+
\item 错. \(A=\begin{pmatrix}
301+
i & 1 \\
302+
1 & -i
303+
\end{pmatrix}\) 即为反例。
304+
\item 错. \(\sigma(x, y)=(y, 0)\) 即为反例.
305+
\end{enumerate}
306+
\end{enumerate}
307+
308+
\clearpage

0 commit comments

Comments
 (0)