agungpambudi commited on
Commit
63a87df
·
verified ·
1 Parent(s): 35328e6

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. pretraining/mathematica/linear_algebra/null_space_w_steps/1013.txt +270 -0
  2. pretraining/mathematica/linear_algebra/null_space_w_steps/1045.txt +414 -0
  3. pretraining/mathematica/linear_algebra/null_space_w_steps/1097.txt +354 -0
  4. pretraining/mathematica/linear_algebra/null_space_w_steps/1215.txt +177 -0
  5. pretraining/mathematica/linear_algebra/null_space_w_steps/1250.txt +342 -0
  6. pretraining/mathematica/linear_algebra/null_space_w_steps/1264.txt +218 -0
  7. pretraining/mathematica/linear_algebra/null_space_w_steps/141.txt +275 -0
  8. pretraining/mathematica/linear_algebra/null_space_w_steps/1434.txt +329 -0
  9. pretraining/mathematica/linear_algebra/null_space_w_steps/1507.txt +258 -0
  10. pretraining/mathematica/linear_algebra/null_space_w_steps/1627.txt +354 -0
  11. pretraining/mathematica/linear_algebra/null_space_w_steps/1720.txt +283 -0
  12. pretraining/mathematica/linear_algebra/null_space_w_steps/1869.txt +258 -0
  13. pretraining/mathematica/linear_algebra/null_space_w_steps/1910.txt +227 -0
  14. pretraining/mathematica/linear_algebra/null_space_w_steps/1941.txt +275 -0
  15. pretraining/mathematica/linear_algebra/null_space_w_steps/2067.txt +177 -0
  16. pretraining/mathematica/linear_algebra/null_space_w_steps/2168.txt +414 -0
  17. pretraining/mathematica/linear_algebra/null_space_w_steps/2191.txt +239 -0
  18. pretraining/mathematica/linear_algebra/null_space_w_steps/2194.txt +330 -0
  19. pretraining/mathematica/linear_algebra/null_space_w_steps/2214.txt +342 -0
  20. pretraining/mathematica/linear_algebra/null_space_w_steps/240.txt +282 -0
  21. pretraining/mathematica/linear_algebra/null_space_w_steps/2470.txt +188 -0
  22. pretraining/mathematica/linear_algebra/null_space_w_steps/2493.txt +275 -0
  23. pretraining/mathematica/linear_algebra/null_space_w_steps/2523.txt +275 -0
  24. pretraining/mathematica/linear_algebra/null_space_w_steps/2617.txt +355 -0
  25. pretraining/mathematica/linear_algebra/null_space_w_steps/2777.txt +177 -0
  26. pretraining/mathematica/linear_algebra/null_space_w_steps/2935.txt +362 -0
  27. pretraining/mathematica/linear_algebra/null_space_w_steps/2970.txt +177 -0
  28. pretraining/mathematica/linear_algebra/null_space_w_steps/2974.txt +264 -0
  29. pretraining/mathematica/linear_algebra/null_space_w_steps/2994.txt +248 -0
  30. pretraining/mathematica/linear_algebra/null_space_w_steps/3027.txt +264 -0
  31. pretraining/mathematica/linear_algebra/null_space_w_steps/3079.txt +257 -0
  32. pretraining/mathematica/linear_algebra/null_space_w_steps/3119.txt +282 -0
  33. pretraining/mathematica/linear_algebra/null_space_w_steps/3166.txt +342 -0
  34. pretraining/mathematica/linear_algebra/null_space_w_steps/3230.txt +275 -0
  35. pretraining/mathematica/linear_algebra/null_space_w_steps/327.txt +354 -0
  36. pretraining/mathematica/linear_algebra/null_space_w_steps/3287.txt +401 -0
  37. pretraining/mathematica/linear_algebra/null_space_w_steps/3297.txt +375 -0
  38. pretraining/mathematica/linear_algebra/null_space_w_steps/3305.txt +414 -0
  39. pretraining/mathematica/linear_algebra/null_space_w_steps/3370.txt +264 -0
  40. pretraining/mathematica/linear_algebra/null_space_w_steps/3410.txt +329 -0
  41. pretraining/mathematica/linear_algebra/null_space_w_steps/3419.txt +270 -0
  42. pretraining/mathematica/linear_algebra/null_space_w_steps/3459.txt +263 -0
  43. pretraining/mathematica/linear_algebra/null_space_w_steps/3476.txt +401 -0
  44. pretraining/mathematica/linear_algebra/null_space_w_steps/3599.txt +227 -0
  45. pretraining/mathematica/linear_algebra/null_space_w_steps/3700.txt +375 -0
  46. pretraining/mathematica/linear_algebra/null_space_w_steps/3745.txt +177 -0
  47. pretraining/mathematica/linear_algebra/null_space_w_steps/3747.txt +388 -0
  48. pretraining/mathematica/linear_algebra/null_space_w_steps/3749.txt +253 -0
  49. pretraining/mathematica/linear_algebra/null_space_w_steps/3805.txt +270 -0
  50. pretraining/mathematica/linear_algebra/null_space_w_steps/3827.txt +366 -0
pretraining/mathematica/linear_algebra/null_space_w_steps/1013.txt ADDED
@@ -0,0 +1,270 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{ccc}
5
+ 4 & 10 & -8 \\
6
+ 10 & -2 & 10 \\
7
+ 4 & 10 & 2 \\
8
+ \end{array}
9
+ \right)$.
10
+ Answer:
11
+ \begin{array}{l}
12
+
13
+ \begin{array}{l}
14
+ \text{Find the null space of the matrix }M: \\
15
+ M=\left(
16
+ \begin{array}{ccc}
17
+ 4 & 10 & -8 \\
18
+ 10 & -2 & 10 \\
19
+ 4 & 10 & 2 \\
20
+ \end{array}
21
+ \right) \\
22
+ \end{array}
23
+ \\
24
+ \hline
25
+
26
+ \begin{array}{l}
27
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
28
+ \begin{array}{ccc}
29
+ 4 & 10 & -8 \\
30
+ 10 & -2 & 10 \\
31
+ 4 & 10 & 2 \\
32
+ \end{array}
33
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
34
+ \begin{array}{c}
35
+ x_1 \\
36
+ x_2 \\
37
+ x_3 \\
38
+ \end{array}
39
+ \right) \text{such }\text{that }M.v=0: \\
40
+ \left(
41
+ \begin{array}{ccc}
42
+ 4 & 10 & -8 \\
43
+ 10 & -2 & 10 \\
44
+ 4 & 10 & 2 \\
45
+ \end{array}
46
+ \right).\left(
47
+ \begin{array}{c}
48
+ x_1 \\
49
+ x_2 \\
50
+ x_3 \\
51
+ \end{array}
52
+ \right)=\left(
53
+ \begin{array}{c}
54
+ 0 \\
55
+ 0 \\
56
+ 0 \\
57
+ \end{array}
58
+ \right) \\
59
+ \end{array}
60
+ \\
61
+
62
+ \begin{array}{l}
63
+ \text{Reduce }\text{the }\text{matrix }\left(
64
+ \begin{array}{ccc}
65
+ 4 & 10 & -8 \\
66
+ 10 & -2 & 10 \\
67
+ 4 & 10 & 2 \\
68
+ \end{array}
69
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
70
+ \left(
71
+ \begin{array}{ccc}
72
+ 4 & 10 & -8 \\
73
+ 10 & -2 & 10 \\
74
+ 4 & 10 & 2 \\
75
+ \end{array}
76
+ \right) \\
77
+ \end{array}
78
+ \\
79
+
80
+ \begin{array}{l}
81
+ \text{Swap }\text{row }1 \text{with }\text{row }2: \\
82
+ \left(
83
+ \begin{array}{ccc}
84
+ 10 & -2 & 10 \\
85
+ 4 & 10 & -8 \\
86
+ 4 & 10 & 2 \\
87
+ \end{array}
88
+ \right) \\
89
+ \end{array}
90
+ \\
91
+
92
+ \begin{array}{l}
93
+ \text{Subtract }\frac{2}{5}\, \times \, \text{(row }1) \text{from }\text{row }2: \\
94
+ \left(
95
+ \begin{array}{ccc}
96
+ 10 & -2 & 10 \\
97
+ 0 & \frac{54}{5} & -12 \\
98
+ 4 & 10 & 2 \\
99
+ \end{array}
100
+ \right) \\
101
+ \end{array}
102
+ \\
103
+
104
+ \begin{array}{l}
105
+ \text{Subtract }\frac{2}{5}\, \times \, \text{(row }1) \text{from }\text{row }3: \\
106
+ \left(
107
+ \begin{array}{ccc}
108
+ 10 & -2 & 10 \\
109
+ 0 & \frac{54}{5} & -12 \\
110
+ 0 & \frac{54}{5} & -2 \\
111
+ \end{array}
112
+ \right) \\
113
+ \end{array}
114
+ \\
115
+
116
+ \begin{array}{l}
117
+ \text{Subtract }\text{row }2 \text{from }\text{row }3: \\
118
+ \left(
119
+ \begin{array}{ccc}
120
+ 10 & -2 & 10 \\
121
+ 0 & \frac{54}{5} & -12 \\
122
+ 0 & 0 & 10 \\
123
+ \end{array}
124
+ \right) \\
125
+ \end{array}
126
+ \\
127
+
128
+ \begin{array}{l}
129
+ \text{Divide }\text{row }3 \text{by }10: \\
130
+ \left(
131
+ \begin{array}{ccc}
132
+ 10 & -2 & 10 \\
133
+ 0 & \frac{54}{5} & -12 \\
134
+ 0 & 0 & 1 \\
135
+ \end{array}
136
+ \right) \\
137
+ \end{array}
138
+ \\
139
+
140
+ \begin{array}{l}
141
+ \text{Add }12\, \times \, \text{(row }3) \text{to }\text{row }2: \\
142
+ \left(
143
+ \begin{array}{ccc}
144
+ 10 & -2 & 10 \\
145
+ 0 & \frac{54}{5} & 0 \\
146
+ 0 & 0 & 1 \\
147
+ \end{array}
148
+ \right) \\
149
+ \end{array}
150
+ \\
151
+
152
+ \begin{array}{l}
153
+ \text{Subtract }10\, \times \, \text{(row }3) \text{from }\text{row }1: \\
154
+ \left(
155
+ \begin{array}{ccc}
156
+ 10 & -2 & 0 \\
157
+ 0 & \frac{54}{5} & 0 \\
158
+ 0 & 0 & 1 \\
159
+ \end{array}
160
+ \right) \\
161
+ \end{array}
162
+ \\
163
+
164
+ \begin{array}{l}
165
+ \text{Multiply }\text{row }2 \text{by }\frac{5}{54}: \\
166
+ \left(
167
+ \begin{array}{ccc}
168
+ 10 & -2 & 0 \\
169
+ 0 & 1 & 0 \\
170
+ 0 & 0 & 1 \\
171
+ \end{array}
172
+ \right) \\
173
+ \end{array}
174
+ \\
175
+
176
+ \begin{array}{l}
177
+ \text{Add }2\, \times \, \text{(row }2) \text{to }\text{row }1: \\
178
+ \left(
179
+ \begin{array}{ccc}
180
+ 10 & 0 & 0 \\
181
+ 0 & 1 & 0 \\
182
+ 0 & 0 & 1 \\
183
+ \end{array}
184
+ \right) \\
185
+ \end{array}
186
+ \\
187
+
188
+ \begin{array}{l}
189
+ \text{Divide }\text{row }1 \text{by }10: \\
190
+ \left(
191
+ \begin{array}{ccc}
192
+ 1 & 0 & 0 \\
193
+ 0 & 1 & 0 \\
194
+ 0 & 0 & 1 \\
195
+ \end{array}
196
+ \right) \\
197
+ \end{array}
198
+ \\
199
+
200
+ \begin{array}{l}
201
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
202
+ \begin{array}{c}
203
+ x_1 \\
204
+ x_2 \\
205
+ x_3 \\
206
+ \end{array}
207
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
208
+ \begin{array}{ccc}
209
+ 1 & 0 & 0 \\
210
+ 0 & 1 & 0 \\
211
+ 0 & 0 & 1 \\
212
+ \end{array}
213
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
214
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
215
+ \end{array}
216
+ \\
217
+
218
+ \begin{array}{l}
219
+ \text{The }\text{only }\text{value }\text{of }v=\left(
220
+ \begin{array}{c}
221
+ x_1 \\
222
+ x_2 \\
223
+ x_3 \\
224
+ \end{array}
225
+ \right) \text{that }\text{would }\text{make }\left(
226
+ \begin{array}{ccc}
227
+ 1 & 0 & 0 \\
228
+ 0 & 1 & 0 \\
229
+ 0 & 0 & 1 \\
230
+ \end{array}
231
+ \right).\left(
232
+ \begin{array}{c}
233
+ x_1 \\
234
+ x_2 \\
235
+ x_3 \\
236
+ \end{array}
237
+ \right)=\left(
238
+ \begin{array}{c}
239
+ 0 \\
240
+ 0 \\
241
+ 0 \\
242
+ \end{array}
243
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
244
+ \begin{array}{c}
245
+ 0 \\
246
+ 0 \\
247
+ 0 \\
248
+ \end{array}
249
+ \right): \\
250
+ \left(
251
+ \begin{array}{c}
252
+ 0 \\
253
+ 0 \\
254
+ 0 \\
255
+ \end{array}
256
+ \right) \\
257
+ \end{array}
258
+ \\
259
+
260
+ \begin{array}{l}
261
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
262
+ \fbox{$
263
+ \begin{array}{ll}
264
+ \text{Answer:} & \\
265
+ \text{} & \{\, (0,0,0)\, \} \\
266
+ \end{array}
267
+ $} \\
268
+ \end{array}
269
+ \\
270
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/1045.txt ADDED
@@ -0,0 +1,414 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cccc}
5
+ 9 & 6 & 0 & 6 \\
6
+ 10 & 4 & 2 & -10 \\
7
+ 10 & 1 & -3 & 8 \\
8
+ -2 & 2 & -3 & 9 \\
9
+ \end{array}
10
+ \right)$.
11
+ Answer:
12
+ \begin{array}{l}
13
+
14
+ \begin{array}{l}
15
+ \text{Find the null space of the matrix }M: \\
16
+ M=\left(
17
+ \begin{array}{cccc}
18
+ 9 & 6 & 0 & 6 \\
19
+ 10 & 4 & 2 & -10 \\
20
+ 10 & 1 & -3 & 8 \\
21
+ -2 & 2 & -3 & 9 \\
22
+ \end{array}
23
+ \right) \\
24
+ \end{array}
25
+ \\
26
+ \hline
27
+
28
+ \begin{array}{l}
29
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
30
+ \begin{array}{cccc}
31
+ 9 & 6 & 0 & 6 \\
32
+ 10 & 4 & 2 & -10 \\
33
+ 10 & 1 & -3 & 8 \\
34
+ -2 & 2 & -3 & 9 \\
35
+ \end{array}
36
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
37
+ \begin{array}{c}
38
+ x_1 \\
39
+ x_2 \\
40
+ x_3 \\
41
+ x_4 \\
42
+ \end{array}
43
+ \right) \text{such }\text{that }M.v=0: \\
44
+ \left(
45
+ \begin{array}{cccc}
46
+ 9 & 6 & 0 & 6 \\
47
+ 10 & 4 & 2 & -10 \\
48
+ 10 & 1 & -3 & 8 \\
49
+ -2 & 2 & -3 & 9 \\
50
+ \end{array}
51
+ \right).\left(
52
+ \begin{array}{c}
53
+ x_1 \\
54
+ x_2 \\
55
+ x_3 \\
56
+ x_4 \\
57
+ \end{array}
58
+ \right)=\left(
59
+ \begin{array}{c}
60
+ 0 \\
61
+ 0 \\
62
+ 0 \\
63
+ 0 \\
64
+ \end{array}
65
+ \right) \\
66
+ \end{array}
67
+ \\
68
+
69
+ \begin{array}{l}
70
+ \text{Reduce }\text{the }\text{matrix }\left(
71
+ \begin{array}{cccc}
72
+ 9 & 6 & 0 & 6 \\
73
+ 10 & 4 & 2 & -10 \\
74
+ 10 & 1 & -3 & 8 \\
75
+ -2 & 2 & -3 & 9 \\
76
+ \end{array}
77
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
78
+ \left(
79
+ \begin{array}{cccc}
80
+ 9 & 6 & 0 & 6 \\
81
+ 10 & 4 & 2 & -10 \\
82
+ 10 & 1 & -3 & 8 \\
83
+ -2 & 2 & -3 & 9 \\
84
+ \end{array}
85
+ \right) \\
86
+ \end{array}
87
+ \\
88
+
89
+ \begin{array}{l}
90
+ \text{Swap }\text{row }1 \text{with }\text{row }2: \\
91
+ \left(
92
+ \begin{array}{cccc}
93
+ 10 & 4 & 2 & -10 \\
94
+ 9 & 6 & 0 & 6 \\
95
+ 10 & 1 & -3 & 8 \\
96
+ -2 & 2 & -3 & 9 \\
97
+ \end{array}
98
+ \right) \\
99
+ \end{array}
100
+ \\
101
+
102
+ \begin{array}{l}
103
+ \text{Subtract }\frac{9}{10}\, \times \, \text{(row }1) \text{from }\text{row }2: \\
104
+ \left(
105
+ \begin{array}{cccc}
106
+ 10 & 4 & 2 & -10 \\
107
+ 0 & \frac{12}{5} & -\frac{9}{5} & 15 \\
108
+ 10 & 1 & -3 & 8 \\
109
+ -2 & 2 & -3 & 9 \\
110
+ \end{array}
111
+ \right) \\
112
+ \end{array}
113
+ \\
114
+
115
+ \begin{array}{l}
116
+ \text{Subtract }\text{row }1 \text{from }\text{row }3: \\
117
+ \left(
118
+ \begin{array}{cccc}
119
+ 10 & 4 & 2 & -10 \\
120
+ 0 & \frac{12}{5} & -\frac{9}{5} & 15 \\
121
+ 0 & -3 & -5 & 18 \\
122
+ -2 & 2 & -3 & 9 \\
123
+ \end{array}
124
+ \right) \\
125
+ \end{array}
126
+ \\
127
+
128
+ \begin{array}{l}
129
+ \text{Add }\frac{1}{5}\, \times \, \text{(row }1) \text{to }\text{row }4: \\
130
+ \left(
131
+ \begin{array}{cccc}
132
+ 10 & 4 & 2 & -10 \\
133
+ 0 & \frac{12}{5} & -\frac{9}{5} & 15 \\
134
+ 0 & -3 & -5 & 18 \\
135
+ 0 & \frac{14}{5} & -\frac{13}{5} & 7 \\
136
+ \end{array}
137
+ \right) \\
138
+ \end{array}
139
+ \\
140
+
141
+ \begin{array}{l}
142
+ \text{Swap }\text{row }2 \text{with }\text{row }3: \\
143
+ \left(
144
+ \begin{array}{cccc}
145
+ 10 & 4 & 2 & -10 \\
146
+ 0 & -3 & -5 & 18 \\
147
+ 0 & \frac{12}{5} & -\frac{9}{5} & 15 \\
148
+ 0 & \frac{14}{5} & -\frac{13}{5} & 7 \\
149
+ \end{array}
150
+ \right) \\
151
+ \end{array}
152
+ \\
153
+
154
+ \begin{array}{l}
155
+ \text{Add }\frac{4}{5}\, \times \, \text{(row }2) \text{to }\text{row }3: \\
156
+ \left(
157
+ \begin{array}{cccc}
158
+ 10 & 4 & 2 & -10 \\
159
+ 0 & -3 & -5 & 18 \\
160
+ 0 & 0 & -\frac{29}{5} & \frac{147}{5} \\
161
+ 0 & \frac{14}{5} & -\frac{13}{5} & 7 \\
162
+ \end{array}
163
+ \right) \\
164
+ \end{array}
165
+ \\
166
+
167
+ \begin{array}{l}
168
+ \text{Add }\frac{14}{15}\, \times \, \text{(row }2) \text{to }\text{row }4: \\
169
+ \left(
170
+ \begin{array}{cccc}
171
+ 10 & 4 & 2 & -10 \\
172
+ 0 & -3 & -5 & 18 \\
173
+ 0 & 0 & -\frac{29}{5} & \frac{147}{5} \\
174
+ 0 & 0 & -\frac{109}{15} & \frac{119}{5} \\
175
+ \end{array}
176
+ \right) \\
177
+ \end{array}
178
+ \\
179
+
180
+ \begin{array}{l}
181
+ \text{Swap }\text{row }3 \text{with }\text{row }4: \\
182
+ \left(
183
+ \begin{array}{cccc}
184
+ 10 & 4 & 2 & -10 \\
185
+ 0 & -3 & -5 & 18 \\
186
+ 0 & 0 & -\frac{109}{15} & \frac{119}{5} \\
187
+ 0 & 0 & -\frac{29}{5} & \frac{147}{5} \\
188
+ \end{array}
189
+ \right) \\
190
+ \end{array}
191
+ \\
192
+
193
+ \begin{array}{l}
194
+ \text{Subtract }\frac{87}{109}\, \times \, \text{(row }3) \text{from }\text{row }4: \\
195
+ \left(
196
+ \begin{array}{cccc}
197
+ 10 & 4 & 2 & -10 \\
198
+ 0 & -3 & -5 & 18 \\
199
+ 0 & 0 & -\frac{109}{15} & \frac{119}{5} \\
200
+ 0 & 0 & 0 & \frac{1134}{109} \\
201
+ \end{array}
202
+ \right) \\
203
+ \end{array}
204
+ \\
205
+
206
+ \begin{array}{l}
207
+ \text{Multiply }\text{row }4 \text{by }\frac{109}{1134}: \\
208
+ \left(
209
+ \begin{array}{cccc}
210
+ 10 & 4 & 2 & -10 \\
211
+ 0 & -3 & -5 & 18 \\
212
+ 0 & 0 & -\frac{109}{15} & \frac{119}{5} \\
213
+ 0 & 0 & 0 & 1 \\
214
+ \end{array}
215
+ \right) \\
216
+ \end{array}
217
+ \\
218
+
219
+ \begin{array}{l}
220
+ \text{Subtract }\frac{119}{5}\, \times \, \text{(row }4) \text{from }\text{row }3: \\
221
+ \left(
222
+ \begin{array}{cccc}
223
+ 10 & 4 & 2 & -10 \\
224
+ 0 & -3 & -5 & 18 \\
225
+ 0 & 0 & -\frac{109}{15} & 0 \\
226
+ 0 & 0 & 0 & 1 \\
227
+ \end{array}
228
+ \right) \\
229
+ \end{array}
230
+ \\
231
+
232
+ \begin{array}{l}
233
+ \text{Subtract }18\, \times \, \text{(row }4) \text{from }\text{row }2: \\
234
+ \left(
235
+ \begin{array}{cccc}
236
+ 10 & 4 & 2 & -10 \\
237
+ 0 & -3 & -5 & 0 \\
238
+ 0 & 0 & -\frac{109}{15} & 0 \\
239
+ 0 & 0 & 0 & 1 \\
240
+ \end{array}
241
+ \right) \\
242
+ \end{array}
243
+ \\
244
+
245
+ \begin{array}{l}
246
+ \text{Add }10\, \times \, \text{(row }4) \text{to }\text{row }1: \\
247
+ \left(
248
+ \begin{array}{cccc}
249
+ 10 & 4 & 2 & 0 \\
250
+ 0 & -3 & -5 & 0 \\
251
+ 0 & 0 & -\frac{109}{15} & 0 \\
252
+ 0 & 0 & 0 & 1 \\
253
+ \end{array}
254
+ \right) \\
255
+ \end{array}
256
+ \\
257
+
258
+ \begin{array}{l}
259
+ \text{Multiply }\text{row }3 \text{by }-\frac{15}{109}: \\
260
+ \left(
261
+ \begin{array}{cccc}
262
+ 10 & 4 & 2 & 0 \\
263
+ 0 & -3 & -5 & 0 \\
264
+ 0 & 0 & 1 & 0 \\
265
+ 0 & 0 & 0 & 1 \\
266
+ \end{array}
267
+ \right) \\
268
+ \end{array}
269
+ \\
270
+
271
+ \begin{array}{l}
272
+ \text{Add }5\, \times \, \text{(row }3) \text{to }\text{row }2: \\
273
+ \left(
274
+ \begin{array}{cccc}
275
+ 10 & 4 & 2 & 0 \\
276
+ 0 & -3 & 0 & 0 \\
277
+ 0 & 0 & 1 & 0 \\
278
+ 0 & 0 & 0 & 1 \\
279
+ \end{array}
280
+ \right) \\
281
+ \end{array}
282
+ \\
283
+
284
+ \begin{array}{l}
285
+ \text{Subtract }2\, \times \, \text{(row }3) \text{from }\text{row }1: \\
286
+ \left(
287
+ \begin{array}{cccc}
288
+ 10 & 4 & 0 & 0 \\
289
+ 0 & -3 & 0 & 0 \\
290
+ 0 & 0 & 1 & 0 \\
291
+ 0 & 0 & 0 & 1 \\
292
+ \end{array}
293
+ \right) \\
294
+ \end{array}
295
+ \\
296
+
297
+ \begin{array}{l}
298
+ \text{Divide }\text{row }2 \text{by }-3: \\
299
+ \left(
300
+ \begin{array}{cccc}
301
+ 10 & 4 & 0 & 0 \\
302
+ 0 & 1 & 0 & 0 \\
303
+ 0 & 0 & 1 & 0 \\
304
+ 0 & 0 & 0 & 1 \\
305
+ \end{array}
306
+ \right) \\
307
+ \end{array}
308
+ \\
309
+
310
+ \begin{array}{l}
311
+ \text{Subtract }4\, \times \, \text{(row }2) \text{from }\text{row }1: \\
312
+ \left(
313
+ \begin{array}{cccc}
314
+ 10 & 0 & 0 & 0 \\
315
+ 0 & 1 & 0 & 0 \\
316
+ 0 & 0 & 1 & 0 \\
317
+ 0 & 0 & 0 & 1 \\
318
+ \end{array}
319
+ \right) \\
320
+ \end{array}
321
+ \\
322
+
323
+ \begin{array}{l}
324
+ \text{Divide }\text{row }1 \text{by }10: \\
325
+ \left(
326
+ \begin{array}{cccc}
327
+ 1 & 0 & 0 & 0 \\
328
+ 0 & 1 & 0 & 0 \\
329
+ 0 & 0 & 1 & 0 \\
330
+ 0 & 0 & 0 & 1 \\
331
+ \end{array}
332
+ \right) \\
333
+ \end{array}
334
+ \\
335
+
336
+ \begin{array}{l}
337
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
338
+ \begin{array}{c}
339
+ x_1 \\
340
+ x_2 \\
341
+ x_3 \\
342
+ x_4 \\
343
+ \end{array}
344
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
345
+ \begin{array}{cccc}
346
+ 1 & 0 & 0 & 0 \\
347
+ 0 & 1 & 0 & 0 \\
348
+ 0 & 0 & 1 & 0 \\
349
+ 0 & 0 & 0 & 1 \\
350
+ \end{array}
351
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
352
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
353
+ \end{array}
354
+ \\
355
+
356
+ \begin{array}{l}
357
+ \text{The }\text{only }\text{value }\text{of }v=\left(
358
+ \begin{array}{c}
359
+ x_1 \\
360
+ x_2 \\
361
+ x_3 \\
362
+ x_4 \\
363
+ \end{array}
364
+ \right) \text{that }\text{would }\text{make }\left(
365
+ \begin{array}{cccc}
366
+ 1 & 0 & 0 & 0 \\
367
+ 0 & 1 & 0 & 0 \\
368
+ 0 & 0 & 1 & 0 \\
369
+ 0 & 0 & 0 & 1 \\
370
+ \end{array}
371
+ \right).\left(
372
+ \begin{array}{c}
373
+ x_1 \\
374
+ x_2 \\
375
+ x_3 \\
376
+ x_4 \\
377
+ \end{array}
378
+ \right)=\left(
379
+ \begin{array}{c}
380
+ 0 \\
381
+ 0 \\
382
+ 0 \\
383
+ 0 \\
384
+ \end{array}
385
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
386
+ \begin{array}{c}
387
+ 0 \\
388
+ 0 \\
389
+ 0 \\
390
+ 0 \\
391
+ \end{array}
392
+ \right): \\
393
+ \left(
394
+ \begin{array}{c}
395
+ 0 \\
396
+ 0 \\
397
+ 0 \\
398
+ 0 \\
399
+ \end{array}
400
+ \right) \\
401
+ \end{array}
402
+ \\
403
+
404
+ \begin{array}{l}
405
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
406
+ \fbox{$
407
+ \begin{array}{ll}
408
+ \text{Answer:} & \\
409
+ \text{} & \{\, (0,0,0,0)\, \} \\
410
+ \end{array}
411
+ $} \\
412
+ \end{array}
413
+ \\
414
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/1097.txt ADDED
@@ -0,0 +1,354 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cccc}
5
+ 4 & -5 & 5 & -6 \\
6
+ 8 & -8 & -5 & 0 \\
7
+ -5 & -9 & -7 & 0 \\
8
+ \end{array}
9
+ \right)$.
10
+ Answer:
11
+ \begin{array}{l}
12
+
13
+ \begin{array}{l}
14
+ \text{Find the null space of the matrix }M: \\
15
+ M=\left(
16
+ \begin{array}{cccc}
17
+ 4 & -5 & 5 & -6 \\
18
+ 8 & -8 & -5 & 0 \\
19
+ -5 & -9 & -7 & 0 \\
20
+ \end{array}
21
+ \right) \\
22
+ \end{array}
23
+ \\
24
+ \hline
25
+
26
+ \begin{array}{l}
27
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
28
+ \begin{array}{cccc}
29
+ 4 & -5 & 5 & -6 \\
30
+ 8 & -8 & -5 & 0 \\
31
+ -5 & -9 & -7 & 0 \\
32
+ \end{array}
33
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
34
+ \begin{array}{c}
35
+ x_1 \\
36
+ x_2 \\
37
+ x_3 \\
38
+ x_4 \\
39
+ \end{array}
40
+ \right) \text{such }\text{that }M.v=0: \\
41
+ \left(
42
+ \begin{array}{cccc}
43
+ 4 & -5 & 5 & -6 \\
44
+ 8 & -8 & -5 & 0 \\
45
+ -5 & -9 & -7 & 0 \\
46
+ \end{array}
47
+ \right).\left(
48
+ \begin{array}{c}
49
+ x_1 \\
50
+ x_2 \\
51
+ x_3 \\
52
+ x_4 \\
53
+ \end{array}
54
+ \right)=\left(
55
+ \begin{array}{c}
56
+ 0 \\
57
+ 0 \\
58
+ 0 \\
59
+ \end{array}
60
+ \right) \\
61
+ \end{array}
62
+ \\
63
+
64
+ \begin{array}{l}
65
+ \text{Reduce }\text{the }\text{matrix }\left(
66
+ \begin{array}{cccc}
67
+ 4 & -5 & 5 & -6 \\
68
+ 8 & -8 & -5 & 0 \\
69
+ -5 & -9 & -7 & 0 \\
70
+ \end{array}
71
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
72
+ \left(
73
+ \begin{array}{cccc}
74
+ 4 & -5 & 5 & -6 \\
75
+ 8 & -8 & -5 & 0 \\
76
+ -5 & -9 & -7 & 0 \\
77
+ \end{array}
78
+ \right) \\
79
+ \end{array}
80
+ \\
81
+
82
+ \begin{array}{l}
83
+ \text{Swap }\text{row }1 \text{with }\text{row }2: \\
84
+ \left(
85
+ \begin{array}{cccc}
86
+ 8 & -8 & -5 & 0 \\
87
+ 4 & -5 & 5 & -6 \\
88
+ -5 & -9 & -7 & 0 \\
89
+ \end{array}
90
+ \right) \\
91
+ \end{array}
92
+ \\
93
+
94
+ \begin{array}{l}
95
+ \text{Subtract }\frac{1}{2}\, \times \, \text{(row }1) \text{from }\text{row }2: \\
96
+ \left(
97
+ \begin{array}{cccc}
98
+ 8 & -8 & -5 & 0 \\
99
+ 0 & -1 & \frac{15}{2} & -6 \\
100
+ -5 & -9 & -7 & 0 \\
101
+ \end{array}
102
+ \right) \\
103
+ \end{array}
104
+ \\
105
+
106
+ \begin{array}{l}
107
+ \text{Add }\frac{5}{8}\, \times \, \text{(row }1) \text{to }\text{row }3: \\
108
+ \left(
109
+ \begin{array}{cccc}
110
+ 8 & -8 & -5 & 0 \\
111
+ 0 & -1 & \frac{15}{2} & -6 \\
112
+ 0 & -14 & -\frac{81}{8} & 0 \\
113
+ \end{array}
114
+ \right) \\
115
+ \end{array}
116
+ \\
117
+
118
+ \begin{array}{l}
119
+ \text{Subtract }14\, \times \, \text{(row }2) \text{from }\text{row }3: \\
120
+ \left(
121
+ \begin{array}{cccc}
122
+ 8 & -8 & -5 & 0 \\
123
+ 0 & -1 & \frac{15}{2} & -6 \\
124
+ 0 & 0 & -\frac{921}{8} & 84 \\
125
+ \end{array}
126
+ \right) \\
127
+ \end{array}
128
+ \\
129
+
130
+ \begin{array}{l}
131
+ \text{Multiply }\text{row }3 \text{by }-\frac{8}{921}: \\
132
+ \left(
133
+ \begin{array}{cccc}
134
+ 8 & -8 & -5 & 0 \\
135
+ 0 & -1 & \frac{15}{2} & -6 \\
136
+ 0 & 0 & 1 & -\frac{224}{307} \\
137
+ \end{array}
138
+ \right) \\
139
+ \end{array}
140
+ \\
141
+
142
+ \begin{array}{l}
143
+ \text{Subtract }\frac{15}{2}\, \times \, \text{(row }3) \text{from }\text{row }2: \\
144
+ \left(
145
+ \begin{array}{cccc}
146
+ 8 & -8 & -5 & 0 \\
147
+ 0 & -1 & 0 & -\frac{162}{307} \\
148
+ 0 & 0 & 1 & -\frac{224}{307} \\
149
+ \end{array}
150
+ \right) \\
151
+ \end{array}
152
+ \\
153
+
154
+ \begin{array}{l}
155
+ \text{Add }5\, \times \, \text{(row }3) \text{to }\text{row }1: \\
156
+ \left(
157
+ \begin{array}{cccc}
158
+ 8 & -8 & 0 & -\frac{1120}{307} \\
159
+ 0 & -1 & 0 & -\frac{162}{307} \\
160
+ 0 & 0 & 1 & -\frac{224}{307} \\
161
+ \end{array}
162
+ \right) \\
163
+ \end{array}
164
+ \\
165
+
166
+ \begin{array}{l}
167
+ \text{Multiply }\text{row }2 \text{by }-1: \\
168
+ \left(
169
+ \begin{array}{cccc}
170
+ 8 & -8 & 0 & -\frac{1120}{307} \\
171
+ 0 & 1 & 0 & \frac{162}{307} \\
172
+ 0 & 0 & 1 & -\frac{224}{307} \\
173
+ \end{array}
174
+ \right) \\
175
+ \end{array}
176
+ \\
177
+
178
+ \begin{array}{l}
179
+ \text{Add }8\, \times \, \text{(row }2) \text{to }\text{row }1: \\
180
+ \left(
181
+ \begin{array}{cccc}
182
+ 8 & 0 & 0 & \frac{176}{307} \\
183
+ 0 & 1 & 0 & \frac{162}{307} \\
184
+ 0 & 0 & 1 & -\frac{224}{307} \\
185
+ \end{array}
186
+ \right) \\
187
+ \end{array}
188
+ \\
189
+
190
+ \begin{array}{l}
191
+ \text{Divide }\text{row }1 \text{by }8: \\
192
+ \left(
193
+ \begin{array}{cccc}
194
+ 1 & 0 & 0 & \frac{22}{307} \\
195
+ 0 & 1 & 0 & \frac{162}{307} \\
196
+ 0 & 0 & 1 & -\frac{224}{307} \\
197
+ \end{array}
198
+ \right) \\
199
+ \end{array}
200
+ \\
201
+
202
+ \begin{array}{l}
203
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
204
+ \begin{array}{c}
205
+ x_1 \\
206
+ x_2 \\
207
+ x_3 \\
208
+ x_4 \\
209
+ \end{array}
210
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
211
+ \begin{array}{cccc}
212
+ 1 & 0 & 0 & \frac{22}{307} \\
213
+ 0 & 1 & 0 & \frac{162}{307} \\
214
+ 0 & 0 & 1 & -\frac{224}{307} \\
215
+ \end{array}
216
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
217
+ \text{Column }4 \text{is }\text{the }\text{only }\text{column }\text{with }\text{no }\text{pivot, }\text{so }\text{we }\text{may }\text{take }x_4 \text{to }\text{be }\text{the }\text{only }\text{free }\text{variable} \\
218
+ \end{array}
219
+ \\
220
+
221
+ \begin{array}{l}
222
+ \text{Multiply }\text{out }\text{the }\text{reduced }\text{matrix }\left(
223
+ \begin{array}{cccc}
224
+ 1 & 0 & 0 & \frac{22}{307} \\
225
+ 0 & 1 & 0 & \frac{162}{307} \\
226
+ 0 & 0 & 1 & -\frac{224}{307} \\
227
+ \end{array}
228
+ \right) \text{with }\text{the }\text{proposed }\text{solution }\text{vector }\left(
229
+ \begin{array}{c}
230
+ x_1 \\
231
+ x_2 \\
232
+ x_3 \\
233
+ x_4 \\
234
+ \end{array}
235
+ \right): \\
236
+ \left(
237
+ \begin{array}{cccc}
238
+ 1 & 0 & 0 & \frac{22}{307} \\
239
+ 0 & 1 & 0 & \frac{162}{307} \\
240
+ 0 & 0 & 1 & -\frac{224}{307} \\
241
+ \end{array}
242
+ \right).\left(
243
+ \begin{array}{c}
244
+ x_1 \\
245
+ x_2 \\
246
+ x_3 \\
247
+ x_4 \\
248
+ \end{array}
249
+ \right)=\left(
250
+ \begin{array}{c}
251
+ x_1+\frac{22 x_4}{307} \\
252
+ x_2+\frac{162 x_4}{307} \\
253
+ x_3-\frac{224 x_4}{307} \\
254
+ \end{array}
255
+ \right)=\left(
256
+ \begin{array}{c}
257
+ 0 \\
258
+ 0 \\
259
+ 0 \\
260
+ \end{array}
261
+ \right) \\
262
+ \end{array}
263
+ \\
264
+
265
+ \begin{array}{l}
266
+ \text{Solve }\text{the }\text{equations }\{
267
+ \begin{array}{l}
268
+ x_1+\frac{22 x_4}{307}=0 \\
269
+ x_2+\frac{162 x_4}{307}=0 \\
270
+ x_3-\frac{224 x_4}{307}=0 \\
271
+ \end{array}
272
+ \text{for }x_1,x_2 \text{and }x_3: \\
273
+ \{
274
+ \begin{array}{l}
275
+ x_1=-\frac{22 x_4}{307} \\
276
+ x_2=-\frac{162 x_4}{307} \\
277
+ x_3=\frac{224 x_4}{307} \\
278
+ \end{array}
279
+ \\
280
+ \end{array}
281
+ \\
282
+
283
+ \begin{array}{l}
284
+ \text{Rewrite }v \text{in }\text{terms }\text{of }\text{the }\text{free }\text{variable }x_4, \text{and }\text{assign }\text{it }\text{an }\text{arbitrary }\text{real }\text{value }\text{of }x: \\
285
+ v=\left(
286
+ \begin{array}{c}
287
+ x_1 \\
288
+ x_2 \\
289
+ x_3 \\
290
+ x_4 \\
291
+ \end{array}
292
+ \right)=\left(
293
+ \begin{array}{c}
294
+ -\frac{22 x_4}{307} \\
295
+ -\frac{162 x_4}{307} \\
296
+ \frac{224 x_4}{307} \\
297
+ x_4 \\
298
+ \end{array}
299
+ \right)=\left(
300
+ \begin{array}{c}
301
+ -\frac{22 x}{307} \\
302
+ -\frac{162 x}{307} \\
303
+ \frac{224 x}{307} \\
304
+ x \\
305
+ \end{array}
306
+ \right)\text{ for }x\in \mathbb{R} \\
307
+ \end{array}
308
+ \\
309
+
310
+ \begin{array}{l}
311
+ \text{Since }x \text{is }\text{taken }\text{from }\mathbb{R}, \text{we }\text{can }\text{replace }\text{it }\text{with }307 x: \\
312
+ \left(
313
+ \begin{array}{c}
314
+ -\frac{22 x}{307} \\
315
+ -\frac{162 x}{307} \\
316
+ \frac{224 x}{307} \\
317
+ x \\
318
+ \end{array}
319
+ \right)\, \rightarrow \, \left(
320
+ \begin{array}{c}
321
+ -\frac{22}{307} (307 x) \\
322
+ -\frac{162}{307} (307 x) \\
323
+ \frac{224 (307 x)}{307} \\
324
+ 307 x \\
325
+ \end{array}
326
+ \right)=\left(
327
+ \begin{array}{c}
328
+ -22 x \\
329
+ -162 x \\
330
+ 224 x \\
331
+ 307 x \\
332
+ \end{array}
333
+ \right)\text{ for }x\in \mathbb{R} \\
334
+ \end{array}
335
+ \\
336
+
337
+ \begin{array}{l}
338
+ \text{Rewrite }\text{the }\text{solution }\text{vector }v=\left(
339
+ \begin{array}{c}
340
+ -22 x \\
341
+ -162 x \\
342
+ 224 x \\
343
+ 307 x \\
344
+ \end{array}
345
+ \right) \text{in }\text{set }\text{notation}: \\
346
+ \fbox{$
347
+ \begin{array}{ll}
348
+ \text{Answer:} & \\
349
+ \text{} & \{\, (-22 x,-162 x,224 x,307 x)\, \text{$\, $: }x\in \mathbb{R}\} \\
350
+ \end{array}
351
+ $} \\
352
+ \end{array}
353
+ \\
354
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/1215.txt ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cc}
5
+ 6 & 5 \\
6
+ 5 & -10 \\
7
+ \end{array}
8
+ \right)$.
9
+ Answer:
10
+ \begin{array}{l}
11
+
12
+ \begin{array}{l}
13
+ \text{Find the null space of the matrix }M: \\
14
+ M=\left(
15
+ \begin{array}{cc}
16
+ 6 & 5 \\
17
+ 5 & -10 \\
18
+ \end{array}
19
+ \right) \\
20
+ \end{array}
21
+ \\
22
+ \hline
23
+
24
+ \begin{array}{l}
25
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
26
+ \begin{array}{cc}
27
+ 6 & 5 \\
28
+ 5 & -10 \\
29
+ \end{array}
30
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
31
+ \begin{array}{c}
32
+ x_1 \\
33
+ x_2 \\
34
+ \end{array}
35
+ \right) \text{such }\text{that }M.v=0: \\
36
+ \left(
37
+ \begin{array}{cc}
38
+ 6 & 5 \\
39
+ 5 & -10 \\
40
+ \end{array}
41
+ \right).\left(
42
+ \begin{array}{c}
43
+ x_1 \\
44
+ x_2 \\
45
+ \end{array}
46
+ \right)=\left(
47
+ \begin{array}{c}
48
+ 0 \\
49
+ 0 \\
50
+ \end{array}
51
+ \right) \\
52
+ \end{array}
53
+ \\
54
+
55
+ \begin{array}{l}
56
+ \text{Reduce }\text{the }\text{matrix }\left(
57
+ \begin{array}{cc}
58
+ 6 & 5 \\
59
+ 5 & -10 \\
60
+ \end{array}
61
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
62
+ \left(
63
+ \begin{array}{cc}
64
+ 6 & 5 \\
65
+ 5 & -10 \\
66
+ \end{array}
67
+ \right) \\
68
+ \end{array}
69
+ \\
70
+
71
+ \begin{array}{l}
72
+ \text{Subtract }\frac{5}{6}\, \times \, \text{(row }1) \text{from }\text{row }2: \\
73
+ \left(
74
+ \begin{array}{cc}
75
+ 6 & 5 \\
76
+ 0 & -\frac{85}{6} \\
77
+ \end{array}
78
+ \right) \\
79
+ \end{array}
80
+ \\
81
+
82
+ \begin{array}{l}
83
+ \text{Multiply }\text{row }2 \text{by }-\frac{6}{85}: \\
84
+ \left(
85
+ \begin{array}{cc}
86
+ 6 & 5 \\
87
+ 0 & 1 \\
88
+ \end{array}
89
+ \right) \\
90
+ \end{array}
91
+ \\
92
+
93
+ \begin{array}{l}
94
+ \text{Subtract }5\, \times \, \text{(row }2) \text{from }\text{row }1: \\
95
+ \left(
96
+ \begin{array}{cc}
97
+ 6 & 0 \\
98
+ 0 & 1 \\
99
+ \end{array}
100
+ \right) \\
101
+ \end{array}
102
+ \\
103
+
104
+ \begin{array}{l}
105
+ \text{Divide }\text{row }1 \text{by }6: \\
106
+ \left(
107
+ \begin{array}{cc}
108
+ 1 & 0 \\
109
+ 0 & 1 \\
110
+ \end{array}
111
+ \right) \\
112
+ \end{array}
113
+ \\
114
+
115
+ \begin{array}{l}
116
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
117
+ \begin{array}{c}
118
+ x_1 \\
119
+ x_2 \\
120
+ \end{array}
121
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
122
+ \begin{array}{cc}
123
+ 1 & 0 \\
124
+ 0 & 1 \\
125
+ \end{array}
126
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
127
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
128
+ \end{array}
129
+ \\
130
+
131
+ \begin{array}{l}
132
+ \text{The }\text{only }\text{value }\text{of }v=\left(
133
+ \begin{array}{c}
134
+ x_1 \\
135
+ x_2 \\
136
+ \end{array}
137
+ \right) \text{that }\text{would }\text{make }\left(
138
+ \begin{array}{cc}
139
+ 1 & 0 \\
140
+ 0 & 1 \\
141
+ \end{array}
142
+ \right).\left(
143
+ \begin{array}{c}
144
+ x_1 \\
145
+ x_2 \\
146
+ \end{array}
147
+ \right)=\left(
148
+ \begin{array}{c}
149
+ 0 \\
150
+ 0 \\
151
+ \end{array}
152
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
153
+ \begin{array}{c}
154
+ 0 \\
155
+ 0 \\
156
+ \end{array}
157
+ \right): \\
158
+ \left(
159
+ \begin{array}{c}
160
+ 0 \\
161
+ 0 \\
162
+ \end{array}
163
+ \right) \\
164
+ \end{array}
165
+ \\
166
+
167
+ \begin{array}{l}
168
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
169
+ \fbox{$
170
+ \begin{array}{ll}
171
+ \text{Answer:} & \\
172
+ \text{} & \{\, (0,0)\, \} \\
173
+ \end{array}
174
+ $} \\
175
+ \end{array}
176
+ \\
177
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/1250.txt ADDED
@@ -0,0 +1,342 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{ccc}
5
+ 9 & 4 & 10 \\
6
+ -7 & 0 & -9 \\
7
+ -9 & 4 & -4 \\
8
+ 2 & 4 & -9 \\
9
+ \end{array}
10
+ \right)$.
11
+ Answer:
12
+ \begin{array}{l}
13
+
14
+ \begin{array}{l}
15
+ \text{Find the null space of the matrix }M: \\
16
+ M=\left(
17
+ \begin{array}{ccc}
18
+ 9 & 4 & 10 \\
19
+ -7 & 0 & -9 \\
20
+ -9 & 4 & -4 \\
21
+ 2 & 4 & -9 \\
22
+ \end{array}
23
+ \right) \\
24
+ \end{array}
25
+ \\
26
+ \hline
27
+
28
+ \begin{array}{l}
29
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
30
+ \begin{array}{ccc}
31
+ 9 & 4 & 10 \\
32
+ -7 & 0 & -9 \\
33
+ -9 & 4 & -4 \\
34
+ 2 & 4 & -9 \\
35
+ \end{array}
36
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
37
+ \begin{array}{c}
38
+ x_1 \\
39
+ x_2 \\
40
+ x_3 \\
41
+ \end{array}
42
+ \right) \text{such }\text{that }M.v=0: \\
43
+ \left(
44
+ \begin{array}{ccc}
45
+ 9 & 4 & 10 \\
46
+ -7 & 0 & -9 \\
47
+ -9 & 4 & -4 \\
48
+ 2 & 4 & -9 \\
49
+ \end{array}
50
+ \right).\left(
51
+ \begin{array}{c}
52
+ x_1 \\
53
+ x_2 \\
54
+ x_3 \\
55
+ \end{array}
56
+ \right)=\left(
57
+ \begin{array}{c}
58
+ 0 \\
59
+ 0 \\
60
+ 0 \\
61
+ 0 \\
62
+ \end{array}
63
+ \right) \\
64
+ \end{array}
65
+ \\
66
+
67
+ \begin{array}{l}
68
+ \text{Reduce }\text{the }\text{matrix }\left(
69
+ \begin{array}{ccc}
70
+ 9 & 4 & 10 \\
71
+ -7 & 0 & -9 \\
72
+ -9 & 4 & -4 \\
73
+ 2 & 4 & -9 \\
74
+ \end{array}
75
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
76
+ \left(
77
+ \begin{array}{ccc}
78
+ 9 & 4 & 10 \\
79
+ -7 & 0 & -9 \\
80
+ -9 & 4 & -4 \\
81
+ 2 & 4 & -9 \\
82
+ \end{array}
83
+ \right) \\
84
+ \end{array}
85
+ \\
86
+
87
+ \begin{array}{l}
88
+ \text{Add }\frac{7}{9}\, \times \, \text{(row }1) \text{to }\text{row }2: \\
89
+ \left(
90
+ \begin{array}{ccc}
91
+ 9 & 4 & 10 \\
92
+ 0 & \frac{28}{9} & -\frac{11}{9} \\
93
+ -9 & 4 & -4 \\
94
+ 2 & 4 & -9 \\
95
+ \end{array}
96
+ \right) \\
97
+ \end{array}
98
+ \\
99
+
100
+ \begin{array}{l}
101
+ \text{Add }\text{row }1 \text{to }\text{row }3: \\
102
+ \left(
103
+ \begin{array}{ccc}
104
+ 9 & 4 & 10 \\
105
+ 0 & \frac{28}{9} & -\frac{11}{9} \\
106
+ 0 & 8 & 6 \\
107
+ 2 & 4 & -9 \\
108
+ \end{array}
109
+ \right) \\
110
+ \end{array}
111
+ \\
112
+
113
+ \begin{array}{l}
114
+ \text{Subtract }\frac{2}{9}\, \times \, \text{(row }1) \text{from }\text{row }4: \\
115
+ \left(
116
+ \begin{array}{ccc}
117
+ 9 & 4 & 10 \\
118
+ 0 & \frac{28}{9} & -\frac{11}{9} \\
119
+ 0 & 8 & 6 \\
120
+ 0 & \frac{28}{9} & -\frac{101}{9} \\
121
+ \end{array}
122
+ \right) \\
123
+ \end{array}
124
+ \\
125
+
126
+ \begin{array}{l}
127
+ \text{Swap }\text{row }2 \text{with }\text{row }3: \\
128
+ \left(
129
+ \begin{array}{ccc}
130
+ 9 & 4 & 10 \\
131
+ 0 & 8 & 6 \\
132
+ 0 & \frac{28}{9} & -\frac{11}{9} \\
133
+ 0 & \frac{28}{9} & -\frac{101}{9} \\
134
+ \end{array}
135
+ \right) \\
136
+ \end{array}
137
+ \\
138
+
139
+ \begin{array}{l}
140
+ \text{Subtract }\frac{7}{18}\, \times \, \text{(row }2) \text{from }\text{row }3: \\
141
+ \left(
142
+ \begin{array}{ccc}
143
+ 9 & 4 & 10 \\
144
+ 0 & 8 & 6 \\
145
+ 0 & 0 & -\frac{32}{9} \\
146
+ 0 & \frac{28}{9} & -\frac{101}{9} \\
147
+ \end{array}
148
+ \right) \\
149
+ \end{array}
150
+ \\
151
+
152
+ \begin{array}{l}
153
+ \text{Subtract }\frac{7}{18}\, \times \, \text{(row }2) \text{from }\text{row }4: \\
154
+ \left(
155
+ \begin{array}{ccc}
156
+ 9 & 4 & 10 \\
157
+ 0 & 8 & 6 \\
158
+ 0 & 0 & -\frac{32}{9} \\
159
+ 0 & 0 & -\frac{122}{9} \\
160
+ \end{array}
161
+ \right) \\
162
+ \end{array}
163
+ \\
164
+
165
+ \begin{array}{l}
166
+ \text{Swap }\text{row }3 \text{with }\text{row }4: \\
167
+ \left(
168
+ \begin{array}{ccc}
169
+ 9 & 4 & 10 \\
170
+ 0 & 8 & 6 \\
171
+ 0 & 0 & -\frac{122}{9} \\
172
+ 0 & 0 & -\frac{32}{9} \\
173
+ \end{array}
174
+ \right) \\
175
+ \end{array}
176
+ \\
177
+
178
+ \begin{array}{l}
179
+ \text{Subtract }\frac{16}{61}\, \times \, \text{(row }3) \text{from }\text{row }4: \\
180
+ \left(
181
+ \begin{array}{ccc}
182
+ 9 & 4 & 10 \\
183
+ 0 & 8 & 6 \\
184
+ 0 & 0 & -\frac{122}{9} \\
185
+ 0 & 0 & 0 \\
186
+ \end{array}
187
+ \right) \\
188
+ \end{array}
189
+ \\
190
+
191
+ \begin{array}{l}
192
+ \text{Multiply }\text{row }3 \text{by }-\frac{9}{122}: \\
193
+ \left(
194
+ \begin{array}{ccc}
195
+ 9 & 4 & 10 \\
196
+ 0 & 8 & 6 \\
197
+ 0 & 0 & 1 \\
198
+ 0 & 0 & 0 \\
199
+ \end{array}
200
+ \right) \\
201
+ \end{array}
202
+ \\
203
+
204
+ \begin{array}{l}
205
+ \text{Subtract }6\, \times \, \text{(row }3) \text{from }\text{row }2: \\
206
+ \left(
207
+ \begin{array}{ccc}
208
+ 9 & 4 & 10 \\
209
+ 0 & 8 & 0 \\
210
+ 0 & 0 & 1 \\
211
+ 0 & 0 & 0 \\
212
+ \end{array}
213
+ \right) \\
214
+ \end{array}
215
+ \\
216
+
217
+ \begin{array}{l}
218
+ \text{Subtract }10\, \times \, \text{(row }3) \text{from }\text{row }1: \\
219
+ \left(
220
+ \begin{array}{ccc}
221
+ 9 & 4 & 0 \\
222
+ 0 & 8 & 0 \\
223
+ 0 & 0 & 1 \\
224
+ 0 & 0 & 0 \\
225
+ \end{array}
226
+ \right) \\
227
+ \end{array}
228
+ \\
229
+
230
+ \begin{array}{l}
231
+ \text{Divide }\text{row }2 \text{by }8: \\
232
+ \left(
233
+ \begin{array}{ccc}
234
+ 9 & 4 & 0 \\
235
+ 0 & 1 & 0 \\
236
+ 0 & 0 & 1 \\
237
+ 0 & 0 & 0 \\
238
+ \end{array}
239
+ \right) \\
240
+ \end{array}
241
+ \\
242
+
243
+ \begin{array}{l}
244
+ \text{Subtract }4\, \times \, \text{(row }2) \text{from }\text{row }1: \\
245
+ \left(
246
+ \begin{array}{ccc}
247
+ 9 & 0 & 0 \\
248
+ 0 & 1 & 0 \\
249
+ 0 & 0 & 1 \\
250
+ 0 & 0 & 0 \\
251
+ \end{array}
252
+ \right) \\
253
+ \end{array}
254
+ \\
255
+
256
+ \begin{array}{l}
257
+ \text{Divide }\text{row }1 \text{by }9: \\
258
+ \left(
259
+ \begin{array}{ccc}
260
+ 1 & 0 & 0 \\
261
+ 0 & 1 & 0 \\
262
+ 0 & 0 & 1 \\
263
+ 0 & 0 & 0 \\
264
+ \end{array}
265
+ \right) \\
266
+ \end{array}
267
+ \\
268
+
269
+ \begin{array}{l}
270
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
271
+ \begin{array}{c}
272
+ x_1 \\
273
+ x_2 \\
274
+ x_3 \\
275
+ \end{array}
276
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
277
+ \begin{array}{ccc}
278
+ 1 & 0 & 0 \\
279
+ 0 & 1 & 0 \\
280
+ 0 & 0 & 1 \\
281
+ 0 & 0 & 0 \\
282
+ \end{array}
283
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
284
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
285
+ \end{array}
286
+ \\
287
+
288
+ \begin{array}{l}
289
+ \text{The }\text{only }\text{value }\text{of }v=\left(
290
+ \begin{array}{c}
291
+ x_1 \\
292
+ x_2 \\
293
+ x_3 \\
294
+ \end{array}
295
+ \right) \text{that }\text{would }\text{make }\left(
296
+ \begin{array}{ccc}
297
+ 1 & 0 & 0 \\
298
+ 0 & 1 & 0 \\
299
+ 0 & 0 & 1 \\
300
+ 0 & 0 & 0 \\
301
+ \end{array}
302
+ \right).\left(
303
+ \begin{array}{c}
304
+ x_1 \\
305
+ x_2 \\
306
+ x_3 \\
307
+ \end{array}
308
+ \right)=\left(
309
+ \begin{array}{c}
310
+ 0 \\
311
+ 0 \\
312
+ 0 \\
313
+ 0 \\
314
+ \end{array}
315
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
316
+ \begin{array}{c}
317
+ 0 \\
318
+ 0 \\
319
+ 0 \\
320
+ \end{array}
321
+ \right): \\
322
+ \left(
323
+ \begin{array}{c}
324
+ 0 \\
325
+ 0 \\
326
+ 0 \\
327
+ \end{array}
328
+ \right) \\
329
+ \end{array}
330
+ \\
331
+
332
+ \begin{array}{l}
333
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
334
+ \fbox{$
335
+ \begin{array}{ll}
336
+ \text{Answer:} & \\
337
+ \text{} & \{\, (0,0,0)\, \} \\
338
+ \end{array}
339
+ $} \\
340
+ \end{array}
341
+ \\
342
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/1264.txt ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cc}
5
+ -7 & 3 \\
6
+ -4 & -5 \\
7
+ 0 & 0 \\
8
+ 0 & -6 \\
9
+ \end{array}
10
+ \right)$.
11
+ Answer:
12
+ \begin{array}{l}
13
+
14
+ \begin{array}{l}
15
+ \text{Find the null space of the matrix }M: \\
16
+ M=\left(
17
+ \begin{array}{cc}
18
+ -7 & 3 \\
19
+ -4 & -5 \\
20
+ 0 & 0 \\
21
+ 0 & -6 \\
22
+ \end{array}
23
+ \right) \\
24
+ \end{array}
25
+ \\
26
+ \hline
27
+
28
+ \begin{array}{l}
29
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
30
+ \begin{array}{cc}
31
+ -7 & 3 \\
32
+ -4 & -5 \\
33
+ 0 & 0 \\
34
+ 0 & -6 \\
35
+ \end{array}
36
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
37
+ \begin{array}{c}
38
+ x_1 \\
39
+ x_2 \\
40
+ \end{array}
41
+ \right) \text{such }\text{that }M.v=0: \\
42
+ \left(
43
+ \begin{array}{cc}
44
+ -7 & 3 \\
45
+ -4 & -5 \\
46
+ 0 & 0 \\
47
+ 0 & -6 \\
48
+ \end{array}
49
+ \right).\left(
50
+ \begin{array}{c}
51
+ x_1 \\
52
+ x_2 \\
53
+ \end{array}
54
+ \right)=\left(
55
+ \begin{array}{c}
56
+ 0 \\
57
+ 0 \\
58
+ 0 \\
59
+ 0 \\
60
+ \end{array}
61
+ \right) \\
62
+ \end{array}
63
+ \\
64
+
65
+ \begin{array}{l}
66
+ \text{Reduce }\text{the }\text{matrix }\left(
67
+ \begin{array}{cc}
68
+ -7 & 3 \\
69
+ -4 & -5 \\
70
+ 0 & 0 \\
71
+ 0 & -6 \\
72
+ \end{array}
73
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
74
+ \left(
75
+ \begin{array}{cc}
76
+ -7 & 3 \\
77
+ -4 & -5 \\
78
+ 0 & 0 \\
79
+ 0 & -6 \\
80
+ \end{array}
81
+ \right) \\
82
+ \end{array}
83
+ \\
84
+
85
+ \begin{array}{l}
86
+ \text{Subtract }\frac{4}{7}\, \times \, \text{(row }1) \text{from }\text{row }2: \\
87
+ \left(
88
+ \begin{array}{cc}
89
+ -7 & 3 \\
90
+ 0 & -\frac{47}{7} \\
91
+ 0 & 0 \\
92
+ 0 & -6 \\
93
+ \end{array}
94
+ \right) \\
95
+ \end{array}
96
+ \\
97
+
98
+ \begin{array}{l}
99
+ \text{Subtract }\frac{42}{47}\, \times \, \text{(row }2) \text{from }\text{row }4: \\
100
+ \left(
101
+ \begin{array}{cc}
102
+ -7 & 3 \\
103
+ 0 & -\frac{47}{7} \\
104
+ 0 & 0 \\
105
+ 0 & 0 \\
106
+ \end{array}
107
+ \right) \\
108
+ \end{array}
109
+ \\
110
+
111
+ \begin{array}{l}
112
+ \text{Multiply }\text{row }2 \text{by }-\frac{7}{47}: \\
113
+ \left(
114
+ \begin{array}{cc}
115
+ -7 & 3 \\
116
+ 0 & 1 \\
117
+ 0 & 0 \\
118
+ 0 & 0 \\
119
+ \end{array}
120
+ \right) \\
121
+ \end{array}
122
+ \\
123
+
124
+ \begin{array}{l}
125
+ \text{Subtract }3\, \times \, \text{(row }2) \text{from }\text{row }1: \\
126
+ \left(
127
+ \begin{array}{cc}
128
+ -7 & 0 \\
129
+ 0 & 1 \\
130
+ 0 & 0 \\
131
+ 0 & 0 \\
132
+ \end{array}
133
+ \right) \\
134
+ \end{array}
135
+ \\
136
+
137
+ \begin{array}{l}
138
+ \text{Divide }\text{row }1 \text{by }-7: \\
139
+ \left(
140
+ \begin{array}{cc}
141
+ 1 & 0 \\
142
+ 0 & 1 \\
143
+ 0 & 0 \\
144
+ 0 & 0 \\
145
+ \end{array}
146
+ \right) \\
147
+ \end{array}
148
+ \\
149
+
150
+ \begin{array}{l}
151
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
152
+ \begin{array}{c}
153
+ x_1 \\
154
+ x_2 \\
155
+ \end{array}
156
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
157
+ \begin{array}{cc}
158
+ 1 & 0 \\
159
+ 0 & 1 \\
160
+ 0 & 0 \\
161
+ 0 & 0 \\
162
+ \end{array}
163
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
164
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
165
+ \end{array}
166
+ \\
167
+
168
+ \begin{array}{l}
169
+ \text{The }\text{only }\text{value }\text{of }v=\left(
170
+ \begin{array}{c}
171
+ x_1 \\
172
+ x_2 \\
173
+ \end{array}
174
+ \right) \text{that }\text{would }\text{make }\left(
175
+ \begin{array}{cc}
176
+ 1 & 0 \\
177
+ 0 & 1 \\
178
+ 0 & 0 \\
179
+ 0 & 0 \\
180
+ \end{array}
181
+ \right).\left(
182
+ \begin{array}{c}
183
+ x_1 \\
184
+ x_2 \\
185
+ \end{array}
186
+ \right)=\left(
187
+ \begin{array}{c}
188
+ 0 \\
189
+ 0 \\
190
+ 0 \\
191
+ 0 \\
192
+ \end{array}
193
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
194
+ \begin{array}{c}
195
+ 0 \\
196
+ 0 \\
197
+ \end{array}
198
+ \right): \\
199
+ \left(
200
+ \begin{array}{c}
201
+ 0 \\
202
+ 0 \\
203
+ \end{array}
204
+ \right) \\
205
+ \end{array}
206
+ \\
207
+
208
+ \begin{array}{l}
209
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
210
+ \fbox{$
211
+ \begin{array}{ll}
212
+ \text{Answer:} & \\
213
+ \text{} & \{\, (0,0)\, \} \\
214
+ \end{array}
215
+ $} \\
216
+ \end{array}
217
+ \\
218
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/141.txt ADDED
@@ -0,0 +1,275 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cccc}
5
+ 3 & 4 & 2 & 3 \\
6
+ -7 & 5 & -9 & 5 \\
7
+ \end{array}
8
+ \right)$.
9
+ Answer:
10
+ \begin{array}{l}
11
+
12
+ \begin{array}{l}
13
+ \text{Find the null space of the matrix }M: \\
14
+ M=\left(
15
+ \begin{array}{cccc}
16
+ 3 & 4 & 2 & 3 \\
17
+ -7 & 5 & -9 & 5 \\
18
+ \end{array}
19
+ \right) \\
20
+ \end{array}
21
+ \\
22
+ \hline
23
+
24
+ \begin{array}{l}
25
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
26
+ \begin{array}{cccc}
27
+ 3 & 4 & 2 & 3 \\
28
+ -7 & 5 & -9 & 5 \\
29
+ \end{array}
30
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
31
+ \begin{array}{c}
32
+ x_1 \\
33
+ x_2 \\
34
+ x_3 \\
35
+ x_4 \\
36
+ \end{array}
37
+ \right) \text{such }\text{that }M.v=0: \\
38
+ \left(
39
+ \begin{array}{cccc}
40
+ 3 & 4 & 2 & 3 \\
41
+ -7 & 5 & -9 & 5 \\
42
+ \end{array}
43
+ \right).\left(
44
+ \begin{array}{c}
45
+ x_1 \\
46
+ x_2 \\
47
+ x_3 \\
48
+ x_4 \\
49
+ \end{array}
50
+ \right)=\left(
51
+ \begin{array}{c}
52
+ 0 \\
53
+ 0 \\
54
+ \end{array}
55
+ \right) \\
56
+ \end{array}
57
+ \\
58
+
59
+ \begin{array}{l}
60
+ \text{Reduce }\text{the }\text{matrix }\left(
61
+ \begin{array}{cccc}
62
+ 3 & 4 & 2 & 3 \\
63
+ -7 & 5 & -9 & 5 \\
64
+ \end{array}
65
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
66
+ \left(
67
+ \begin{array}{cccc}
68
+ 3 & 4 & 2 & 3 \\
69
+ -7 & 5 & -9 & 5 \\
70
+ \end{array}
71
+ \right) \\
72
+ \end{array}
73
+ \\
74
+
75
+ \begin{array}{l}
76
+ \text{Swap }\text{row }1 \text{with }\text{row }2: \\
77
+ \left(
78
+ \begin{array}{cccc}
79
+ -7 & 5 & -9 & 5 \\
80
+ 3 & 4 & 2 & 3 \\
81
+ \end{array}
82
+ \right) \\
83
+ \end{array}
84
+ \\
85
+
86
+ \begin{array}{l}
87
+ \text{Add }\frac{3}{7}\, \times \, \text{(row }1) \text{to }\text{row }2: \\
88
+ \left(
89
+ \begin{array}{cccc}
90
+ -7 & 5 & -9 & 5 \\
91
+ 0 & \frac{43}{7} & -\frac{13}{7} & \frac{36}{7} \\
92
+ \end{array}
93
+ \right) \\
94
+ \end{array}
95
+ \\
96
+
97
+ \begin{array}{l}
98
+ \text{Multiply }\text{row }2 \text{by }\frac{7}{43}: \\
99
+ \left(
100
+ \begin{array}{cccc}
101
+ -7 & 5 & -9 & 5 \\
102
+ 0 & 1 & -\frac{13}{43} & \frac{36}{43} \\
103
+ \end{array}
104
+ \right) \\
105
+ \end{array}
106
+ \\
107
+
108
+ \begin{array}{l}
109
+ \text{Subtract }5\, \times \, \text{(row }2) \text{from }\text{row }1: \\
110
+ \left(
111
+ \begin{array}{cccc}
112
+ -7 & 0 & -\frac{322}{43} & \frac{35}{43} \\
113
+ 0 & 1 & -\frac{13}{43} & \frac{36}{43} \\
114
+ \end{array}
115
+ \right) \\
116
+ \end{array}
117
+ \\
118
+
119
+ \begin{array}{l}
120
+ \text{Divide }\text{row }1 \text{by }-7: \\
121
+ \left(
122
+ \begin{array}{cccc}
123
+ 1 & 0 & \frac{46}{43} & -\frac{5}{43} \\
124
+ 0 & 1 & -\frac{13}{43} & \frac{36}{43} \\
125
+ \end{array}
126
+ \right) \\
127
+ \end{array}
128
+ \\
129
+
130
+ \begin{array}{l}
131
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
132
+ \begin{array}{c}
133
+ x_1 \\
134
+ x_2 \\
135
+ x_3 \\
136
+ x_4 \\
137
+ \end{array}
138
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
139
+ \begin{array}{cccc}
140
+ 1 & 0 & \frac{46}{43} & -\frac{5}{43} \\
141
+ 0 & 1 & -\frac{13}{43} & \frac{36}{43} \\
142
+ \end{array}
143
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
144
+ \text{Columns }3 \text{and }4 \text{are }\text{the }\text{only }\text{columns }\text{with }\text{no }\text{pivot, }\text{so }\text{we }\text{may }\text{take }x_3 \text{and }x_4 \text{to }\text{be }\text{the }\text{only }\text{free }\text{variables} \\
145
+ \end{array}
146
+ \\
147
+
148
+ \begin{array}{l}
149
+ \text{Multiply }\text{out }\text{the }\text{reduced }\text{matrix }\left(
150
+ \begin{array}{cccc}
151
+ 1 & 0 & \frac{46}{43} & -\frac{5}{43} \\
152
+ 0 & 1 & -\frac{13}{43} & \frac{36}{43} \\
153
+ \end{array}
154
+ \right) \text{with }\text{the }\text{proposed }\text{solution }\text{vector }\left(
155
+ \begin{array}{c}
156
+ x_1 \\
157
+ x_2 \\
158
+ x_3 \\
159
+ x_4 \\
160
+ \end{array}
161
+ \right): \\
162
+ \left(
163
+ \begin{array}{cccc}
164
+ 1 & 0 & \frac{46}{43} & -\frac{5}{43} \\
165
+ 0 & 1 & -\frac{13}{43} & \frac{36}{43} \\
166
+ \end{array}
167
+ \right).\left(
168
+ \begin{array}{c}
169
+ x_1 \\
170
+ x_2 \\
171
+ x_3 \\
172
+ x_4 \\
173
+ \end{array}
174
+ \right)=\left(
175
+ \begin{array}{c}
176
+ x_1+\frac{46 x_3}{43}-\frac{5 x_4}{43} \\
177
+ x_2-\frac{13 x_3}{43}+\frac{36 x_4}{43} \\
178
+ \end{array}
179
+ \right)=\left(
180
+ \begin{array}{c}
181
+ 0 \\
182
+ 0 \\
183
+ \end{array}
184
+ \right) \\
185
+ \end{array}
186
+ \\
187
+
188
+ \begin{array}{l}
189
+ \text{Solve }\text{the }\text{equations }\{
190
+ \begin{array}{l}
191
+ x_1+\frac{46 x_3}{43}-\frac{5 x_4}{43}=0 \\
192
+ x_2-\frac{13 x_3}{43}+\frac{36 x_4}{43}=0 \\
193
+ \end{array}
194
+ \text{for }x_1 \text{and }x_2: \\
195
+ \{
196
+ \begin{array}{l}
197
+ x_1=\frac{5 x_4}{43}-\frac{46 x_3}{43} \\
198
+ x_2=\frac{13 x_3}{43}-\frac{36 x_4}{43} \\
199
+ \end{array}
200
+ \\
201
+ \end{array}
202
+ \\
203
+
204
+ \begin{array}{l}
205
+ \text{Rewrite }v \text{in }\text{terms }\text{of }\text{the }\text{free }\text{variables }x_3 \text{and }x_4, \text{and }\text{assign }\text{arbitrary }\text{real }\text{values }\text{of }x \text{and }y \text{to }\text{the }\text{variables}: \\
206
+ v=\left(
207
+ \begin{array}{c}
208
+ x_1 \\
209
+ x_2 \\
210
+ x_3 \\
211
+ x_4 \\
212
+ \end{array}
213
+ \right)=\left(
214
+ \begin{array}{c}
215
+ \frac{5 x_4}{43}-\frac{46 x_3}{43} \\
216
+ \frac{13 x_3}{43}-\frac{36 x_4}{43} \\
217
+ x_3 \\
218
+ x_4 \\
219
+ \end{array}
220
+ \right)=\left(
221
+ \begin{array}{c}
222
+ \frac{5 y}{43}-\frac{46 x}{43} \\
223
+ -\frac{36 y}{43}+\frac{13 x}{43} \\
224
+ x \\
225
+ y \\
226
+ \end{array}
227
+ \right)\text{ for }x,y\in \mathbb{R} \\
228
+ \end{array}
229
+ \\
230
+
231
+ \begin{array}{l}
232
+ \text{Since }\text{the }\text{variables }x \text{and }y \text{are }\text{taken }\text{from }\mathbb{R}, \text{we }\text{can }\text{replace }\text{them }\text{with }43 x \text{and }43 y \text{respectively}: \\
233
+ \left(
234
+ \begin{array}{c}
235
+ \frac{5 y}{43}-\frac{46 x}{43} \\
236
+ -\frac{36 y}{43}+\frac{13 x}{43} \\
237
+ x \\
238
+ y \\
239
+ \end{array}
240
+ \right)\, \rightarrow \, \left(
241
+ \begin{array}{c}
242
+ \frac{5 (43 y)}{43}-\frac{46 (43 x)}{43} \\
243
+ -\frac{36}{43} (43 y)+\frac{13 (43 x)}{43} \\
244
+ 43 x \\
245
+ 43 y \\
246
+ \end{array}
247
+ \right)=\left(
248
+ \begin{array}{c}
249
+ 5 y-46 x \\
250
+ -36 y+13 x \\
251
+ 43 x \\
252
+ 43 y \\
253
+ \end{array}
254
+ \right)\text{ for }x,y\in \mathbb{R} \\
255
+ \end{array}
256
+ \\
257
+
258
+ \begin{array}{l}
259
+ \text{Rewrite }\text{the }\text{solution }\text{vector }v=\left(
260
+ \begin{array}{c}
261
+ 5 y-46 x \\
262
+ -36 y+13 x \\
263
+ 43 x \\
264
+ 43 y \\
265
+ \end{array}
266
+ \right) \text{in }\text{set }\text{notation}: \\
267
+ \fbox{$
268
+ \begin{array}{ll}
269
+ \text{Answer:} & \\
270
+ \text{} & \{\, (5 y-46 x,-36 y+13 x,43 x,43 y)\, \text{$\, $: }x,y\in \mathbb{R}\} \\
271
+ \end{array}
272
+ $} \\
273
+ \end{array}
274
+ \\
275
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/1434.txt ADDED
@@ -0,0 +1,329 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{ccc}
5
+ -7 & -6 & -9 \\
6
+ 6 & 8 & -4 \\
7
+ -10 & 2 & 2 \\
8
+ 8 & -1 & -2 \\
9
+ \end{array}
10
+ \right)$.
11
+ Answer:
12
+ \begin{array}{l}
13
+
14
+ \begin{array}{l}
15
+ \text{Find the null space of the matrix }M: \\
16
+ M=\left(
17
+ \begin{array}{ccc}
18
+ -7 & -6 & -9 \\
19
+ 6 & 8 & -4 \\
20
+ -10 & 2 & 2 \\
21
+ 8 & -1 & -2 \\
22
+ \end{array}
23
+ \right) \\
24
+ \end{array}
25
+ \\
26
+ \hline
27
+
28
+ \begin{array}{l}
29
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
30
+ \begin{array}{ccc}
31
+ -7 & -6 & -9 \\
32
+ 6 & 8 & -4 \\
33
+ -10 & 2 & 2 \\
34
+ 8 & -1 & -2 \\
35
+ \end{array}
36
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
37
+ \begin{array}{c}
38
+ x_1 \\
39
+ x_2 \\
40
+ x_3 \\
41
+ \end{array}
42
+ \right) \text{such }\text{that }M.v=0: \\
43
+ \left(
44
+ \begin{array}{ccc}
45
+ -7 & -6 & -9 \\
46
+ 6 & 8 & -4 \\
47
+ -10 & 2 & 2 \\
48
+ 8 & -1 & -2 \\
49
+ \end{array}
50
+ \right).\left(
51
+ \begin{array}{c}
52
+ x_1 \\
53
+ x_2 \\
54
+ x_3 \\
55
+ \end{array}
56
+ \right)=\left(
57
+ \begin{array}{c}
58
+ 0 \\
59
+ 0 \\
60
+ 0 \\
61
+ 0 \\
62
+ \end{array}
63
+ \right) \\
64
+ \end{array}
65
+ \\
66
+
67
+ \begin{array}{l}
68
+ \text{Reduce }\text{the }\text{matrix }\left(
69
+ \begin{array}{ccc}
70
+ -7 & -6 & -9 \\
71
+ 6 & 8 & -4 \\
72
+ -10 & 2 & 2 \\
73
+ 8 & -1 & -2 \\
74
+ \end{array}
75
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
76
+ \left(
77
+ \begin{array}{ccc}
78
+ -7 & -6 & -9 \\
79
+ 6 & 8 & -4 \\
80
+ -10 & 2 & 2 \\
81
+ 8 & -1 & -2 \\
82
+ \end{array}
83
+ \right) \\
84
+ \end{array}
85
+ \\
86
+
87
+ \begin{array}{l}
88
+ \text{Swap }\text{row }1 \text{with }\text{row }3: \\
89
+ \left(
90
+ \begin{array}{ccc}
91
+ -10 & 2 & 2 \\
92
+ 6 & 8 & -4 \\
93
+ -7 & -6 & -9 \\
94
+ 8 & -1 & -2 \\
95
+ \end{array}
96
+ \right) \\
97
+ \end{array}
98
+ \\
99
+
100
+ \begin{array}{l}
101
+ \text{Add }\frac{3}{5}\, \times \, \text{(row }1) \text{to }\text{row }2: \\
102
+ \left(
103
+ \begin{array}{ccc}
104
+ -10 & 2 & 2 \\
105
+ 0 & \frac{46}{5} & -\frac{14}{5} \\
106
+ -7 & -6 & -9 \\
107
+ 8 & -1 & -2 \\
108
+ \end{array}
109
+ \right) \\
110
+ \end{array}
111
+ \\
112
+
113
+ \begin{array}{l}
114
+ \text{Subtract }\frac{7}{10}\, \times \, \text{(row }1) \text{from }\text{row }3: \\
115
+ \left(
116
+ \begin{array}{ccc}
117
+ -10 & 2 & 2 \\
118
+ 0 & \frac{46}{5} & -\frac{14}{5} \\
119
+ 0 & -\frac{37}{5} & -\frac{52}{5} \\
120
+ 8 & -1 & -2 \\
121
+ \end{array}
122
+ \right) \\
123
+ \end{array}
124
+ \\
125
+
126
+ \begin{array}{l}
127
+ \text{Add }\frac{4}{5}\, \times \, \text{(row }1) \text{to }\text{row }4: \\
128
+ \left(
129
+ \begin{array}{ccc}
130
+ -10 & 2 & 2 \\
131
+ 0 & \frac{46}{5} & -\frac{14}{5} \\
132
+ 0 & -\frac{37}{5} & -\frac{52}{5} \\
133
+ 0 & \frac{3}{5} & -\frac{2}{5} \\
134
+ \end{array}
135
+ \right) \\
136
+ \end{array}
137
+ \\
138
+
139
+ \begin{array}{l}
140
+ \text{Add }\frac{37}{46}\, \times \, \text{(row }2) \text{to }\text{row }3: \\
141
+ \left(
142
+ \begin{array}{ccc}
143
+ -10 & 2 & 2 \\
144
+ 0 & \frac{46}{5} & -\frac{14}{5} \\
145
+ 0 & 0 & -\frac{291}{23} \\
146
+ 0 & \frac{3}{5} & -\frac{2}{5} \\
147
+ \end{array}
148
+ \right) \\
149
+ \end{array}
150
+ \\
151
+
152
+ \begin{array}{l}
153
+ \text{Subtract }\frac{3}{46}\, \times \, \text{(row }2) \text{from }\text{row }4: \\
154
+ \left(
155
+ \begin{array}{ccc}
156
+ -10 & 2 & 2 \\
157
+ 0 & \frac{46}{5} & -\frac{14}{5} \\
158
+ 0 & 0 & -\frac{291}{23} \\
159
+ 0 & 0 & -\frac{5}{23} \\
160
+ \end{array}
161
+ \right) \\
162
+ \end{array}
163
+ \\
164
+
165
+ \begin{array}{l}
166
+ \text{Subtract }\frac{5}{291}\, \times \, \text{(row }3) \text{from }\text{row }4: \\
167
+ \left(
168
+ \begin{array}{ccc}
169
+ -10 & 2 & 2 \\
170
+ 0 & \frac{46}{5} & -\frac{14}{5} \\
171
+ 0 & 0 & -\frac{291}{23} \\
172
+ 0 & 0 & 0 \\
173
+ \end{array}
174
+ \right) \\
175
+ \end{array}
176
+ \\
177
+
178
+ \begin{array}{l}
179
+ \text{Multiply }\text{row }3 \text{by }-\frac{23}{291}: \\
180
+ \left(
181
+ \begin{array}{ccc}
182
+ -10 & 2 & 2 \\
183
+ 0 & \frac{46}{5} & -\frac{14}{5} \\
184
+ 0 & 0 & 1 \\
185
+ 0 & 0 & 0 \\
186
+ \end{array}
187
+ \right) \\
188
+ \end{array}
189
+ \\
190
+
191
+ \begin{array}{l}
192
+ \text{Add }\frac{14}{5}\, \times \, \text{(row }3) \text{to }\text{row }2: \\
193
+ \left(
194
+ \begin{array}{ccc}
195
+ -10 & 2 & 2 \\
196
+ 0 & \frac{46}{5} & 0 \\
197
+ 0 & 0 & 1 \\
198
+ 0 & 0 & 0 \\
199
+ \end{array}
200
+ \right) \\
201
+ \end{array}
202
+ \\
203
+
204
+ \begin{array}{l}
205
+ \text{Subtract }2\, \times \, \text{(row }3) \text{from }\text{row }1: \\
206
+ \left(
207
+ \begin{array}{ccc}
208
+ -10 & 2 & 0 \\
209
+ 0 & \frac{46}{5} & 0 \\
210
+ 0 & 0 & 1 \\
211
+ 0 & 0 & 0 \\
212
+ \end{array}
213
+ \right) \\
214
+ \end{array}
215
+ \\
216
+
217
+ \begin{array}{l}
218
+ \text{Multiply }\text{row }2 \text{by }\frac{5}{46}: \\
219
+ \left(
220
+ \begin{array}{ccc}
221
+ -10 & 2 & 0 \\
222
+ 0 & 1 & 0 \\
223
+ 0 & 0 & 1 \\
224
+ 0 & 0 & 0 \\
225
+ \end{array}
226
+ \right) \\
227
+ \end{array}
228
+ \\
229
+
230
+ \begin{array}{l}
231
+ \text{Subtract }2\, \times \, \text{(row }2) \text{from }\text{row }1: \\
232
+ \left(
233
+ \begin{array}{ccc}
234
+ -10 & 0 & 0 \\
235
+ 0 & 1 & 0 \\
236
+ 0 & 0 & 1 \\
237
+ 0 & 0 & 0 \\
238
+ \end{array}
239
+ \right) \\
240
+ \end{array}
241
+ \\
242
+
243
+ \begin{array}{l}
244
+ \text{Divide }\text{row }1 \text{by }-10: \\
245
+ \left(
246
+ \begin{array}{ccc}
247
+ 1 & 0 & 0 \\
248
+ 0 & 1 & 0 \\
249
+ 0 & 0 & 1 \\
250
+ 0 & 0 & 0 \\
251
+ \end{array}
252
+ \right) \\
253
+ \end{array}
254
+ \\
255
+
256
+ \begin{array}{l}
257
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
258
+ \begin{array}{c}
259
+ x_1 \\
260
+ x_2 \\
261
+ x_3 \\
262
+ \end{array}
263
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
264
+ \begin{array}{ccc}
265
+ 1 & 0 & 0 \\
266
+ 0 & 1 & 0 \\
267
+ 0 & 0 & 1 \\
268
+ 0 & 0 & 0 \\
269
+ \end{array}
270
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
271
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
272
+ \end{array}
273
+ \\
274
+
275
+ \begin{array}{l}
276
+ \text{The }\text{only }\text{value }\text{of }v=\left(
277
+ \begin{array}{c}
278
+ x_1 \\
279
+ x_2 \\
280
+ x_3 \\
281
+ \end{array}
282
+ \right) \text{that }\text{would }\text{make }\left(
283
+ \begin{array}{ccc}
284
+ 1 & 0 & 0 \\
285
+ 0 & 1 & 0 \\
286
+ 0 & 0 & 1 \\
287
+ 0 & 0 & 0 \\
288
+ \end{array}
289
+ \right).\left(
290
+ \begin{array}{c}
291
+ x_1 \\
292
+ x_2 \\
293
+ x_3 \\
294
+ \end{array}
295
+ \right)=\left(
296
+ \begin{array}{c}
297
+ 0 \\
298
+ 0 \\
299
+ 0 \\
300
+ 0 \\
301
+ \end{array}
302
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
303
+ \begin{array}{c}
304
+ 0 \\
305
+ 0 \\
306
+ 0 \\
307
+ \end{array}
308
+ \right): \\
309
+ \left(
310
+ \begin{array}{c}
311
+ 0 \\
312
+ 0 \\
313
+ 0 \\
314
+ \end{array}
315
+ \right) \\
316
+ \end{array}
317
+ \\
318
+
319
+ \begin{array}{l}
320
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
321
+ \fbox{$
322
+ \begin{array}{ll}
323
+ \text{Answer:} & \\
324
+ \text{} & \{\, (0,0,0)\, \} \\
325
+ \end{array}
326
+ $} \\
327
+ \end{array}
328
+ \\
329
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/1507.txt ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{ccc}
5
+ -7 & 10 & 3 \\
6
+ 6 & 2 & 7 \\
7
+ -7 & 1 & 10 \\
8
+ \end{array}
9
+ \right)$.
10
+ Answer:
11
+ \begin{array}{l}
12
+
13
+ \begin{array}{l}
14
+ \text{Find the null space of the matrix }M: \\
15
+ M=\left(
16
+ \begin{array}{ccc}
17
+ -7 & 10 & 3 \\
18
+ 6 & 2 & 7 \\
19
+ -7 & 1 & 10 \\
20
+ \end{array}
21
+ \right) \\
22
+ \end{array}
23
+ \\
24
+ \hline
25
+
26
+ \begin{array}{l}
27
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
28
+ \begin{array}{ccc}
29
+ -7 & 10 & 3 \\
30
+ 6 & 2 & 7 \\
31
+ -7 & 1 & 10 \\
32
+ \end{array}
33
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
34
+ \begin{array}{c}
35
+ x_1 \\
36
+ x_2 \\
37
+ x_3 \\
38
+ \end{array}
39
+ \right) \text{such }\text{that }M.v=0: \\
40
+ \left(
41
+ \begin{array}{ccc}
42
+ -7 & 10 & 3 \\
43
+ 6 & 2 & 7 \\
44
+ -7 & 1 & 10 \\
45
+ \end{array}
46
+ \right).\left(
47
+ \begin{array}{c}
48
+ x_1 \\
49
+ x_2 \\
50
+ x_3 \\
51
+ \end{array}
52
+ \right)=\left(
53
+ \begin{array}{c}
54
+ 0 \\
55
+ 0 \\
56
+ 0 \\
57
+ \end{array}
58
+ \right) \\
59
+ \end{array}
60
+ \\
61
+
62
+ \begin{array}{l}
63
+ \text{Reduce }\text{the }\text{matrix }\left(
64
+ \begin{array}{ccc}
65
+ -7 & 10 & 3 \\
66
+ 6 & 2 & 7 \\
67
+ -7 & 1 & 10 \\
68
+ \end{array}
69
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
70
+ \left(
71
+ \begin{array}{ccc}
72
+ -7 & 10 & 3 \\
73
+ 6 & 2 & 7 \\
74
+ -7 & 1 & 10 \\
75
+ \end{array}
76
+ \right) \\
77
+ \end{array}
78
+ \\
79
+
80
+ \begin{array}{l}
81
+ \text{Add }\frac{6}{7}\, \times \, \text{(row }1) \text{to }\text{row }2: \\
82
+ \left(
83
+ \begin{array}{ccc}
84
+ -7 & 10 & 3 \\
85
+ 0 & \frac{74}{7} & \frac{67}{7} \\
86
+ -7 & 1 & 10 \\
87
+ \end{array}
88
+ \right) \\
89
+ \end{array}
90
+ \\
91
+
92
+ \begin{array}{l}
93
+ \text{Subtract }\text{row }1 \text{from }\text{row }3: \\
94
+ \left(
95
+ \begin{array}{ccc}
96
+ -7 & 10 & 3 \\
97
+ 0 & \frac{74}{7} & \frac{67}{7} \\
98
+ 0 & -9 & 7 \\
99
+ \end{array}
100
+ \right) \\
101
+ \end{array}
102
+ \\
103
+
104
+ \begin{array}{l}
105
+ \text{Add }\frac{63}{74}\, \times \, \text{(row }2) \text{to }\text{row }3: \\
106
+ \left(
107
+ \begin{array}{ccc}
108
+ -7 & 10 & 3 \\
109
+ 0 & \frac{74}{7} & \frac{67}{7} \\
110
+ 0 & 0 & \frac{1121}{74} \\
111
+ \end{array}
112
+ \right) \\
113
+ \end{array}
114
+ \\
115
+
116
+ \begin{array}{l}
117
+ \text{Multiply }\text{row }3 \text{by }\frac{74}{1121}: \\
118
+ \left(
119
+ \begin{array}{ccc}
120
+ -7 & 10 & 3 \\
121
+ 0 & \frac{74}{7} & \frac{67}{7} \\
122
+ 0 & 0 & 1 \\
123
+ \end{array}
124
+ \right) \\
125
+ \end{array}
126
+ \\
127
+
128
+ \begin{array}{l}
129
+ \text{Subtract }\frac{67}{7}\, \times \, \text{(row }3) \text{from }\text{row }2: \\
130
+ \left(
131
+ \begin{array}{ccc}
132
+ -7 & 10 & 3 \\
133
+ 0 & \frac{74}{7} & 0 \\
134
+ 0 & 0 & 1 \\
135
+ \end{array}
136
+ \right) \\
137
+ \end{array}
138
+ \\
139
+
140
+ \begin{array}{l}
141
+ \text{Subtract }3\, \times \, \text{(row }3) \text{from }\text{row }1: \\
142
+ \left(
143
+ \begin{array}{ccc}
144
+ -7 & 10 & 0 \\
145
+ 0 & \frac{74}{7} & 0 \\
146
+ 0 & 0 & 1 \\
147
+ \end{array}
148
+ \right) \\
149
+ \end{array}
150
+ \\
151
+
152
+ \begin{array}{l}
153
+ \text{Multiply }\text{row }2 \text{by }\frac{7}{74}: \\
154
+ \left(
155
+ \begin{array}{ccc}
156
+ -7 & 10 & 0 \\
157
+ 0 & 1 & 0 \\
158
+ 0 & 0 & 1 \\
159
+ \end{array}
160
+ \right) \\
161
+ \end{array}
162
+ \\
163
+
164
+ \begin{array}{l}
165
+ \text{Subtract }10\, \times \, \text{(row }2) \text{from }\text{row }1: \\
166
+ \left(
167
+ \begin{array}{ccc}
168
+ -7 & 0 & 0 \\
169
+ 0 & 1 & 0 \\
170
+ 0 & 0 & 1 \\
171
+ \end{array}
172
+ \right) \\
173
+ \end{array}
174
+ \\
175
+
176
+ \begin{array}{l}
177
+ \text{Divide }\text{row }1 \text{by }-7: \\
178
+ \left(
179
+ \begin{array}{ccc}
180
+ 1 & 0 & 0 \\
181
+ 0 & 1 & 0 \\
182
+ 0 & 0 & 1 \\
183
+ \end{array}
184
+ \right) \\
185
+ \end{array}
186
+ \\
187
+
188
+ \begin{array}{l}
189
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
190
+ \begin{array}{c}
191
+ x_1 \\
192
+ x_2 \\
193
+ x_3 \\
194
+ \end{array}
195
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
196
+ \begin{array}{ccc}
197
+ 1 & 0 & 0 \\
198
+ 0 & 1 & 0 \\
199
+ 0 & 0 & 1 \\
200
+ \end{array}
201
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
202
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
203
+ \end{array}
204
+ \\
205
+
206
+ \begin{array}{l}
207
+ \text{The }\text{only }\text{value }\text{of }v=\left(
208
+ \begin{array}{c}
209
+ x_1 \\
210
+ x_2 \\
211
+ x_3 \\
212
+ \end{array}
213
+ \right) \text{that }\text{would }\text{make }\left(
214
+ \begin{array}{ccc}
215
+ 1 & 0 & 0 \\
216
+ 0 & 1 & 0 \\
217
+ 0 & 0 & 1 \\
218
+ \end{array}
219
+ \right).\left(
220
+ \begin{array}{c}
221
+ x_1 \\
222
+ x_2 \\
223
+ x_3 \\
224
+ \end{array}
225
+ \right)=\left(
226
+ \begin{array}{c}
227
+ 0 \\
228
+ 0 \\
229
+ 0 \\
230
+ \end{array}
231
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
232
+ \begin{array}{c}
233
+ 0 \\
234
+ 0 \\
235
+ 0 \\
236
+ \end{array}
237
+ \right): \\
238
+ \left(
239
+ \begin{array}{c}
240
+ 0 \\
241
+ 0 \\
242
+ 0 \\
243
+ \end{array}
244
+ \right) \\
245
+ \end{array}
246
+ \\
247
+
248
+ \begin{array}{l}
249
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
250
+ \fbox{$
251
+ \begin{array}{ll}
252
+ \text{Answer:} & \\
253
+ \text{} & \{\, (0,0,0)\, \} \\
254
+ \end{array}
255
+ $} \\
256
+ \end{array}
257
+ \\
258
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/1627.txt ADDED
@@ -0,0 +1,354 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cccc}
5
+ 4 & 4 & -5 & 0 \\
6
+ 9 & -6 & -4 & -1 \\
7
+ -5 & 8 & -10 & -10 \\
8
+ \end{array}
9
+ \right)$.
10
+ Answer:
11
+ \begin{array}{l}
12
+
13
+ \begin{array}{l}
14
+ \text{Find the null space of the matrix }M: \\
15
+ M=\left(
16
+ \begin{array}{cccc}
17
+ 4 & 4 & -5 & 0 \\
18
+ 9 & -6 & -4 & -1 \\
19
+ -5 & 8 & -10 & -10 \\
20
+ \end{array}
21
+ \right) \\
22
+ \end{array}
23
+ \\
24
+ \hline
25
+
26
+ \begin{array}{l}
27
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
28
+ \begin{array}{cccc}
29
+ 4 & 4 & -5 & 0 \\
30
+ 9 & -6 & -4 & -1 \\
31
+ -5 & 8 & -10 & -10 \\
32
+ \end{array}
33
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
34
+ \begin{array}{c}
35
+ x_1 \\
36
+ x_2 \\
37
+ x_3 \\
38
+ x_4 \\
39
+ \end{array}
40
+ \right) \text{such }\text{that }M.v=0: \\
41
+ \left(
42
+ \begin{array}{cccc}
43
+ 4 & 4 & -5 & 0 \\
44
+ 9 & -6 & -4 & -1 \\
45
+ -5 & 8 & -10 & -10 \\
46
+ \end{array}
47
+ \right).\left(
48
+ \begin{array}{c}
49
+ x_1 \\
50
+ x_2 \\
51
+ x_3 \\
52
+ x_4 \\
53
+ \end{array}
54
+ \right)=\left(
55
+ \begin{array}{c}
56
+ 0 \\
57
+ 0 \\
58
+ 0 \\
59
+ \end{array}
60
+ \right) \\
61
+ \end{array}
62
+ \\
63
+
64
+ \begin{array}{l}
65
+ \text{Reduce }\text{the }\text{matrix }\left(
66
+ \begin{array}{cccc}
67
+ 4 & 4 & -5 & 0 \\
68
+ 9 & -6 & -4 & -1 \\
69
+ -5 & 8 & -10 & -10 \\
70
+ \end{array}
71
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
72
+ \left(
73
+ \begin{array}{cccc}
74
+ 4 & 4 & -5 & 0 \\
75
+ 9 & -6 & -4 & -1 \\
76
+ -5 & 8 & -10 & -10 \\
77
+ \end{array}
78
+ \right) \\
79
+ \end{array}
80
+ \\
81
+
82
+ \begin{array}{l}
83
+ \text{Swap }\text{row }1 \text{with }\text{row }2: \\
84
+ \left(
85
+ \begin{array}{cccc}
86
+ 9 & -6 & -4 & -1 \\
87
+ 4 & 4 & -5 & 0 \\
88
+ -5 & 8 & -10 & -10 \\
89
+ \end{array}
90
+ \right) \\
91
+ \end{array}
92
+ \\
93
+
94
+ \begin{array}{l}
95
+ \text{Subtract }\frac{4}{9}\, \times \, \text{(row }1) \text{from }\text{row }2: \\
96
+ \left(
97
+ \begin{array}{cccc}
98
+ 9 & -6 & -4 & -1 \\
99
+ 0 & \frac{20}{3} & -\frac{29}{9} & \frac{4}{9} \\
100
+ -5 & 8 & -10 & -10 \\
101
+ \end{array}
102
+ \right) \\
103
+ \end{array}
104
+ \\
105
+
106
+ \begin{array}{l}
107
+ \text{Add }\frac{5}{9}\, \times \, \text{(row }1) \text{to }\text{row }3: \\
108
+ \left(
109
+ \begin{array}{cccc}
110
+ 9 & -6 & -4 & -1 \\
111
+ 0 & \frac{20}{3} & -\frac{29}{9} & \frac{4}{9} \\
112
+ 0 & \frac{14}{3} & -\frac{110}{9} & -\frac{95}{9} \\
113
+ \end{array}
114
+ \right) \\
115
+ \end{array}
116
+ \\
117
+
118
+ \begin{array}{l}
119
+ \text{Subtract }\frac{7}{10}\, \times \, \text{(row }2) \text{from }\text{row }3: \\
120
+ \left(
121
+ \begin{array}{cccc}
122
+ 9 & -6 & -4 & -1 \\
123
+ 0 & \frac{20}{3} & -\frac{29}{9} & \frac{4}{9} \\
124
+ 0 & 0 & -\frac{299}{30} & -\frac{163}{15} \\
125
+ \end{array}
126
+ \right) \\
127
+ \end{array}
128
+ \\
129
+
130
+ \begin{array}{l}
131
+ \text{Multiply }\text{row }3 \text{by }-\frac{30}{299}: \\
132
+ \left(
133
+ \begin{array}{cccc}
134
+ 9 & -6 & -4 & -1 \\
135
+ 0 & \frac{20}{3} & -\frac{29}{9} & \frac{4}{9} \\
136
+ 0 & 0 & 1 & \frac{326}{299} \\
137
+ \end{array}
138
+ \right) \\
139
+ \end{array}
140
+ \\
141
+
142
+ \begin{array}{l}
143
+ \text{Add }\frac{29}{9}\, \times \, \text{(row }3) \text{to }\text{row }2: \\
144
+ \left(
145
+ \begin{array}{cccc}
146
+ 9 & -6 & -4 & -1 \\
147
+ 0 & \frac{20}{3} & 0 & \frac{3550}{897} \\
148
+ 0 & 0 & 1 & \frac{326}{299} \\
149
+ \end{array}
150
+ \right) \\
151
+ \end{array}
152
+ \\
153
+
154
+ \begin{array}{l}
155
+ \text{Add }4\, \times \, \text{(row }3) \text{to }\text{row }1: \\
156
+ \left(
157
+ \begin{array}{cccc}
158
+ 9 & -6 & 0 & \frac{1005}{299} \\
159
+ 0 & \frac{20}{3} & 0 & \frac{3550}{897} \\
160
+ 0 & 0 & 1 & \frac{326}{299} \\
161
+ \end{array}
162
+ \right) \\
163
+ \end{array}
164
+ \\
165
+
166
+ \begin{array}{l}
167
+ \text{Multiply }\text{row }2 \text{by }\frac{3}{20}: \\
168
+ \left(
169
+ \begin{array}{cccc}
170
+ 9 & -6 & 0 & \frac{1005}{299} \\
171
+ 0 & 1 & 0 & \frac{355}{598} \\
172
+ 0 & 0 & 1 & \frac{326}{299} \\
173
+ \end{array}
174
+ \right) \\
175
+ \end{array}
176
+ \\
177
+
178
+ \begin{array}{l}
179
+ \text{Add }6\, \times \, \text{(row }2) \text{to }\text{row }1: \\
180
+ \left(
181
+ \begin{array}{cccc}
182
+ 9 & 0 & 0 & \frac{90}{13} \\
183
+ 0 & 1 & 0 & \frac{355}{598} \\
184
+ 0 & 0 & 1 & \frac{326}{299} \\
185
+ \end{array}
186
+ \right) \\
187
+ \end{array}
188
+ \\
189
+
190
+ \begin{array}{l}
191
+ \text{Divide }\text{row }1 \text{by }9: \\
192
+ \left(
193
+ \begin{array}{cccc}
194
+ 1 & 0 & 0 & \frac{10}{13} \\
195
+ 0 & 1 & 0 & \frac{355}{598} \\
196
+ 0 & 0 & 1 & \frac{326}{299} \\
197
+ \end{array}
198
+ \right) \\
199
+ \end{array}
200
+ \\
201
+
202
+ \begin{array}{l}
203
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
204
+ \begin{array}{c}
205
+ x_1 \\
206
+ x_2 \\
207
+ x_3 \\
208
+ x_4 \\
209
+ \end{array}
210
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
211
+ \begin{array}{cccc}
212
+ 1 & 0 & 0 & \frac{10}{13} \\
213
+ 0 & 1 & 0 & \frac{355}{598} \\
214
+ 0 & 0 & 1 & \frac{326}{299} \\
215
+ \end{array}
216
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
217
+ \text{Column }4 \text{is }\text{the }\text{only }\text{column }\text{with }\text{no }\text{pivot, }\text{so }\text{we }\text{may }\text{take }x_4 \text{to }\text{be }\text{the }\text{only }\text{free }\text{variable} \\
218
+ \end{array}
219
+ \\
220
+
221
+ \begin{array}{l}
222
+ \text{Multiply }\text{out }\text{the }\text{reduced }\text{matrix }\left(
223
+ \begin{array}{cccc}
224
+ 1 & 0 & 0 & \frac{10}{13} \\
225
+ 0 & 1 & 0 & \frac{355}{598} \\
226
+ 0 & 0 & 1 & \frac{326}{299} \\
227
+ \end{array}
228
+ \right) \text{with }\text{the }\text{proposed }\text{solution }\text{vector }\left(
229
+ \begin{array}{c}
230
+ x_1 \\
231
+ x_2 \\
232
+ x_3 \\
233
+ x_4 \\
234
+ \end{array}
235
+ \right): \\
236
+ \left(
237
+ \begin{array}{cccc}
238
+ 1 & 0 & 0 & \frac{10}{13} \\
239
+ 0 & 1 & 0 & \frac{355}{598} \\
240
+ 0 & 0 & 1 & \frac{326}{299} \\
241
+ \end{array}
242
+ \right).\left(
243
+ \begin{array}{c}
244
+ x_1 \\
245
+ x_2 \\
246
+ x_3 \\
247
+ x_4 \\
248
+ \end{array}
249
+ \right)=\left(
250
+ \begin{array}{c}
251
+ x_1+\frac{10 x_4}{13} \\
252
+ x_2+\frac{355 x_4}{598} \\
253
+ x_3+\frac{326 x_4}{299} \\
254
+ \end{array}
255
+ \right)=\left(
256
+ \begin{array}{c}
257
+ 0 \\
258
+ 0 \\
259
+ 0 \\
260
+ \end{array}
261
+ \right) \\
262
+ \end{array}
263
+ \\
264
+
265
+ \begin{array}{l}
266
+ \text{Solve }\text{the }\text{equations }\{
267
+ \begin{array}{l}
268
+ x_1+\frac{10 x_4}{13}=0 \\
269
+ x_2+\frac{355 x_4}{598}=0 \\
270
+ x_3+\frac{326 x_4}{299}=0 \\
271
+ \end{array}
272
+ \text{for }x_1,x_2 \text{and }x_3: \\
273
+ \{
274
+ \begin{array}{l}
275
+ x_1=-\frac{10 x_4}{13} \\
276
+ x_2=-\frac{355 x_4}{598} \\
277
+ x_3=-\frac{326 x_4}{299} \\
278
+ \end{array}
279
+ \\
280
+ \end{array}
281
+ \\
282
+
283
+ \begin{array}{l}
284
+ \text{Rewrite }v \text{in }\text{terms }\text{of }\text{the }\text{free }\text{variable }x_4, \text{and }\text{assign }\text{it }\text{an }\text{arbitrary }\text{real }\text{value }\text{of }x: \\
285
+ v=\left(
286
+ \begin{array}{c}
287
+ x_1 \\
288
+ x_2 \\
289
+ x_3 \\
290
+ x_4 \\
291
+ \end{array}
292
+ \right)=\left(
293
+ \begin{array}{c}
294
+ -\frac{10 x_4}{13} \\
295
+ -\frac{355 x_4}{598} \\
296
+ -\frac{326 x_4}{299} \\
297
+ x_4 \\
298
+ \end{array}
299
+ \right)=\left(
300
+ \begin{array}{c}
301
+ -\frac{10 x}{13} \\
302
+ -\frac{355 x}{598} \\
303
+ -\frac{326 x}{299} \\
304
+ x \\
305
+ \end{array}
306
+ \right)\text{ for }x\in \mathbb{R} \\
307
+ \end{array}
308
+ \\
309
+
310
+ \begin{array}{l}
311
+ \text{Since }x \text{is }\text{taken }\text{from }\mathbb{R}, \text{we }\text{can }\text{replace }\text{it }\text{with }598 x: \\
312
+ \left(
313
+ \begin{array}{c}
314
+ -\frac{10 x}{13} \\
315
+ -\frac{355 x}{598} \\
316
+ -\frac{326 x}{299} \\
317
+ x \\
318
+ \end{array}
319
+ \right)\, \rightarrow \, \left(
320
+ \begin{array}{c}
321
+ -\frac{10}{13} (598 x) \\
322
+ -\frac{355}{598} (598 x) \\
323
+ -\frac{326}{299} (598 x) \\
324
+ 598 x \\
325
+ \end{array}
326
+ \right)=\left(
327
+ \begin{array}{c}
328
+ -460 x \\
329
+ -355 x \\
330
+ -652 x \\
331
+ 598 x \\
332
+ \end{array}
333
+ \right)\text{ for }x\in \mathbb{R} \\
334
+ \end{array}
335
+ \\
336
+
337
+ \begin{array}{l}
338
+ \text{Rewrite }\text{the }\text{solution }\text{vector }v=\left(
339
+ \begin{array}{c}
340
+ -460 x \\
341
+ -355 x \\
342
+ -652 x \\
343
+ 598 x \\
344
+ \end{array}
345
+ \right) \text{in }\text{set }\text{notation}: \\
346
+ \fbox{$
347
+ \begin{array}{ll}
348
+ \text{Answer:} & \\
349
+ \text{} & \{\, (-460 x,-355 x,-652 x,598 x)\, \text{$\, $: }x\in \mathbb{R}\} \\
350
+ \end{array}
351
+ $} \\
352
+ \end{array}
353
+ \\
354
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/1720.txt ADDED
@@ -0,0 +1,283 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cc}
5
+ 7 & 8 \\
6
+ 4 & -4 \\
7
+ -5 & -1 \\
8
+ -1 & -8 \\
9
+ \end{array}
10
+ \right)$.
11
+ Answer:
12
+ \begin{array}{l}
13
+
14
+ \begin{array}{l}
15
+ \text{Find the null space of the matrix }M: \\
16
+ M=\left(
17
+ \begin{array}{cc}
18
+ 7 & 8 \\
19
+ 4 & -4 \\
20
+ -5 & -1 \\
21
+ -1 & -8 \\
22
+ \end{array}
23
+ \right) \\
24
+ \end{array}
25
+ \\
26
+ \hline
27
+
28
+ \begin{array}{l}
29
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
30
+ \begin{array}{cc}
31
+ 7 & 8 \\
32
+ 4 & -4 \\
33
+ -5 & -1 \\
34
+ -1 & -8 \\
35
+ \end{array}
36
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
37
+ \begin{array}{c}
38
+ x_1 \\
39
+ x_2 \\
40
+ \end{array}
41
+ \right) \text{such }\text{that }M.v=0: \\
42
+ \left(
43
+ \begin{array}{cc}
44
+ 7 & 8 \\
45
+ 4 & -4 \\
46
+ -5 & -1 \\
47
+ -1 & -8 \\
48
+ \end{array}
49
+ \right).\left(
50
+ \begin{array}{c}
51
+ x_1 \\
52
+ x_2 \\
53
+ \end{array}
54
+ \right)=\left(
55
+ \begin{array}{c}
56
+ 0 \\
57
+ 0 \\
58
+ 0 \\
59
+ 0 \\
60
+ \end{array}
61
+ \right) \\
62
+ \end{array}
63
+ \\
64
+
65
+ \begin{array}{l}
66
+ \text{Reduce }\text{the }\text{matrix }\left(
67
+ \begin{array}{cc}
68
+ 7 & 8 \\
69
+ 4 & -4 \\
70
+ -5 & -1 \\
71
+ -1 & -8 \\
72
+ \end{array}
73
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
74
+ \left(
75
+ \begin{array}{cc}
76
+ 7 & 8 \\
77
+ 4 & -4 \\
78
+ -5 & -1 \\
79
+ -1 & -8 \\
80
+ \end{array}
81
+ \right) \\
82
+ \end{array}
83
+ \\
84
+
85
+ \begin{array}{l}
86
+ \text{Swap }\text{row }1 \text{with }\text{row }4: \\
87
+ \left(
88
+ \begin{array}{cc}
89
+ -1 & -8 \\
90
+ 4 & -4 \\
91
+ -5 & -1 \\
92
+ 7 & 8 \\
93
+ \end{array}
94
+ \right) \\
95
+ \end{array}
96
+ \\
97
+
98
+ \begin{array}{l}
99
+ \text{Add }4\, \times \, \text{(row }1) \text{to }\text{row }2: \\
100
+ \left(
101
+ \begin{array}{cc}
102
+ -1 & -8 \\
103
+ 0 & -36 \\
104
+ -5 & -1 \\
105
+ 7 & 8 \\
106
+ \end{array}
107
+ \right) \\
108
+ \end{array}
109
+ \\
110
+
111
+ \begin{array}{l}
112
+ \text{Subtract }5\, \times \, \text{(row }1) \text{from }\text{row }3: \\
113
+ \left(
114
+ \begin{array}{cc}
115
+ -1 & -8 \\
116
+ 0 & -36 \\
117
+ 0 & 39 \\
118
+ 7 & 8 \\
119
+ \end{array}
120
+ \right) \\
121
+ \end{array}
122
+ \\
123
+
124
+ \begin{array}{l}
125
+ \text{Add }7\, \times \, \text{(row }1) \text{to }\text{row }4: \\
126
+ \left(
127
+ \begin{array}{cc}
128
+ -1 & -8 \\
129
+ 0 & -36 \\
130
+ 0 & 39 \\
131
+ 0 & -48 \\
132
+ \end{array}
133
+ \right) \\
134
+ \end{array}
135
+ \\
136
+
137
+ \begin{array}{l}
138
+ \text{Swap }\text{row }2 \text{with }\text{row }4: \\
139
+ \left(
140
+ \begin{array}{cc}
141
+ -1 & -8 \\
142
+ 0 & -48 \\
143
+ 0 & 39 \\
144
+ 0 & -36 \\
145
+ \end{array}
146
+ \right) \\
147
+ \end{array}
148
+ \\
149
+
150
+ \begin{array}{l}
151
+ \text{Add }\frac{13}{16}\, \times \, \text{(row }2) \text{to }\text{row }3: \\
152
+ \left(
153
+ \begin{array}{cc}
154
+ -1 & -8 \\
155
+ 0 & -48 \\
156
+ 0 & 0 \\
157
+ 0 & -36 \\
158
+ \end{array}
159
+ \right) \\
160
+ \end{array}
161
+ \\
162
+
163
+ \begin{array}{l}
164
+ \text{Subtract }\frac{3}{4}\, \times \, \text{(row }2) \text{from }\text{row }4: \\
165
+ \left(
166
+ \begin{array}{cc}
167
+ -1 & -8 \\
168
+ 0 & -48 \\
169
+ 0 & 0 \\
170
+ 0 & 0 \\
171
+ \end{array}
172
+ \right) \\
173
+ \end{array}
174
+ \\
175
+
176
+ \begin{array}{l}
177
+ \text{Divide }\text{row }2 \text{by }-48: \\
178
+ \left(
179
+ \begin{array}{cc}
180
+ -1 & -8 \\
181
+ 0 & 1 \\
182
+ 0 & 0 \\
183
+ 0 & 0 \\
184
+ \end{array}
185
+ \right) \\
186
+ \end{array}
187
+ \\
188
+
189
+ \begin{array}{l}
190
+ \text{Add }8\, \times \, \text{(row }2) \text{to }\text{row }1: \\
191
+ \left(
192
+ \begin{array}{cc}
193
+ -1 & 0 \\
194
+ 0 & 1 \\
195
+ 0 & 0 \\
196
+ 0 & 0 \\
197
+ \end{array}
198
+ \right) \\
199
+ \end{array}
200
+ \\
201
+
202
+ \begin{array}{l}
203
+ \text{Multiply }\text{row }1 \text{by }-1: \\
204
+ \left(
205
+ \begin{array}{cc}
206
+ 1 & 0 \\
207
+ 0 & 1 \\
208
+ 0 & 0 \\
209
+ 0 & 0 \\
210
+ \end{array}
211
+ \right) \\
212
+ \end{array}
213
+ \\
214
+
215
+ \begin{array}{l}
216
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
217
+ \begin{array}{c}
218
+ x_1 \\
219
+ x_2 \\
220
+ \end{array}
221
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
222
+ \begin{array}{cc}
223
+ 1 & 0 \\
224
+ 0 & 1 \\
225
+ 0 & 0 \\
226
+ 0 & 0 \\
227
+ \end{array}
228
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
229
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
230
+ \end{array}
231
+ \\
232
+
233
+ \begin{array}{l}
234
+ \text{The }\text{only }\text{value }\text{of }v=\left(
235
+ \begin{array}{c}
236
+ x_1 \\
237
+ x_2 \\
238
+ \end{array}
239
+ \right) \text{that }\text{would }\text{make }\left(
240
+ \begin{array}{cc}
241
+ 1 & 0 \\
242
+ 0 & 1 \\
243
+ 0 & 0 \\
244
+ 0 & 0 \\
245
+ \end{array}
246
+ \right).\left(
247
+ \begin{array}{c}
248
+ x_1 \\
249
+ x_2 \\
250
+ \end{array}
251
+ \right)=\left(
252
+ \begin{array}{c}
253
+ 0 \\
254
+ 0 \\
255
+ 0 \\
256
+ 0 \\
257
+ \end{array}
258
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
259
+ \begin{array}{c}
260
+ 0 \\
261
+ 0 \\
262
+ \end{array}
263
+ \right): \\
264
+ \left(
265
+ \begin{array}{c}
266
+ 0 \\
267
+ 0 \\
268
+ \end{array}
269
+ \right) \\
270
+ \end{array}
271
+ \\
272
+
273
+ \begin{array}{l}
274
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
275
+ \fbox{$
276
+ \begin{array}{ll}
277
+ \text{Answer:} & \\
278
+ \text{} & \{\, (0,0)\, \} \\
279
+ \end{array}
280
+ $} \\
281
+ \end{array}
282
+ \\
283
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/1869.txt ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{ccc}
5
+ -5 & -9 & 2 \\
6
+ 1 & -3 & 6 \\
7
+ -6 & -3 & 4 \\
8
+ \end{array}
9
+ \right)$.
10
+ Answer:
11
+ \begin{array}{l}
12
+
13
+ \begin{array}{l}
14
+ \text{Find the null space of the matrix }M: \\
15
+ M=\left(
16
+ \begin{array}{ccc}
17
+ -5 & -9 & 2 \\
18
+ 1 & -3 & 6 \\
19
+ -6 & -3 & 4 \\
20
+ \end{array}
21
+ \right) \\
22
+ \end{array}
23
+ \\
24
+ \hline
25
+
26
+ \begin{array}{l}
27
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
28
+ \begin{array}{ccc}
29
+ -5 & -9 & 2 \\
30
+ 1 & -3 & 6 \\
31
+ -6 & -3 & 4 \\
32
+ \end{array}
33
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
34
+ \begin{array}{c}
35
+ x_1 \\
36
+ x_2 \\
37
+ x_3 \\
38
+ \end{array}
39
+ \right) \text{such }\text{that }M.v=0: \\
40
+ \left(
41
+ \begin{array}{ccc}
42
+ -5 & -9 & 2 \\
43
+ 1 & -3 & 6 \\
44
+ -6 & -3 & 4 \\
45
+ \end{array}
46
+ \right).\left(
47
+ \begin{array}{c}
48
+ x_1 \\
49
+ x_2 \\
50
+ x_3 \\
51
+ \end{array}
52
+ \right)=\left(
53
+ \begin{array}{c}
54
+ 0 \\
55
+ 0 \\
56
+ 0 \\
57
+ \end{array}
58
+ \right) \\
59
+ \end{array}
60
+ \\
61
+
62
+ \begin{array}{l}
63
+ \text{Reduce }\text{the }\text{matrix }\left(
64
+ \begin{array}{ccc}
65
+ -5 & -9 & 2 \\
66
+ 1 & -3 & 6 \\
67
+ -6 & -3 & 4 \\
68
+ \end{array}
69
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
70
+ \left(
71
+ \begin{array}{ccc}
72
+ -5 & -9 & 2 \\
73
+ 1 & -3 & 6 \\
74
+ -6 & -3 & 4 \\
75
+ \end{array}
76
+ \right) \\
77
+ \end{array}
78
+ \\
79
+
80
+ \begin{array}{l}
81
+ \text{Swap }\text{row }1 \text{with }\text{row }2: \\
82
+ \left(
83
+ \begin{array}{ccc}
84
+ 1 & -3 & 6 \\
85
+ -5 & -9 & 2 \\
86
+ -6 & -3 & 4 \\
87
+ \end{array}
88
+ \right) \\
89
+ \end{array}
90
+ \\
91
+
92
+ \begin{array}{l}
93
+ \text{Add }5\, \times \, \text{(row }1) \text{to }\text{row }2: \\
94
+ \left(
95
+ \begin{array}{ccc}
96
+ 1 & -3 & 6 \\
97
+ 0 & -24 & 32 \\
98
+ -6 & -3 & 4 \\
99
+ \end{array}
100
+ \right) \\
101
+ \end{array}
102
+ \\
103
+
104
+ \begin{array}{l}
105
+ \text{Add }6\, \times \, \text{(row }1) \text{to }\text{row }3: \\
106
+ \left(
107
+ \begin{array}{ccc}
108
+ 1 & -3 & 6 \\
109
+ 0 & -24 & 32 \\
110
+ 0 & -21 & 40 \\
111
+ \end{array}
112
+ \right) \\
113
+ \end{array}
114
+ \\
115
+
116
+ \begin{array}{l}
117
+ \text{Subtract }\frac{7}{8}\, \times \, \text{(row }2) \text{from }\text{row }3: \\
118
+ \left(
119
+ \begin{array}{ccc}
120
+ 1 & -3 & 6 \\
121
+ 0 & -24 & 32 \\
122
+ 0 & 0 & 12 \\
123
+ \end{array}
124
+ \right) \\
125
+ \end{array}
126
+ \\
127
+
128
+ \begin{array}{l}
129
+ \text{Divide }\text{row }3 \text{by }12: \\
130
+ \left(
131
+ \begin{array}{ccc}
132
+ 1 & -3 & 6 \\
133
+ 0 & -24 & 32 \\
134
+ 0 & 0 & 1 \\
135
+ \end{array}
136
+ \right) \\
137
+ \end{array}
138
+ \\
139
+
140
+ \begin{array}{l}
141
+ \text{Subtract }32\, \times \, \text{(row }3) \text{from }\text{row }2: \\
142
+ \left(
143
+ \begin{array}{ccc}
144
+ 1 & -3 & 6 \\
145
+ 0 & -24 & 0 \\
146
+ 0 & 0 & 1 \\
147
+ \end{array}
148
+ \right) \\
149
+ \end{array}
150
+ \\
151
+
152
+ \begin{array}{l}
153
+ \text{Subtract }6\, \times \, \text{(row }3) \text{from }\text{row }1: \\
154
+ \left(
155
+ \begin{array}{ccc}
156
+ 1 & -3 & 0 \\
157
+ 0 & -24 & 0 \\
158
+ 0 & 0 & 1 \\
159
+ \end{array}
160
+ \right) \\
161
+ \end{array}
162
+ \\
163
+
164
+ \begin{array}{l}
165
+ \text{Divide }\text{row }2 \text{by }-24: \\
166
+ \left(
167
+ \begin{array}{ccc}
168
+ 1 & -3 & 0 \\
169
+ 0 & 1 & 0 \\
170
+ 0 & 0 & 1 \\
171
+ \end{array}
172
+ \right) \\
173
+ \end{array}
174
+ \\
175
+
176
+ \begin{array}{l}
177
+ \text{Add }3\, \times \, \text{(row }2) \text{to }\text{row }1: \\
178
+ \left(
179
+ \begin{array}{ccc}
180
+ 1 & 0 & 0 \\
181
+ 0 & 1 & 0 \\
182
+ 0 & 0 & 1 \\
183
+ \end{array}
184
+ \right) \\
185
+ \end{array}
186
+ \\
187
+
188
+ \begin{array}{l}
189
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
190
+ \begin{array}{c}
191
+ x_1 \\
192
+ x_2 \\
193
+ x_3 \\
194
+ \end{array}
195
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
196
+ \begin{array}{ccc}
197
+ 1 & 0 & 0 \\
198
+ 0 & 1 & 0 \\
199
+ 0 & 0 & 1 \\
200
+ \end{array}
201
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
202
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
203
+ \end{array}
204
+ \\
205
+
206
+ \begin{array}{l}
207
+ \text{The }\text{only }\text{value }\text{of }v=\left(
208
+ \begin{array}{c}
209
+ x_1 \\
210
+ x_2 \\
211
+ x_3 \\
212
+ \end{array}
213
+ \right) \text{that }\text{would }\text{make }\left(
214
+ \begin{array}{ccc}
215
+ 1 & 0 & 0 \\
216
+ 0 & 1 & 0 \\
217
+ 0 & 0 & 1 \\
218
+ \end{array}
219
+ \right).\left(
220
+ \begin{array}{c}
221
+ x_1 \\
222
+ x_2 \\
223
+ x_3 \\
224
+ \end{array}
225
+ \right)=\left(
226
+ \begin{array}{c}
227
+ 0 \\
228
+ 0 \\
229
+ 0 \\
230
+ \end{array}
231
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
232
+ \begin{array}{c}
233
+ 0 \\
234
+ 0 \\
235
+ 0 \\
236
+ \end{array}
237
+ \right): \\
238
+ \left(
239
+ \begin{array}{c}
240
+ 0 \\
241
+ 0 \\
242
+ 0 \\
243
+ \end{array}
244
+ \right) \\
245
+ \end{array}
246
+ \\
247
+
248
+ \begin{array}{l}
249
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
250
+ \fbox{$
251
+ \begin{array}{ll}
252
+ \text{Answer:} & \\
253
+ \text{} & \{\, (0,0,0)\, \} \\
254
+ \end{array}
255
+ $} \\
256
+ \end{array}
257
+ \\
258
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/1910.txt ADDED
@@ -0,0 +1,227 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cc}
5
+ -1 & 5 \\
6
+ 5 & 4 \\
7
+ -9 & 7 \\
8
+ \end{array}
9
+ \right)$.
10
+ Answer:
11
+ \begin{array}{l}
12
+
13
+ \begin{array}{l}
14
+ \text{Find the null space of the matrix }M: \\
15
+ M=\left(
16
+ \begin{array}{cc}
17
+ -1 & 5 \\
18
+ 5 & 4 \\
19
+ -9 & 7 \\
20
+ \end{array}
21
+ \right) \\
22
+ \end{array}
23
+ \\
24
+ \hline
25
+
26
+ \begin{array}{l}
27
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
28
+ \begin{array}{cc}
29
+ -1 & 5 \\
30
+ 5 & 4 \\
31
+ -9 & 7 \\
32
+ \end{array}
33
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
34
+ \begin{array}{c}
35
+ x_1 \\
36
+ x_2 \\
37
+ \end{array}
38
+ \right) \text{such }\text{that }M.v=0: \\
39
+ \left(
40
+ \begin{array}{cc}
41
+ -1 & 5 \\
42
+ 5 & 4 \\
43
+ -9 & 7 \\
44
+ \end{array}
45
+ \right).\left(
46
+ \begin{array}{c}
47
+ x_1 \\
48
+ x_2 \\
49
+ \end{array}
50
+ \right)=\left(
51
+ \begin{array}{c}
52
+ 0 \\
53
+ 0 \\
54
+ 0 \\
55
+ \end{array}
56
+ \right) \\
57
+ \end{array}
58
+ \\
59
+
60
+ \begin{array}{l}
61
+ \text{Reduce }\text{the }\text{matrix }\left(
62
+ \begin{array}{cc}
63
+ -1 & 5 \\
64
+ 5 & 4 \\
65
+ -9 & 7 \\
66
+ \end{array}
67
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
68
+ \left(
69
+ \begin{array}{cc}
70
+ -1 & 5 \\
71
+ 5 & 4 \\
72
+ -9 & 7 \\
73
+ \end{array}
74
+ \right) \\
75
+ \end{array}
76
+ \\
77
+
78
+ \begin{array}{l}
79
+ \text{Add }5\, \times \, \text{(row }1) \text{to }\text{row }2: \\
80
+ \left(
81
+ \begin{array}{cc}
82
+ -1 & 5 \\
83
+ 0 & 29 \\
84
+ -9 & 7 \\
85
+ \end{array}
86
+ \right) \\
87
+ \end{array}
88
+ \\
89
+
90
+ \begin{array}{l}
91
+ \text{Subtract }9\, \times \, \text{(row }1) \text{from }\text{row }3: \\
92
+ \left(
93
+ \begin{array}{cc}
94
+ -1 & 5 \\
95
+ 0 & 29 \\
96
+ 0 & -38 \\
97
+ \end{array}
98
+ \right) \\
99
+ \end{array}
100
+ \\
101
+
102
+ \begin{array}{l}
103
+ \text{Swap }\text{row }2 \text{with }\text{row }3: \\
104
+ \left(
105
+ \begin{array}{cc}
106
+ -1 & 5 \\
107
+ 0 & -38 \\
108
+ 0 & 29 \\
109
+ \end{array}
110
+ \right) \\
111
+ \end{array}
112
+ \\
113
+
114
+ \begin{array}{l}
115
+ \text{Add }\frac{29}{38}\, \times \, \text{(row }2) \text{to }\text{row }3: \\
116
+ \left(
117
+ \begin{array}{cc}
118
+ -1 & 5 \\
119
+ 0 & -38 \\
120
+ 0 & 0 \\
121
+ \end{array}
122
+ \right) \\
123
+ \end{array}
124
+ \\
125
+
126
+ \begin{array}{l}
127
+ \text{Divide }\text{row }2 \text{by }-38: \\
128
+ \left(
129
+ \begin{array}{cc}
130
+ -1 & 5 \\
131
+ 0 & 1 \\
132
+ 0 & 0 \\
133
+ \end{array}
134
+ \right) \\
135
+ \end{array}
136
+ \\
137
+
138
+ \begin{array}{l}
139
+ \text{Subtract }5\, \times \, \text{(row }2) \text{from }\text{row }1: \\
140
+ \left(
141
+ \begin{array}{cc}
142
+ -1 & 0 \\
143
+ 0 & 1 \\
144
+ 0 & 0 \\
145
+ \end{array}
146
+ \right) \\
147
+ \end{array}
148
+ \\
149
+
150
+ \begin{array}{l}
151
+ \text{Multiply }\text{row }1 \text{by }-1: \\
152
+ \left(
153
+ \begin{array}{cc}
154
+ 1 & 0 \\
155
+ 0 & 1 \\
156
+ 0 & 0 \\
157
+ \end{array}
158
+ \right) \\
159
+ \end{array}
160
+ \\
161
+
162
+ \begin{array}{l}
163
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
164
+ \begin{array}{c}
165
+ x_1 \\
166
+ x_2 \\
167
+ \end{array}
168
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
169
+ \begin{array}{cc}
170
+ 1 & 0 \\
171
+ 0 & 1 \\
172
+ 0 & 0 \\
173
+ \end{array}
174
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
175
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
176
+ \end{array}
177
+ \\
178
+
179
+ \begin{array}{l}
180
+ \text{The }\text{only }\text{value }\text{of }v=\left(
181
+ \begin{array}{c}
182
+ x_1 \\
183
+ x_2 \\
184
+ \end{array}
185
+ \right) \text{that }\text{would }\text{make }\left(
186
+ \begin{array}{cc}
187
+ 1 & 0 \\
188
+ 0 & 1 \\
189
+ 0 & 0 \\
190
+ \end{array}
191
+ \right).\left(
192
+ \begin{array}{c}
193
+ x_1 \\
194
+ x_2 \\
195
+ \end{array}
196
+ \right)=\left(
197
+ \begin{array}{c}
198
+ 0 \\
199
+ 0 \\
200
+ 0 \\
201
+ \end{array}
202
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
203
+ \begin{array}{c}
204
+ 0 \\
205
+ 0 \\
206
+ \end{array}
207
+ \right): \\
208
+ \left(
209
+ \begin{array}{c}
210
+ 0 \\
211
+ 0 \\
212
+ \end{array}
213
+ \right) \\
214
+ \end{array}
215
+ \\
216
+
217
+ \begin{array}{l}
218
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
219
+ \fbox{$
220
+ \begin{array}{ll}
221
+ \text{Answer:} & \\
222
+ \text{} & \{\, (0,0)\, \} \\
223
+ \end{array}
224
+ $} \\
225
+ \end{array}
226
+ \\
227
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/1941.txt ADDED
@@ -0,0 +1,275 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cccc}
5
+ -3 & -3 & -10 & 7 \\
6
+ -9 & -10 & -10 & -6 \\
7
+ \end{array}
8
+ \right)$.
9
+ Answer:
10
+ \begin{array}{l}
11
+
12
+ \begin{array}{l}
13
+ \text{Find the null space of the matrix }M: \\
14
+ M=\left(
15
+ \begin{array}{cccc}
16
+ -3 & -3 & -10 & 7 \\
17
+ -9 & -10 & -10 & -6 \\
18
+ \end{array}
19
+ \right) \\
20
+ \end{array}
21
+ \\
22
+ \hline
23
+
24
+ \begin{array}{l}
25
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
26
+ \begin{array}{cccc}
27
+ -3 & -3 & -10 & 7 \\
28
+ -9 & -10 & -10 & -6 \\
29
+ \end{array}
30
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
31
+ \begin{array}{c}
32
+ x_1 \\
33
+ x_2 \\
34
+ x_3 \\
35
+ x_4 \\
36
+ \end{array}
37
+ \right) \text{such }\text{that }M.v=0: \\
38
+ \left(
39
+ \begin{array}{cccc}
40
+ -3 & -3 & -10 & 7 \\
41
+ -9 & -10 & -10 & -6 \\
42
+ \end{array}
43
+ \right).\left(
44
+ \begin{array}{c}
45
+ x_1 \\
46
+ x_2 \\
47
+ x_3 \\
48
+ x_4 \\
49
+ \end{array}
50
+ \right)=\left(
51
+ \begin{array}{c}
52
+ 0 \\
53
+ 0 \\
54
+ \end{array}
55
+ \right) \\
56
+ \end{array}
57
+ \\
58
+
59
+ \begin{array}{l}
60
+ \text{Reduce }\text{the }\text{matrix }\left(
61
+ \begin{array}{cccc}
62
+ -3 & -3 & -10 & 7 \\
63
+ -9 & -10 & -10 & -6 \\
64
+ \end{array}
65
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
66
+ \left(
67
+ \begin{array}{cccc}
68
+ -3 & -3 & -10 & 7 \\
69
+ -9 & -10 & -10 & -6 \\
70
+ \end{array}
71
+ \right) \\
72
+ \end{array}
73
+ \\
74
+
75
+ \begin{array}{l}
76
+ \text{Swap }\text{row }1 \text{with }\text{row }2: \\
77
+ \left(
78
+ \begin{array}{cccc}
79
+ -9 & -10 & -10 & -6 \\
80
+ -3 & -3 & -10 & 7 \\
81
+ \end{array}
82
+ \right) \\
83
+ \end{array}
84
+ \\
85
+
86
+ \begin{array}{l}
87
+ \text{Subtract }\frac{1}{3}\, \times \, \text{(row }1) \text{from }\text{row }2: \\
88
+ \left(
89
+ \begin{array}{cccc}
90
+ -9 & -10 & -10 & -6 \\
91
+ 0 & \frac{1}{3} & -\frac{20}{3} & 9 \\
92
+ \end{array}
93
+ \right) \\
94
+ \end{array}
95
+ \\
96
+
97
+ \begin{array}{l}
98
+ \text{Multiply }\text{row }2 \text{by }3: \\
99
+ \left(
100
+ \begin{array}{cccc}
101
+ -9 & -10 & -10 & -6 \\
102
+ 0 & 1 & -20 & 27 \\
103
+ \end{array}
104
+ \right) \\
105
+ \end{array}
106
+ \\
107
+
108
+ \begin{array}{l}
109
+ \text{Add }10\, \times \, \text{(row }2) \text{to }\text{row }1: \\
110
+ \left(
111
+ \begin{array}{cccc}
112
+ -9 & 0 & -210 & 264 \\
113
+ 0 & 1 & -20 & 27 \\
114
+ \end{array}
115
+ \right) \\
116
+ \end{array}
117
+ \\
118
+
119
+ \begin{array}{l}
120
+ \text{Divide }\text{row }1 \text{by }-9: \\
121
+ \left(
122
+ \begin{array}{cccc}
123
+ 1 & 0 & \frac{70}{3} & -\frac{88}{3} \\
124
+ 0 & 1 & -20 & 27 \\
125
+ \end{array}
126
+ \right) \\
127
+ \end{array}
128
+ \\
129
+
130
+ \begin{array}{l}
131
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
132
+ \begin{array}{c}
133
+ x_1 \\
134
+ x_2 \\
135
+ x_3 \\
136
+ x_4 \\
137
+ \end{array}
138
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
139
+ \begin{array}{cccc}
140
+ 1 & 0 & \frac{70}{3} & -\frac{88}{3} \\
141
+ 0 & 1 & -20 & 27 \\
142
+ \end{array}
143
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
144
+ \text{Columns }3 \text{and }4 \text{are }\text{the }\text{only }\text{columns }\text{with }\text{no }\text{pivot, }\text{so }\text{we }\text{may }\text{take }x_3 \text{and }x_4 \text{to }\text{be }\text{the }\text{only }\text{free }\text{variables} \\
145
+ \end{array}
146
+ \\
147
+
148
+ \begin{array}{l}
149
+ \text{Multiply }\text{out }\text{the }\text{reduced }\text{matrix }\left(
150
+ \begin{array}{cccc}
151
+ 1 & 0 & \frac{70}{3} & -\frac{88}{3} \\
152
+ 0 & 1 & -20 & 27 \\
153
+ \end{array}
154
+ \right) \text{with }\text{the }\text{proposed }\text{solution }\text{vector }\left(
155
+ \begin{array}{c}
156
+ x_1 \\
157
+ x_2 \\
158
+ x_3 \\
159
+ x_4 \\
160
+ \end{array}
161
+ \right): \\
162
+ \left(
163
+ \begin{array}{cccc}
164
+ 1 & 0 & \frac{70}{3} & -\frac{88}{3} \\
165
+ 0 & 1 & -20 & 27 \\
166
+ \end{array}
167
+ \right).\left(
168
+ \begin{array}{c}
169
+ x_1 \\
170
+ x_2 \\
171
+ x_3 \\
172
+ x_4 \\
173
+ \end{array}
174
+ \right)=\left(
175
+ \begin{array}{c}
176
+ x_1+\frac{70 x_3}{3}-\frac{88 x_4}{3} \\
177
+ x_2-20 x_3+27 x_4 \\
178
+ \end{array}
179
+ \right)=\left(
180
+ \begin{array}{c}
181
+ 0 \\
182
+ 0 \\
183
+ \end{array}
184
+ \right) \\
185
+ \end{array}
186
+ \\
187
+
188
+ \begin{array}{l}
189
+ \text{Solve }\text{the }\text{equations }\{
190
+ \begin{array}{l}
191
+ x_1+\frac{70 x_3}{3}-\frac{88 x_4}{3}=0 \\
192
+ x_2-20 x_3+27 x_4=0 \\
193
+ \end{array}
194
+ \text{for }x_1 \text{and }x_2: \\
195
+ \{
196
+ \begin{array}{l}
197
+ x_1=\frac{88 x_4}{3}-\frac{70 x_3}{3} \\
198
+ x_2=20 x_3-27 x_4 \\
199
+ \end{array}
200
+ \\
201
+ \end{array}
202
+ \\
203
+
204
+ \begin{array}{l}
205
+ \text{Rewrite }v \text{in }\text{terms }\text{of }\text{the }\text{free }\text{variables }x_3 \text{and }x_4, \text{and }\text{assign }\text{arbitrary }\text{real }\text{values }\text{of }x \text{and }y \text{to }\text{the }\text{variables}: \\
206
+ v=\left(
207
+ \begin{array}{c}
208
+ x_1 \\
209
+ x_2 \\
210
+ x_3 \\
211
+ x_4 \\
212
+ \end{array}
213
+ \right)=\left(
214
+ \begin{array}{c}
215
+ \frac{88 x_4}{3}-\frac{70 x_3}{3} \\
216
+ 20 x_3-27 x_4 \\
217
+ x_3 \\
218
+ x_4 \\
219
+ \end{array}
220
+ \right)=\left(
221
+ \begin{array}{c}
222
+ \frac{88 y}{3}-\frac{70 x}{3} \\
223
+ -27 y+20 x \\
224
+ x \\
225
+ y \\
226
+ \end{array}
227
+ \right)\text{ for }x,y\in \mathbb{R} \\
228
+ \end{array}
229
+ \\
230
+
231
+ \begin{array}{l}
232
+ \text{Since }\text{the }\text{variables }x \text{and }y \text{are }\text{taken }\text{from }\mathbb{R}, \text{we }\text{can }\text{replace }\text{them }\text{with }3 x \text{and }3 y \text{respectively}: \\
233
+ \left(
234
+ \begin{array}{c}
235
+ \frac{88 y}{3}-\frac{70 x}{3} \\
236
+ -27 y+20 x \\
237
+ x \\
238
+ y \\
239
+ \end{array}
240
+ \right)\, \rightarrow \, \left(
241
+ \begin{array}{c}
242
+ \frac{88 (3 y)}{3}-\frac{70 (3 x)}{3} \\
243
+ -27 (3 y)+20 (3 x) \\
244
+ 3 x \\
245
+ 3 y \\
246
+ \end{array}
247
+ \right)=\left(
248
+ \begin{array}{c}
249
+ 88 y-70 x \\
250
+ -81 y+60 x \\
251
+ 3 x \\
252
+ 3 y \\
253
+ \end{array}
254
+ \right)\text{ for }x,y\in \mathbb{R} \\
255
+ \end{array}
256
+ \\
257
+
258
+ \begin{array}{l}
259
+ \text{Rewrite }\text{the }\text{solution }\text{vector }v=\left(
260
+ \begin{array}{c}
261
+ 88 y-70 x \\
262
+ -81 y+60 x \\
263
+ 3 x \\
264
+ 3 y \\
265
+ \end{array}
266
+ \right) \text{in }\text{set }\text{notation}: \\
267
+ \fbox{$
268
+ \begin{array}{ll}
269
+ \text{Answer:} & \\
270
+ \text{} & \{\, (88 y-70 x,-81 y+60 x,3 x,3 y)\, \text{$\, $: }x,y\in \mathbb{R}\} \\
271
+ \end{array}
272
+ $} \\
273
+ \end{array}
274
+ \\
275
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/2067.txt ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cc}
5
+ 8 & 4 \\
6
+ -5 & 1 \\
7
+ \end{array}
8
+ \right)$.
9
+ Answer:
10
+ \begin{array}{l}
11
+
12
+ \begin{array}{l}
13
+ \text{Find the null space of the matrix }M: \\
14
+ M=\left(
15
+ \begin{array}{cc}
16
+ 8 & 4 \\
17
+ -5 & 1 \\
18
+ \end{array}
19
+ \right) \\
20
+ \end{array}
21
+ \\
22
+ \hline
23
+
24
+ \begin{array}{l}
25
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
26
+ \begin{array}{cc}
27
+ 8 & 4 \\
28
+ -5 & 1 \\
29
+ \end{array}
30
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
31
+ \begin{array}{c}
32
+ x_1 \\
33
+ x_2 \\
34
+ \end{array}
35
+ \right) \text{such }\text{that }M.v=0: \\
36
+ \left(
37
+ \begin{array}{cc}
38
+ 8 & 4 \\
39
+ -5 & 1 \\
40
+ \end{array}
41
+ \right).\left(
42
+ \begin{array}{c}
43
+ x_1 \\
44
+ x_2 \\
45
+ \end{array}
46
+ \right)=\left(
47
+ \begin{array}{c}
48
+ 0 \\
49
+ 0 \\
50
+ \end{array}
51
+ \right) \\
52
+ \end{array}
53
+ \\
54
+
55
+ \begin{array}{l}
56
+ \text{Reduce }\text{the }\text{matrix }\left(
57
+ \begin{array}{cc}
58
+ 8 & 4 \\
59
+ -5 & 1 \\
60
+ \end{array}
61
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
62
+ \left(
63
+ \begin{array}{cc}
64
+ 8 & 4 \\
65
+ -5 & 1 \\
66
+ \end{array}
67
+ \right) \\
68
+ \end{array}
69
+ \\
70
+
71
+ \begin{array}{l}
72
+ \text{Add }\frac{5}{8}\, \times \, \text{(row }1) \text{to }\text{row }2: \\
73
+ \left(
74
+ \begin{array}{cc}
75
+ 8 & 4 \\
76
+ 0 & \frac{7}{2} \\
77
+ \end{array}
78
+ \right) \\
79
+ \end{array}
80
+ \\
81
+
82
+ \begin{array}{l}
83
+ \text{Multiply }\text{row }2 \text{by }\frac{2}{7}: \\
84
+ \left(
85
+ \begin{array}{cc}
86
+ 8 & 4 \\
87
+ 0 & 1 \\
88
+ \end{array}
89
+ \right) \\
90
+ \end{array}
91
+ \\
92
+
93
+ \begin{array}{l}
94
+ \text{Subtract }4\, \times \, \text{(row }2) \text{from }\text{row }1: \\
95
+ \left(
96
+ \begin{array}{cc}
97
+ 8 & 0 \\
98
+ 0 & 1 \\
99
+ \end{array}
100
+ \right) \\
101
+ \end{array}
102
+ \\
103
+
104
+ \begin{array}{l}
105
+ \text{Divide }\text{row }1 \text{by }8: \\
106
+ \left(
107
+ \begin{array}{cc}
108
+ 1 & 0 \\
109
+ 0 & 1 \\
110
+ \end{array}
111
+ \right) \\
112
+ \end{array}
113
+ \\
114
+
115
+ \begin{array}{l}
116
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
117
+ \begin{array}{c}
118
+ x_1 \\
119
+ x_2 \\
120
+ \end{array}
121
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
122
+ \begin{array}{cc}
123
+ 1 & 0 \\
124
+ 0 & 1 \\
125
+ \end{array}
126
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
127
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
128
+ \end{array}
129
+ \\
130
+
131
+ \begin{array}{l}
132
+ \text{The }\text{only }\text{value }\text{of }v=\left(
133
+ \begin{array}{c}
134
+ x_1 \\
135
+ x_2 \\
136
+ \end{array}
137
+ \right) \text{that }\text{would }\text{make }\left(
138
+ \begin{array}{cc}
139
+ 1 & 0 \\
140
+ 0 & 1 \\
141
+ \end{array}
142
+ \right).\left(
143
+ \begin{array}{c}
144
+ x_1 \\
145
+ x_2 \\
146
+ \end{array}
147
+ \right)=\left(
148
+ \begin{array}{c}
149
+ 0 \\
150
+ 0 \\
151
+ \end{array}
152
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
153
+ \begin{array}{c}
154
+ 0 \\
155
+ 0 \\
156
+ \end{array}
157
+ \right): \\
158
+ \left(
159
+ \begin{array}{c}
160
+ 0 \\
161
+ 0 \\
162
+ \end{array}
163
+ \right) \\
164
+ \end{array}
165
+ \\
166
+
167
+ \begin{array}{l}
168
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
169
+ \fbox{$
170
+ \begin{array}{ll}
171
+ \text{Answer:} & \\
172
+ \text{} & \{\, (0,0)\, \} \\
173
+ \end{array}
174
+ $} \\
175
+ \end{array}
176
+ \\
177
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/2168.txt ADDED
@@ -0,0 +1,414 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cccc}
5
+ 5 & 1 & -8 & 9 \\
6
+ 9 & -5 & -3 & 10 \\
7
+ -3 & 5 & 7 & 4 \\
8
+ -4 & -7 & -3 & 6 \\
9
+ \end{array}
10
+ \right)$.
11
+ Answer:
12
+ \begin{array}{l}
13
+
14
+ \begin{array}{l}
15
+ \text{Find the null space of the matrix }M: \\
16
+ M=\left(
17
+ \begin{array}{cccc}
18
+ 5 & 1 & -8 & 9 \\
19
+ 9 & -5 & -3 & 10 \\
20
+ -3 & 5 & 7 & 4 \\
21
+ -4 & -7 & -3 & 6 \\
22
+ \end{array}
23
+ \right) \\
24
+ \end{array}
25
+ \\
26
+ \hline
27
+
28
+ \begin{array}{l}
29
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
30
+ \begin{array}{cccc}
31
+ 5 & 1 & -8 & 9 \\
32
+ 9 & -5 & -3 & 10 \\
33
+ -3 & 5 & 7 & 4 \\
34
+ -4 & -7 & -3 & 6 \\
35
+ \end{array}
36
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
37
+ \begin{array}{c}
38
+ x_1 \\
39
+ x_2 \\
40
+ x_3 \\
41
+ x_4 \\
42
+ \end{array}
43
+ \right) \text{such }\text{that }M.v=0: \\
44
+ \left(
45
+ \begin{array}{cccc}
46
+ 5 & 1 & -8 & 9 \\
47
+ 9 & -5 & -3 & 10 \\
48
+ -3 & 5 & 7 & 4 \\
49
+ -4 & -7 & -3 & 6 \\
50
+ \end{array}
51
+ \right).\left(
52
+ \begin{array}{c}
53
+ x_1 \\
54
+ x_2 \\
55
+ x_3 \\
56
+ x_4 \\
57
+ \end{array}
58
+ \right)=\left(
59
+ \begin{array}{c}
60
+ 0 \\
61
+ 0 \\
62
+ 0 \\
63
+ 0 \\
64
+ \end{array}
65
+ \right) \\
66
+ \end{array}
67
+ \\
68
+
69
+ \begin{array}{l}
70
+ \text{Reduce }\text{the }\text{matrix }\left(
71
+ \begin{array}{cccc}
72
+ 5 & 1 & -8 & 9 \\
73
+ 9 & -5 & -3 & 10 \\
74
+ -3 & 5 & 7 & 4 \\
75
+ -4 & -7 & -3 & 6 \\
76
+ \end{array}
77
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
78
+ \left(
79
+ \begin{array}{cccc}
80
+ 5 & 1 & -8 & 9 \\
81
+ 9 & -5 & -3 & 10 \\
82
+ -3 & 5 & 7 & 4 \\
83
+ -4 & -7 & -3 & 6 \\
84
+ \end{array}
85
+ \right) \\
86
+ \end{array}
87
+ \\
88
+
89
+ \begin{array}{l}
90
+ \text{Swap }\text{row }1 \text{with }\text{row }2: \\
91
+ \left(
92
+ \begin{array}{cccc}
93
+ 9 & -5 & -3 & 10 \\
94
+ 5 & 1 & -8 & 9 \\
95
+ -3 & 5 & 7 & 4 \\
96
+ -4 & -7 & -3 & 6 \\
97
+ \end{array}
98
+ \right) \\
99
+ \end{array}
100
+ \\
101
+
102
+ \begin{array}{l}
103
+ \text{Subtract }\frac{5}{9}\, \times \, \text{(row }1) \text{from }\text{row }2: \\
104
+ \left(
105
+ \begin{array}{cccc}
106
+ 9 & -5 & -3 & 10 \\
107
+ 0 & \frac{34}{9} & -\frac{19}{3} & \frac{31}{9} \\
108
+ -3 & 5 & 7 & 4 \\
109
+ -4 & -7 & -3 & 6 \\
110
+ \end{array}
111
+ \right) \\
112
+ \end{array}
113
+ \\
114
+
115
+ \begin{array}{l}
116
+ \text{Add }\frac{1}{3}\, \times \, \text{(row }1) \text{to }\text{row }3: \\
117
+ \left(
118
+ \begin{array}{cccc}
119
+ 9 & -5 & -3 & 10 \\
120
+ 0 & \frac{34}{9} & -\frac{19}{3} & \frac{31}{9} \\
121
+ 0 & \frac{10}{3} & 6 & \frac{22}{3} \\
122
+ -4 & -7 & -3 & 6 \\
123
+ \end{array}
124
+ \right) \\
125
+ \end{array}
126
+ \\
127
+
128
+ \begin{array}{l}
129
+ \text{Add }\frac{4}{9}\, \times \, \text{(row }1) \text{to }\text{row }4: \\
130
+ \left(
131
+ \begin{array}{cccc}
132
+ 9 & -5 & -3 & 10 \\
133
+ 0 & \frac{34}{9} & -\frac{19}{3} & \frac{31}{9} \\
134
+ 0 & \frac{10}{3} & 6 & \frac{22}{3} \\
135
+ 0 & -\frac{83}{9} & -\frac{13}{3} & \frac{94}{9} \\
136
+ \end{array}
137
+ \right) \\
138
+ \end{array}
139
+ \\
140
+
141
+ \begin{array}{l}
142
+ \text{Swap }\text{row }2 \text{with }\text{row }4: \\
143
+ \left(
144
+ \begin{array}{cccc}
145
+ 9 & -5 & -3 & 10 \\
146
+ 0 & -\frac{83}{9} & -\frac{13}{3} & \frac{94}{9} \\
147
+ 0 & \frac{10}{3} & 6 & \frac{22}{3} \\
148
+ 0 & \frac{34}{9} & -\frac{19}{3} & \frac{31}{9} \\
149
+ \end{array}
150
+ \right) \\
151
+ \end{array}
152
+ \\
153
+
154
+ \begin{array}{l}
155
+ \text{Add }\frac{30}{83}\, \times \, \text{(row }2) \text{to }\text{row }3: \\
156
+ \left(
157
+ \begin{array}{cccc}
158
+ 9 & -5 & -3 & 10 \\
159
+ 0 & -\frac{83}{9} & -\frac{13}{3} & \frac{94}{9} \\
160
+ 0 & 0 & \frac{368}{83} & \frac{922}{83} \\
161
+ 0 & \frac{34}{9} & -\frac{19}{3} & \frac{31}{9} \\
162
+ \end{array}
163
+ \right) \\
164
+ \end{array}
165
+ \\
166
+
167
+ \begin{array}{l}
168
+ \text{Add }\frac{34}{83}\, \times \, \text{(row }2) \text{to }\text{row }4: \\
169
+ \left(
170
+ \begin{array}{cccc}
171
+ 9 & -5 & -3 & 10 \\
172
+ 0 & -\frac{83}{9} & -\frac{13}{3} & \frac{94}{9} \\
173
+ 0 & 0 & \frac{368}{83} & \frac{922}{83} \\
174
+ 0 & 0 & -\frac{673}{83} & \frac{641}{83} \\
175
+ \end{array}
176
+ \right) \\
177
+ \end{array}
178
+ \\
179
+
180
+ \begin{array}{l}
181
+ \text{Swap }\text{row }3 \text{with }\text{row }4: \\
182
+ \left(
183
+ \begin{array}{cccc}
184
+ 9 & -5 & -3 & 10 \\
185
+ 0 & -\frac{83}{9} & -\frac{13}{3} & \frac{94}{9} \\
186
+ 0 & 0 & -\frac{673}{83} & \frac{641}{83} \\
187
+ 0 & 0 & \frac{368}{83} & \frac{922}{83} \\
188
+ \end{array}
189
+ \right) \\
190
+ \end{array}
191
+ \\
192
+
193
+ \begin{array}{l}
194
+ \text{Add }\frac{368}{673}\, \times \, \text{(row }3) \text{to }\text{row }4: \\
195
+ \left(
196
+ \begin{array}{cccc}
197
+ 9 & -5 & -3 & 10 \\
198
+ 0 & -\frac{83}{9} & -\frac{13}{3} & \frac{94}{9} \\
199
+ 0 & 0 & -\frac{673}{83} & \frac{641}{83} \\
200
+ 0 & 0 & 0 & \frac{10318}{673} \\
201
+ \end{array}
202
+ \right) \\
203
+ \end{array}
204
+ \\
205
+
206
+ \begin{array}{l}
207
+ \text{Multiply }\text{row }4 \text{by }\frac{673}{10318}: \\
208
+ \left(
209
+ \begin{array}{cccc}
210
+ 9 & -5 & -3 & 10 \\
211
+ 0 & -\frac{83}{9} & -\frac{13}{3} & \frac{94}{9} \\
212
+ 0 & 0 & -\frac{673}{83} & \frac{641}{83} \\
213
+ 0 & 0 & 0 & 1 \\
214
+ \end{array}
215
+ \right) \\
216
+ \end{array}
217
+ \\
218
+
219
+ \begin{array}{l}
220
+ \text{Subtract }\frac{641}{83}\, \times \, \text{(row }4) \text{from }\text{row }3: \\
221
+ \left(
222
+ \begin{array}{cccc}
223
+ 9 & -5 & -3 & 10 \\
224
+ 0 & -\frac{83}{9} & -\frac{13}{3} & \frac{94}{9} \\
225
+ 0 & 0 & -\frac{673}{83} & 0 \\
226
+ 0 & 0 & 0 & 1 \\
227
+ \end{array}
228
+ \right) \\
229
+ \end{array}
230
+ \\
231
+
232
+ \begin{array}{l}
233
+ \text{Subtract }\frac{94}{9}\, \times \, \text{(row }4) \text{from }\text{row }2: \\
234
+ \left(
235
+ \begin{array}{cccc}
236
+ 9 & -5 & -3 & 10 \\
237
+ 0 & -\frac{83}{9} & -\frac{13}{3} & 0 \\
238
+ 0 & 0 & -\frac{673}{83} & 0 \\
239
+ 0 & 0 & 0 & 1 \\
240
+ \end{array}
241
+ \right) \\
242
+ \end{array}
243
+ \\
244
+
245
+ \begin{array}{l}
246
+ \text{Subtract }10\, \times \, \text{(row }4) \text{from }\text{row }1: \\
247
+ \left(
248
+ \begin{array}{cccc}
249
+ 9 & -5 & -3 & 0 \\
250
+ 0 & -\frac{83}{9} & -\frac{13}{3} & 0 \\
251
+ 0 & 0 & -\frac{673}{83} & 0 \\
252
+ 0 & 0 & 0 & 1 \\
253
+ \end{array}
254
+ \right) \\
255
+ \end{array}
256
+ \\
257
+
258
+ \begin{array}{l}
259
+ \text{Multiply }\text{row }3 \text{by }-\frac{83}{673}: \\
260
+ \left(
261
+ \begin{array}{cccc}
262
+ 9 & -5 & -3 & 0 \\
263
+ 0 & -\frac{83}{9} & -\frac{13}{3} & 0 \\
264
+ 0 & 0 & 1 & 0 \\
265
+ 0 & 0 & 0 & 1 \\
266
+ \end{array}
267
+ \right) \\
268
+ \end{array}
269
+ \\
270
+
271
+ \begin{array}{l}
272
+ \text{Add }\frac{13}{3}\, \times \, \text{(row }3) \text{to }\text{row }2: \\
273
+ \left(
274
+ \begin{array}{cccc}
275
+ 9 & -5 & -3 & 0 \\
276
+ 0 & -\frac{83}{9} & 0 & 0 \\
277
+ 0 & 0 & 1 & 0 \\
278
+ 0 & 0 & 0 & 1 \\
279
+ \end{array}
280
+ \right) \\
281
+ \end{array}
282
+ \\
283
+
284
+ \begin{array}{l}
285
+ \text{Add }3\, \times \, \text{(row }3) \text{to }\text{row }1: \\
286
+ \left(
287
+ \begin{array}{cccc}
288
+ 9 & -5 & 0 & 0 \\
289
+ 0 & -\frac{83}{9} & 0 & 0 \\
290
+ 0 & 0 & 1 & 0 \\
291
+ 0 & 0 & 0 & 1 \\
292
+ \end{array}
293
+ \right) \\
294
+ \end{array}
295
+ \\
296
+
297
+ \begin{array}{l}
298
+ \text{Multiply }\text{row }2 \text{by }-\frac{9}{83}: \\
299
+ \left(
300
+ \begin{array}{cccc}
301
+ 9 & -5 & 0 & 0 \\
302
+ 0 & 1 & 0 & 0 \\
303
+ 0 & 0 & 1 & 0 \\
304
+ 0 & 0 & 0 & 1 \\
305
+ \end{array}
306
+ \right) \\
307
+ \end{array}
308
+ \\
309
+
310
+ \begin{array}{l}
311
+ \text{Add }5\, \times \, \text{(row }2) \text{to }\text{row }1: \\
312
+ \left(
313
+ \begin{array}{cccc}
314
+ 9 & 0 & 0 & 0 \\
315
+ 0 & 1 & 0 & 0 \\
316
+ 0 & 0 & 1 & 0 \\
317
+ 0 & 0 & 0 & 1 \\
318
+ \end{array}
319
+ \right) \\
320
+ \end{array}
321
+ \\
322
+
323
+ \begin{array}{l}
324
+ \text{Divide }\text{row }1 \text{by }9: \\
325
+ \left(
326
+ \begin{array}{cccc}
327
+ 1 & 0 & 0 & 0 \\
328
+ 0 & 1 & 0 & 0 \\
329
+ 0 & 0 & 1 & 0 \\
330
+ 0 & 0 & 0 & 1 \\
331
+ \end{array}
332
+ \right) \\
333
+ \end{array}
334
+ \\
335
+
336
+ \begin{array}{l}
337
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
338
+ \begin{array}{c}
339
+ x_1 \\
340
+ x_2 \\
341
+ x_3 \\
342
+ x_4 \\
343
+ \end{array}
344
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
345
+ \begin{array}{cccc}
346
+ 1 & 0 & 0 & 0 \\
347
+ 0 & 1 & 0 & 0 \\
348
+ 0 & 0 & 1 & 0 \\
349
+ 0 & 0 & 0 & 1 \\
350
+ \end{array}
351
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
352
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
353
+ \end{array}
354
+ \\
355
+
356
+ \begin{array}{l}
357
+ \text{The }\text{only }\text{value }\text{of }v=\left(
358
+ \begin{array}{c}
359
+ x_1 \\
360
+ x_2 \\
361
+ x_3 \\
362
+ x_4 \\
363
+ \end{array}
364
+ \right) \text{that }\text{would }\text{make }\left(
365
+ \begin{array}{cccc}
366
+ 1 & 0 & 0 & 0 \\
367
+ 0 & 1 & 0 & 0 \\
368
+ 0 & 0 & 1 & 0 \\
369
+ 0 & 0 & 0 & 1 \\
370
+ \end{array}
371
+ \right).\left(
372
+ \begin{array}{c}
373
+ x_1 \\
374
+ x_2 \\
375
+ x_3 \\
376
+ x_4 \\
377
+ \end{array}
378
+ \right)=\left(
379
+ \begin{array}{c}
380
+ 0 \\
381
+ 0 \\
382
+ 0 \\
383
+ 0 \\
384
+ \end{array}
385
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
386
+ \begin{array}{c}
387
+ 0 \\
388
+ 0 \\
389
+ 0 \\
390
+ 0 \\
391
+ \end{array}
392
+ \right): \\
393
+ \left(
394
+ \begin{array}{c}
395
+ 0 \\
396
+ 0 \\
397
+ 0 \\
398
+ 0 \\
399
+ \end{array}
400
+ \right) \\
401
+ \end{array}
402
+ \\
403
+
404
+ \begin{array}{l}
405
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
406
+ \fbox{$
407
+ \begin{array}{ll}
408
+ \text{Answer:} & \\
409
+ \text{} & \{\, (0,0,0,0)\, \} \\
410
+ \end{array}
411
+ $} \\
412
+ \end{array}
413
+ \\
414
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/2191.txt ADDED
@@ -0,0 +1,239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cc}
5
+ 3 & 0 \\
6
+ -8 & 5 \\
7
+ -7 & -6 \\
8
+ \end{array}
9
+ \right)$.
10
+ Answer:
11
+ \begin{array}{l}
12
+
13
+ \begin{array}{l}
14
+ \text{Find the null space of the matrix }M: \\
15
+ M=\left(
16
+ \begin{array}{cc}
17
+ 3 & 0 \\
18
+ -8 & 5 \\
19
+ -7 & -6 \\
20
+ \end{array}
21
+ \right) \\
22
+ \end{array}
23
+ \\
24
+ \hline
25
+
26
+ \begin{array}{l}
27
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
28
+ \begin{array}{cc}
29
+ 3 & 0 \\
30
+ -8 & 5 \\
31
+ -7 & -6 \\
32
+ \end{array}
33
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
34
+ \begin{array}{c}
35
+ x_1 \\
36
+ x_2 \\
37
+ \end{array}
38
+ \right) \text{such }\text{that }M.v=0: \\
39
+ \left(
40
+ \begin{array}{cc}
41
+ 3 & 0 \\
42
+ -8 & 5 \\
43
+ -7 & -6 \\
44
+ \end{array}
45
+ \right).\left(
46
+ \begin{array}{c}
47
+ x_1 \\
48
+ x_2 \\
49
+ \end{array}
50
+ \right)=\left(
51
+ \begin{array}{c}
52
+ 0 \\
53
+ 0 \\
54
+ 0 \\
55
+ \end{array}
56
+ \right) \\
57
+ \end{array}
58
+ \\
59
+
60
+ \begin{array}{l}
61
+ \text{Reduce }\text{the }\text{matrix }\left(
62
+ \begin{array}{cc}
63
+ 3 & 0 \\
64
+ -8 & 5 \\
65
+ -7 & -6 \\
66
+ \end{array}
67
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
68
+ \left(
69
+ \begin{array}{cc}
70
+ 3 & 0 \\
71
+ -8 & 5 \\
72
+ -7 & -6 \\
73
+ \end{array}
74
+ \right) \\
75
+ \end{array}
76
+ \\
77
+
78
+ \begin{array}{l}
79
+ \text{Swap }\text{row }1 \text{with }\text{row }2: \\
80
+ \left(
81
+ \begin{array}{cc}
82
+ -8 & 5 \\
83
+ 3 & 0 \\
84
+ -7 & -6 \\
85
+ \end{array}
86
+ \right) \\
87
+ \end{array}
88
+ \\
89
+
90
+ \begin{array}{l}
91
+ \text{Add }\frac{3}{8}\, \times \, \text{(row }1) \text{to }\text{row }2: \\
92
+ \left(
93
+ \begin{array}{cc}
94
+ -8 & 5 \\
95
+ 0 & \frac{15}{8} \\
96
+ -7 & -6 \\
97
+ \end{array}
98
+ \right) \\
99
+ \end{array}
100
+ \\
101
+
102
+ \begin{array}{l}
103
+ \text{Subtract }\frac{7}{8}\, \times \, \text{(row }1) \text{from }\text{row }3: \\
104
+ \left(
105
+ \begin{array}{cc}
106
+ -8 & 5 \\
107
+ 0 & \frac{15}{8} \\
108
+ 0 & -\frac{83}{8} \\
109
+ \end{array}
110
+ \right) \\
111
+ \end{array}
112
+ \\
113
+
114
+ \begin{array}{l}
115
+ \text{Swap }\text{row }2 \text{with }\text{row }3: \\
116
+ \left(
117
+ \begin{array}{cc}
118
+ -8 & 5 \\
119
+ 0 & -\frac{83}{8} \\
120
+ 0 & \frac{15}{8} \\
121
+ \end{array}
122
+ \right) \\
123
+ \end{array}
124
+ \\
125
+
126
+ \begin{array}{l}
127
+ \text{Add }\frac{15}{83}\, \times \, \text{(row }2) \text{to }\text{row }3: \\
128
+ \left(
129
+ \begin{array}{cc}
130
+ -8 & 5 \\
131
+ 0 & -\frac{83}{8} \\
132
+ 0 & 0 \\
133
+ \end{array}
134
+ \right) \\
135
+ \end{array}
136
+ \\
137
+
138
+ \begin{array}{l}
139
+ \text{Multiply }\text{row }2 \text{by }-\frac{8}{83}: \\
140
+ \left(
141
+ \begin{array}{cc}
142
+ -8 & 5 \\
143
+ 0 & 1 \\
144
+ 0 & 0 \\
145
+ \end{array}
146
+ \right) \\
147
+ \end{array}
148
+ \\
149
+
150
+ \begin{array}{l}
151
+ \text{Subtract }5\, \times \, \text{(row }2) \text{from }\text{row }1: \\
152
+ \left(
153
+ \begin{array}{cc}
154
+ -8 & 0 \\
155
+ 0 & 1 \\
156
+ 0 & 0 \\
157
+ \end{array}
158
+ \right) \\
159
+ \end{array}
160
+ \\
161
+
162
+ \begin{array}{l}
163
+ \text{Divide }\text{row }1 \text{by }-8: \\
164
+ \left(
165
+ \begin{array}{cc}
166
+ 1 & 0 \\
167
+ 0 & 1 \\
168
+ 0 & 0 \\
169
+ \end{array}
170
+ \right) \\
171
+ \end{array}
172
+ \\
173
+
174
+ \begin{array}{l}
175
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
176
+ \begin{array}{c}
177
+ x_1 \\
178
+ x_2 \\
179
+ \end{array}
180
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
181
+ \begin{array}{cc}
182
+ 1 & 0 \\
183
+ 0 & 1 \\
184
+ 0 & 0 \\
185
+ \end{array}
186
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
187
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
188
+ \end{array}
189
+ \\
190
+
191
+ \begin{array}{l}
192
+ \text{The }\text{only }\text{value }\text{of }v=\left(
193
+ \begin{array}{c}
194
+ x_1 \\
195
+ x_2 \\
196
+ \end{array}
197
+ \right) \text{that }\text{would }\text{make }\left(
198
+ \begin{array}{cc}
199
+ 1 & 0 \\
200
+ 0 & 1 \\
201
+ 0 & 0 \\
202
+ \end{array}
203
+ \right).\left(
204
+ \begin{array}{c}
205
+ x_1 \\
206
+ x_2 \\
207
+ \end{array}
208
+ \right)=\left(
209
+ \begin{array}{c}
210
+ 0 \\
211
+ 0 \\
212
+ 0 \\
213
+ \end{array}
214
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
215
+ \begin{array}{c}
216
+ 0 \\
217
+ 0 \\
218
+ \end{array}
219
+ \right): \\
220
+ \left(
221
+ \begin{array}{c}
222
+ 0 \\
223
+ 0 \\
224
+ \end{array}
225
+ \right) \\
226
+ \end{array}
227
+ \\
228
+
229
+ \begin{array}{l}
230
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
231
+ \fbox{$
232
+ \begin{array}{ll}
233
+ \text{Answer:} & \\
234
+ \text{} & \{\, (0,0)\, \} \\
235
+ \end{array}
236
+ $} \\
237
+ \end{array}
238
+ \\
239
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/2194.txt ADDED
@@ -0,0 +1,330 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cccc}
5
+ 9 & 2 & 2 & -3 \\
6
+ -9 & 9 & -2 & -2 \\
7
+ -8 & -4 & -7 & -5 \\
8
+ \end{array}
9
+ \right)$.
10
+ Answer:
11
+ \begin{array}{l}
12
+
13
+ \begin{array}{l}
14
+ \text{Find the null space of the matrix }M: \\
15
+ M=\left(
16
+ \begin{array}{cccc}
17
+ 9 & 2 & 2 & -3 \\
18
+ -9 & 9 & -2 & -2 \\
19
+ -8 & -4 & -7 & -5 \\
20
+ \end{array}
21
+ \right) \\
22
+ \end{array}
23
+ \\
24
+ \hline
25
+
26
+ \begin{array}{l}
27
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
28
+ \begin{array}{cccc}
29
+ 9 & 2 & 2 & -3 \\
30
+ -9 & 9 & -2 & -2 \\
31
+ -8 & -4 & -7 & -5 \\
32
+ \end{array}
33
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
34
+ \begin{array}{c}
35
+ x_1 \\
36
+ x_2 \\
37
+ x_3 \\
38
+ x_4 \\
39
+ \end{array}
40
+ \right) \text{such }\text{that }M.v=0: \\
41
+ \left(
42
+ \begin{array}{cccc}
43
+ 9 & 2 & 2 & -3 \\
44
+ -9 & 9 & -2 & -2 \\
45
+ -8 & -4 & -7 & -5 \\
46
+ \end{array}
47
+ \right).\left(
48
+ \begin{array}{c}
49
+ x_1 \\
50
+ x_2 \\
51
+ x_3 \\
52
+ x_4 \\
53
+ \end{array}
54
+ \right)=\left(
55
+ \begin{array}{c}
56
+ 0 \\
57
+ 0 \\
58
+ 0 \\
59
+ \end{array}
60
+ \right) \\
61
+ \end{array}
62
+ \\
63
+
64
+ \begin{array}{l}
65
+ \text{Reduce }\text{the }\text{matrix }\left(
66
+ \begin{array}{cccc}
67
+ 9 & 2 & 2 & -3 \\
68
+ -9 & 9 & -2 & -2 \\
69
+ -8 & -4 & -7 & -5 \\
70
+ \end{array}
71
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
72
+ \left(
73
+ \begin{array}{cccc}
74
+ 9 & 2 & 2 & -3 \\
75
+ -9 & 9 & -2 & -2 \\
76
+ -8 & -4 & -7 & -5 \\
77
+ \end{array}
78
+ \right) \\
79
+ \end{array}
80
+ \\
81
+
82
+ \begin{array}{l}
83
+ \text{Add }\text{row }1 \text{to }\text{row }2: \\
84
+ \left(
85
+ \begin{array}{cccc}
86
+ 9 & 2 & 2 & -3 \\
87
+ 0 & 11 & 0 & -5 \\
88
+ -8 & -4 & -7 & -5 \\
89
+ \end{array}
90
+ \right) \\
91
+ \end{array}
92
+ \\
93
+
94
+ \begin{array}{l}
95
+ \text{Add }\frac{8}{9}\, \times \, \text{(row }1) \text{to }\text{row }3: \\
96
+ \left(
97
+ \begin{array}{cccc}
98
+ 9 & 2 & 2 & -3 \\
99
+ 0 & 11 & 0 & -5 \\
100
+ 0 & -\frac{20}{9} & -\frac{47}{9} & -\frac{23}{3} \\
101
+ \end{array}
102
+ \right) \\
103
+ \end{array}
104
+ \\
105
+
106
+ \begin{array}{l}
107
+ \text{Add }\frac{20}{99}\, \times \, \text{(row }2) \text{to }\text{row }3: \\
108
+ \left(
109
+ \begin{array}{cccc}
110
+ 9 & 2 & 2 & -3 \\
111
+ 0 & 11 & 0 & -5 \\
112
+ 0 & 0 & -\frac{47}{9} & -\frac{859}{99} \\
113
+ \end{array}
114
+ \right) \\
115
+ \end{array}
116
+ \\
117
+
118
+ \begin{array}{l}
119
+ \text{Multiply }\text{row }3 \text{by }-\frac{9}{47}: \\
120
+ \left(
121
+ \begin{array}{cccc}
122
+ 9 & 2 & 2 & -3 \\
123
+ 0 & 11 & 0 & -5 \\
124
+ 0 & 0 & 1 & \frac{859}{517} \\
125
+ \end{array}
126
+ \right) \\
127
+ \end{array}
128
+ \\
129
+
130
+ \begin{array}{l}
131
+ \text{Subtract }2\, \times \, \text{(row }3) \text{from }\text{row }1: \\
132
+ \left(
133
+ \begin{array}{cccc}
134
+ 9 & 2 & 0 & -\frac{3269}{517} \\
135
+ 0 & 11 & 0 & -5 \\
136
+ 0 & 0 & 1 & \frac{859}{517} \\
137
+ \end{array}
138
+ \right) \\
139
+ \end{array}
140
+ \\
141
+
142
+ \begin{array}{l}
143
+ \text{Divide }\text{row }2 \text{by }11: \\
144
+ \left(
145
+ \begin{array}{cccc}
146
+ 9 & 2 & 0 & -\frac{3269}{517} \\
147
+ 0 & 1 & 0 & -\frac{5}{11} \\
148
+ 0 & 0 & 1 & \frac{859}{517} \\
149
+ \end{array}
150
+ \right) \\
151
+ \end{array}
152
+ \\
153
+
154
+ \begin{array}{l}
155
+ \text{Subtract }2\, \times \, \text{(row }2) \text{from }\text{row }1: \\
156
+ \left(
157
+ \begin{array}{cccc}
158
+ 9 & 0 & 0 & -\frac{2799}{517} \\
159
+ 0 & 1 & 0 & -\frac{5}{11} \\
160
+ 0 & 0 & 1 & \frac{859}{517} \\
161
+ \end{array}
162
+ \right) \\
163
+ \end{array}
164
+ \\
165
+
166
+ \begin{array}{l}
167
+ \text{Divide }\text{row }1 \text{by }9: \\
168
+ \left(
169
+ \begin{array}{cccc}
170
+ 1 & 0 & 0 & -\frac{311}{517} \\
171
+ 0 & 1 & 0 & -\frac{5}{11} \\
172
+ 0 & 0 & 1 & \frac{859}{517} \\
173
+ \end{array}
174
+ \right) \\
175
+ \end{array}
176
+ \\
177
+
178
+ \begin{array}{l}
179
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
180
+ \begin{array}{c}
181
+ x_1 \\
182
+ x_2 \\
183
+ x_3 \\
184
+ x_4 \\
185
+ \end{array}
186
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
187
+ \begin{array}{cccc}
188
+ 1 & 0 & 0 & -\frac{311}{517} \\
189
+ 0 & 1 & 0 & -\frac{5}{11} \\
190
+ 0 & 0 & 1 & \frac{859}{517} \\
191
+ \end{array}
192
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
193
+ \text{Column }4 \text{is }\text{the }\text{only }\text{column }\text{with }\text{no }\text{pivot, }\text{so }\text{we }\text{may }\text{take }x_4 \text{to }\text{be }\text{the }\text{only }\text{free }\text{variable} \\
194
+ \end{array}
195
+ \\
196
+
197
+ \begin{array}{l}
198
+ \text{Multiply }\text{out }\text{the }\text{reduced }\text{matrix }\left(
199
+ \begin{array}{cccc}
200
+ 1 & 0 & 0 & -\frac{311}{517} \\
201
+ 0 & 1 & 0 & -\frac{5}{11} \\
202
+ 0 & 0 & 1 & \frac{859}{517} \\
203
+ \end{array}
204
+ \right) \text{with }\text{the }\text{proposed }\text{solution }\text{vector }\left(
205
+ \begin{array}{c}
206
+ x_1 \\
207
+ x_2 \\
208
+ x_3 \\
209
+ x_4 \\
210
+ \end{array}
211
+ \right): \\
212
+ \left(
213
+ \begin{array}{cccc}
214
+ 1 & 0 & 0 & -\frac{311}{517} \\
215
+ 0 & 1 & 0 & -\frac{5}{11} \\
216
+ 0 & 0 & 1 & \frac{859}{517} \\
217
+ \end{array}
218
+ \right).\left(
219
+ \begin{array}{c}
220
+ x_1 \\
221
+ x_2 \\
222
+ x_3 \\
223
+ x_4 \\
224
+ \end{array}
225
+ \right)=\left(
226
+ \begin{array}{c}
227
+ x_1-\frac{311 x_4}{517} \\
228
+ x_2-\frac{5 x_4}{11} \\
229
+ x_3+\frac{859 x_4}{517} \\
230
+ \end{array}
231
+ \right)=\left(
232
+ \begin{array}{c}
233
+ 0 \\
234
+ 0 \\
235
+ 0 \\
236
+ \end{array}
237
+ \right) \\
238
+ \end{array}
239
+ \\
240
+
241
+ \begin{array}{l}
242
+ \text{Solve }\text{the }\text{equations }\{
243
+ \begin{array}{l}
244
+ x_1-\frac{311 x_4}{517}=0 \\
245
+ x_2-\frac{5 x_4}{11}=0 \\
246
+ x_3+\frac{859 x_4}{517}=0 \\
247
+ \end{array}
248
+ \text{for }x_1,x_2 \text{and }x_3: \\
249
+ \{
250
+ \begin{array}{l}
251
+ x_1=\frac{311 x_4}{517} \\
252
+ x_2=\frac{5 x_4}{11} \\
253
+ x_3=-\frac{859 x_4}{517} \\
254
+ \end{array}
255
+ \\
256
+ \end{array}
257
+ \\
258
+
259
+ \begin{array}{l}
260
+ \text{Rewrite }v \text{in }\text{terms }\text{of }\text{the }\text{free }\text{variable }x_4, \text{and }\text{assign }\text{it }\text{an }\text{arbitrary }\text{real }\text{value }\text{of }x: \\
261
+ v=\left(
262
+ \begin{array}{c}
263
+ x_1 \\
264
+ x_2 \\
265
+ x_3 \\
266
+ x_4 \\
267
+ \end{array}
268
+ \right)=\left(
269
+ \begin{array}{c}
270
+ \frac{311 x_4}{517} \\
271
+ \frac{5 x_4}{11} \\
272
+ -\frac{859 x_4}{517} \\
273
+ x_4 \\
274
+ \end{array}
275
+ \right)=\left(
276
+ \begin{array}{c}
277
+ \frac{311 x}{517} \\
278
+ \frac{5 x}{11} \\
279
+ -\frac{859 x}{517} \\
280
+ x \\
281
+ \end{array}
282
+ \right)\text{ for }x\in \mathbb{R} \\
283
+ \end{array}
284
+ \\
285
+
286
+ \begin{array}{l}
287
+ \text{Since }x \text{is }\text{taken }\text{from }\mathbb{R}, \text{we }\text{can }\text{replace }\text{it }\text{with }517 x: \\
288
+ \left(
289
+ \begin{array}{c}
290
+ \frac{311 x}{517} \\
291
+ \frac{5 x}{11} \\
292
+ -\frac{859 x}{517} \\
293
+ x \\
294
+ \end{array}
295
+ \right)\, \rightarrow \, \left(
296
+ \begin{array}{c}
297
+ \frac{311 (517 x)}{517} \\
298
+ \frac{5 (517 x)}{11} \\
299
+ -\frac{859}{517} (517 x) \\
300
+ 517 x \\
301
+ \end{array}
302
+ \right)=\left(
303
+ \begin{array}{c}
304
+ 311 x \\
305
+ 235 x \\
306
+ -859 x \\
307
+ 517 x \\
308
+ \end{array}
309
+ \right)\text{ for }x\in \mathbb{R} \\
310
+ \end{array}
311
+ \\
312
+
313
+ \begin{array}{l}
314
+ \text{Rewrite }\text{the }\text{solution }\text{vector }v=\left(
315
+ \begin{array}{c}
316
+ 311 x \\
317
+ 235 x \\
318
+ -859 x \\
319
+ 517 x \\
320
+ \end{array}
321
+ \right) \text{in }\text{set }\text{notation}: \\
322
+ \fbox{$
323
+ \begin{array}{ll}
324
+ \text{Answer:} & \\
325
+ \text{} & \{\, (311 x,235 x,-859 x,517 x)\, \text{$\, $: }x\in \mathbb{R}\} \\
326
+ \end{array}
327
+ $} \\
328
+ \end{array}
329
+ \\
330
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/2214.txt ADDED
@@ -0,0 +1,342 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{ccc}
5
+ 7 & 8 & 6 \\
6
+ -8 & -8 & 10 \\
7
+ 3 & 6 & -3 \\
8
+ -10 & -9 & -10 \\
9
+ \end{array}
10
+ \right)$.
11
+ Answer:
12
+ \begin{array}{l}
13
+
14
+ \begin{array}{l}
15
+ \text{Find the null space of the matrix }M: \\
16
+ M=\left(
17
+ \begin{array}{ccc}
18
+ 7 & 8 & 6 \\
19
+ -8 & -8 & 10 \\
20
+ 3 & 6 & -3 \\
21
+ -10 & -9 & -10 \\
22
+ \end{array}
23
+ \right) \\
24
+ \end{array}
25
+ \\
26
+ \hline
27
+
28
+ \begin{array}{l}
29
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
30
+ \begin{array}{ccc}
31
+ 7 & 8 & 6 \\
32
+ -8 & -8 & 10 \\
33
+ 3 & 6 & -3 \\
34
+ -10 & -9 & -10 \\
35
+ \end{array}
36
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
37
+ \begin{array}{c}
38
+ x_1 \\
39
+ x_2 \\
40
+ x_3 \\
41
+ \end{array}
42
+ \right) \text{such }\text{that }M.v=0: \\
43
+ \left(
44
+ \begin{array}{ccc}
45
+ 7 & 8 & 6 \\
46
+ -8 & -8 & 10 \\
47
+ 3 & 6 & -3 \\
48
+ -10 & -9 & -10 \\
49
+ \end{array}
50
+ \right).\left(
51
+ \begin{array}{c}
52
+ x_1 \\
53
+ x_2 \\
54
+ x_3 \\
55
+ \end{array}
56
+ \right)=\left(
57
+ \begin{array}{c}
58
+ 0 \\
59
+ 0 \\
60
+ 0 \\
61
+ 0 \\
62
+ \end{array}
63
+ \right) \\
64
+ \end{array}
65
+ \\
66
+
67
+ \begin{array}{l}
68
+ \text{Reduce }\text{the }\text{matrix }\left(
69
+ \begin{array}{ccc}
70
+ 7 & 8 & 6 \\
71
+ -8 & -8 & 10 \\
72
+ 3 & 6 & -3 \\
73
+ -10 & -9 & -10 \\
74
+ \end{array}
75
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
76
+ \left(
77
+ \begin{array}{ccc}
78
+ 7 & 8 & 6 \\
79
+ -8 & -8 & 10 \\
80
+ 3 & 6 & -3 \\
81
+ -10 & -9 & -10 \\
82
+ \end{array}
83
+ \right) \\
84
+ \end{array}
85
+ \\
86
+
87
+ \begin{array}{l}
88
+ \text{Swap }\text{row }1 \text{with }\text{row }4: \\
89
+ \left(
90
+ \begin{array}{ccc}
91
+ -10 & -9 & -10 \\
92
+ -8 & -8 & 10 \\
93
+ 3 & 6 & -3 \\
94
+ 7 & 8 & 6 \\
95
+ \end{array}
96
+ \right) \\
97
+ \end{array}
98
+ \\
99
+
100
+ \begin{array}{l}
101
+ \text{Subtract }\frac{4}{5}\, \times \, \text{(row }1) \text{from }\text{row }2: \\
102
+ \left(
103
+ \begin{array}{ccc}
104
+ -10 & -9 & -10 \\
105
+ 0 & -\frac{4}{5} & 18 \\
106
+ 3 & 6 & -3 \\
107
+ 7 & 8 & 6 \\
108
+ \end{array}
109
+ \right) \\
110
+ \end{array}
111
+ \\
112
+
113
+ \begin{array}{l}
114
+ \text{Add }\frac{3}{10}\, \times \, \text{(row }1) \text{to }\text{row }3: \\
115
+ \left(
116
+ \begin{array}{ccc}
117
+ -10 & -9 & -10 \\
118
+ 0 & -\frac{4}{5} & 18 \\
119
+ 0 & \frac{33}{10} & -6 \\
120
+ 7 & 8 & 6 \\
121
+ \end{array}
122
+ \right) \\
123
+ \end{array}
124
+ \\
125
+
126
+ \begin{array}{l}
127
+ \text{Add }\frac{7}{10}\, \times \, \text{(row }1) \text{to }\text{row }4: \\
128
+ \left(
129
+ \begin{array}{ccc}
130
+ -10 & -9 & -10 \\
131
+ 0 & -\frac{4}{5} & 18 \\
132
+ 0 & \frac{33}{10} & -6 \\
133
+ 0 & \frac{17}{10} & -1 \\
134
+ \end{array}
135
+ \right) \\
136
+ \end{array}
137
+ \\
138
+
139
+ \begin{array}{l}
140
+ \text{Swap }\text{row }2 \text{with }\text{row }3: \\
141
+ \left(
142
+ \begin{array}{ccc}
143
+ -10 & -9 & -10 \\
144
+ 0 & \frac{33}{10} & -6 \\
145
+ 0 & -\frac{4}{5} & 18 \\
146
+ 0 & \frac{17}{10} & -1 \\
147
+ \end{array}
148
+ \right) \\
149
+ \end{array}
150
+ \\
151
+
152
+ \begin{array}{l}
153
+ \text{Add }\frac{8}{33}\, \times \, \text{(row }2) \text{to }\text{row }3: \\
154
+ \left(
155
+ \begin{array}{ccc}
156
+ -10 & -9 & -10 \\
157
+ 0 & \frac{33}{10} & -6 \\
158
+ 0 & 0 & \frac{182}{11} \\
159
+ 0 & \frac{17}{10} & -1 \\
160
+ \end{array}
161
+ \right) \\
162
+ \end{array}
163
+ \\
164
+
165
+ \begin{array}{l}
166
+ \text{Subtract }\frac{17}{33}\, \times \, \text{(row }2) \text{from }\text{row }4: \\
167
+ \left(
168
+ \begin{array}{ccc}
169
+ -10 & -9 & -10 \\
170
+ 0 & \frac{33}{10} & -6 \\
171
+ 0 & 0 & \frac{182}{11} \\
172
+ 0 & 0 & \frac{23}{11} \\
173
+ \end{array}
174
+ \right) \\
175
+ \end{array}
176
+ \\
177
+
178
+ \begin{array}{l}
179
+ \text{Subtract }\frac{23}{182}\, \times \, \text{(row }3) \text{from }\text{row }4: \\
180
+ \left(
181
+ \begin{array}{ccc}
182
+ -10 & -9 & -10 \\
183
+ 0 & \frac{33}{10} & -6 \\
184
+ 0 & 0 & \frac{182}{11} \\
185
+ 0 & 0 & 0 \\
186
+ \end{array}
187
+ \right) \\
188
+ \end{array}
189
+ \\
190
+
191
+ \begin{array}{l}
192
+ \text{Multiply }\text{row }3 \text{by }\frac{11}{182}: \\
193
+ \left(
194
+ \begin{array}{ccc}
195
+ -10 & -9 & -10 \\
196
+ 0 & \frac{33}{10} & -6 \\
197
+ 0 & 0 & 1 \\
198
+ 0 & 0 & 0 \\
199
+ \end{array}
200
+ \right) \\
201
+ \end{array}
202
+ \\
203
+
204
+ \begin{array}{l}
205
+ \text{Add }6\, \times \, \text{(row }3) \text{to }\text{row }2: \\
206
+ \left(
207
+ \begin{array}{ccc}
208
+ -10 & -9 & -10 \\
209
+ 0 & \frac{33}{10} & 0 \\
210
+ 0 & 0 & 1 \\
211
+ 0 & 0 & 0 \\
212
+ \end{array}
213
+ \right) \\
214
+ \end{array}
215
+ \\
216
+
217
+ \begin{array}{l}
218
+ \text{Add }10\, \times \, \text{(row }3) \text{to }\text{row }1: \\
219
+ \left(
220
+ \begin{array}{ccc}
221
+ -10 & -9 & 0 \\
222
+ 0 & \frac{33}{10} & 0 \\
223
+ 0 & 0 & 1 \\
224
+ 0 & 0 & 0 \\
225
+ \end{array}
226
+ \right) \\
227
+ \end{array}
228
+ \\
229
+
230
+ \begin{array}{l}
231
+ \text{Multiply }\text{row }2 \text{by }\frac{10}{33}: \\
232
+ \left(
233
+ \begin{array}{ccc}
234
+ -10 & -9 & 0 \\
235
+ 0 & 1 & 0 \\
236
+ 0 & 0 & 1 \\
237
+ 0 & 0 & 0 \\
238
+ \end{array}
239
+ \right) \\
240
+ \end{array}
241
+ \\
242
+
243
+ \begin{array}{l}
244
+ \text{Add }9\, \times \, \text{(row }2) \text{to }\text{row }1: \\
245
+ \left(
246
+ \begin{array}{ccc}
247
+ -10 & 0 & 0 \\
248
+ 0 & 1 & 0 \\
249
+ 0 & 0 & 1 \\
250
+ 0 & 0 & 0 \\
251
+ \end{array}
252
+ \right) \\
253
+ \end{array}
254
+ \\
255
+
256
+ \begin{array}{l}
257
+ \text{Divide }\text{row }1 \text{by }-10: \\
258
+ \left(
259
+ \begin{array}{ccc}
260
+ 1 & 0 & 0 \\
261
+ 0 & 1 & 0 \\
262
+ 0 & 0 & 1 \\
263
+ 0 & 0 & 0 \\
264
+ \end{array}
265
+ \right) \\
266
+ \end{array}
267
+ \\
268
+
269
+ \begin{array}{l}
270
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
271
+ \begin{array}{c}
272
+ x_1 \\
273
+ x_2 \\
274
+ x_3 \\
275
+ \end{array}
276
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
277
+ \begin{array}{ccc}
278
+ 1 & 0 & 0 \\
279
+ 0 & 1 & 0 \\
280
+ 0 & 0 & 1 \\
281
+ 0 & 0 & 0 \\
282
+ \end{array}
283
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
284
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
285
+ \end{array}
286
+ \\
287
+
288
+ \begin{array}{l}
289
+ \text{The }\text{only }\text{value }\text{of }v=\left(
290
+ \begin{array}{c}
291
+ x_1 \\
292
+ x_2 \\
293
+ x_3 \\
294
+ \end{array}
295
+ \right) \text{that }\text{would }\text{make }\left(
296
+ \begin{array}{ccc}
297
+ 1 & 0 & 0 \\
298
+ 0 & 1 & 0 \\
299
+ 0 & 0 & 1 \\
300
+ 0 & 0 & 0 \\
301
+ \end{array}
302
+ \right).\left(
303
+ \begin{array}{c}
304
+ x_1 \\
305
+ x_2 \\
306
+ x_3 \\
307
+ \end{array}
308
+ \right)=\left(
309
+ \begin{array}{c}
310
+ 0 \\
311
+ 0 \\
312
+ 0 \\
313
+ 0 \\
314
+ \end{array}
315
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
316
+ \begin{array}{c}
317
+ 0 \\
318
+ 0 \\
319
+ 0 \\
320
+ \end{array}
321
+ \right): \\
322
+ \left(
323
+ \begin{array}{c}
324
+ 0 \\
325
+ 0 \\
326
+ 0 \\
327
+ \end{array}
328
+ \right) \\
329
+ \end{array}
330
+ \\
331
+
332
+ \begin{array}{l}
333
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
334
+ \fbox{$
335
+ \begin{array}{ll}
336
+ \text{Answer:} & \\
337
+ \text{} & \{\, (0,0,0)\, \} \\
338
+ \end{array}
339
+ $} \\
340
+ \end{array}
341
+ \\
342
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/240.txt ADDED
@@ -0,0 +1,282 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{ccc}
5
+ 3 & -10 & 3 \\
6
+ -10 & 6 & -3 \\
7
+ -10 & -10 & -2 \\
8
+ \end{array}
9
+ \right)$.
10
+ Answer:
11
+ \begin{array}{l}
12
+
13
+ \begin{array}{l}
14
+ \text{Find the null space of the matrix }M: \\
15
+ M=\left(
16
+ \begin{array}{ccc}
17
+ 3 & -10 & 3 \\
18
+ -10 & 6 & -3 \\
19
+ -10 & -10 & -2 \\
20
+ \end{array}
21
+ \right) \\
22
+ \end{array}
23
+ \\
24
+ \hline
25
+
26
+ \begin{array}{l}
27
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
28
+ \begin{array}{ccc}
29
+ 3 & -10 & 3 \\
30
+ -10 & 6 & -3 \\
31
+ -10 & -10 & -2 \\
32
+ \end{array}
33
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
34
+ \begin{array}{c}
35
+ x_1 \\
36
+ x_2 \\
37
+ x_3 \\
38
+ \end{array}
39
+ \right) \text{such }\text{that }M.v=0: \\
40
+ \left(
41
+ \begin{array}{ccc}
42
+ 3 & -10 & 3 \\
43
+ -10 & 6 & -3 \\
44
+ -10 & -10 & -2 \\
45
+ \end{array}
46
+ \right).\left(
47
+ \begin{array}{c}
48
+ x_1 \\
49
+ x_2 \\
50
+ x_3 \\
51
+ \end{array}
52
+ \right)=\left(
53
+ \begin{array}{c}
54
+ 0 \\
55
+ 0 \\
56
+ 0 \\
57
+ \end{array}
58
+ \right) \\
59
+ \end{array}
60
+ \\
61
+
62
+ \begin{array}{l}
63
+ \text{Reduce }\text{the }\text{matrix }\left(
64
+ \begin{array}{ccc}
65
+ 3 & -10 & 3 \\
66
+ -10 & 6 & -3 \\
67
+ -10 & -10 & -2 \\
68
+ \end{array}
69
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
70
+ \left(
71
+ \begin{array}{ccc}
72
+ 3 & -10 & 3 \\
73
+ -10 & 6 & -3 \\
74
+ -10 & -10 & -2 \\
75
+ \end{array}
76
+ \right) \\
77
+ \end{array}
78
+ \\
79
+
80
+ \begin{array}{l}
81
+ \text{Swap }\text{row }1 \text{with }\text{row }2: \\
82
+ \left(
83
+ \begin{array}{ccc}
84
+ -10 & 6 & -3 \\
85
+ 3 & -10 & 3 \\
86
+ -10 & -10 & -2 \\
87
+ \end{array}
88
+ \right) \\
89
+ \end{array}
90
+ \\
91
+
92
+ \begin{array}{l}
93
+ \text{Add }\frac{3}{10}\, \times \, \text{(row }1) \text{to }\text{row }2: \\
94
+ \left(
95
+ \begin{array}{ccc}
96
+ -10 & 6 & -3 \\
97
+ 0 & -\frac{41}{5} & \frac{21}{10} \\
98
+ -10 & -10 & -2 \\
99
+ \end{array}
100
+ \right) \\
101
+ \end{array}
102
+ \\
103
+
104
+ \begin{array}{l}
105
+ \text{Subtract }\text{row }1 \text{from }\text{row }3: \\
106
+ \left(
107
+ \begin{array}{ccc}
108
+ -10 & 6 & -3 \\
109
+ 0 & -\frac{41}{5} & \frac{21}{10} \\
110
+ 0 & -16 & 1 \\
111
+ \end{array}
112
+ \right) \\
113
+ \end{array}
114
+ \\
115
+
116
+ \begin{array}{l}
117
+ \text{Swap }\text{row }2 \text{with }\text{row }3: \\
118
+ \left(
119
+ \begin{array}{ccc}
120
+ -10 & 6 & -3 \\
121
+ 0 & -16 & 1 \\
122
+ 0 & -\frac{41}{5} & \frac{21}{10} \\
123
+ \end{array}
124
+ \right) \\
125
+ \end{array}
126
+ \\
127
+
128
+ \begin{array}{l}
129
+ \text{Subtract }\frac{41}{80}\, \times \, \text{(row }2) \text{from }\text{row }3: \\
130
+ \left(
131
+ \begin{array}{ccc}
132
+ -10 & 6 & -3 \\
133
+ 0 & -16 & 1 \\
134
+ 0 & 0 & \frac{127}{80} \\
135
+ \end{array}
136
+ \right) \\
137
+ \end{array}
138
+ \\
139
+
140
+ \begin{array}{l}
141
+ \text{Multiply }\text{row }3 \text{by }\frac{80}{127}: \\
142
+ \left(
143
+ \begin{array}{ccc}
144
+ -10 & 6 & -3 \\
145
+ 0 & -16 & 1 \\
146
+ 0 & 0 & 1 \\
147
+ \end{array}
148
+ \right) \\
149
+ \end{array}
150
+ \\
151
+
152
+ \begin{array}{l}
153
+ \text{Subtract }\text{row }3 \text{from }\text{row }2: \\
154
+ \left(
155
+ \begin{array}{ccc}
156
+ -10 & 6 & -3 \\
157
+ 0 & -16 & 0 \\
158
+ 0 & 0 & 1 \\
159
+ \end{array}
160
+ \right) \\
161
+ \end{array}
162
+ \\
163
+
164
+ \begin{array}{l}
165
+ \text{Add }3\, \times \, \text{(row }3) \text{to }\text{row }1: \\
166
+ \left(
167
+ \begin{array}{ccc}
168
+ -10 & 6 & 0 \\
169
+ 0 & -16 & 0 \\
170
+ 0 & 0 & 1 \\
171
+ \end{array}
172
+ \right) \\
173
+ \end{array}
174
+ \\
175
+
176
+ \begin{array}{l}
177
+ \text{Divide }\text{row }2 \text{by }-16: \\
178
+ \left(
179
+ \begin{array}{ccc}
180
+ -10 & 6 & 0 \\
181
+ 0 & 1 & 0 \\
182
+ 0 & 0 & 1 \\
183
+ \end{array}
184
+ \right) \\
185
+ \end{array}
186
+ \\
187
+
188
+ \begin{array}{l}
189
+ \text{Subtract }6\, \times \, \text{(row }2) \text{from }\text{row }1: \\
190
+ \left(
191
+ \begin{array}{ccc}
192
+ -10 & 0 & 0 \\
193
+ 0 & 1 & 0 \\
194
+ 0 & 0 & 1 \\
195
+ \end{array}
196
+ \right) \\
197
+ \end{array}
198
+ \\
199
+
200
+ \begin{array}{l}
201
+ \text{Divide }\text{row }1 \text{by }-10: \\
202
+ \left(
203
+ \begin{array}{ccc}
204
+ 1 & 0 & 0 \\
205
+ 0 & 1 & 0 \\
206
+ 0 & 0 & 1 \\
207
+ \end{array}
208
+ \right) \\
209
+ \end{array}
210
+ \\
211
+
212
+ \begin{array}{l}
213
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
214
+ \begin{array}{c}
215
+ x_1 \\
216
+ x_2 \\
217
+ x_3 \\
218
+ \end{array}
219
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
220
+ \begin{array}{ccc}
221
+ 1 & 0 & 0 \\
222
+ 0 & 1 & 0 \\
223
+ 0 & 0 & 1 \\
224
+ \end{array}
225
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
226
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
227
+ \end{array}
228
+ \\
229
+
230
+ \begin{array}{l}
231
+ \text{The }\text{only }\text{value }\text{of }v=\left(
232
+ \begin{array}{c}
233
+ x_1 \\
234
+ x_2 \\
235
+ x_3 \\
236
+ \end{array}
237
+ \right) \text{that }\text{would }\text{make }\left(
238
+ \begin{array}{ccc}
239
+ 1 & 0 & 0 \\
240
+ 0 & 1 & 0 \\
241
+ 0 & 0 & 1 \\
242
+ \end{array}
243
+ \right).\left(
244
+ \begin{array}{c}
245
+ x_1 \\
246
+ x_2 \\
247
+ x_3 \\
248
+ \end{array}
249
+ \right)=\left(
250
+ \begin{array}{c}
251
+ 0 \\
252
+ 0 \\
253
+ 0 \\
254
+ \end{array}
255
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
256
+ \begin{array}{c}
257
+ 0 \\
258
+ 0 \\
259
+ 0 \\
260
+ \end{array}
261
+ \right): \\
262
+ \left(
263
+ \begin{array}{c}
264
+ 0 \\
265
+ 0 \\
266
+ 0 \\
267
+ \end{array}
268
+ \right) \\
269
+ \end{array}
270
+ \\
271
+
272
+ \begin{array}{l}
273
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
274
+ \fbox{$
275
+ \begin{array}{ll}
276
+ \text{Answer:} & \\
277
+ \text{} & \{\, (0,0,0)\, \} \\
278
+ \end{array}
279
+ $} \\
280
+ \end{array}
281
+ \\
282
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/2470.txt ADDED
@@ -0,0 +1,188 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cc}
5
+ 6 & 2 \\
6
+ 10 & 7 \\
7
+ \end{array}
8
+ \right)$.
9
+ Answer:
10
+ \begin{array}{l}
11
+
12
+ \begin{array}{l}
13
+ \text{Find the null space of the matrix }M: \\
14
+ M=\left(
15
+ \begin{array}{cc}
16
+ 6 & 2 \\
17
+ 10 & 7 \\
18
+ \end{array}
19
+ \right) \\
20
+ \end{array}
21
+ \\
22
+ \hline
23
+
24
+ \begin{array}{l}
25
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
26
+ \begin{array}{cc}
27
+ 6 & 2 \\
28
+ 10 & 7 \\
29
+ \end{array}
30
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
31
+ \begin{array}{c}
32
+ x_1 \\
33
+ x_2 \\
34
+ \end{array}
35
+ \right) \text{such }\text{that }M.v=0: \\
36
+ \left(
37
+ \begin{array}{cc}
38
+ 6 & 2 \\
39
+ 10 & 7 \\
40
+ \end{array}
41
+ \right).\left(
42
+ \begin{array}{c}
43
+ x_1 \\
44
+ x_2 \\
45
+ \end{array}
46
+ \right)=\left(
47
+ \begin{array}{c}
48
+ 0 \\
49
+ 0 \\
50
+ \end{array}
51
+ \right) \\
52
+ \end{array}
53
+ \\
54
+
55
+ \begin{array}{l}
56
+ \text{Reduce }\text{the }\text{matrix }\left(
57
+ \begin{array}{cc}
58
+ 6 & 2 \\
59
+ 10 & 7 \\
60
+ \end{array}
61
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
62
+ \left(
63
+ \begin{array}{cc}
64
+ 6 & 2 \\
65
+ 10 & 7 \\
66
+ \end{array}
67
+ \right) \\
68
+ \end{array}
69
+ \\
70
+
71
+ \begin{array}{l}
72
+ \text{Swap }\text{row }1 \text{with }\text{row }2: \\
73
+ \left(
74
+ \begin{array}{cc}
75
+ 10 & 7 \\
76
+ 6 & 2 \\
77
+ \end{array}
78
+ \right) \\
79
+ \end{array}
80
+ \\
81
+
82
+ \begin{array}{l}
83
+ \text{Subtract }\frac{3}{5}\, \times \, \text{(row }1) \text{from }\text{row }2: \\
84
+ \left(
85
+ \begin{array}{cc}
86
+ 10 & 7 \\
87
+ 0 & -\frac{11}{5} \\
88
+ \end{array}
89
+ \right) \\
90
+ \end{array}
91
+ \\
92
+
93
+ \begin{array}{l}
94
+ \text{Multiply }\text{row }2 \text{by }-\frac{5}{11}: \\
95
+ \left(
96
+ \begin{array}{cc}
97
+ 10 & 7 \\
98
+ 0 & 1 \\
99
+ \end{array}
100
+ \right) \\
101
+ \end{array}
102
+ \\
103
+
104
+ \begin{array}{l}
105
+ \text{Subtract }7\, \times \, \text{(row }2) \text{from }\text{row }1: \\
106
+ \left(
107
+ \begin{array}{cc}
108
+ 10 & 0 \\
109
+ 0 & 1 \\
110
+ \end{array}
111
+ \right) \\
112
+ \end{array}
113
+ \\
114
+
115
+ \begin{array}{l}
116
+ \text{Divide }\text{row }1 \text{by }10: \\
117
+ \left(
118
+ \begin{array}{cc}
119
+ 1 & 0 \\
120
+ 0 & 1 \\
121
+ \end{array}
122
+ \right) \\
123
+ \end{array}
124
+ \\
125
+
126
+ \begin{array}{l}
127
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
128
+ \begin{array}{c}
129
+ x_1 \\
130
+ x_2 \\
131
+ \end{array}
132
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
133
+ \begin{array}{cc}
134
+ 1 & 0 \\
135
+ 0 & 1 \\
136
+ \end{array}
137
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
138
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
139
+ \end{array}
140
+ \\
141
+
142
+ \begin{array}{l}
143
+ \text{The }\text{only }\text{value }\text{of }v=\left(
144
+ \begin{array}{c}
145
+ x_1 \\
146
+ x_2 \\
147
+ \end{array}
148
+ \right) \text{that }\text{would }\text{make }\left(
149
+ \begin{array}{cc}
150
+ 1 & 0 \\
151
+ 0 & 1 \\
152
+ \end{array}
153
+ \right).\left(
154
+ \begin{array}{c}
155
+ x_1 \\
156
+ x_2 \\
157
+ \end{array}
158
+ \right)=\left(
159
+ \begin{array}{c}
160
+ 0 \\
161
+ 0 \\
162
+ \end{array}
163
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
164
+ \begin{array}{c}
165
+ 0 \\
166
+ 0 \\
167
+ \end{array}
168
+ \right): \\
169
+ \left(
170
+ \begin{array}{c}
171
+ 0 \\
172
+ 0 \\
173
+ \end{array}
174
+ \right) \\
175
+ \end{array}
176
+ \\
177
+
178
+ \begin{array}{l}
179
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
180
+ \fbox{$
181
+ \begin{array}{ll}
182
+ \text{Answer:} & \\
183
+ \text{} & \{\, (0,0)\, \} \\
184
+ \end{array}
185
+ $} \\
186
+ \end{array}
187
+ \\
188
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/2493.txt ADDED
@@ -0,0 +1,275 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cccc}
5
+ 8 & -6 & -1 & -6 \\
6
+ -1 & -8 & 6 & -7 \\
7
+ \end{array}
8
+ \right)$.
9
+ Answer:
10
+ \begin{array}{l}
11
+
12
+ \begin{array}{l}
13
+ \text{Find the null space of the matrix }M: \\
14
+ M=\left(
15
+ \begin{array}{cccc}
16
+ 8 & -6 & -1 & -6 \\
17
+ -1 & -8 & 6 & -7 \\
18
+ \end{array}
19
+ \right) \\
20
+ \end{array}
21
+ \\
22
+ \hline
23
+
24
+ \begin{array}{l}
25
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
26
+ \begin{array}{cccc}
27
+ 8 & -6 & -1 & -6 \\
28
+ -1 & -8 & 6 & -7 \\
29
+ \end{array}
30
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
31
+ \begin{array}{c}
32
+ x_1 \\
33
+ x_2 \\
34
+ x_3 \\
35
+ x_4 \\
36
+ \end{array}
37
+ \right) \text{such }\text{that }M.v=0: \\
38
+ \left(
39
+ \begin{array}{cccc}
40
+ 8 & -6 & -1 & -6 \\
41
+ -1 & -8 & 6 & -7 \\
42
+ \end{array}
43
+ \right).\left(
44
+ \begin{array}{c}
45
+ x_1 \\
46
+ x_2 \\
47
+ x_3 \\
48
+ x_4 \\
49
+ \end{array}
50
+ \right)=\left(
51
+ \begin{array}{c}
52
+ 0 \\
53
+ 0 \\
54
+ \end{array}
55
+ \right) \\
56
+ \end{array}
57
+ \\
58
+
59
+ \begin{array}{l}
60
+ \text{Reduce }\text{the }\text{matrix }\left(
61
+ \begin{array}{cccc}
62
+ 8 & -6 & -1 & -6 \\
63
+ -1 & -8 & 6 & -7 \\
64
+ \end{array}
65
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
66
+ \left(
67
+ \begin{array}{cccc}
68
+ 8 & -6 & -1 & -6 \\
69
+ -1 & -8 & 6 & -7 \\
70
+ \end{array}
71
+ \right) \\
72
+ \end{array}
73
+ \\
74
+
75
+ \begin{array}{l}
76
+ \text{Swap }\text{row }1 \text{with }\text{row }2: \\
77
+ \left(
78
+ \begin{array}{cccc}
79
+ -1 & -8 & 6 & -7 \\
80
+ 8 & -6 & -1 & -6 \\
81
+ \end{array}
82
+ \right) \\
83
+ \end{array}
84
+ \\
85
+
86
+ \begin{array}{l}
87
+ \text{Add }8\, \times \, \text{(row }1) \text{to }\text{row }2: \\
88
+ \left(
89
+ \begin{array}{cccc}
90
+ -1 & -8 & 6 & -7 \\
91
+ 0 & -70 & 47 & -62 \\
92
+ \end{array}
93
+ \right) \\
94
+ \end{array}
95
+ \\
96
+
97
+ \begin{array}{l}
98
+ \text{Divide }\text{row }2 \text{by }-70: \\
99
+ \left(
100
+ \begin{array}{cccc}
101
+ -1 & -8 & 6 & -7 \\
102
+ 0 & 1 & -\frac{47}{70} & \frac{31}{35} \\
103
+ \end{array}
104
+ \right) \\
105
+ \end{array}
106
+ \\
107
+
108
+ \begin{array}{l}
109
+ \text{Add }8\, \times \, \text{(row }2) \text{to }\text{row }1: \\
110
+ \left(
111
+ \begin{array}{cccc}
112
+ -1 & 0 & \frac{22}{35} & \frac{3}{35} \\
113
+ 0 & 1 & -\frac{47}{70} & \frac{31}{35} \\
114
+ \end{array}
115
+ \right) \\
116
+ \end{array}
117
+ \\
118
+
119
+ \begin{array}{l}
120
+ \text{Multiply }\text{row }1 \text{by }-1: \\
121
+ \left(
122
+ \begin{array}{cccc}
123
+ 1 & 0 & -\frac{22}{35} & -\frac{3}{35} \\
124
+ 0 & 1 & -\frac{47}{70} & \frac{31}{35} \\
125
+ \end{array}
126
+ \right) \\
127
+ \end{array}
128
+ \\
129
+
130
+ \begin{array}{l}
131
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
132
+ \begin{array}{c}
133
+ x_1 \\
134
+ x_2 \\
135
+ x_3 \\
136
+ x_4 \\
137
+ \end{array}
138
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
139
+ \begin{array}{cccc}
140
+ 1 & 0 & -\frac{22}{35} & -\frac{3}{35} \\
141
+ 0 & 1 & -\frac{47}{70} & \frac{31}{35} \\
142
+ \end{array}
143
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
144
+ \text{Columns }3 \text{and }4 \text{are }\text{the }\text{only }\text{columns }\text{with }\text{no }\text{pivot, }\text{so }\text{we }\text{may }\text{take }x_3 \text{and }x_4 \text{to }\text{be }\text{the }\text{only }\text{free }\text{variables} \\
145
+ \end{array}
146
+ \\
147
+
148
+ \begin{array}{l}
149
+ \text{Multiply }\text{out }\text{the }\text{reduced }\text{matrix }\left(
150
+ \begin{array}{cccc}
151
+ 1 & 0 & -\frac{22}{35} & -\frac{3}{35} \\
152
+ 0 & 1 & -\frac{47}{70} & \frac{31}{35} \\
153
+ \end{array}
154
+ \right) \text{with }\text{the }\text{proposed }\text{solution }\text{vector }\left(
155
+ \begin{array}{c}
156
+ x_1 \\
157
+ x_2 \\
158
+ x_3 \\
159
+ x_4 \\
160
+ \end{array}
161
+ \right): \\
162
+ \left(
163
+ \begin{array}{cccc}
164
+ 1 & 0 & -\frac{22}{35} & -\frac{3}{35} \\
165
+ 0 & 1 & -\frac{47}{70} & \frac{31}{35} \\
166
+ \end{array}
167
+ \right).\left(
168
+ \begin{array}{c}
169
+ x_1 \\
170
+ x_2 \\
171
+ x_3 \\
172
+ x_4 \\
173
+ \end{array}
174
+ \right)=\left(
175
+ \begin{array}{c}
176
+ x_1-\frac{22 x_3}{35}-\frac{3 x_4}{35} \\
177
+ x_2-\frac{47 x_3}{70}+\frac{31 x_4}{35} \\
178
+ \end{array}
179
+ \right)=\left(
180
+ \begin{array}{c}
181
+ 0 \\
182
+ 0 \\
183
+ \end{array}
184
+ \right) \\
185
+ \end{array}
186
+ \\
187
+
188
+ \begin{array}{l}
189
+ \text{Solve }\text{the }\text{equations }\{
190
+ \begin{array}{l}
191
+ x_1-\frac{22 x_3}{35}-\frac{3 x_4}{35}=0 \\
192
+ x_2-\frac{47 x_3}{70}+\frac{31 x_4}{35}=0 \\
193
+ \end{array}
194
+ \text{for }x_1 \text{and }x_2: \\
195
+ \{
196
+ \begin{array}{l}
197
+ x_1=\frac{22 x_3}{35}+\frac{3 x_4}{35} \\
198
+ x_2=\frac{47 x_3}{70}-\frac{31 x_4}{35} \\
199
+ \end{array}
200
+ \\
201
+ \end{array}
202
+ \\
203
+
204
+ \begin{array}{l}
205
+ \text{Rewrite }v \text{in }\text{terms }\text{of }\text{the }\text{free }\text{variables }x_3 \text{and }x_4, \text{and }\text{assign }\text{arbitrary }\text{real }\text{values }\text{of }x \text{and }y \text{to }\text{the }\text{variables}: \\
206
+ v=\left(
207
+ \begin{array}{c}
208
+ x_1 \\
209
+ x_2 \\
210
+ x_3 \\
211
+ x_4 \\
212
+ \end{array}
213
+ \right)=\left(
214
+ \begin{array}{c}
215
+ \frac{22 x_3}{35}+\frac{3 x_4}{35} \\
216
+ \frac{47 x_3}{70}-\frac{31 x_4}{35} \\
217
+ x_3 \\
218
+ x_4 \\
219
+ \end{array}
220
+ \right)=\left(
221
+ \begin{array}{c}
222
+ \frac{3 y}{35}+\frac{22 x}{35} \\
223
+ -\frac{31 y}{35}+\frac{47 x}{70} \\
224
+ x \\
225
+ y \\
226
+ \end{array}
227
+ \right)\text{ for }x,y\in \mathbb{R} \\
228
+ \end{array}
229
+ \\
230
+
231
+ \begin{array}{l}
232
+ \text{Since }\text{the }\text{variables }x \text{and }y \text{are }\text{taken }\text{from }\mathbb{R}, \text{we }\text{can }\text{replace }\text{them }\text{with }70 x \text{and }35 y \text{respectively}: \\
233
+ \left(
234
+ \begin{array}{c}
235
+ \frac{3 y}{35}+\frac{22 x}{35} \\
236
+ -\frac{31 y}{35}+\frac{47 x}{70} \\
237
+ x \\
238
+ y \\
239
+ \end{array}
240
+ \right)\, \rightarrow \, \left(
241
+ \begin{array}{c}
242
+ \frac{3 (35 y)}{35}+\frac{22 (70 x)}{35} \\
243
+ -\frac{31}{35} (35 y)+\frac{47 (70 x)}{70} \\
244
+ 70 x \\
245
+ 35 y \\
246
+ \end{array}
247
+ \right)=\left(
248
+ \begin{array}{c}
249
+ 3 y+44 x \\
250
+ -31 y+47 x \\
251
+ 70 x \\
252
+ 35 y \\
253
+ \end{array}
254
+ \right)\text{ for }x,y\in \mathbb{R} \\
255
+ \end{array}
256
+ \\
257
+
258
+ \begin{array}{l}
259
+ \text{Rewrite }\text{the }\text{solution }\text{vector }v=\left(
260
+ \begin{array}{c}
261
+ 3 y+44 x \\
262
+ -31 y+47 x \\
263
+ 70 x \\
264
+ 35 y \\
265
+ \end{array}
266
+ \right) \text{in }\text{set }\text{notation}: \\
267
+ \fbox{$
268
+ \begin{array}{ll}
269
+ \text{Answer:} & \\
270
+ \text{} & \{\, (3 y+44 x,-31 y+47 x,70 x,35 y)\, \text{$\, $: }x,y\in \mathbb{R}\} \\
271
+ \end{array}
272
+ $} \\
273
+ \end{array}
274
+ \\
275
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/2523.txt ADDED
@@ -0,0 +1,275 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cccc}
5
+ 5 & 9 & -5 & 8 \\
6
+ -9 & 9 & -1 & 2 \\
7
+ \end{array}
8
+ \right)$.
9
+ Answer:
10
+ \begin{array}{l}
11
+
12
+ \begin{array}{l}
13
+ \text{Find the null space of the matrix }M: \\
14
+ M=\left(
15
+ \begin{array}{cccc}
16
+ 5 & 9 & -5 & 8 \\
17
+ -9 & 9 & -1 & 2 \\
18
+ \end{array}
19
+ \right) \\
20
+ \end{array}
21
+ \\
22
+ \hline
23
+
24
+ \begin{array}{l}
25
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
26
+ \begin{array}{cccc}
27
+ 5 & 9 & -5 & 8 \\
28
+ -9 & 9 & -1 & 2 \\
29
+ \end{array}
30
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
31
+ \begin{array}{c}
32
+ x_1 \\
33
+ x_2 \\
34
+ x_3 \\
35
+ x_4 \\
36
+ \end{array}
37
+ \right) \text{such }\text{that }M.v=0: \\
38
+ \left(
39
+ \begin{array}{cccc}
40
+ 5 & 9 & -5 & 8 \\
41
+ -9 & 9 & -1 & 2 \\
42
+ \end{array}
43
+ \right).\left(
44
+ \begin{array}{c}
45
+ x_1 \\
46
+ x_2 \\
47
+ x_3 \\
48
+ x_4 \\
49
+ \end{array}
50
+ \right)=\left(
51
+ \begin{array}{c}
52
+ 0 \\
53
+ 0 \\
54
+ \end{array}
55
+ \right) \\
56
+ \end{array}
57
+ \\
58
+
59
+ \begin{array}{l}
60
+ \text{Reduce }\text{the }\text{matrix }\left(
61
+ \begin{array}{cccc}
62
+ 5 & 9 & -5 & 8 \\
63
+ -9 & 9 & -1 & 2 \\
64
+ \end{array}
65
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
66
+ \left(
67
+ \begin{array}{cccc}
68
+ 5 & 9 & -5 & 8 \\
69
+ -9 & 9 & -1 & 2 \\
70
+ \end{array}
71
+ \right) \\
72
+ \end{array}
73
+ \\
74
+
75
+ \begin{array}{l}
76
+ \text{Swap }\text{row }1 \text{with }\text{row }2: \\
77
+ \left(
78
+ \begin{array}{cccc}
79
+ -9 & 9 & -1 & 2 \\
80
+ 5 & 9 & -5 & 8 \\
81
+ \end{array}
82
+ \right) \\
83
+ \end{array}
84
+ \\
85
+
86
+ \begin{array}{l}
87
+ \text{Add }\frac{5}{9}\, \times \, \text{(row }1) \text{to }\text{row }2: \\
88
+ \left(
89
+ \begin{array}{cccc}
90
+ -9 & 9 & -1 & 2 \\
91
+ 0 & 14 & -\frac{50}{9} & \frac{82}{9} \\
92
+ \end{array}
93
+ \right) \\
94
+ \end{array}
95
+ \\
96
+
97
+ \begin{array}{l}
98
+ \text{Divide }\text{row }2 \text{by }14: \\
99
+ \left(
100
+ \begin{array}{cccc}
101
+ -9 & 9 & -1 & 2 \\
102
+ 0 & 1 & -\frac{25}{63} & \frac{41}{63} \\
103
+ \end{array}
104
+ \right) \\
105
+ \end{array}
106
+ \\
107
+
108
+ \begin{array}{l}
109
+ \text{Subtract }9\, \times \, \text{(row }2) \text{from }\text{row }1: \\
110
+ \left(
111
+ \begin{array}{cccc}
112
+ -9 & 0 & \frac{18}{7} & -\frac{27}{7} \\
113
+ 0 & 1 & -\frac{25}{63} & \frac{41}{63} \\
114
+ \end{array}
115
+ \right) \\
116
+ \end{array}
117
+ \\
118
+
119
+ \begin{array}{l}
120
+ \text{Divide }\text{row }1 \text{by }-9: \\
121
+ \left(
122
+ \begin{array}{cccc}
123
+ 1 & 0 & -\frac{2}{7} & \frac{3}{7} \\
124
+ 0 & 1 & -\frac{25}{63} & \frac{41}{63} \\
125
+ \end{array}
126
+ \right) \\
127
+ \end{array}
128
+ \\
129
+
130
+ \begin{array}{l}
131
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
132
+ \begin{array}{c}
133
+ x_1 \\
134
+ x_2 \\
135
+ x_3 \\
136
+ x_4 \\
137
+ \end{array}
138
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
139
+ \begin{array}{cccc}
140
+ 1 & 0 & -\frac{2}{7} & \frac{3}{7} \\
141
+ 0 & 1 & -\frac{25}{63} & \frac{41}{63} \\
142
+ \end{array}
143
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
144
+ \text{Columns }3 \text{and }4 \text{are }\text{the }\text{only }\text{columns }\text{with }\text{no }\text{pivot, }\text{so }\text{we }\text{may }\text{take }x_3 \text{and }x_4 \text{to }\text{be }\text{the }\text{only }\text{free }\text{variables} \\
145
+ \end{array}
146
+ \\
147
+
148
+ \begin{array}{l}
149
+ \text{Multiply }\text{out }\text{the }\text{reduced }\text{matrix }\left(
150
+ \begin{array}{cccc}
151
+ 1 & 0 & -\frac{2}{7} & \frac{3}{7} \\
152
+ 0 & 1 & -\frac{25}{63} & \frac{41}{63} \\
153
+ \end{array}
154
+ \right) \text{with }\text{the }\text{proposed }\text{solution }\text{vector }\left(
155
+ \begin{array}{c}
156
+ x_1 \\
157
+ x_2 \\
158
+ x_3 \\
159
+ x_4 \\
160
+ \end{array}
161
+ \right): \\
162
+ \left(
163
+ \begin{array}{cccc}
164
+ 1 & 0 & -\frac{2}{7} & \frac{3}{7} \\
165
+ 0 & 1 & -\frac{25}{63} & \frac{41}{63} \\
166
+ \end{array}
167
+ \right).\left(
168
+ \begin{array}{c}
169
+ x_1 \\
170
+ x_2 \\
171
+ x_3 \\
172
+ x_4 \\
173
+ \end{array}
174
+ \right)=\left(
175
+ \begin{array}{c}
176
+ x_1-\frac{2 x_3}{7}+\frac{3 x_4}{7} \\
177
+ x_2-\frac{25 x_3}{63}+\frac{41 x_4}{63} \\
178
+ \end{array}
179
+ \right)=\left(
180
+ \begin{array}{c}
181
+ 0 \\
182
+ 0 \\
183
+ \end{array}
184
+ \right) \\
185
+ \end{array}
186
+ \\
187
+
188
+ \begin{array}{l}
189
+ \text{Solve }\text{the }\text{equations }\{
190
+ \begin{array}{l}
191
+ x_1-\frac{2 x_3}{7}+\frac{3 x_4}{7}=0 \\
192
+ x_2-\frac{25 x_3}{63}+\frac{41 x_4}{63}=0 \\
193
+ \end{array}
194
+ \text{for }x_1 \text{and }x_2: \\
195
+ \{
196
+ \begin{array}{l}
197
+ x_1=\frac{2 x_3}{7}-\frac{3 x_4}{7} \\
198
+ x_2=\frac{25 x_3}{63}-\frac{41 x_4}{63} \\
199
+ \end{array}
200
+ \\
201
+ \end{array}
202
+ \\
203
+
204
+ \begin{array}{l}
205
+ \text{Rewrite }v \text{in }\text{terms }\text{of }\text{the }\text{free }\text{variables }x_3 \text{and }x_4, \text{and }\text{assign }\text{arbitrary }\text{real }\text{values }\text{of }x \text{and }y \text{to }\text{the }\text{variables}: \\
206
+ v=\left(
207
+ \begin{array}{c}
208
+ x_1 \\
209
+ x_2 \\
210
+ x_3 \\
211
+ x_4 \\
212
+ \end{array}
213
+ \right)=\left(
214
+ \begin{array}{c}
215
+ \frac{2 x_3}{7}-\frac{3 x_4}{7} \\
216
+ \frac{25 x_3}{63}-\frac{41 x_4}{63} \\
217
+ x_3 \\
218
+ x_4 \\
219
+ \end{array}
220
+ \right)=\left(
221
+ \begin{array}{c}
222
+ -\frac{3 y}{7}+\frac{2 x}{7} \\
223
+ -\frac{41 y}{63}+\frac{25 x}{63} \\
224
+ x \\
225
+ y \\
226
+ \end{array}
227
+ \right)\text{ for }x,y\in \mathbb{R} \\
228
+ \end{array}
229
+ \\
230
+
231
+ \begin{array}{l}
232
+ \text{Since }\text{the }\text{variables }x \text{and }y \text{are }\text{taken }\text{from }\mathbb{R}, \text{we }\text{can }\text{replace }\text{them }\text{with }63 x \text{and }63 y \text{respectively}: \\
233
+ \left(
234
+ \begin{array}{c}
235
+ -\frac{3 y}{7}+\frac{2 x}{7} \\
236
+ -\frac{41 y}{63}+\frac{25 x}{63} \\
237
+ x \\
238
+ y \\
239
+ \end{array}
240
+ \right)\, \rightarrow \, \left(
241
+ \begin{array}{c}
242
+ -\frac{3}{7} (63 y)+\frac{2 (63 x)}{7} \\
243
+ -\frac{41}{63} (63 y)+\frac{25 (63 x)}{63} \\
244
+ 63 x \\
245
+ 63 y \\
246
+ \end{array}
247
+ \right)=\left(
248
+ \begin{array}{c}
249
+ -27 y+18 x \\
250
+ -41 y+25 x \\
251
+ 63 x \\
252
+ 63 y \\
253
+ \end{array}
254
+ \right)\text{ for }x,y\in \mathbb{R} \\
255
+ \end{array}
256
+ \\
257
+
258
+ \begin{array}{l}
259
+ \text{Rewrite }\text{the }\text{solution }\text{vector }v=\left(
260
+ \begin{array}{c}
261
+ -27 y+18 x \\
262
+ -41 y+25 x \\
263
+ 63 x \\
264
+ 63 y \\
265
+ \end{array}
266
+ \right) \text{in }\text{set }\text{notation}: \\
267
+ \fbox{$
268
+ \begin{array}{ll}
269
+ \text{Answer:} & \\
270
+ \text{} & \{\, (-27 y+18 x,-41 y+25 x,63 x,63 y)\, \text{$\, $: }x,y\in \mathbb{R}\} \\
271
+ \end{array}
272
+ $} \\
273
+ \end{array}
274
+ \\
275
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/2617.txt ADDED
@@ -0,0 +1,355 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{ccc}
5
+ -8 & -5 & -1 \\
6
+ -7 & -4 & -3 \\
7
+ 9 & -6 & -4 \\
8
+ -2 & -4 & 8 \\
9
+ \end{array}
10
+ \right)$.
11
+ Answer:
12
+ \begin{array}{l}
13
+
14
+ \begin{array}{l}
15
+ \text{Find the null space of the matrix }M: \\
16
+ M=\left(
17
+ \begin{array}{ccc}
18
+ -8 & -5 & -1 \\
19
+ -7 & -4 & -3 \\
20
+ 9 & -6 & -4 \\
21
+ -2 & -4 & 8 \\
22
+ \end{array}
23
+ \right) \\
24
+ \end{array}
25
+ \\
26
+ \hline
27
+
28
+ \begin{array}{l}
29
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
30
+ \begin{array}{ccc}
31
+ -8 & -5 & -1 \\
32
+ -7 & -4 & -3 \\
33
+ 9 & -6 & -4 \\
34
+ -2 & -4 & 8 \\
35
+ \end{array}
36
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
37
+ \begin{array}{c}
38
+ x_1 \\
39
+ x_2 \\
40
+ x_3 \\
41
+ \end{array}
42
+ \right) \text{such }\text{that }M.v=0: \\
43
+ \left(
44
+ \begin{array}{ccc}
45
+ -8 & -5 & -1 \\
46
+ -7 & -4 & -3 \\
47
+ 9 & -6 & -4 \\
48
+ -2 & -4 & 8 \\
49
+ \end{array}
50
+ \right).\left(
51
+ \begin{array}{c}
52
+ x_1 \\
53
+ x_2 \\
54
+ x_3 \\
55
+ \end{array}
56
+ \right)=\left(
57
+ \begin{array}{c}
58
+ 0 \\
59
+ 0 \\
60
+ 0 \\
61
+ 0 \\
62
+ \end{array}
63
+ \right) \\
64
+ \end{array}
65
+ \\
66
+
67
+ \begin{array}{l}
68
+ \text{Reduce }\text{the }\text{matrix }\left(
69
+ \begin{array}{ccc}
70
+ -8 & -5 & -1 \\
71
+ -7 & -4 & -3 \\
72
+ 9 & -6 & -4 \\
73
+ -2 & -4 & 8 \\
74
+ \end{array}
75
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
76
+ \left(
77
+ \begin{array}{ccc}
78
+ -8 & -5 & -1 \\
79
+ -7 & -4 & -3 \\
80
+ 9 & -6 & -4 \\
81
+ -2 & -4 & 8 \\
82
+ \end{array}
83
+ \right) \\
84
+ \end{array}
85
+ \\
86
+
87
+ \begin{array}{l}
88
+ \text{Swap }\text{row }1 \text{with }\text{row }3: \\
89
+ \left(
90
+ \begin{array}{ccc}
91
+ 9 & -6 & -4 \\
92
+ -7 & -4 & -3 \\
93
+ -8 & -5 & -1 \\
94
+ -2 & -4 & 8 \\
95
+ \end{array}
96
+ \right) \\
97
+ \end{array}
98
+ \\
99
+
100
+ \begin{array}{l}
101
+ \text{Add }\frac{7}{9}\, \times \, \text{(row }1) \text{to }\text{row }2: \\
102
+ \left(
103
+ \begin{array}{ccc}
104
+ 9 & -6 & -4 \\
105
+ 0 & -\frac{26}{3} & -\frac{55}{9} \\
106
+ -8 & -5 & -1 \\
107
+ -2 & -4 & 8 \\
108
+ \end{array}
109
+ \right) \\
110
+ \end{array}
111
+ \\
112
+
113
+ \begin{array}{l}
114
+ \text{Add }\frac{8}{9}\, \times \, \text{(row }1) \text{to }\text{row }3: \\
115
+ \left(
116
+ \begin{array}{ccc}
117
+ 9 & -6 & -4 \\
118
+ 0 & -\frac{26}{3} & -\frac{55}{9} \\
119
+ 0 & -\frac{31}{3} & -\frac{41}{9} \\
120
+ -2 & -4 & 8 \\
121
+ \end{array}
122
+ \right) \\
123
+ \end{array}
124
+ \\
125
+
126
+ \begin{array}{l}
127
+ \text{Add }\frac{2}{9}\, \times \, \text{(row }1) \text{to }\text{row }4: \\
128
+ \left(
129
+ \begin{array}{ccc}
130
+ 9 & -6 & -4 \\
131
+ 0 & -\frac{26}{3} & -\frac{55}{9} \\
132
+ 0 & -\frac{31}{3} & -\frac{41}{9} \\
133
+ 0 & -\frac{16}{3} & \frac{64}{9} \\
134
+ \end{array}
135
+ \right) \\
136
+ \end{array}
137
+ \\
138
+
139
+ \begin{array}{l}
140
+ \text{Swap }\text{row }2 \text{with }\text{row }3: \\
141
+ \left(
142
+ \begin{array}{ccc}
143
+ 9 & -6 & -4 \\
144
+ 0 & -\frac{31}{3} & -\frac{41}{9} \\
145
+ 0 & -\frac{26}{3} & -\frac{55}{9} \\
146
+ 0 & -\frac{16}{3} & \frac{64}{9} \\
147
+ \end{array}
148
+ \right) \\
149
+ \end{array}
150
+ \\
151
+
152
+ \begin{array}{l}
153
+ \text{Subtract }\frac{26}{31}\, \times \, \text{(row }2) \text{from }\text{row }3: \\
154
+ \left(
155
+ \begin{array}{ccc}
156
+ 9 & -6 & -4 \\
157
+ 0 & -\frac{31}{3} & -\frac{41}{9} \\
158
+ 0 & 0 & -\frac{71}{31} \\
159
+ 0 & -\frac{16}{3} & \frac{64}{9} \\
160
+ \end{array}
161
+ \right) \\
162
+ \end{array}
163
+ \\
164
+
165
+ \begin{array}{l}
166
+ \text{Subtract }\frac{16}{31}\, \times \, \text{(row }2) \text{from }\text{row }4: \\
167
+ \left(
168
+ \begin{array}{ccc}
169
+ 9 & -6 & -4 \\
170
+ 0 & -\frac{31}{3} & -\frac{41}{9} \\
171
+ 0 & 0 & -\frac{71}{31} \\
172
+ 0 & 0 & \frac{880}{93} \\
173
+ \end{array}
174
+ \right) \\
175
+ \end{array}
176
+ \\
177
+
178
+ \begin{array}{l}
179
+ \text{Swap }\text{row }3 \text{with }\text{row }4: \\
180
+ \left(
181
+ \begin{array}{ccc}
182
+ 9 & -6 & -4 \\
183
+ 0 & -\frac{31}{3} & -\frac{41}{9} \\
184
+ 0 & 0 & \frac{880}{93} \\
185
+ 0 & 0 & -\frac{71}{31} \\
186
+ \end{array}
187
+ \right) \\
188
+ \end{array}
189
+ \\
190
+
191
+ \begin{array}{l}
192
+ \text{Add }\frac{213}{880}\, \times \, \text{(row }3) \text{to }\text{row }4: \\
193
+ \left(
194
+ \begin{array}{ccc}
195
+ 9 & -6 & -4 \\
196
+ 0 & -\frac{31}{3} & -\frac{41}{9} \\
197
+ 0 & 0 & \frac{880}{93} \\
198
+ 0 & 0 & 0 \\
199
+ \end{array}
200
+ \right) \\
201
+ \end{array}
202
+ \\
203
+
204
+ \begin{array}{l}
205
+ \text{Multiply }\text{row }3 \text{by }\frac{93}{880}: \\
206
+ \left(
207
+ \begin{array}{ccc}
208
+ 9 & -6 & -4 \\
209
+ 0 & -\frac{31}{3} & -\frac{41}{9} \\
210
+ 0 & 0 & 1 \\
211
+ 0 & 0 & 0 \\
212
+ \end{array}
213
+ \right) \\
214
+ \end{array}
215
+ \\
216
+
217
+ \begin{array}{l}
218
+ \text{Add }\frac{41}{9}\, \times \, \text{(row }3) \text{to }\text{row }2: \\
219
+ \left(
220
+ \begin{array}{ccc}
221
+ 9 & -6 & -4 \\
222
+ 0 & -\frac{31}{3} & 0 \\
223
+ 0 & 0 & 1 \\
224
+ 0 & 0 & 0 \\
225
+ \end{array}
226
+ \right) \\
227
+ \end{array}
228
+ \\
229
+
230
+ \begin{array}{l}
231
+ \text{Add }4\, \times \, \text{(row }3) \text{to }\text{row }1: \\
232
+ \left(
233
+ \begin{array}{ccc}
234
+ 9 & -6 & 0 \\
235
+ 0 & -\frac{31}{3} & 0 \\
236
+ 0 & 0 & 1 \\
237
+ 0 & 0 & 0 \\
238
+ \end{array}
239
+ \right) \\
240
+ \end{array}
241
+ \\
242
+
243
+ \begin{array}{l}
244
+ \text{Multiply }\text{row }2 \text{by }-\frac{3}{31}: \\
245
+ \left(
246
+ \begin{array}{ccc}
247
+ 9 & -6 & 0 \\
248
+ 0 & 1 & 0 \\
249
+ 0 & 0 & 1 \\
250
+ 0 & 0 & 0 \\
251
+ \end{array}
252
+ \right) \\
253
+ \end{array}
254
+ \\
255
+
256
+ \begin{array}{l}
257
+ \text{Add }6\, \times \, \text{(row }2) \text{to }\text{row }1: \\
258
+ \left(
259
+ \begin{array}{ccc}
260
+ 9 & 0 & 0 \\
261
+ 0 & 1 & 0 \\
262
+ 0 & 0 & 1 \\
263
+ 0 & 0 & 0 \\
264
+ \end{array}
265
+ \right) \\
266
+ \end{array}
267
+ \\
268
+
269
+ \begin{array}{l}
270
+ \text{Divide }\text{row }1 \text{by }9: \\
271
+ \left(
272
+ \begin{array}{ccc}
273
+ 1 & 0 & 0 \\
274
+ 0 & 1 & 0 \\
275
+ 0 & 0 & 1 \\
276
+ 0 & 0 & 0 \\
277
+ \end{array}
278
+ \right) \\
279
+ \end{array}
280
+ \\
281
+
282
+ \begin{array}{l}
283
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
284
+ \begin{array}{c}
285
+ x_1 \\
286
+ x_2 \\
287
+ x_3 \\
288
+ \end{array}
289
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
290
+ \begin{array}{ccc}
291
+ 1 & 0 & 0 \\
292
+ 0 & 1 & 0 \\
293
+ 0 & 0 & 1 \\
294
+ 0 & 0 & 0 \\
295
+ \end{array}
296
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
297
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
298
+ \end{array}
299
+ \\
300
+
301
+ \begin{array}{l}
302
+ \text{The }\text{only }\text{value }\text{of }v=\left(
303
+ \begin{array}{c}
304
+ x_1 \\
305
+ x_2 \\
306
+ x_3 \\
307
+ \end{array}
308
+ \right) \text{that }\text{would }\text{make }\left(
309
+ \begin{array}{ccc}
310
+ 1 & 0 & 0 \\
311
+ 0 & 1 & 0 \\
312
+ 0 & 0 & 1 \\
313
+ 0 & 0 & 0 \\
314
+ \end{array}
315
+ \right).\left(
316
+ \begin{array}{c}
317
+ x_1 \\
318
+ x_2 \\
319
+ x_3 \\
320
+ \end{array}
321
+ \right)=\left(
322
+ \begin{array}{c}
323
+ 0 \\
324
+ 0 \\
325
+ 0 \\
326
+ 0 \\
327
+ \end{array}
328
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
329
+ \begin{array}{c}
330
+ 0 \\
331
+ 0 \\
332
+ 0 \\
333
+ \end{array}
334
+ \right): \\
335
+ \left(
336
+ \begin{array}{c}
337
+ 0 \\
338
+ 0 \\
339
+ 0 \\
340
+ \end{array}
341
+ \right) \\
342
+ \end{array}
343
+ \\
344
+
345
+ \begin{array}{l}
346
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
347
+ \fbox{$
348
+ \begin{array}{ll}
349
+ \text{Answer:} & \\
350
+ \text{} & \{\, (0,0,0)\, \} \\
351
+ \end{array}
352
+ $} \\
353
+ \end{array}
354
+ \\
355
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/2777.txt ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cc}
5
+ 5 & 9 \\
6
+ 2 & 8 \\
7
+ \end{array}
8
+ \right)$.
9
+ Answer:
10
+ \begin{array}{l}
11
+
12
+ \begin{array}{l}
13
+ \text{Find the null space of the matrix }M: \\
14
+ M=\left(
15
+ \begin{array}{cc}
16
+ 5 & 9 \\
17
+ 2 & 8 \\
18
+ \end{array}
19
+ \right) \\
20
+ \end{array}
21
+ \\
22
+ \hline
23
+
24
+ \begin{array}{l}
25
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
26
+ \begin{array}{cc}
27
+ 5 & 9 \\
28
+ 2 & 8 \\
29
+ \end{array}
30
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
31
+ \begin{array}{c}
32
+ x_1 \\
33
+ x_2 \\
34
+ \end{array}
35
+ \right) \text{such }\text{that }M.v=0: \\
36
+ \left(
37
+ \begin{array}{cc}
38
+ 5 & 9 \\
39
+ 2 & 8 \\
40
+ \end{array}
41
+ \right).\left(
42
+ \begin{array}{c}
43
+ x_1 \\
44
+ x_2 \\
45
+ \end{array}
46
+ \right)=\left(
47
+ \begin{array}{c}
48
+ 0 \\
49
+ 0 \\
50
+ \end{array}
51
+ \right) \\
52
+ \end{array}
53
+ \\
54
+
55
+ \begin{array}{l}
56
+ \text{Reduce }\text{the }\text{matrix }\left(
57
+ \begin{array}{cc}
58
+ 5 & 9 \\
59
+ 2 & 8 \\
60
+ \end{array}
61
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
62
+ \left(
63
+ \begin{array}{cc}
64
+ 5 & 9 \\
65
+ 2 & 8 \\
66
+ \end{array}
67
+ \right) \\
68
+ \end{array}
69
+ \\
70
+
71
+ \begin{array}{l}
72
+ \text{Subtract }\frac{2}{5}\, \times \, \text{(row }1) \text{from }\text{row }2: \\
73
+ \left(
74
+ \begin{array}{cc}
75
+ 5 & 9 \\
76
+ 0 & \frac{22}{5} \\
77
+ \end{array}
78
+ \right) \\
79
+ \end{array}
80
+ \\
81
+
82
+ \begin{array}{l}
83
+ \text{Multiply }\text{row }2 \text{by }\frac{5}{22}: \\
84
+ \left(
85
+ \begin{array}{cc}
86
+ 5 & 9 \\
87
+ 0 & 1 \\
88
+ \end{array}
89
+ \right) \\
90
+ \end{array}
91
+ \\
92
+
93
+ \begin{array}{l}
94
+ \text{Subtract }9\, \times \, \text{(row }2) \text{from }\text{row }1: \\
95
+ \left(
96
+ \begin{array}{cc}
97
+ 5 & 0 \\
98
+ 0 & 1 \\
99
+ \end{array}
100
+ \right) \\
101
+ \end{array}
102
+ \\
103
+
104
+ \begin{array}{l}
105
+ \text{Divide }\text{row }1 \text{by }5: \\
106
+ \left(
107
+ \begin{array}{cc}
108
+ 1 & 0 \\
109
+ 0 & 1 \\
110
+ \end{array}
111
+ \right) \\
112
+ \end{array}
113
+ \\
114
+
115
+ \begin{array}{l}
116
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
117
+ \begin{array}{c}
118
+ x_1 \\
119
+ x_2 \\
120
+ \end{array}
121
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
122
+ \begin{array}{cc}
123
+ 1 & 0 \\
124
+ 0 & 1 \\
125
+ \end{array}
126
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
127
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
128
+ \end{array}
129
+ \\
130
+
131
+ \begin{array}{l}
132
+ \text{The }\text{only }\text{value }\text{of }v=\left(
133
+ \begin{array}{c}
134
+ x_1 \\
135
+ x_2 \\
136
+ \end{array}
137
+ \right) \text{that }\text{would }\text{make }\left(
138
+ \begin{array}{cc}
139
+ 1 & 0 \\
140
+ 0 & 1 \\
141
+ \end{array}
142
+ \right).\left(
143
+ \begin{array}{c}
144
+ x_1 \\
145
+ x_2 \\
146
+ \end{array}
147
+ \right)=\left(
148
+ \begin{array}{c}
149
+ 0 \\
150
+ 0 \\
151
+ \end{array}
152
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
153
+ \begin{array}{c}
154
+ 0 \\
155
+ 0 \\
156
+ \end{array}
157
+ \right): \\
158
+ \left(
159
+ \begin{array}{c}
160
+ 0 \\
161
+ 0 \\
162
+ \end{array}
163
+ \right) \\
164
+ \end{array}
165
+ \\
166
+
167
+ \begin{array}{l}
168
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
169
+ \fbox{$
170
+ \begin{array}{ll}
171
+ \text{Answer:} & \\
172
+ \text{} & \{\, (0,0)\, \} \\
173
+ \end{array}
174
+ $} \\
175
+ \end{array}
176
+ \\
177
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/2935.txt ADDED
@@ -0,0 +1,362 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cccc}
5
+ 5 & -5 & 4 & -2 \\
6
+ 0 & -7 & 5 & -3 \\
7
+ -3 & 0 & 4 & 3 \\
8
+ -5 & -1 & 4 & -1 \\
9
+ \end{array}
10
+ \right)$.
11
+ Answer:
12
+ \begin{array}{l}
13
+
14
+ \begin{array}{l}
15
+ \text{Find the null space of the matrix }M: \\
16
+ M=\left(
17
+ \begin{array}{cccc}
18
+ 5 & -5 & 4 & -2 \\
19
+ 0 & -7 & 5 & -3 \\
20
+ -3 & 0 & 4 & 3 \\
21
+ -5 & -1 & 4 & -1 \\
22
+ \end{array}
23
+ \right) \\
24
+ \end{array}
25
+ \\
26
+ \hline
27
+
28
+ \begin{array}{l}
29
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
30
+ \begin{array}{cccc}
31
+ 5 & -5 & 4 & -2 \\
32
+ 0 & -7 & 5 & -3 \\
33
+ -3 & 0 & 4 & 3 \\
34
+ -5 & -1 & 4 & -1 \\
35
+ \end{array}
36
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
37
+ \begin{array}{c}
38
+ x_1 \\
39
+ x_2 \\
40
+ x_3 \\
41
+ x_4 \\
42
+ \end{array}
43
+ \right) \text{such }\text{that }M.v=0: \\
44
+ \left(
45
+ \begin{array}{cccc}
46
+ 5 & -5 & 4 & -2 \\
47
+ 0 & -7 & 5 & -3 \\
48
+ -3 & 0 & 4 & 3 \\
49
+ -5 & -1 & 4 & -1 \\
50
+ \end{array}
51
+ \right).\left(
52
+ \begin{array}{c}
53
+ x_1 \\
54
+ x_2 \\
55
+ x_3 \\
56
+ x_4 \\
57
+ \end{array}
58
+ \right)=\left(
59
+ \begin{array}{c}
60
+ 0 \\
61
+ 0 \\
62
+ 0 \\
63
+ 0 \\
64
+ \end{array}
65
+ \right) \\
66
+ \end{array}
67
+ \\
68
+
69
+ \begin{array}{l}
70
+ \text{Reduce }\text{the }\text{matrix }\left(
71
+ \begin{array}{cccc}
72
+ 5 & -5 & 4 & -2 \\
73
+ 0 & -7 & 5 & -3 \\
74
+ -3 & 0 & 4 & 3 \\
75
+ -5 & -1 & 4 & -1 \\
76
+ \end{array}
77
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
78
+ \left(
79
+ \begin{array}{cccc}
80
+ 5 & -5 & 4 & -2 \\
81
+ 0 & -7 & 5 & -3 \\
82
+ -3 & 0 & 4 & 3 \\
83
+ -5 & -1 & 4 & -1 \\
84
+ \end{array}
85
+ \right) \\
86
+ \end{array}
87
+ \\
88
+
89
+ \begin{array}{l}
90
+ \text{Add }\frac{3}{5}\, \times \, \text{(row }1) \text{to }\text{row }3: \\
91
+ \left(
92
+ \begin{array}{cccc}
93
+ 5 & -5 & 4 & -2 \\
94
+ 0 & -7 & 5 & -3 \\
95
+ 0 & -3 & \frac{32}{5} & \frac{9}{5} \\
96
+ -5 & -1 & 4 & -1 \\
97
+ \end{array}
98
+ \right) \\
99
+ \end{array}
100
+ \\
101
+
102
+ \begin{array}{l}
103
+ \text{Add }\text{row }1 \text{to }\text{row }4: \\
104
+ \left(
105
+ \begin{array}{cccc}
106
+ 5 & -5 & 4 & -2 \\
107
+ 0 & -7 & 5 & -3 \\
108
+ 0 & -3 & \frac{32}{5} & \frac{9}{5} \\
109
+ 0 & -6 & 8 & -3 \\
110
+ \end{array}
111
+ \right) \\
112
+ \end{array}
113
+ \\
114
+
115
+ \begin{array}{l}
116
+ \text{Subtract }\frac{3}{7}\, \times \, \text{(row }2) \text{from }\text{row }3: \\
117
+ \left(
118
+ \begin{array}{cccc}
119
+ 5 & -5 & 4 & -2 \\
120
+ 0 & -7 & 5 & -3 \\
121
+ 0 & 0 & \frac{149}{35} & \frac{108}{35} \\
122
+ 0 & -6 & 8 & -3 \\
123
+ \end{array}
124
+ \right) \\
125
+ \end{array}
126
+ \\
127
+
128
+ \begin{array}{l}
129
+ \text{Subtract }\frac{6}{7}\, \times \, \text{(row }2) \text{from }\text{row }4: \\
130
+ \left(
131
+ \begin{array}{cccc}
132
+ 5 & -5 & 4 & -2 \\
133
+ 0 & -7 & 5 & -3 \\
134
+ 0 & 0 & \frac{149}{35} & \frac{108}{35} \\
135
+ 0 & 0 & \frac{26}{7} & -\frac{3}{7} \\
136
+ \end{array}
137
+ \right) \\
138
+ \end{array}
139
+ \\
140
+
141
+ \begin{array}{l}
142
+ \text{Subtract }\frac{130}{149}\, \times \, \text{(row }3) \text{from }\text{row }4: \\
143
+ \left(
144
+ \begin{array}{cccc}
145
+ 5 & -5 & 4 & -2 \\
146
+ 0 & -7 & 5 & -3 \\
147
+ 0 & 0 & \frac{149}{35} & \frac{108}{35} \\
148
+ 0 & 0 & 0 & -\frac{465}{149} \\
149
+ \end{array}
150
+ \right) \\
151
+ \end{array}
152
+ \\
153
+
154
+ \begin{array}{l}
155
+ \text{Multiply }\text{row }4 \text{by }-\frac{149}{465}: \\
156
+ \left(
157
+ \begin{array}{cccc}
158
+ 5 & -5 & 4 & -2 \\
159
+ 0 & -7 & 5 & -3 \\
160
+ 0 & 0 & \frac{149}{35} & \frac{108}{35} \\
161
+ 0 & 0 & 0 & 1 \\
162
+ \end{array}
163
+ \right) \\
164
+ \end{array}
165
+ \\
166
+
167
+ \begin{array}{l}
168
+ \text{Subtract }\frac{108}{35}\, \times \, \text{(row }4) \text{from }\text{row }3: \\
169
+ \left(
170
+ \begin{array}{cccc}
171
+ 5 & -5 & 4 & -2 \\
172
+ 0 & -7 & 5 & -3 \\
173
+ 0 & 0 & \frac{149}{35} & 0 \\
174
+ 0 & 0 & 0 & 1 \\
175
+ \end{array}
176
+ \right) \\
177
+ \end{array}
178
+ \\
179
+
180
+ \begin{array}{l}
181
+ \text{Add }3\, \times \, \text{(row }4) \text{to }\text{row }2: \\
182
+ \left(
183
+ \begin{array}{cccc}
184
+ 5 & -5 & 4 & -2 \\
185
+ 0 & -7 & 5 & 0 \\
186
+ 0 & 0 & \frac{149}{35} & 0 \\
187
+ 0 & 0 & 0 & 1 \\
188
+ \end{array}
189
+ \right) \\
190
+ \end{array}
191
+ \\
192
+
193
+ \begin{array}{l}
194
+ \text{Add }2\, \times \, \text{(row }4) \text{to }\text{row }1: \\
195
+ \left(
196
+ \begin{array}{cccc}
197
+ 5 & -5 & 4 & 0 \\
198
+ 0 & -7 & 5 & 0 \\
199
+ 0 & 0 & \frac{149}{35} & 0 \\
200
+ 0 & 0 & 0 & 1 \\
201
+ \end{array}
202
+ \right) \\
203
+ \end{array}
204
+ \\
205
+
206
+ \begin{array}{l}
207
+ \text{Multiply }\text{row }3 \text{by }\frac{35}{149}: \\
208
+ \left(
209
+ \begin{array}{cccc}
210
+ 5 & -5 & 4 & 0 \\
211
+ 0 & -7 & 5 & 0 \\
212
+ 0 & 0 & 1 & 0 \\
213
+ 0 & 0 & 0 & 1 \\
214
+ \end{array}
215
+ \right) \\
216
+ \end{array}
217
+ \\
218
+
219
+ \begin{array}{l}
220
+ \text{Subtract }5\, \times \, \text{(row }3) \text{from }\text{row }2: \\
221
+ \left(
222
+ \begin{array}{cccc}
223
+ 5 & -5 & 4 & 0 \\
224
+ 0 & -7 & 0 & 0 \\
225
+ 0 & 0 & 1 & 0 \\
226
+ 0 & 0 & 0 & 1 \\
227
+ \end{array}
228
+ \right) \\
229
+ \end{array}
230
+ \\
231
+
232
+ \begin{array}{l}
233
+ \text{Subtract }4\, \times \, \text{(row }3) \text{from }\text{row }1: \\
234
+ \left(
235
+ \begin{array}{cccc}
236
+ 5 & -5 & 0 & 0 \\
237
+ 0 & -7 & 0 & 0 \\
238
+ 0 & 0 & 1 & 0 \\
239
+ 0 & 0 & 0 & 1 \\
240
+ \end{array}
241
+ \right) \\
242
+ \end{array}
243
+ \\
244
+
245
+ \begin{array}{l}
246
+ \text{Divide }\text{row }2 \text{by }-7: \\
247
+ \left(
248
+ \begin{array}{cccc}
249
+ 5 & -5 & 0 & 0 \\
250
+ 0 & 1 & 0 & 0 \\
251
+ 0 & 0 & 1 & 0 \\
252
+ 0 & 0 & 0 & 1 \\
253
+ \end{array}
254
+ \right) \\
255
+ \end{array}
256
+ \\
257
+
258
+ \begin{array}{l}
259
+ \text{Add }5\, \times \, \text{(row }2) \text{to }\text{row }1: \\
260
+ \left(
261
+ \begin{array}{cccc}
262
+ 5 & 0 & 0 & 0 \\
263
+ 0 & 1 & 0 & 0 \\
264
+ 0 & 0 & 1 & 0 \\
265
+ 0 & 0 & 0 & 1 \\
266
+ \end{array}
267
+ \right) \\
268
+ \end{array}
269
+ \\
270
+
271
+ \begin{array}{l}
272
+ \text{Divide }\text{row }1 \text{by }5: \\
273
+ \left(
274
+ \begin{array}{cccc}
275
+ 1 & 0 & 0 & 0 \\
276
+ 0 & 1 & 0 & 0 \\
277
+ 0 & 0 & 1 & 0 \\
278
+ 0 & 0 & 0 & 1 \\
279
+ \end{array}
280
+ \right) \\
281
+ \end{array}
282
+ \\
283
+
284
+ \begin{array}{l}
285
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
286
+ \begin{array}{c}
287
+ x_1 \\
288
+ x_2 \\
289
+ x_3 \\
290
+ x_4 \\
291
+ \end{array}
292
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
293
+ \begin{array}{cccc}
294
+ 1 & 0 & 0 & 0 \\
295
+ 0 & 1 & 0 & 0 \\
296
+ 0 & 0 & 1 & 0 \\
297
+ 0 & 0 & 0 & 1 \\
298
+ \end{array}
299
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
300
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
301
+ \end{array}
302
+ \\
303
+
304
+ \begin{array}{l}
305
+ \text{The }\text{only }\text{value }\text{of }v=\left(
306
+ \begin{array}{c}
307
+ x_1 \\
308
+ x_2 \\
309
+ x_3 \\
310
+ x_4 \\
311
+ \end{array}
312
+ \right) \text{that }\text{would }\text{make }\left(
313
+ \begin{array}{cccc}
314
+ 1 & 0 & 0 & 0 \\
315
+ 0 & 1 & 0 & 0 \\
316
+ 0 & 0 & 1 & 0 \\
317
+ 0 & 0 & 0 & 1 \\
318
+ \end{array}
319
+ \right).\left(
320
+ \begin{array}{c}
321
+ x_1 \\
322
+ x_2 \\
323
+ x_3 \\
324
+ x_4 \\
325
+ \end{array}
326
+ \right)=\left(
327
+ \begin{array}{c}
328
+ 0 \\
329
+ 0 \\
330
+ 0 \\
331
+ 0 \\
332
+ \end{array}
333
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
334
+ \begin{array}{c}
335
+ 0 \\
336
+ 0 \\
337
+ 0 \\
338
+ 0 \\
339
+ \end{array}
340
+ \right): \\
341
+ \left(
342
+ \begin{array}{c}
343
+ 0 \\
344
+ 0 \\
345
+ 0 \\
346
+ 0 \\
347
+ \end{array}
348
+ \right) \\
349
+ \end{array}
350
+ \\
351
+
352
+ \begin{array}{l}
353
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
354
+ \fbox{$
355
+ \begin{array}{ll}
356
+ \text{Answer:} & \\
357
+ \text{} & \{\, (0,0,0,0)\, \} \\
358
+ \end{array}
359
+ $} \\
360
+ \end{array}
361
+ \\
362
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/2970.txt ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cc}
5
+ -1 & -5 \\
6
+ 10 & -10 \\
7
+ \end{array}
8
+ \right)$.
9
+ Answer:
10
+ \begin{array}{l}
11
+
12
+ \begin{array}{l}
13
+ \text{Find the null space of the matrix }M: \\
14
+ M=\left(
15
+ \begin{array}{cc}
16
+ -1 & -5 \\
17
+ 10 & -10 \\
18
+ \end{array}
19
+ \right) \\
20
+ \end{array}
21
+ \\
22
+ \hline
23
+
24
+ \begin{array}{l}
25
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
26
+ \begin{array}{cc}
27
+ -1 & -5 \\
28
+ 10 & -10 \\
29
+ \end{array}
30
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
31
+ \begin{array}{c}
32
+ x_1 \\
33
+ x_2 \\
34
+ \end{array}
35
+ \right) \text{such }\text{that }M.v=0: \\
36
+ \left(
37
+ \begin{array}{cc}
38
+ -1 & -5 \\
39
+ 10 & -10 \\
40
+ \end{array}
41
+ \right).\left(
42
+ \begin{array}{c}
43
+ x_1 \\
44
+ x_2 \\
45
+ \end{array}
46
+ \right)=\left(
47
+ \begin{array}{c}
48
+ 0 \\
49
+ 0 \\
50
+ \end{array}
51
+ \right) \\
52
+ \end{array}
53
+ \\
54
+
55
+ \begin{array}{l}
56
+ \text{Reduce }\text{the }\text{matrix }\left(
57
+ \begin{array}{cc}
58
+ -1 & -5 \\
59
+ 10 & -10 \\
60
+ \end{array}
61
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
62
+ \left(
63
+ \begin{array}{cc}
64
+ -1 & -5 \\
65
+ 10 & -10 \\
66
+ \end{array}
67
+ \right) \\
68
+ \end{array}
69
+ \\
70
+
71
+ \begin{array}{l}
72
+ \text{Add }10\, \times \, \text{(row }1) \text{to }\text{row }2: \\
73
+ \left(
74
+ \begin{array}{cc}
75
+ -1 & -5 \\
76
+ 0 & -60 \\
77
+ \end{array}
78
+ \right) \\
79
+ \end{array}
80
+ \\
81
+
82
+ \begin{array}{l}
83
+ \text{Divide }\text{row }2 \text{by }-60: \\
84
+ \left(
85
+ \begin{array}{cc}
86
+ -1 & -5 \\
87
+ 0 & 1 \\
88
+ \end{array}
89
+ \right) \\
90
+ \end{array}
91
+ \\
92
+
93
+ \begin{array}{l}
94
+ \text{Add }5\, \times \, \text{(row }2) \text{to }\text{row }1: \\
95
+ \left(
96
+ \begin{array}{cc}
97
+ -1 & 0 \\
98
+ 0 & 1 \\
99
+ \end{array}
100
+ \right) \\
101
+ \end{array}
102
+ \\
103
+
104
+ \begin{array}{l}
105
+ \text{Multiply }\text{row }1 \text{by }-1: \\
106
+ \left(
107
+ \begin{array}{cc}
108
+ 1 & 0 \\
109
+ 0 & 1 \\
110
+ \end{array}
111
+ \right) \\
112
+ \end{array}
113
+ \\
114
+
115
+ \begin{array}{l}
116
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
117
+ \begin{array}{c}
118
+ x_1 \\
119
+ x_2 \\
120
+ \end{array}
121
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
122
+ \begin{array}{cc}
123
+ 1 & 0 \\
124
+ 0 & 1 \\
125
+ \end{array}
126
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
127
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
128
+ \end{array}
129
+ \\
130
+
131
+ \begin{array}{l}
132
+ \text{The }\text{only }\text{value }\text{of }v=\left(
133
+ \begin{array}{c}
134
+ x_1 \\
135
+ x_2 \\
136
+ \end{array}
137
+ \right) \text{that }\text{would }\text{make }\left(
138
+ \begin{array}{cc}
139
+ 1 & 0 \\
140
+ 0 & 1 \\
141
+ \end{array}
142
+ \right).\left(
143
+ \begin{array}{c}
144
+ x_1 \\
145
+ x_2 \\
146
+ \end{array}
147
+ \right)=\left(
148
+ \begin{array}{c}
149
+ 0 \\
150
+ 0 \\
151
+ \end{array}
152
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
153
+ \begin{array}{c}
154
+ 0 \\
155
+ 0 \\
156
+ \end{array}
157
+ \right): \\
158
+ \left(
159
+ \begin{array}{c}
160
+ 0 \\
161
+ 0 \\
162
+ \end{array}
163
+ \right) \\
164
+ \end{array}
165
+ \\
166
+
167
+ \begin{array}{l}
168
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
169
+ \fbox{$
170
+ \begin{array}{ll}
171
+ \text{Answer:} & \\
172
+ \text{} & \{\, (0,0)\, \} \\
173
+ \end{array}
174
+ $} \\
175
+ \end{array}
176
+ \\
177
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/2974.txt ADDED
@@ -0,0 +1,264 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cccc}
5
+ 6 & -4 & -1 & -10 \\
6
+ 5 & 0 & -6 & -3 \\
7
+ \end{array}
8
+ \right)$.
9
+ Answer:
10
+ \begin{array}{l}
11
+
12
+ \begin{array}{l}
13
+ \text{Find the null space of the matrix }M: \\
14
+ M=\left(
15
+ \begin{array}{cccc}
16
+ 6 & -4 & -1 & -10 \\
17
+ 5 & 0 & -6 & -3 \\
18
+ \end{array}
19
+ \right) \\
20
+ \end{array}
21
+ \\
22
+ \hline
23
+
24
+ \begin{array}{l}
25
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
26
+ \begin{array}{cccc}
27
+ 6 & -4 & -1 & -10 \\
28
+ 5 & 0 & -6 & -3 \\
29
+ \end{array}
30
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
31
+ \begin{array}{c}
32
+ x_1 \\
33
+ x_2 \\
34
+ x_3 \\
35
+ x_4 \\
36
+ \end{array}
37
+ \right) \text{such }\text{that }M.v=0: \\
38
+ \left(
39
+ \begin{array}{cccc}
40
+ 6 & -4 & -1 & -10 \\
41
+ 5 & 0 & -6 & -3 \\
42
+ \end{array}
43
+ \right).\left(
44
+ \begin{array}{c}
45
+ x_1 \\
46
+ x_2 \\
47
+ x_3 \\
48
+ x_4 \\
49
+ \end{array}
50
+ \right)=\left(
51
+ \begin{array}{c}
52
+ 0 \\
53
+ 0 \\
54
+ \end{array}
55
+ \right) \\
56
+ \end{array}
57
+ \\
58
+
59
+ \begin{array}{l}
60
+ \text{Reduce }\text{the }\text{matrix }\left(
61
+ \begin{array}{cccc}
62
+ 6 & -4 & -1 & -10 \\
63
+ 5 & 0 & -6 & -3 \\
64
+ \end{array}
65
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
66
+ \left(
67
+ \begin{array}{cccc}
68
+ 6 & -4 & -1 & -10 \\
69
+ 5 & 0 & -6 & -3 \\
70
+ \end{array}
71
+ \right) \\
72
+ \end{array}
73
+ \\
74
+
75
+ \begin{array}{l}
76
+ \text{Subtract }\frac{5}{6}\, \times \, \text{(row }1) \text{from }\text{row }2: \\
77
+ \left(
78
+ \begin{array}{cccc}
79
+ 6 & -4 & -1 & -10 \\
80
+ 0 & \frac{10}{3} & -\frac{31}{6} & \frac{16}{3} \\
81
+ \end{array}
82
+ \right) \\
83
+ \end{array}
84
+ \\
85
+
86
+ \begin{array}{l}
87
+ \text{Multiply }\text{row }2 \text{by }\frac{3}{10}: \\
88
+ \left(
89
+ \begin{array}{cccc}
90
+ 6 & -4 & -1 & -10 \\
91
+ 0 & 1 & -\frac{31}{20} & \frac{8}{5} \\
92
+ \end{array}
93
+ \right) \\
94
+ \end{array}
95
+ \\
96
+
97
+ \begin{array}{l}
98
+ \text{Add }4\, \times \, \text{(row }2) \text{to }\text{row }1: \\
99
+ \left(
100
+ \begin{array}{cccc}
101
+ 6 & 0 & -\frac{36}{5} & -\frac{18}{5} \\
102
+ 0 & 1 & -\frac{31}{20} & \frac{8}{5} \\
103
+ \end{array}
104
+ \right) \\
105
+ \end{array}
106
+ \\
107
+
108
+ \begin{array}{l}
109
+ \text{Divide }\text{row }1 \text{by }6: \\
110
+ \left(
111
+ \begin{array}{cccc}
112
+ 1 & 0 & -\frac{6}{5} & -\frac{3}{5} \\
113
+ 0 & 1 & -\frac{31}{20} & \frac{8}{5} \\
114
+ \end{array}
115
+ \right) \\
116
+ \end{array}
117
+ \\
118
+
119
+ \begin{array}{l}
120
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
121
+ \begin{array}{c}
122
+ x_1 \\
123
+ x_2 \\
124
+ x_3 \\
125
+ x_4 \\
126
+ \end{array}
127
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
128
+ \begin{array}{cccc}
129
+ 1 & 0 & -\frac{6}{5} & -\frac{3}{5} \\
130
+ 0 & 1 & -\frac{31}{20} & \frac{8}{5} \\
131
+ \end{array}
132
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
133
+ \text{Columns }3 \text{and }4 \text{are }\text{the }\text{only }\text{columns }\text{with }\text{no }\text{pivot, }\text{so }\text{we }\text{may }\text{take }x_3 \text{and }x_4 \text{to }\text{be }\text{the }\text{only }\text{free }\text{variables} \\
134
+ \end{array}
135
+ \\
136
+
137
+ \begin{array}{l}
138
+ \text{Multiply }\text{out }\text{the }\text{reduced }\text{matrix }\left(
139
+ \begin{array}{cccc}
140
+ 1 & 0 & -\frac{6}{5} & -\frac{3}{5} \\
141
+ 0 & 1 & -\frac{31}{20} & \frac{8}{5} \\
142
+ \end{array}
143
+ \right) \text{with }\text{the }\text{proposed }\text{solution }\text{vector }\left(
144
+ \begin{array}{c}
145
+ x_1 \\
146
+ x_2 \\
147
+ x_3 \\
148
+ x_4 \\
149
+ \end{array}
150
+ \right): \\
151
+ \left(
152
+ \begin{array}{cccc}
153
+ 1 & 0 & -\frac{6}{5} & -\frac{3}{5} \\
154
+ 0 & 1 & -\frac{31}{20} & \frac{8}{5} \\
155
+ \end{array}
156
+ \right).\left(
157
+ \begin{array}{c}
158
+ x_1 \\
159
+ x_2 \\
160
+ x_3 \\
161
+ x_4 \\
162
+ \end{array}
163
+ \right)=\left(
164
+ \begin{array}{c}
165
+ x_1-\frac{6 x_3}{5}-\frac{3 x_4}{5} \\
166
+ x_2-\frac{31 x_3}{20}+\frac{8 x_4}{5} \\
167
+ \end{array}
168
+ \right)=\left(
169
+ \begin{array}{c}
170
+ 0 \\
171
+ 0 \\
172
+ \end{array}
173
+ \right) \\
174
+ \end{array}
175
+ \\
176
+
177
+ \begin{array}{l}
178
+ \text{Solve }\text{the }\text{equations }\{
179
+ \begin{array}{l}
180
+ x_1-\frac{6 x_3}{5}-\frac{3 x_4}{5}=0 \\
181
+ x_2-\frac{31 x_3}{20}+\frac{8 x_4}{5}=0 \\
182
+ \end{array}
183
+ \text{for }x_1 \text{and }x_2: \\
184
+ \{
185
+ \begin{array}{l}
186
+ x_1=\frac{6 x_3}{5}+\frac{3 x_4}{5} \\
187
+ x_2=\frac{31 x_3}{20}-\frac{8 x_4}{5} \\
188
+ \end{array}
189
+ \\
190
+ \end{array}
191
+ \\
192
+
193
+ \begin{array}{l}
194
+ \text{Rewrite }v \text{in }\text{terms }\text{of }\text{the }\text{free }\text{variables }x_3 \text{and }x_4, \text{and }\text{assign }\text{arbitrary }\text{real }\text{values }\text{of }x \text{and }y \text{to }\text{the }\text{variables}: \\
195
+ v=\left(
196
+ \begin{array}{c}
197
+ x_1 \\
198
+ x_2 \\
199
+ x_3 \\
200
+ x_4 \\
201
+ \end{array}
202
+ \right)=\left(
203
+ \begin{array}{c}
204
+ \frac{6 x_3}{5}+\frac{3 x_4}{5} \\
205
+ \frac{31 x_3}{20}-\frac{8 x_4}{5} \\
206
+ x_3 \\
207
+ x_4 \\
208
+ \end{array}
209
+ \right)=\left(
210
+ \begin{array}{c}
211
+ \frac{3 y}{5}+\frac{6 x}{5} \\
212
+ -\frac{8 y}{5}+\frac{31 x}{20} \\
213
+ x \\
214
+ y \\
215
+ \end{array}
216
+ \right)\text{ for }x,y\in \mathbb{R} \\
217
+ \end{array}
218
+ \\
219
+
220
+ \begin{array}{l}
221
+ \text{Since }\text{the }\text{variables }x \text{and }y \text{are }\text{taken }\text{from }\mathbb{R}, \text{we }\text{can }\text{replace }\text{them }\text{with }20 x \text{and }5 y \text{respectively}: \\
222
+ \left(
223
+ \begin{array}{c}
224
+ \frac{3 y}{5}+\frac{6 x}{5} \\
225
+ -\frac{8 y}{5}+\frac{31 x}{20} \\
226
+ x \\
227
+ y \\
228
+ \end{array}
229
+ \right)\, \rightarrow \, \left(
230
+ \begin{array}{c}
231
+ \frac{3 (5 y)}{5}+\frac{6 (20 x)}{5} \\
232
+ -\frac{8}{5} (5 y)+\frac{31 (20 x)}{20} \\
233
+ 20 x \\
234
+ 5 y \\
235
+ \end{array}
236
+ \right)=\left(
237
+ \begin{array}{c}
238
+ 3 y+24 x \\
239
+ -8 y+31 x \\
240
+ 20 x \\
241
+ 5 y \\
242
+ \end{array}
243
+ \right)\text{ for }x,y\in \mathbb{R} \\
244
+ \end{array}
245
+ \\
246
+
247
+ \begin{array}{l}
248
+ \text{Rewrite }\text{the }\text{solution }\text{vector }v=\left(
249
+ \begin{array}{c}
250
+ 3 y+24 x \\
251
+ -8 y+31 x \\
252
+ 20 x \\
253
+ 5 y \\
254
+ \end{array}
255
+ \right) \text{in }\text{set }\text{notation}: \\
256
+ \fbox{$
257
+ \begin{array}{ll}
258
+ \text{Answer:} & \\
259
+ \text{} & \{\, (3 y+24 x,-8 y+31 x,20 x,5 y)\, \text{$\, $: }x,y\in \mathbb{R}\} \\
260
+ \end{array}
261
+ $} \\
262
+ \end{array}
263
+ \\
264
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/2994.txt ADDED
@@ -0,0 +1,248 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cccc}
5
+ 4 & -5 & 10 & 9 \\
6
+ 6 & -8 & 0 & -6 \\
7
+ \end{array}
8
+ \right)$.
9
+ Answer:
10
+ \begin{array}{l}
11
+
12
+ \begin{array}{l}
13
+ \text{Find the null space of the matrix }M: \\
14
+ M=\left(
15
+ \begin{array}{cccc}
16
+ 4 & -5 & 10 & 9 \\
17
+ 6 & -8 & 0 & -6 \\
18
+ \end{array}
19
+ \right) \\
20
+ \end{array}
21
+ \\
22
+ \hline
23
+
24
+ \begin{array}{l}
25
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
26
+ \begin{array}{cccc}
27
+ 4 & -5 & 10 & 9 \\
28
+ 6 & -8 & 0 & -6 \\
29
+ \end{array}
30
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
31
+ \begin{array}{c}
32
+ x_1 \\
33
+ x_2 \\
34
+ x_3 \\
35
+ x_4 \\
36
+ \end{array}
37
+ \right) \text{such }\text{that }M.v=0: \\
38
+ \left(
39
+ \begin{array}{cccc}
40
+ 4 & -5 & 10 & 9 \\
41
+ 6 & -8 & 0 & -6 \\
42
+ \end{array}
43
+ \right).\left(
44
+ \begin{array}{c}
45
+ x_1 \\
46
+ x_2 \\
47
+ x_3 \\
48
+ x_4 \\
49
+ \end{array}
50
+ \right)=\left(
51
+ \begin{array}{c}
52
+ 0 \\
53
+ 0 \\
54
+ \end{array}
55
+ \right) \\
56
+ \end{array}
57
+ \\
58
+
59
+ \begin{array}{l}
60
+ \text{Reduce }\text{the }\text{matrix }\left(
61
+ \begin{array}{cccc}
62
+ 4 & -5 & 10 & 9 \\
63
+ 6 & -8 & 0 & -6 \\
64
+ \end{array}
65
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
66
+ \left(
67
+ \begin{array}{cccc}
68
+ 4 & -5 & 10 & 9 \\
69
+ 6 & -8 & 0 & -6 \\
70
+ \end{array}
71
+ \right) \\
72
+ \end{array}
73
+ \\
74
+
75
+ \begin{array}{l}
76
+ \text{Swap }\text{row }1 \text{with }\text{row }2: \\
77
+ \left(
78
+ \begin{array}{cccc}
79
+ 6 & -8 & 0 & -6 \\
80
+ 4 & -5 & 10 & 9 \\
81
+ \end{array}
82
+ \right) \\
83
+ \end{array}
84
+ \\
85
+
86
+ \begin{array}{l}
87
+ \text{Subtract }\frac{2}{3}\, \times \, \text{(row }1) \text{from }\text{row }2: \\
88
+ \left(
89
+ \begin{array}{cccc}
90
+ 6 & -8 & 0 & -6 \\
91
+ 0 & \frac{1}{3} & 10 & 13 \\
92
+ \end{array}
93
+ \right) \\
94
+ \end{array}
95
+ \\
96
+
97
+ \begin{array}{l}
98
+ \text{Multiply }\text{row }2 \text{by }3: \\
99
+ \left(
100
+ \begin{array}{cccc}
101
+ 6 & -8 & 0 & -6 \\
102
+ 0 & 1 & 30 & 39 \\
103
+ \end{array}
104
+ \right) \\
105
+ \end{array}
106
+ \\
107
+
108
+ \begin{array}{l}
109
+ \text{Add }8\, \times \, \text{(row }2) \text{to }\text{row }1: \\
110
+ \left(
111
+ \begin{array}{cccc}
112
+ 6 & 0 & 240 & 306 \\
113
+ 0 & 1 & 30 & 39 \\
114
+ \end{array}
115
+ \right) \\
116
+ \end{array}
117
+ \\
118
+
119
+ \begin{array}{l}
120
+ \text{Divide }\text{row }1 \text{by }6: \\
121
+ \left(
122
+ \begin{array}{cccc}
123
+ 1 & 0 & 40 & 51 \\
124
+ 0 & 1 & 30 & 39 \\
125
+ \end{array}
126
+ \right) \\
127
+ \end{array}
128
+ \\
129
+
130
+ \begin{array}{l}
131
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
132
+ \begin{array}{c}
133
+ x_1 \\
134
+ x_2 \\
135
+ x_3 \\
136
+ x_4 \\
137
+ \end{array}
138
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
139
+ \begin{array}{cccc}
140
+ 1 & 0 & 40 & 51 \\
141
+ 0 & 1 & 30 & 39 \\
142
+ \end{array}
143
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
144
+ \text{Columns }3 \text{and }4 \text{are }\text{the }\text{only }\text{columns }\text{with }\text{no }\text{pivot, }\text{so }\text{we }\text{may }\text{take }x_3 \text{and }x_4 \text{to }\text{be }\text{the }\text{only }\text{free }\text{variables} \\
145
+ \end{array}
146
+ \\
147
+
148
+ \begin{array}{l}
149
+ \text{Multiply }\text{out }\text{the }\text{reduced }\text{matrix }\left(
150
+ \begin{array}{cccc}
151
+ 1 & 0 & 40 & 51 \\
152
+ 0 & 1 & 30 & 39 \\
153
+ \end{array}
154
+ \right) \text{with }\text{the }\text{proposed }\text{solution }\text{vector }\left(
155
+ \begin{array}{c}
156
+ x_1 \\
157
+ x_2 \\
158
+ x_3 \\
159
+ x_4 \\
160
+ \end{array}
161
+ \right): \\
162
+ \left(
163
+ \begin{array}{cccc}
164
+ 1 & 0 & 40 & 51 \\
165
+ 0 & 1 & 30 & 39 \\
166
+ \end{array}
167
+ \right).\left(
168
+ \begin{array}{c}
169
+ x_1 \\
170
+ x_2 \\
171
+ x_3 \\
172
+ x_4 \\
173
+ \end{array}
174
+ \right)=\left(
175
+ \begin{array}{c}
176
+ x_1+40 x_3+51 x_4 \\
177
+ x_2+30 x_3+39 x_4 \\
178
+ \end{array}
179
+ \right)=\left(
180
+ \begin{array}{c}
181
+ 0 \\
182
+ 0 \\
183
+ \end{array}
184
+ \right) \\
185
+ \end{array}
186
+ \\
187
+
188
+ \begin{array}{l}
189
+ \text{Solve }\text{the }\text{equations }\{
190
+ \begin{array}{l}
191
+ x_1+40 x_3+51 x_4=0 \\
192
+ x_2+30 x_3+39 x_4=0 \\
193
+ \end{array}
194
+ \text{for }x_1 \text{and }x_2: \\
195
+ \{
196
+ \begin{array}{l}
197
+ x_1=-40 x_3-51 x_4 \\
198
+ x_2=-30 x_3-39 x_4 \\
199
+ \end{array}
200
+ \\
201
+ \end{array}
202
+ \\
203
+
204
+ \begin{array}{l}
205
+ \text{Rewrite }v \text{in }\text{terms }\text{of }\text{the }\text{free }\text{variables }x_3 \text{and }x_4, \text{and }\text{assign }\text{arbitrary }\text{real }\text{values }\text{of }x \text{and }y \text{to }\text{the }\text{variables}: \\
206
+ v=\left(
207
+ \begin{array}{c}
208
+ x_1 \\
209
+ x_2 \\
210
+ x_3 \\
211
+ x_4 \\
212
+ \end{array}
213
+ \right)=\left(
214
+ \begin{array}{c}
215
+ -40 x_3-51 x_4 \\
216
+ -30 x_3-39 x_4 \\
217
+ x_3 \\
218
+ x_4 \\
219
+ \end{array}
220
+ \right)=\left(
221
+ \begin{array}{c}
222
+ -51 y-40 x \\
223
+ -39 y-30 x \\
224
+ x \\
225
+ y \\
226
+ \end{array}
227
+ \right)\text{ for }x,y\in \mathbb{R} \\
228
+ \end{array}
229
+ \\
230
+
231
+ \begin{array}{l}
232
+ \text{Rewrite }\text{the }\text{solution }\text{vector }v=\left(
233
+ \begin{array}{c}
234
+ -51 y-40 x \\
235
+ -39 y-30 x \\
236
+ x \\
237
+ y \\
238
+ \end{array}
239
+ \right) \text{in }\text{set }\text{notation}: \\
240
+ \fbox{$
241
+ \begin{array}{ll}
242
+ \text{Answer:} & \\
243
+ \text{} & \{\, (-51 y-40 x,-39 y-30 x,x,y)\, \text{$\, $: }x,y\in \mathbb{R}\} \\
244
+ \end{array}
245
+ $} \\
246
+ \end{array}
247
+ \\
248
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/3027.txt ADDED
@@ -0,0 +1,264 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cccc}
5
+ -10 & -6 & -2 & 1 \\
6
+ 6 & 6 & -7 & -3 \\
7
+ \end{array}
8
+ \right)$.
9
+ Answer:
10
+ \begin{array}{l}
11
+
12
+ \begin{array}{l}
13
+ \text{Find the null space of the matrix }M: \\
14
+ M=\left(
15
+ \begin{array}{cccc}
16
+ -10 & -6 & -2 & 1 \\
17
+ 6 & 6 & -7 & -3 \\
18
+ \end{array}
19
+ \right) \\
20
+ \end{array}
21
+ \\
22
+ \hline
23
+
24
+ \begin{array}{l}
25
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
26
+ \begin{array}{cccc}
27
+ -10 & -6 & -2 & 1 \\
28
+ 6 & 6 & -7 & -3 \\
29
+ \end{array}
30
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
31
+ \begin{array}{c}
32
+ x_1 \\
33
+ x_2 \\
34
+ x_3 \\
35
+ x_4 \\
36
+ \end{array}
37
+ \right) \text{such }\text{that }M.v=0: \\
38
+ \left(
39
+ \begin{array}{cccc}
40
+ -10 & -6 & -2 & 1 \\
41
+ 6 & 6 & -7 & -3 \\
42
+ \end{array}
43
+ \right).\left(
44
+ \begin{array}{c}
45
+ x_1 \\
46
+ x_2 \\
47
+ x_3 \\
48
+ x_4 \\
49
+ \end{array}
50
+ \right)=\left(
51
+ \begin{array}{c}
52
+ 0 \\
53
+ 0 \\
54
+ \end{array}
55
+ \right) \\
56
+ \end{array}
57
+ \\
58
+
59
+ \begin{array}{l}
60
+ \text{Reduce }\text{the }\text{matrix }\left(
61
+ \begin{array}{cccc}
62
+ -10 & -6 & -2 & 1 \\
63
+ 6 & 6 & -7 & -3 \\
64
+ \end{array}
65
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
66
+ \left(
67
+ \begin{array}{cccc}
68
+ -10 & -6 & -2 & 1 \\
69
+ 6 & 6 & -7 & -3 \\
70
+ \end{array}
71
+ \right) \\
72
+ \end{array}
73
+ \\
74
+
75
+ \begin{array}{l}
76
+ \text{Add }\frac{3}{5}\, \times \, \text{(row }1) \text{to }\text{row }2: \\
77
+ \left(
78
+ \begin{array}{cccc}
79
+ -10 & -6 & -2 & 1 \\
80
+ 0 & \frac{12}{5} & -\frac{41}{5} & -\frac{12}{5} \\
81
+ \end{array}
82
+ \right) \\
83
+ \end{array}
84
+ \\
85
+
86
+ \begin{array}{l}
87
+ \text{Multiply }\text{row }2 \text{by }\frac{5}{12}: \\
88
+ \left(
89
+ \begin{array}{cccc}
90
+ -10 & -6 & -2 & 1 \\
91
+ 0 & 1 & -\frac{41}{12} & -1 \\
92
+ \end{array}
93
+ \right) \\
94
+ \end{array}
95
+ \\
96
+
97
+ \begin{array}{l}
98
+ \text{Add }6\, \times \, \text{(row }2) \text{to }\text{row }1: \\
99
+ \left(
100
+ \begin{array}{cccc}
101
+ -10 & 0 & -\frac{45}{2} & -5 \\
102
+ 0 & 1 & -\frac{41}{12} & -1 \\
103
+ \end{array}
104
+ \right) \\
105
+ \end{array}
106
+ \\
107
+
108
+ \begin{array}{l}
109
+ \text{Divide }\text{row }1 \text{by }-10: \\
110
+ \left(
111
+ \begin{array}{cccc}
112
+ 1 & 0 & \frac{9}{4} & \frac{1}{2} \\
113
+ 0 & 1 & -\frac{41}{12} & -1 \\
114
+ \end{array}
115
+ \right) \\
116
+ \end{array}
117
+ \\
118
+
119
+ \begin{array}{l}
120
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
121
+ \begin{array}{c}
122
+ x_1 \\
123
+ x_2 \\
124
+ x_3 \\
125
+ x_4 \\
126
+ \end{array}
127
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
128
+ \begin{array}{cccc}
129
+ 1 & 0 & \frac{9}{4} & \frac{1}{2} \\
130
+ 0 & 1 & -\frac{41}{12} & -1 \\
131
+ \end{array}
132
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
133
+ \text{Columns }3 \text{and }4 \text{are }\text{the }\text{only }\text{columns }\text{with }\text{no }\text{pivot, }\text{so }\text{we }\text{may }\text{take }x_3 \text{and }x_4 \text{to }\text{be }\text{the }\text{only }\text{free }\text{variables} \\
134
+ \end{array}
135
+ \\
136
+
137
+ \begin{array}{l}
138
+ \text{Multiply }\text{out }\text{the }\text{reduced }\text{matrix }\left(
139
+ \begin{array}{cccc}
140
+ 1 & 0 & \frac{9}{4} & \frac{1}{2} \\
141
+ 0 & 1 & -\frac{41}{12} & -1 \\
142
+ \end{array}
143
+ \right) \text{with }\text{the }\text{proposed }\text{solution }\text{vector }\left(
144
+ \begin{array}{c}
145
+ x_1 \\
146
+ x_2 \\
147
+ x_3 \\
148
+ x_4 \\
149
+ \end{array}
150
+ \right): \\
151
+ \left(
152
+ \begin{array}{cccc}
153
+ 1 & 0 & \frac{9}{4} & \frac{1}{2} \\
154
+ 0 & 1 & -\frac{41}{12} & -1 \\
155
+ \end{array}
156
+ \right).\left(
157
+ \begin{array}{c}
158
+ x_1 \\
159
+ x_2 \\
160
+ x_3 \\
161
+ x_4 \\
162
+ \end{array}
163
+ \right)=\left(
164
+ \begin{array}{c}
165
+ x_1+\frac{9 x_3}{4}+\frac{x_4}{2} \\
166
+ x_2-\frac{41 x_3}{12}-x_4 \\
167
+ \end{array}
168
+ \right)=\left(
169
+ \begin{array}{c}
170
+ 0 \\
171
+ 0 \\
172
+ \end{array}
173
+ \right) \\
174
+ \end{array}
175
+ \\
176
+
177
+ \begin{array}{l}
178
+ \text{Solve }\text{the }\text{equations }\{
179
+ \begin{array}{l}
180
+ x_1+\frac{9 x_3}{4}+\frac{x_4}{2}=0 \\
181
+ x_2-\frac{41 x_3}{12}-x_4=0 \\
182
+ \end{array}
183
+ \text{for }x_1 \text{and }x_2: \\
184
+ \{
185
+ \begin{array}{l}
186
+ x_1=-\frac{9 x_3}{4}-\frac{x_4}{2} \\
187
+ x_2=\frac{41 x_3}{12}+x_4 \\
188
+ \end{array}
189
+ \\
190
+ \end{array}
191
+ \\
192
+
193
+ \begin{array}{l}
194
+ \text{Rewrite }v \text{in }\text{terms }\text{of }\text{the }\text{free }\text{variables }x_3 \text{and }x_4, \text{and }\text{assign }\text{arbitrary }\text{real }\text{values }\text{of }x \text{and }y \text{to }\text{the }\text{variables}: \\
195
+ v=\left(
196
+ \begin{array}{c}
197
+ x_1 \\
198
+ x_2 \\
199
+ x_3 \\
200
+ x_4 \\
201
+ \end{array}
202
+ \right)=\left(
203
+ \begin{array}{c}
204
+ -\frac{9 x_3}{4}-\frac{x_4}{2} \\
205
+ \frac{41 x_3}{12}+x_4 \\
206
+ x_3 \\
207
+ x_4 \\
208
+ \end{array}
209
+ \right)=\left(
210
+ \begin{array}{c}
211
+ -\frac{y}{2}-\frac{9 x}{4} \\
212
+ y+\frac{41 x}{12} \\
213
+ x \\
214
+ y \\
215
+ \end{array}
216
+ \right)\text{ for }x,y\in \mathbb{R} \\
217
+ \end{array}
218
+ \\
219
+
220
+ \begin{array}{l}
221
+ \text{Since }\text{the }\text{variables }x \text{and }y \text{are }\text{taken }\text{from }\mathbb{R}, \text{we }\text{can }\text{replace }\text{them }\text{with }12 x \text{and }2 y \text{respectively}: \\
222
+ \left(
223
+ \begin{array}{c}
224
+ -\frac{y}{2}-\frac{9 x}{4} \\
225
+ y+\frac{41 x}{12} \\
226
+ x \\
227
+ y \\
228
+ \end{array}
229
+ \right)\, \rightarrow \, \left(
230
+ \begin{array}{c}
231
+ -\frac{1}{2} (2 y)-\frac{9 (12 x)}{4} \\
232
+ 2 y+\frac{41 (12 x)}{12} \\
233
+ 12 x \\
234
+ 2 y \\
235
+ \end{array}
236
+ \right)=\left(
237
+ \begin{array}{c}
238
+ -y-27 x \\
239
+ 2 y+41 x \\
240
+ 12 x \\
241
+ 2 y \\
242
+ \end{array}
243
+ \right)\text{ for }x,y\in \mathbb{R} \\
244
+ \end{array}
245
+ \\
246
+
247
+ \begin{array}{l}
248
+ \text{Rewrite }\text{the }\text{solution }\text{vector }v=\left(
249
+ \begin{array}{c}
250
+ -y-27 x \\
251
+ 2 y+41 x \\
252
+ 12 x \\
253
+ 2 y \\
254
+ \end{array}
255
+ \right) \text{in }\text{set }\text{notation}: \\
256
+ \fbox{$
257
+ \begin{array}{ll}
258
+ \text{Answer:} & \\
259
+ \text{} & \{\, (-y-27 x,2 y+41 x,12 x,2 y)\, \text{$\, $: }x,y\in \mathbb{R}\} \\
260
+ \end{array}
261
+ $} \\
262
+ \end{array}
263
+ \\
264
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/3079.txt ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cc}
5
+ 1 & -7 \\
6
+ 4 & -1 \\
7
+ -1 & 9 \\
8
+ 9 & 10 \\
9
+ \end{array}
10
+ \right)$.
11
+ Answer:
12
+ \begin{array}{l}
13
+
14
+ \begin{array}{l}
15
+ \text{Find the null space of the matrix }M: \\
16
+ M=\left(
17
+ \begin{array}{cc}
18
+ 1 & -7 \\
19
+ 4 & -1 \\
20
+ -1 & 9 \\
21
+ 9 & 10 \\
22
+ \end{array}
23
+ \right) \\
24
+ \end{array}
25
+ \\
26
+ \hline
27
+
28
+ \begin{array}{l}
29
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
30
+ \begin{array}{cc}
31
+ 1 & -7 \\
32
+ 4 & -1 \\
33
+ -1 & 9 \\
34
+ 9 & 10 \\
35
+ \end{array}
36
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
37
+ \begin{array}{c}
38
+ x_1 \\
39
+ x_2 \\
40
+ \end{array}
41
+ \right) \text{such }\text{that }M.v=0: \\
42
+ \left(
43
+ \begin{array}{cc}
44
+ 1 & -7 \\
45
+ 4 & -1 \\
46
+ -1 & 9 \\
47
+ 9 & 10 \\
48
+ \end{array}
49
+ \right).\left(
50
+ \begin{array}{c}
51
+ x_1 \\
52
+ x_2 \\
53
+ \end{array}
54
+ \right)=\left(
55
+ \begin{array}{c}
56
+ 0 \\
57
+ 0 \\
58
+ 0 \\
59
+ 0 \\
60
+ \end{array}
61
+ \right) \\
62
+ \end{array}
63
+ \\
64
+
65
+ \begin{array}{l}
66
+ \text{Reduce }\text{the }\text{matrix }\left(
67
+ \begin{array}{cc}
68
+ 1 & -7 \\
69
+ 4 & -1 \\
70
+ -1 & 9 \\
71
+ 9 & 10 \\
72
+ \end{array}
73
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
74
+ \left(
75
+ \begin{array}{cc}
76
+ 1 & -7 \\
77
+ 4 & -1 \\
78
+ -1 & 9 \\
79
+ 9 & 10 \\
80
+ \end{array}
81
+ \right) \\
82
+ \end{array}
83
+ \\
84
+
85
+ \begin{array}{l}
86
+ \text{Subtract }4\, \times \, \text{(row }1) \text{from }\text{row }2: \\
87
+ \left(
88
+ \begin{array}{cc}
89
+ 1 & -7 \\
90
+ 0 & 27 \\
91
+ -1 & 9 \\
92
+ 9 & 10 \\
93
+ \end{array}
94
+ \right) \\
95
+ \end{array}
96
+ \\
97
+
98
+ \begin{array}{l}
99
+ \text{Add }\text{row }1 \text{to }\text{row }3: \\
100
+ \left(
101
+ \begin{array}{cc}
102
+ 1 & -7 \\
103
+ 0 & 27 \\
104
+ 0 & 2 \\
105
+ 9 & 10 \\
106
+ \end{array}
107
+ \right) \\
108
+ \end{array}
109
+ \\
110
+
111
+ \begin{array}{l}
112
+ \text{Subtract }9\, \times \, \text{(row }1) \text{from }\text{row }4: \\
113
+ \left(
114
+ \begin{array}{cc}
115
+ 1 & -7 \\
116
+ 0 & 27 \\
117
+ 0 & 2 \\
118
+ 0 & 73 \\
119
+ \end{array}
120
+ \right) \\
121
+ \end{array}
122
+ \\
123
+
124
+ \begin{array}{l}
125
+ \text{Swap }\text{row }2 \text{with }\text{row }4: \\
126
+ \left(
127
+ \begin{array}{cc}
128
+ 1 & -7 \\
129
+ 0 & 73 \\
130
+ 0 & 2 \\
131
+ 0 & 27 \\
132
+ \end{array}
133
+ \right) \\
134
+ \end{array}
135
+ \\
136
+
137
+ \begin{array}{l}
138
+ \text{Subtract }\frac{2}{73}\, \times \, \text{(row }2) \text{from }\text{row }3: \\
139
+ \left(
140
+ \begin{array}{cc}
141
+ 1 & -7 \\
142
+ 0 & 73 \\
143
+ 0 & 0 \\
144
+ 0 & 27 \\
145
+ \end{array}
146
+ \right) \\
147
+ \end{array}
148
+ \\
149
+
150
+ \begin{array}{l}
151
+ \text{Subtract }\frac{27}{73}\, \times \, \text{(row }2) \text{from }\text{row }4: \\
152
+ \left(
153
+ \begin{array}{cc}
154
+ 1 & -7 \\
155
+ 0 & 73 \\
156
+ 0 & 0 \\
157
+ 0 & 0 \\
158
+ \end{array}
159
+ \right) \\
160
+ \end{array}
161
+ \\
162
+
163
+ \begin{array}{l}
164
+ \text{Divide }\text{row }2 \text{by }73: \\
165
+ \left(
166
+ \begin{array}{cc}
167
+ 1 & -7 \\
168
+ 0 & 1 \\
169
+ 0 & 0 \\
170
+ 0 & 0 \\
171
+ \end{array}
172
+ \right) \\
173
+ \end{array}
174
+ \\
175
+
176
+ \begin{array}{l}
177
+ \text{Add }7\, \times \, \text{(row }2) \text{to }\text{row }1: \\
178
+ \left(
179
+ \begin{array}{cc}
180
+ 1 & 0 \\
181
+ 0 & 1 \\
182
+ 0 & 0 \\
183
+ 0 & 0 \\
184
+ \end{array}
185
+ \right) \\
186
+ \end{array}
187
+ \\
188
+
189
+ \begin{array}{l}
190
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
191
+ \begin{array}{c}
192
+ x_1 \\
193
+ x_2 \\
194
+ \end{array}
195
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
196
+ \begin{array}{cc}
197
+ 1 & 0 \\
198
+ 0 & 1 \\
199
+ 0 & 0 \\
200
+ 0 & 0 \\
201
+ \end{array}
202
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
203
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
204
+ \end{array}
205
+ \\
206
+
207
+ \begin{array}{l}
208
+ \text{The }\text{only }\text{value }\text{of }v=\left(
209
+ \begin{array}{c}
210
+ x_1 \\
211
+ x_2 \\
212
+ \end{array}
213
+ \right) \text{that }\text{would }\text{make }\left(
214
+ \begin{array}{cc}
215
+ 1 & 0 \\
216
+ 0 & 1 \\
217
+ 0 & 0 \\
218
+ 0 & 0 \\
219
+ \end{array}
220
+ \right).\left(
221
+ \begin{array}{c}
222
+ x_1 \\
223
+ x_2 \\
224
+ \end{array}
225
+ \right)=\left(
226
+ \begin{array}{c}
227
+ 0 \\
228
+ 0 \\
229
+ 0 \\
230
+ 0 \\
231
+ \end{array}
232
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
233
+ \begin{array}{c}
234
+ 0 \\
235
+ 0 \\
236
+ \end{array}
237
+ \right): \\
238
+ \left(
239
+ \begin{array}{c}
240
+ 0 \\
241
+ 0 \\
242
+ \end{array}
243
+ \right) \\
244
+ \end{array}
245
+ \\
246
+
247
+ \begin{array}{l}
248
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
249
+ \fbox{$
250
+ \begin{array}{ll}
251
+ \text{Answer:} & \\
252
+ \text{} & \{\, (0,0)\, \} \\
253
+ \end{array}
254
+ $} \\
255
+ \end{array}
256
+ \\
257
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/3119.txt ADDED
@@ -0,0 +1,282 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{ccc}
5
+ 4 & -1 & -6 \\
6
+ 10 & -3 & -6 \\
7
+ 4 & -5 & 3 \\
8
+ \end{array}
9
+ \right)$.
10
+ Answer:
11
+ \begin{array}{l}
12
+
13
+ \begin{array}{l}
14
+ \text{Find the null space of the matrix }M: \\
15
+ M=\left(
16
+ \begin{array}{ccc}
17
+ 4 & -1 & -6 \\
18
+ 10 & -3 & -6 \\
19
+ 4 & -5 & 3 \\
20
+ \end{array}
21
+ \right) \\
22
+ \end{array}
23
+ \\
24
+ \hline
25
+
26
+ \begin{array}{l}
27
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
28
+ \begin{array}{ccc}
29
+ 4 & -1 & -6 \\
30
+ 10 & -3 & -6 \\
31
+ 4 & -5 & 3 \\
32
+ \end{array}
33
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
34
+ \begin{array}{c}
35
+ x_1 \\
36
+ x_2 \\
37
+ x_3 \\
38
+ \end{array}
39
+ \right) \text{such }\text{that }M.v=0: \\
40
+ \left(
41
+ \begin{array}{ccc}
42
+ 4 & -1 & -6 \\
43
+ 10 & -3 & -6 \\
44
+ 4 & -5 & 3 \\
45
+ \end{array}
46
+ \right).\left(
47
+ \begin{array}{c}
48
+ x_1 \\
49
+ x_2 \\
50
+ x_3 \\
51
+ \end{array}
52
+ \right)=\left(
53
+ \begin{array}{c}
54
+ 0 \\
55
+ 0 \\
56
+ 0 \\
57
+ \end{array}
58
+ \right) \\
59
+ \end{array}
60
+ \\
61
+
62
+ \begin{array}{l}
63
+ \text{Reduce }\text{the }\text{matrix }\left(
64
+ \begin{array}{ccc}
65
+ 4 & -1 & -6 \\
66
+ 10 & -3 & -6 \\
67
+ 4 & -5 & 3 \\
68
+ \end{array}
69
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
70
+ \left(
71
+ \begin{array}{ccc}
72
+ 4 & -1 & -6 \\
73
+ 10 & -3 & -6 \\
74
+ 4 & -5 & 3 \\
75
+ \end{array}
76
+ \right) \\
77
+ \end{array}
78
+ \\
79
+
80
+ \begin{array}{l}
81
+ \text{Swap }\text{row }1 \text{with }\text{row }2: \\
82
+ \left(
83
+ \begin{array}{ccc}
84
+ 10 & -3 & -6 \\
85
+ 4 & -1 & -6 \\
86
+ 4 & -5 & 3 \\
87
+ \end{array}
88
+ \right) \\
89
+ \end{array}
90
+ \\
91
+
92
+ \begin{array}{l}
93
+ \text{Subtract }\frac{2}{5}\, \times \, \text{(row }1) \text{from }\text{row }2: \\
94
+ \left(
95
+ \begin{array}{ccc}
96
+ 10 & -3 & -6 \\
97
+ 0 & \frac{1}{5} & -\frac{18}{5} \\
98
+ 4 & -5 & 3 \\
99
+ \end{array}
100
+ \right) \\
101
+ \end{array}
102
+ \\
103
+
104
+ \begin{array}{l}
105
+ \text{Subtract }\frac{2}{5}\, \times \, \text{(row }1) \text{from }\text{row }3: \\
106
+ \left(
107
+ \begin{array}{ccc}
108
+ 10 & -3 & -6 \\
109
+ 0 & \frac{1}{5} & -\frac{18}{5} \\
110
+ 0 & -\frac{19}{5} & \frac{27}{5} \\
111
+ \end{array}
112
+ \right) \\
113
+ \end{array}
114
+ \\
115
+
116
+ \begin{array}{l}
117
+ \text{Swap }\text{row }2 \text{with }\text{row }3: \\
118
+ \left(
119
+ \begin{array}{ccc}
120
+ 10 & -3 & -6 \\
121
+ 0 & -\frac{19}{5} & \frac{27}{5} \\
122
+ 0 & \frac{1}{5} & -\frac{18}{5} \\
123
+ \end{array}
124
+ \right) \\
125
+ \end{array}
126
+ \\
127
+
128
+ \begin{array}{l}
129
+ \text{Add }\frac{1}{19}\, \times \, \text{(row }2) \text{to }\text{row }3: \\
130
+ \left(
131
+ \begin{array}{ccc}
132
+ 10 & -3 & -6 \\
133
+ 0 & -\frac{19}{5} & \frac{27}{5} \\
134
+ 0 & 0 & -\frac{63}{19} \\
135
+ \end{array}
136
+ \right) \\
137
+ \end{array}
138
+ \\
139
+
140
+ \begin{array}{l}
141
+ \text{Multiply }\text{row }3 \text{by }-\frac{19}{63}: \\
142
+ \left(
143
+ \begin{array}{ccc}
144
+ 10 & -3 & -6 \\
145
+ 0 & -\frac{19}{5} & \frac{27}{5} \\
146
+ 0 & 0 & 1 \\
147
+ \end{array}
148
+ \right) \\
149
+ \end{array}
150
+ \\
151
+
152
+ \begin{array}{l}
153
+ \text{Subtract }\frac{27}{5}\, \times \, \text{(row }3) \text{from }\text{row }2: \\
154
+ \left(
155
+ \begin{array}{ccc}
156
+ 10 & -3 & -6 \\
157
+ 0 & -\frac{19}{5} & 0 \\
158
+ 0 & 0 & 1 \\
159
+ \end{array}
160
+ \right) \\
161
+ \end{array}
162
+ \\
163
+
164
+ \begin{array}{l}
165
+ \text{Add }6\, \times \, \text{(row }3) \text{to }\text{row }1: \\
166
+ \left(
167
+ \begin{array}{ccc}
168
+ 10 & -3 & 0 \\
169
+ 0 & -\frac{19}{5} & 0 \\
170
+ 0 & 0 & 1 \\
171
+ \end{array}
172
+ \right) \\
173
+ \end{array}
174
+ \\
175
+
176
+ \begin{array}{l}
177
+ \text{Multiply }\text{row }2 \text{by }-\frac{5}{19}: \\
178
+ \left(
179
+ \begin{array}{ccc}
180
+ 10 & -3 & 0 \\
181
+ 0 & 1 & 0 \\
182
+ 0 & 0 & 1 \\
183
+ \end{array}
184
+ \right) \\
185
+ \end{array}
186
+ \\
187
+
188
+ \begin{array}{l}
189
+ \text{Add }3\, \times \, \text{(row }2) \text{to }\text{row }1: \\
190
+ \left(
191
+ \begin{array}{ccc}
192
+ 10 & 0 & 0 \\
193
+ 0 & 1 & 0 \\
194
+ 0 & 0 & 1 \\
195
+ \end{array}
196
+ \right) \\
197
+ \end{array}
198
+ \\
199
+
200
+ \begin{array}{l}
201
+ \text{Divide }\text{row }1 \text{by }10: \\
202
+ \left(
203
+ \begin{array}{ccc}
204
+ 1 & 0 & 0 \\
205
+ 0 & 1 & 0 \\
206
+ 0 & 0 & 1 \\
207
+ \end{array}
208
+ \right) \\
209
+ \end{array}
210
+ \\
211
+
212
+ \begin{array}{l}
213
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
214
+ \begin{array}{c}
215
+ x_1 \\
216
+ x_2 \\
217
+ x_3 \\
218
+ \end{array}
219
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
220
+ \begin{array}{ccc}
221
+ 1 & 0 & 0 \\
222
+ 0 & 1 & 0 \\
223
+ 0 & 0 & 1 \\
224
+ \end{array}
225
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
226
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
227
+ \end{array}
228
+ \\
229
+
230
+ \begin{array}{l}
231
+ \text{The }\text{only }\text{value }\text{of }v=\left(
232
+ \begin{array}{c}
233
+ x_1 \\
234
+ x_2 \\
235
+ x_3 \\
236
+ \end{array}
237
+ \right) \text{that }\text{would }\text{make }\left(
238
+ \begin{array}{ccc}
239
+ 1 & 0 & 0 \\
240
+ 0 & 1 & 0 \\
241
+ 0 & 0 & 1 \\
242
+ \end{array}
243
+ \right).\left(
244
+ \begin{array}{c}
245
+ x_1 \\
246
+ x_2 \\
247
+ x_3 \\
248
+ \end{array}
249
+ \right)=\left(
250
+ \begin{array}{c}
251
+ 0 \\
252
+ 0 \\
253
+ 0 \\
254
+ \end{array}
255
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
256
+ \begin{array}{c}
257
+ 0 \\
258
+ 0 \\
259
+ 0 \\
260
+ \end{array}
261
+ \right): \\
262
+ \left(
263
+ \begin{array}{c}
264
+ 0 \\
265
+ 0 \\
266
+ 0 \\
267
+ \end{array}
268
+ \right) \\
269
+ \end{array}
270
+ \\
271
+
272
+ \begin{array}{l}
273
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
274
+ \fbox{$
275
+ \begin{array}{ll}
276
+ \text{Answer:} & \\
277
+ \text{} & \{\, (0,0,0)\, \} \\
278
+ \end{array}
279
+ $} \\
280
+ \end{array}
281
+ \\
282
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/3166.txt ADDED
@@ -0,0 +1,342 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{ccc}
5
+ 3 & -9 & 2 \\
6
+ -8 & -4 & -6 \\
7
+ 6 & 9 & 8 \\
8
+ 8 & -5 & 2 \\
9
+ \end{array}
10
+ \right)$.
11
+ Answer:
12
+ \begin{array}{l}
13
+
14
+ \begin{array}{l}
15
+ \text{Find the null space of the matrix }M: \\
16
+ M=\left(
17
+ \begin{array}{ccc}
18
+ 3 & -9 & 2 \\
19
+ -8 & -4 & -6 \\
20
+ 6 & 9 & 8 \\
21
+ 8 & -5 & 2 \\
22
+ \end{array}
23
+ \right) \\
24
+ \end{array}
25
+ \\
26
+ \hline
27
+
28
+ \begin{array}{l}
29
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
30
+ \begin{array}{ccc}
31
+ 3 & -9 & 2 \\
32
+ -8 & -4 & -6 \\
33
+ 6 & 9 & 8 \\
34
+ 8 & -5 & 2 \\
35
+ \end{array}
36
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
37
+ \begin{array}{c}
38
+ x_1 \\
39
+ x_2 \\
40
+ x_3 \\
41
+ \end{array}
42
+ \right) \text{such }\text{that }M.v=0: \\
43
+ \left(
44
+ \begin{array}{ccc}
45
+ 3 & -9 & 2 \\
46
+ -8 & -4 & -6 \\
47
+ 6 & 9 & 8 \\
48
+ 8 & -5 & 2 \\
49
+ \end{array}
50
+ \right).\left(
51
+ \begin{array}{c}
52
+ x_1 \\
53
+ x_2 \\
54
+ x_3 \\
55
+ \end{array}
56
+ \right)=\left(
57
+ \begin{array}{c}
58
+ 0 \\
59
+ 0 \\
60
+ 0 \\
61
+ 0 \\
62
+ \end{array}
63
+ \right) \\
64
+ \end{array}
65
+ \\
66
+
67
+ \begin{array}{l}
68
+ \text{Reduce }\text{the }\text{matrix }\left(
69
+ \begin{array}{ccc}
70
+ 3 & -9 & 2 \\
71
+ -8 & -4 & -6 \\
72
+ 6 & 9 & 8 \\
73
+ 8 & -5 & 2 \\
74
+ \end{array}
75
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
76
+ \left(
77
+ \begin{array}{ccc}
78
+ 3 & -9 & 2 \\
79
+ -8 & -4 & -6 \\
80
+ 6 & 9 & 8 \\
81
+ 8 & -5 & 2 \\
82
+ \end{array}
83
+ \right) \\
84
+ \end{array}
85
+ \\
86
+
87
+ \begin{array}{l}
88
+ \text{Swap }\text{row }1 \text{with }\text{row }2: \\
89
+ \left(
90
+ \begin{array}{ccc}
91
+ -8 & -4 & -6 \\
92
+ 3 & -9 & 2 \\
93
+ 6 & 9 & 8 \\
94
+ 8 & -5 & 2 \\
95
+ \end{array}
96
+ \right) \\
97
+ \end{array}
98
+ \\
99
+
100
+ \begin{array}{l}
101
+ \text{Add }\frac{3}{8}\, \times \, \text{(row }1) \text{to }\text{row }2: \\
102
+ \left(
103
+ \begin{array}{ccc}
104
+ -8 & -4 & -6 \\
105
+ 0 & -\frac{21}{2} & -\frac{1}{4} \\
106
+ 6 & 9 & 8 \\
107
+ 8 & -5 & 2 \\
108
+ \end{array}
109
+ \right) \\
110
+ \end{array}
111
+ \\
112
+
113
+ \begin{array}{l}
114
+ \text{Add }\frac{3}{4}\, \times \, \text{(row }1) \text{to }\text{row }3: \\
115
+ \left(
116
+ \begin{array}{ccc}
117
+ -8 & -4 & -6 \\
118
+ 0 & -\frac{21}{2} & -\frac{1}{4} \\
119
+ 0 & 6 & \frac{7}{2} \\
120
+ 8 & -5 & 2 \\
121
+ \end{array}
122
+ \right) \\
123
+ \end{array}
124
+ \\
125
+
126
+ \begin{array}{l}
127
+ \text{Add }\text{row }1 \text{to }\text{row }4: \\
128
+ \left(
129
+ \begin{array}{ccc}
130
+ -8 & -4 & -6 \\
131
+ 0 & -\frac{21}{2} & -\frac{1}{4} \\
132
+ 0 & 6 & \frac{7}{2} \\
133
+ 0 & -9 & -4 \\
134
+ \end{array}
135
+ \right) \\
136
+ \end{array}
137
+ \\
138
+
139
+ \begin{array}{l}
140
+ \text{Add }\frac{4}{7}\, \times \, \text{(row }2) \text{to }\text{row }3: \\
141
+ \left(
142
+ \begin{array}{ccc}
143
+ -8 & -4 & -6 \\
144
+ 0 & -\frac{21}{2} & -\frac{1}{4} \\
145
+ 0 & 0 & \frac{47}{14} \\
146
+ 0 & -9 & -4 \\
147
+ \end{array}
148
+ \right) \\
149
+ \end{array}
150
+ \\
151
+
152
+ \begin{array}{l}
153
+ \text{Subtract }\frac{6}{7}\, \times \, \text{(row }2) \text{from }\text{row }4: \\
154
+ \left(
155
+ \begin{array}{ccc}
156
+ -8 & -4 & -6 \\
157
+ 0 & -\frac{21}{2} & -\frac{1}{4} \\
158
+ 0 & 0 & \frac{47}{14} \\
159
+ 0 & 0 & -\frac{53}{14} \\
160
+ \end{array}
161
+ \right) \\
162
+ \end{array}
163
+ \\
164
+
165
+ \begin{array}{l}
166
+ \text{Swap }\text{row }3 \text{with }\text{row }4: \\
167
+ \left(
168
+ \begin{array}{ccc}
169
+ -8 & -4 & -6 \\
170
+ 0 & -\frac{21}{2} & -\frac{1}{4} \\
171
+ 0 & 0 & -\frac{53}{14} \\
172
+ 0 & 0 & \frac{47}{14} \\
173
+ \end{array}
174
+ \right) \\
175
+ \end{array}
176
+ \\
177
+
178
+ \begin{array}{l}
179
+ \text{Add }\frac{47}{53}\, \times \, \text{(row }3) \text{to }\text{row }4: \\
180
+ \left(
181
+ \begin{array}{ccc}
182
+ -8 & -4 & -6 \\
183
+ 0 & -\frac{21}{2} & -\frac{1}{4} \\
184
+ 0 & 0 & -\frac{53}{14} \\
185
+ 0 & 0 & 0 \\
186
+ \end{array}
187
+ \right) \\
188
+ \end{array}
189
+ \\
190
+
191
+ \begin{array}{l}
192
+ \text{Multiply }\text{row }3 \text{by }-\frac{14}{53}: \\
193
+ \left(
194
+ \begin{array}{ccc}
195
+ -8 & -4 & -6 \\
196
+ 0 & -\frac{21}{2} & -\frac{1}{4} \\
197
+ 0 & 0 & 1 \\
198
+ 0 & 0 & 0 \\
199
+ \end{array}
200
+ \right) \\
201
+ \end{array}
202
+ \\
203
+
204
+ \begin{array}{l}
205
+ \text{Add }\frac{1}{4}\, \times \, \text{(row }3) \text{to }\text{row }2: \\
206
+ \left(
207
+ \begin{array}{ccc}
208
+ -8 & -4 & -6 \\
209
+ 0 & -\frac{21}{2} & 0 \\
210
+ 0 & 0 & 1 \\
211
+ 0 & 0 & 0 \\
212
+ \end{array}
213
+ \right) \\
214
+ \end{array}
215
+ \\
216
+
217
+ \begin{array}{l}
218
+ \text{Add }6\, \times \, \text{(row }3) \text{to }\text{row }1: \\
219
+ \left(
220
+ \begin{array}{ccc}
221
+ -8 & -4 & 0 \\
222
+ 0 & -\frac{21}{2} & 0 \\
223
+ 0 & 0 & 1 \\
224
+ 0 & 0 & 0 \\
225
+ \end{array}
226
+ \right) \\
227
+ \end{array}
228
+ \\
229
+
230
+ \begin{array}{l}
231
+ \text{Multiply }\text{row }2 \text{by }-\frac{2}{21}: \\
232
+ \left(
233
+ \begin{array}{ccc}
234
+ -8 & -4 & 0 \\
235
+ 0 & 1 & 0 \\
236
+ 0 & 0 & 1 \\
237
+ 0 & 0 & 0 \\
238
+ \end{array}
239
+ \right) \\
240
+ \end{array}
241
+ \\
242
+
243
+ \begin{array}{l}
244
+ \text{Add }4\, \times \, \text{(row }2) \text{to }\text{row }1: \\
245
+ \left(
246
+ \begin{array}{ccc}
247
+ -8 & 0 & 0 \\
248
+ 0 & 1 & 0 \\
249
+ 0 & 0 & 1 \\
250
+ 0 & 0 & 0 \\
251
+ \end{array}
252
+ \right) \\
253
+ \end{array}
254
+ \\
255
+
256
+ \begin{array}{l}
257
+ \text{Divide }\text{row }1 \text{by }-8: \\
258
+ \left(
259
+ \begin{array}{ccc}
260
+ 1 & 0 & 0 \\
261
+ 0 & 1 & 0 \\
262
+ 0 & 0 & 1 \\
263
+ 0 & 0 & 0 \\
264
+ \end{array}
265
+ \right) \\
266
+ \end{array}
267
+ \\
268
+
269
+ \begin{array}{l}
270
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
271
+ \begin{array}{c}
272
+ x_1 \\
273
+ x_2 \\
274
+ x_3 \\
275
+ \end{array}
276
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
277
+ \begin{array}{ccc}
278
+ 1 & 0 & 0 \\
279
+ 0 & 1 & 0 \\
280
+ 0 & 0 & 1 \\
281
+ 0 & 0 & 0 \\
282
+ \end{array}
283
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
284
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
285
+ \end{array}
286
+ \\
287
+
288
+ \begin{array}{l}
289
+ \text{The }\text{only }\text{value }\text{of }v=\left(
290
+ \begin{array}{c}
291
+ x_1 \\
292
+ x_2 \\
293
+ x_3 \\
294
+ \end{array}
295
+ \right) \text{that }\text{would }\text{make }\left(
296
+ \begin{array}{ccc}
297
+ 1 & 0 & 0 \\
298
+ 0 & 1 & 0 \\
299
+ 0 & 0 & 1 \\
300
+ 0 & 0 & 0 \\
301
+ \end{array}
302
+ \right).\left(
303
+ \begin{array}{c}
304
+ x_1 \\
305
+ x_2 \\
306
+ x_3 \\
307
+ \end{array}
308
+ \right)=\left(
309
+ \begin{array}{c}
310
+ 0 \\
311
+ 0 \\
312
+ 0 \\
313
+ 0 \\
314
+ \end{array}
315
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
316
+ \begin{array}{c}
317
+ 0 \\
318
+ 0 \\
319
+ 0 \\
320
+ \end{array}
321
+ \right): \\
322
+ \left(
323
+ \begin{array}{c}
324
+ 0 \\
325
+ 0 \\
326
+ 0 \\
327
+ \end{array}
328
+ \right) \\
329
+ \end{array}
330
+ \\
331
+
332
+ \begin{array}{l}
333
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
334
+ \fbox{$
335
+ \begin{array}{ll}
336
+ \text{Answer:} & \\
337
+ \text{} & \{\, (0,0,0)\, \} \\
338
+ \end{array}
339
+ $} \\
340
+ \end{array}
341
+ \\
342
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/3230.txt ADDED
@@ -0,0 +1,275 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cccc}
5
+ 6 & 3 & -10 & -6 \\
6
+ -1 & 4 & 8 & 4 \\
7
+ \end{array}
8
+ \right)$.
9
+ Answer:
10
+ \begin{array}{l}
11
+
12
+ \begin{array}{l}
13
+ \text{Find the null space of the matrix }M: \\
14
+ M=\left(
15
+ \begin{array}{cccc}
16
+ 6 & 3 & -10 & -6 \\
17
+ -1 & 4 & 8 & 4 \\
18
+ \end{array}
19
+ \right) \\
20
+ \end{array}
21
+ \\
22
+ \hline
23
+
24
+ \begin{array}{l}
25
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
26
+ \begin{array}{cccc}
27
+ 6 & 3 & -10 & -6 \\
28
+ -1 & 4 & 8 & 4 \\
29
+ \end{array}
30
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
31
+ \begin{array}{c}
32
+ x_1 \\
33
+ x_2 \\
34
+ x_3 \\
35
+ x_4 \\
36
+ \end{array}
37
+ \right) \text{such }\text{that }M.v=0: \\
38
+ \left(
39
+ \begin{array}{cccc}
40
+ 6 & 3 & -10 & -6 \\
41
+ -1 & 4 & 8 & 4 \\
42
+ \end{array}
43
+ \right).\left(
44
+ \begin{array}{c}
45
+ x_1 \\
46
+ x_2 \\
47
+ x_3 \\
48
+ x_4 \\
49
+ \end{array}
50
+ \right)=\left(
51
+ \begin{array}{c}
52
+ 0 \\
53
+ 0 \\
54
+ \end{array}
55
+ \right) \\
56
+ \end{array}
57
+ \\
58
+
59
+ \begin{array}{l}
60
+ \text{Reduce }\text{the }\text{matrix }\left(
61
+ \begin{array}{cccc}
62
+ 6 & 3 & -10 & -6 \\
63
+ -1 & 4 & 8 & 4 \\
64
+ \end{array}
65
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
66
+ \left(
67
+ \begin{array}{cccc}
68
+ 6 & 3 & -10 & -6 \\
69
+ -1 & 4 & 8 & 4 \\
70
+ \end{array}
71
+ \right) \\
72
+ \end{array}
73
+ \\
74
+
75
+ \begin{array}{l}
76
+ \text{Swap }\text{row }1 \text{with }\text{row }2: \\
77
+ \left(
78
+ \begin{array}{cccc}
79
+ -1 & 4 & 8 & 4 \\
80
+ 6 & 3 & -10 & -6 \\
81
+ \end{array}
82
+ \right) \\
83
+ \end{array}
84
+ \\
85
+
86
+ \begin{array}{l}
87
+ \text{Add }6\, \times \, \text{(row }1) \text{to }\text{row }2: \\
88
+ \left(
89
+ \begin{array}{cccc}
90
+ -1 & 4 & 8 & 4 \\
91
+ 0 & 27 & 38 & 18 \\
92
+ \end{array}
93
+ \right) \\
94
+ \end{array}
95
+ \\
96
+
97
+ \begin{array}{l}
98
+ \text{Divide }\text{row }2 \text{by }27: \\
99
+ \left(
100
+ \begin{array}{cccc}
101
+ -1 & 4 & 8 & 4 \\
102
+ 0 & 1 & \frac{38}{27} & \frac{2}{3} \\
103
+ \end{array}
104
+ \right) \\
105
+ \end{array}
106
+ \\
107
+
108
+ \begin{array}{l}
109
+ \text{Subtract }4\, \times \, \text{(row }2) \text{from }\text{row }1: \\
110
+ \left(
111
+ \begin{array}{cccc}
112
+ -1 & 0 & \frac{64}{27} & \frac{4}{3} \\
113
+ 0 & 1 & \frac{38}{27} & \frac{2}{3} \\
114
+ \end{array}
115
+ \right) \\
116
+ \end{array}
117
+ \\
118
+
119
+ \begin{array}{l}
120
+ \text{Multiply }\text{row }1 \text{by }-1: \\
121
+ \left(
122
+ \begin{array}{cccc}
123
+ 1 & 0 & -\frac{64}{27} & -\frac{4}{3} \\
124
+ 0 & 1 & \frac{38}{27} & \frac{2}{3} \\
125
+ \end{array}
126
+ \right) \\
127
+ \end{array}
128
+ \\
129
+
130
+ \begin{array}{l}
131
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
132
+ \begin{array}{c}
133
+ x_1 \\
134
+ x_2 \\
135
+ x_3 \\
136
+ x_4 \\
137
+ \end{array}
138
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
139
+ \begin{array}{cccc}
140
+ 1 & 0 & -\frac{64}{27} & -\frac{4}{3} \\
141
+ 0 & 1 & \frac{38}{27} & \frac{2}{3} \\
142
+ \end{array}
143
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
144
+ \text{Columns }3 \text{and }4 \text{are }\text{the }\text{only }\text{columns }\text{with }\text{no }\text{pivot, }\text{so }\text{we }\text{may }\text{take }x_3 \text{and }x_4 \text{to }\text{be }\text{the }\text{only }\text{free }\text{variables} \\
145
+ \end{array}
146
+ \\
147
+
148
+ \begin{array}{l}
149
+ \text{Multiply }\text{out }\text{the }\text{reduced }\text{matrix }\left(
150
+ \begin{array}{cccc}
151
+ 1 & 0 & -\frac{64}{27} & -\frac{4}{3} \\
152
+ 0 & 1 & \frac{38}{27} & \frac{2}{3} \\
153
+ \end{array}
154
+ \right) \text{with }\text{the }\text{proposed }\text{solution }\text{vector }\left(
155
+ \begin{array}{c}
156
+ x_1 \\
157
+ x_2 \\
158
+ x_3 \\
159
+ x_4 \\
160
+ \end{array}
161
+ \right): \\
162
+ \left(
163
+ \begin{array}{cccc}
164
+ 1 & 0 & -\frac{64}{27} & -\frac{4}{3} \\
165
+ 0 & 1 & \frac{38}{27} & \frac{2}{3} \\
166
+ \end{array}
167
+ \right).\left(
168
+ \begin{array}{c}
169
+ x_1 \\
170
+ x_2 \\
171
+ x_3 \\
172
+ x_4 \\
173
+ \end{array}
174
+ \right)=\left(
175
+ \begin{array}{c}
176
+ x_1-\frac{64 x_3}{27}-\frac{4 x_4}{3} \\
177
+ x_2+\frac{38 x_3}{27}+\frac{2 x_4}{3} \\
178
+ \end{array}
179
+ \right)=\left(
180
+ \begin{array}{c}
181
+ 0 \\
182
+ 0 \\
183
+ \end{array}
184
+ \right) \\
185
+ \end{array}
186
+ \\
187
+
188
+ \begin{array}{l}
189
+ \text{Solve }\text{the }\text{equations }\{
190
+ \begin{array}{l}
191
+ x_1-\frac{64 x_3}{27}-\frac{4 x_4}{3}=0 \\
192
+ x_2+\frac{38 x_3}{27}+\frac{2 x_4}{3}=0 \\
193
+ \end{array}
194
+ \text{for }x_1 \text{and }x_2: \\
195
+ \{
196
+ \begin{array}{l}
197
+ x_1=\frac{64 x_3}{27}+\frac{4 x_4}{3} \\
198
+ x_2=-\frac{38 x_3}{27}-\frac{2 x_4}{3} \\
199
+ \end{array}
200
+ \\
201
+ \end{array}
202
+ \\
203
+
204
+ \begin{array}{l}
205
+ \text{Rewrite }v \text{in }\text{terms }\text{of }\text{the }\text{free }\text{variables }x_3 \text{and }x_4, \text{and }\text{assign }\text{arbitrary }\text{real }\text{values }\text{of }x \text{and }y \text{to }\text{the }\text{variables}: \\
206
+ v=\left(
207
+ \begin{array}{c}
208
+ x_1 \\
209
+ x_2 \\
210
+ x_3 \\
211
+ x_4 \\
212
+ \end{array}
213
+ \right)=\left(
214
+ \begin{array}{c}
215
+ \frac{64 x_3}{27}+\frac{4 x_4}{3} \\
216
+ -\frac{38 x_3}{27}-\frac{2 x_4}{3} \\
217
+ x_3 \\
218
+ x_4 \\
219
+ \end{array}
220
+ \right)=\left(
221
+ \begin{array}{c}
222
+ \frac{4 y}{3}+\frac{64 x}{27} \\
223
+ -\frac{2 y}{3}-\frac{38 x}{27} \\
224
+ x \\
225
+ y \\
226
+ \end{array}
227
+ \right)\text{ for }x,y\in \mathbb{R} \\
228
+ \end{array}
229
+ \\
230
+
231
+ \begin{array}{l}
232
+ \text{Since }\text{the }\text{variables }x \text{and }y \text{are }\text{taken }\text{from }\mathbb{R}, \text{we }\text{can }\text{replace }\text{them }\text{with }27 x \text{and }3 y \text{respectively}: \\
233
+ \left(
234
+ \begin{array}{c}
235
+ \frac{4 y}{3}+\frac{64 x}{27} \\
236
+ -\frac{2 y}{3}-\frac{38 x}{27} \\
237
+ x \\
238
+ y \\
239
+ \end{array}
240
+ \right)\, \rightarrow \, \left(
241
+ \begin{array}{c}
242
+ \frac{4 (3 y)}{3}+\frac{64 (27 x)}{27} \\
243
+ -\frac{2}{3} (3 y)-\frac{38 (27 x)}{27} \\
244
+ 27 x \\
245
+ 3 y \\
246
+ \end{array}
247
+ \right)=\left(
248
+ \begin{array}{c}
249
+ 4 y+64 x \\
250
+ -2 y-38 x \\
251
+ 27 x \\
252
+ 3 y \\
253
+ \end{array}
254
+ \right)\text{ for }x,y\in \mathbb{R} \\
255
+ \end{array}
256
+ \\
257
+
258
+ \begin{array}{l}
259
+ \text{Rewrite }\text{the }\text{solution }\text{vector }v=\left(
260
+ \begin{array}{c}
261
+ 4 y+64 x \\
262
+ -2 y-38 x \\
263
+ 27 x \\
264
+ 3 y \\
265
+ \end{array}
266
+ \right) \text{in }\text{set }\text{notation}: \\
267
+ \fbox{$
268
+ \begin{array}{ll}
269
+ \text{Answer:} & \\
270
+ \text{} & \{\, (4 y+64 x,-2 y-38 x,27 x,3 y)\, \text{$\, $: }x,y\in \mathbb{R}\} \\
271
+ \end{array}
272
+ $} \\
273
+ \end{array}
274
+ \\
275
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/327.txt ADDED
@@ -0,0 +1,354 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cccc}
5
+ 10 & 2 & -4 & -3 \\
6
+ -1 & -4 & -4 & -1 \\
7
+ 7 & -5 & 0 & 5 \\
8
+ \end{array}
9
+ \right)$.
10
+ Answer:
11
+ \begin{array}{l}
12
+
13
+ \begin{array}{l}
14
+ \text{Find the null space of the matrix }M: \\
15
+ M=\left(
16
+ \begin{array}{cccc}
17
+ 10 & 2 & -4 & -3 \\
18
+ -1 & -4 & -4 & -1 \\
19
+ 7 & -5 & 0 & 5 \\
20
+ \end{array}
21
+ \right) \\
22
+ \end{array}
23
+ \\
24
+ \hline
25
+
26
+ \begin{array}{l}
27
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
28
+ \begin{array}{cccc}
29
+ 10 & 2 & -4 & -3 \\
30
+ -1 & -4 & -4 & -1 \\
31
+ 7 & -5 & 0 & 5 \\
32
+ \end{array}
33
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
34
+ \begin{array}{c}
35
+ x_1 \\
36
+ x_2 \\
37
+ x_3 \\
38
+ x_4 \\
39
+ \end{array}
40
+ \right) \text{such }\text{that }M.v=0: \\
41
+ \left(
42
+ \begin{array}{cccc}
43
+ 10 & 2 & -4 & -3 \\
44
+ -1 & -4 & -4 & -1 \\
45
+ 7 & -5 & 0 & 5 \\
46
+ \end{array}
47
+ \right).\left(
48
+ \begin{array}{c}
49
+ x_1 \\
50
+ x_2 \\
51
+ x_3 \\
52
+ x_4 \\
53
+ \end{array}
54
+ \right)=\left(
55
+ \begin{array}{c}
56
+ 0 \\
57
+ 0 \\
58
+ 0 \\
59
+ \end{array}
60
+ \right) \\
61
+ \end{array}
62
+ \\
63
+
64
+ \begin{array}{l}
65
+ \text{Reduce }\text{the }\text{matrix }\left(
66
+ \begin{array}{cccc}
67
+ 10 & 2 & -4 & -3 \\
68
+ -1 & -4 & -4 & -1 \\
69
+ 7 & -5 & 0 & 5 \\
70
+ \end{array}
71
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
72
+ \left(
73
+ \begin{array}{cccc}
74
+ 10 & 2 & -4 & -3 \\
75
+ -1 & -4 & -4 & -1 \\
76
+ 7 & -5 & 0 & 5 \\
77
+ \end{array}
78
+ \right) \\
79
+ \end{array}
80
+ \\
81
+
82
+ \begin{array}{l}
83
+ \text{Swap }\text{row }1 \text{with }\text{row }2: \\
84
+ \left(
85
+ \begin{array}{cccc}
86
+ -1 & -4 & -4 & -1 \\
87
+ 10 & 2 & -4 & -3 \\
88
+ 7 & -5 & 0 & 5 \\
89
+ \end{array}
90
+ \right) \\
91
+ \end{array}
92
+ \\
93
+
94
+ \begin{array}{l}
95
+ \text{Add }10\, \times \, \text{(row }1) \text{to }\text{row }2: \\
96
+ \left(
97
+ \begin{array}{cccc}
98
+ -1 & -4 & -4 & -1 \\
99
+ 0 & -38 & -44 & -13 \\
100
+ 7 & -5 & 0 & 5 \\
101
+ \end{array}
102
+ \right) \\
103
+ \end{array}
104
+ \\
105
+
106
+ \begin{array}{l}
107
+ \text{Add }7\, \times \, \text{(row }1) \text{to }\text{row }3: \\
108
+ \left(
109
+ \begin{array}{cccc}
110
+ -1 & -4 & -4 & -1 \\
111
+ 0 & -38 & -44 & -13 \\
112
+ 0 & -33 & -28 & -2 \\
113
+ \end{array}
114
+ \right) \\
115
+ \end{array}
116
+ \\
117
+
118
+ \begin{array}{l}
119
+ \text{Subtract }\frac{33}{38}\, \times \, \text{(row }2) \text{from }\text{row }3: \\
120
+ \left(
121
+ \begin{array}{cccc}
122
+ -1 & -4 & -4 & -1 \\
123
+ 0 & -38 & -44 & -13 \\
124
+ 0 & 0 & \frac{194}{19} & \frac{353}{38} \\
125
+ \end{array}
126
+ \right) \\
127
+ \end{array}
128
+ \\
129
+
130
+ \begin{array}{l}
131
+ \text{Multiply }\text{row }3 \text{by }\frac{19}{194}: \\
132
+ \left(
133
+ \begin{array}{cccc}
134
+ -1 & -4 & -4 & -1 \\
135
+ 0 & -38 & -44 & -13 \\
136
+ 0 & 0 & 1 & \frac{353}{388} \\
137
+ \end{array}
138
+ \right) \\
139
+ \end{array}
140
+ \\
141
+
142
+ \begin{array}{l}
143
+ \text{Add }44\, \times \, \text{(row }3) \text{to }\text{row }2: \\
144
+ \left(
145
+ \begin{array}{cccc}
146
+ -1 & -4 & -4 & -1 \\
147
+ 0 & -38 & 0 & \frac{2622}{97} \\
148
+ 0 & 0 & 1 & \frac{353}{388} \\
149
+ \end{array}
150
+ \right) \\
151
+ \end{array}
152
+ \\
153
+
154
+ \begin{array}{l}
155
+ \text{Add }4\, \times \, \text{(row }3) \text{to }\text{row }1: \\
156
+ \left(
157
+ \begin{array}{cccc}
158
+ -1 & -4 & 0 & \frac{256}{97} \\
159
+ 0 & -38 & 0 & \frac{2622}{97} \\
160
+ 0 & 0 & 1 & \frac{353}{388} \\
161
+ \end{array}
162
+ \right) \\
163
+ \end{array}
164
+ \\
165
+
166
+ \begin{array}{l}
167
+ \text{Divide }\text{row }2 \text{by }-38: \\
168
+ \left(
169
+ \begin{array}{cccc}
170
+ -1 & -4 & 0 & \frac{256}{97} \\
171
+ 0 & 1 & 0 & -\frac{69}{97} \\
172
+ 0 & 0 & 1 & \frac{353}{388} \\
173
+ \end{array}
174
+ \right) \\
175
+ \end{array}
176
+ \\
177
+
178
+ \begin{array}{l}
179
+ \text{Add }4\, \times \, \text{(row }2) \text{to }\text{row }1: \\
180
+ \left(
181
+ \begin{array}{cccc}
182
+ -1 & 0 & 0 & -\frac{20}{97} \\
183
+ 0 & 1 & 0 & -\frac{69}{97} \\
184
+ 0 & 0 & 1 & \frac{353}{388} \\
185
+ \end{array}
186
+ \right) \\
187
+ \end{array}
188
+ \\
189
+
190
+ \begin{array}{l}
191
+ \text{Multiply }\text{row }1 \text{by }-1: \\
192
+ \left(
193
+ \begin{array}{cccc}
194
+ 1 & 0 & 0 & \frac{20}{97} \\
195
+ 0 & 1 & 0 & -\frac{69}{97} \\
196
+ 0 & 0 & 1 & \frac{353}{388} \\
197
+ \end{array}
198
+ \right) \\
199
+ \end{array}
200
+ \\
201
+
202
+ \begin{array}{l}
203
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
204
+ \begin{array}{c}
205
+ x_1 \\
206
+ x_2 \\
207
+ x_3 \\
208
+ x_4 \\
209
+ \end{array}
210
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
211
+ \begin{array}{cccc}
212
+ 1 & 0 & 0 & \frac{20}{97} \\
213
+ 0 & 1 & 0 & -\frac{69}{97} \\
214
+ 0 & 0 & 1 & \frac{353}{388} \\
215
+ \end{array}
216
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
217
+ \text{Column }4 \text{is }\text{the }\text{only }\text{column }\text{with }\text{no }\text{pivot, }\text{so }\text{we }\text{may }\text{take }x_4 \text{to }\text{be }\text{the }\text{only }\text{free }\text{variable} \\
218
+ \end{array}
219
+ \\
220
+
221
+ \begin{array}{l}
222
+ \text{Multiply }\text{out }\text{the }\text{reduced }\text{matrix }\left(
223
+ \begin{array}{cccc}
224
+ 1 & 0 & 0 & \frac{20}{97} \\
225
+ 0 & 1 & 0 & -\frac{69}{97} \\
226
+ 0 & 0 & 1 & \frac{353}{388} \\
227
+ \end{array}
228
+ \right) \text{with }\text{the }\text{proposed }\text{solution }\text{vector }\left(
229
+ \begin{array}{c}
230
+ x_1 \\
231
+ x_2 \\
232
+ x_3 \\
233
+ x_4 \\
234
+ \end{array}
235
+ \right): \\
236
+ \left(
237
+ \begin{array}{cccc}
238
+ 1 & 0 & 0 & \frac{20}{97} \\
239
+ 0 & 1 & 0 & -\frac{69}{97} \\
240
+ 0 & 0 & 1 & \frac{353}{388} \\
241
+ \end{array}
242
+ \right).\left(
243
+ \begin{array}{c}
244
+ x_1 \\
245
+ x_2 \\
246
+ x_3 \\
247
+ x_4 \\
248
+ \end{array}
249
+ \right)=\left(
250
+ \begin{array}{c}
251
+ x_1+\frac{20 x_4}{97} \\
252
+ x_2-\frac{69 x_4}{97} \\
253
+ x_3+\frac{353 x_4}{388} \\
254
+ \end{array}
255
+ \right)=\left(
256
+ \begin{array}{c}
257
+ 0 \\
258
+ 0 \\
259
+ 0 \\
260
+ \end{array}
261
+ \right) \\
262
+ \end{array}
263
+ \\
264
+
265
+ \begin{array}{l}
266
+ \text{Solve }\text{the }\text{equations }\{
267
+ \begin{array}{l}
268
+ x_1+\frac{20 x_4}{97}=0 \\
269
+ x_2-\frac{69 x_4}{97}=0 \\
270
+ x_3+\frac{353 x_4}{388}=0 \\
271
+ \end{array}
272
+ \text{for }x_1,x_2 \text{and }x_3: \\
273
+ \{
274
+ \begin{array}{l}
275
+ x_1=-\frac{20 x_4}{97} \\
276
+ x_2=\frac{69 x_4}{97} \\
277
+ x_3=-\frac{353 x_4}{388} \\
278
+ \end{array}
279
+ \\
280
+ \end{array}
281
+ \\
282
+
283
+ \begin{array}{l}
284
+ \text{Rewrite }v \text{in }\text{terms }\text{of }\text{the }\text{free }\text{variable }x_4, \text{and }\text{assign }\text{it }\text{an }\text{arbitrary }\text{real }\text{value }\text{of }x: \\
285
+ v=\left(
286
+ \begin{array}{c}
287
+ x_1 \\
288
+ x_2 \\
289
+ x_3 \\
290
+ x_4 \\
291
+ \end{array}
292
+ \right)=\left(
293
+ \begin{array}{c}
294
+ -\frac{20 x_4}{97} \\
295
+ \frac{69 x_4}{97} \\
296
+ -\frac{353 x_4}{388} \\
297
+ x_4 \\
298
+ \end{array}
299
+ \right)=\left(
300
+ \begin{array}{c}
301
+ -\frac{20 x}{97} \\
302
+ \frac{69 x}{97} \\
303
+ -\frac{353 x}{388} \\
304
+ x \\
305
+ \end{array}
306
+ \right)\text{ for }x\in \mathbb{R} \\
307
+ \end{array}
308
+ \\
309
+
310
+ \begin{array}{l}
311
+ \text{Since }x \text{is }\text{taken }\text{from }\mathbb{R}, \text{we }\text{can }\text{replace }\text{it }\text{with }388 x: \\
312
+ \left(
313
+ \begin{array}{c}
314
+ -\frac{20 x}{97} \\
315
+ \frac{69 x}{97} \\
316
+ -\frac{353 x}{388} \\
317
+ x \\
318
+ \end{array}
319
+ \right)\, \rightarrow \, \left(
320
+ \begin{array}{c}
321
+ -\frac{20}{97} (388 x) \\
322
+ \frac{69 (388 x)}{97} \\
323
+ -\frac{353}{388} (388 x) \\
324
+ 388 x \\
325
+ \end{array}
326
+ \right)=\left(
327
+ \begin{array}{c}
328
+ -80 x \\
329
+ 276 x \\
330
+ -353 x \\
331
+ 388 x \\
332
+ \end{array}
333
+ \right)\text{ for }x\in \mathbb{R} \\
334
+ \end{array}
335
+ \\
336
+
337
+ \begin{array}{l}
338
+ \text{Rewrite }\text{the }\text{solution }\text{vector }v=\left(
339
+ \begin{array}{c}
340
+ -80 x \\
341
+ 276 x \\
342
+ -353 x \\
343
+ 388 x \\
344
+ \end{array}
345
+ \right) \text{in }\text{set }\text{notation}: \\
346
+ \fbox{$
347
+ \begin{array}{ll}
348
+ \text{Answer:} & \\
349
+ \text{} & \{\, (-80 x,276 x,-353 x,388 x)\, \text{$\, $: }x\in \mathbb{R}\} \\
350
+ \end{array}
351
+ $} \\
352
+ \end{array}
353
+ \\
354
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/3287.txt ADDED
@@ -0,0 +1,401 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cccc}
5
+ -5 & 8 & 3 & 10 \\
6
+ -7 & -1 & -1 & 10 \\
7
+ -1 & 10 & 3 & 1 \\
8
+ 1 & 1 & 10 & -2 \\
9
+ \end{array}
10
+ \right)$.
11
+ Answer:
12
+ \begin{array}{l}
13
+
14
+ \begin{array}{l}
15
+ \text{Find the null space of the matrix }M: \\
16
+ M=\left(
17
+ \begin{array}{cccc}
18
+ -5 & 8 & 3 & 10 \\
19
+ -7 & -1 & -1 & 10 \\
20
+ -1 & 10 & 3 & 1 \\
21
+ 1 & 1 & 10 & -2 \\
22
+ \end{array}
23
+ \right) \\
24
+ \end{array}
25
+ \\
26
+ \hline
27
+
28
+ \begin{array}{l}
29
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
30
+ \begin{array}{cccc}
31
+ -5 & 8 & 3 & 10 \\
32
+ -7 & -1 & -1 & 10 \\
33
+ -1 & 10 & 3 & 1 \\
34
+ 1 & 1 & 10 & -2 \\
35
+ \end{array}
36
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
37
+ \begin{array}{c}
38
+ x_1 \\
39
+ x_2 \\
40
+ x_3 \\
41
+ x_4 \\
42
+ \end{array}
43
+ \right) \text{such }\text{that }M.v=0: \\
44
+ \left(
45
+ \begin{array}{cccc}
46
+ -5 & 8 & 3 & 10 \\
47
+ -7 & -1 & -1 & 10 \\
48
+ -1 & 10 & 3 & 1 \\
49
+ 1 & 1 & 10 & -2 \\
50
+ \end{array}
51
+ \right).\left(
52
+ \begin{array}{c}
53
+ x_1 \\
54
+ x_2 \\
55
+ x_3 \\
56
+ x_4 \\
57
+ \end{array}
58
+ \right)=\left(
59
+ \begin{array}{c}
60
+ 0 \\
61
+ 0 \\
62
+ 0 \\
63
+ 0 \\
64
+ \end{array}
65
+ \right) \\
66
+ \end{array}
67
+ \\
68
+
69
+ \begin{array}{l}
70
+ \text{Reduce }\text{the }\text{matrix }\left(
71
+ \begin{array}{cccc}
72
+ -5 & 8 & 3 & 10 \\
73
+ -7 & -1 & -1 & 10 \\
74
+ -1 & 10 & 3 & 1 \\
75
+ 1 & 1 & 10 & -2 \\
76
+ \end{array}
77
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
78
+ \left(
79
+ \begin{array}{cccc}
80
+ -5 & 8 & 3 & 10 \\
81
+ -7 & -1 & -1 & 10 \\
82
+ -1 & 10 & 3 & 1 \\
83
+ 1 & 1 & 10 & -2 \\
84
+ \end{array}
85
+ \right) \\
86
+ \end{array}
87
+ \\
88
+
89
+ \begin{array}{l}
90
+ \text{Swap }\text{row }1 \text{with }\text{row }3: \\
91
+ \left(
92
+ \begin{array}{cccc}
93
+ -1 & 10 & 3 & 1 \\
94
+ -7 & -1 & -1 & 10 \\
95
+ -5 & 8 & 3 & 10 \\
96
+ 1 & 1 & 10 & -2 \\
97
+ \end{array}
98
+ \right) \\
99
+ \end{array}
100
+ \\
101
+
102
+ \begin{array}{l}
103
+ \text{Subtract }7\, \times \, \text{(row }1) \text{from }\text{row }2: \\
104
+ \left(
105
+ \begin{array}{cccc}
106
+ -1 & 10 & 3 & 1 \\
107
+ 0 & -71 & -22 & 3 \\
108
+ -5 & 8 & 3 & 10 \\
109
+ 1 & 1 & 10 & -2 \\
110
+ \end{array}
111
+ \right) \\
112
+ \end{array}
113
+ \\
114
+
115
+ \begin{array}{l}
116
+ \text{Subtract }5\, \times \, \text{(row }1) \text{from }\text{row }3: \\
117
+ \left(
118
+ \begin{array}{cccc}
119
+ -1 & 10 & 3 & 1 \\
120
+ 0 & -71 & -22 & 3 \\
121
+ 0 & -42 & -12 & 5 \\
122
+ 1 & 1 & 10 & -2 \\
123
+ \end{array}
124
+ \right) \\
125
+ \end{array}
126
+ \\
127
+
128
+ \begin{array}{l}
129
+ \text{Add }\text{row }1 \text{to }\text{row }4: \\
130
+ \left(
131
+ \begin{array}{cccc}
132
+ -1 & 10 & 3 & 1 \\
133
+ 0 & -71 & -22 & 3 \\
134
+ 0 & -42 & -12 & 5 \\
135
+ 0 & 11 & 13 & -1 \\
136
+ \end{array}
137
+ \right) \\
138
+ \end{array}
139
+ \\
140
+
141
+ \begin{array}{l}
142
+ \text{Subtract }\frac{42}{71}\, \times \, \text{(row }2) \text{from }\text{row }3: \\
143
+ \left(
144
+ \begin{array}{cccc}
145
+ -1 & 10 & 3 & 1 \\
146
+ 0 & -71 & -22 & 3 \\
147
+ 0 & 0 & \frac{72}{71} & \frac{229}{71} \\
148
+ 0 & 11 & 13 & -1 \\
149
+ \end{array}
150
+ \right) \\
151
+ \end{array}
152
+ \\
153
+
154
+ \begin{array}{l}
155
+ \text{Add }\frac{11}{71}\, \times \, \text{(row }2) \text{to }\text{row }4: \\
156
+ \left(
157
+ \begin{array}{cccc}
158
+ -1 & 10 & 3 & 1 \\
159
+ 0 & -71 & -22 & 3 \\
160
+ 0 & 0 & \frac{72}{71} & \frac{229}{71} \\
161
+ 0 & 0 & \frac{681}{71} & -\frac{38}{71} \\
162
+ \end{array}
163
+ \right) \\
164
+ \end{array}
165
+ \\
166
+
167
+ \begin{array}{l}
168
+ \text{Swap }\text{row }3 \text{with }\text{row }4: \\
169
+ \left(
170
+ \begin{array}{cccc}
171
+ -1 & 10 & 3 & 1 \\
172
+ 0 & -71 & -22 & 3 \\
173
+ 0 & 0 & \frac{681}{71} & -\frac{38}{71} \\
174
+ 0 & 0 & \frac{72}{71} & \frac{229}{71} \\
175
+ \end{array}
176
+ \right) \\
177
+ \end{array}
178
+ \\
179
+
180
+ \begin{array}{l}
181
+ \text{Subtract }\frac{24}{227}\, \times \, \text{(row }3) \text{from }\text{row }4: \\
182
+ \left(
183
+ \begin{array}{cccc}
184
+ -1 & 10 & 3 & 1 \\
185
+ 0 & -71 & -22 & 3 \\
186
+ 0 & 0 & \frac{681}{71} & -\frac{38}{71} \\
187
+ 0 & 0 & 0 & \frac{745}{227} \\
188
+ \end{array}
189
+ \right) \\
190
+ \end{array}
191
+ \\
192
+
193
+ \begin{array}{l}
194
+ \text{Multiply }\text{row }4 \text{by }\frac{227}{745}: \\
195
+ \left(
196
+ \begin{array}{cccc}
197
+ -1 & 10 & 3 & 1 \\
198
+ 0 & -71 & -22 & 3 \\
199
+ 0 & 0 & \frac{681}{71} & -\frac{38}{71} \\
200
+ 0 & 0 & 0 & 1 \\
201
+ \end{array}
202
+ \right) \\
203
+ \end{array}
204
+ \\
205
+
206
+ \begin{array}{l}
207
+ \text{Add }\frac{38}{71}\, \times \, \text{(row }4) \text{to }\text{row }3: \\
208
+ \left(
209
+ \begin{array}{cccc}
210
+ -1 & 10 & 3 & 1 \\
211
+ 0 & -71 & -22 & 3 \\
212
+ 0 & 0 & \frac{681}{71} & 0 \\
213
+ 0 & 0 & 0 & 1 \\
214
+ \end{array}
215
+ \right) \\
216
+ \end{array}
217
+ \\
218
+
219
+ \begin{array}{l}
220
+ \text{Subtract }3\, \times \, \text{(row }4) \text{from }\text{row }2: \\
221
+ \left(
222
+ \begin{array}{cccc}
223
+ -1 & 10 & 3 & 1 \\
224
+ 0 & -71 & -22 & 0 \\
225
+ 0 & 0 & \frac{681}{71} & 0 \\
226
+ 0 & 0 & 0 & 1 \\
227
+ \end{array}
228
+ \right) \\
229
+ \end{array}
230
+ \\
231
+
232
+ \begin{array}{l}
233
+ \text{Subtract }\text{row }4 \text{from }\text{row }1: \\
234
+ \left(
235
+ \begin{array}{cccc}
236
+ -1 & 10 & 3 & 0 \\
237
+ 0 & -71 & -22 & 0 \\
238
+ 0 & 0 & \frac{681}{71} & 0 \\
239
+ 0 & 0 & 0 & 1 \\
240
+ \end{array}
241
+ \right) \\
242
+ \end{array}
243
+ \\
244
+
245
+ \begin{array}{l}
246
+ \text{Multiply }\text{row }3 \text{by }\frac{71}{681}: \\
247
+ \left(
248
+ \begin{array}{cccc}
249
+ -1 & 10 & 3 & 0 \\
250
+ 0 & -71 & -22 & 0 \\
251
+ 0 & 0 & 1 & 0 \\
252
+ 0 & 0 & 0 & 1 \\
253
+ \end{array}
254
+ \right) \\
255
+ \end{array}
256
+ \\
257
+
258
+ \begin{array}{l}
259
+ \text{Add }22\, \times \, \text{(row }3) \text{to }\text{row }2: \\
260
+ \left(
261
+ \begin{array}{cccc}
262
+ -1 & 10 & 3 & 0 \\
263
+ 0 & -71 & 0 & 0 \\
264
+ 0 & 0 & 1 & 0 \\
265
+ 0 & 0 & 0 & 1 \\
266
+ \end{array}
267
+ \right) \\
268
+ \end{array}
269
+ \\
270
+
271
+ \begin{array}{l}
272
+ \text{Subtract }3\, \times \, \text{(row }3) \text{from }\text{row }1: \\
273
+ \left(
274
+ \begin{array}{cccc}
275
+ -1 & 10 & 0 & 0 \\
276
+ 0 & -71 & 0 & 0 \\
277
+ 0 & 0 & 1 & 0 \\
278
+ 0 & 0 & 0 & 1 \\
279
+ \end{array}
280
+ \right) \\
281
+ \end{array}
282
+ \\
283
+
284
+ \begin{array}{l}
285
+ \text{Divide }\text{row }2 \text{by }-71: \\
286
+ \left(
287
+ \begin{array}{cccc}
288
+ -1 & 10 & 0 & 0 \\
289
+ 0 & 1 & 0 & 0 \\
290
+ 0 & 0 & 1 & 0 \\
291
+ 0 & 0 & 0 & 1 \\
292
+ \end{array}
293
+ \right) \\
294
+ \end{array}
295
+ \\
296
+
297
+ \begin{array}{l}
298
+ \text{Subtract }10\, \times \, \text{(row }2) \text{from }\text{row }1: \\
299
+ \left(
300
+ \begin{array}{cccc}
301
+ -1 & 0 & 0 & 0 \\
302
+ 0 & 1 & 0 & 0 \\
303
+ 0 & 0 & 1 & 0 \\
304
+ 0 & 0 & 0 & 1 \\
305
+ \end{array}
306
+ \right) \\
307
+ \end{array}
308
+ \\
309
+
310
+ \begin{array}{l}
311
+ \text{Multiply }\text{row }1 \text{by }-1: \\
312
+ \left(
313
+ \begin{array}{cccc}
314
+ 1 & 0 & 0 & 0 \\
315
+ 0 & 1 & 0 & 0 \\
316
+ 0 & 0 & 1 & 0 \\
317
+ 0 & 0 & 0 & 1 \\
318
+ \end{array}
319
+ \right) \\
320
+ \end{array}
321
+ \\
322
+
323
+ \begin{array}{l}
324
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
325
+ \begin{array}{c}
326
+ x_1 \\
327
+ x_2 \\
328
+ x_3 \\
329
+ x_4 \\
330
+ \end{array}
331
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
332
+ \begin{array}{cccc}
333
+ 1 & 0 & 0 & 0 \\
334
+ 0 & 1 & 0 & 0 \\
335
+ 0 & 0 & 1 & 0 \\
336
+ 0 & 0 & 0 & 1 \\
337
+ \end{array}
338
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
339
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
340
+ \end{array}
341
+ \\
342
+
343
+ \begin{array}{l}
344
+ \text{The }\text{only }\text{value }\text{of }v=\left(
345
+ \begin{array}{c}
346
+ x_1 \\
347
+ x_2 \\
348
+ x_3 \\
349
+ x_4 \\
350
+ \end{array}
351
+ \right) \text{that }\text{would }\text{make }\left(
352
+ \begin{array}{cccc}
353
+ 1 & 0 & 0 & 0 \\
354
+ 0 & 1 & 0 & 0 \\
355
+ 0 & 0 & 1 & 0 \\
356
+ 0 & 0 & 0 & 1 \\
357
+ \end{array}
358
+ \right).\left(
359
+ \begin{array}{c}
360
+ x_1 \\
361
+ x_2 \\
362
+ x_3 \\
363
+ x_4 \\
364
+ \end{array}
365
+ \right)=\left(
366
+ \begin{array}{c}
367
+ 0 \\
368
+ 0 \\
369
+ 0 \\
370
+ 0 \\
371
+ \end{array}
372
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
373
+ \begin{array}{c}
374
+ 0 \\
375
+ 0 \\
376
+ 0 \\
377
+ 0 \\
378
+ \end{array}
379
+ \right): \\
380
+ \left(
381
+ \begin{array}{c}
382
+ 0 \\
383
+ 0 \\
384
+ 0 \\
385
+ 0 \\
386
+ \end{array}
387
+ \right) \\
388
+ \end{array}
389
+ \\
390
+
391
+ \begin{array}{l}
392
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
393
+ \fbox{$
394
+ \begin{array}{ll}
395
+ \text{Answer:} & \\
396
+ \text{} & \{\, (0,0,0,0)\, \} \\
397
+ \end{array}
398
+ $} \\
399
+ \end{array}
400
+ \\
401
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/3297.txt ADDED
@@ -0,0 +1,375 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cccc}
5
+ -2 & -2 & 8 & -3 \\
6
+ 7 & -1 & 3 & 5 \\
7
+ 0 & 5 & 4 & 2 \\
8
+ 8 & 6 & -3 & 5 \\
9
+ \end{array}
10
+ \right)$.
11
+ Answer:
12
+ \begin{array}{l}
13
+
14
+ \begin{array}{l}
15
+ \text{Find the null space of the matrix }M: \\
16
+ M=\left(
17
+ \begin{array}{cccc}
18
+ -2 & -2 & 8 & -3 \\
19
+ 7 & -1 & 3 & 5 \\
20
+ 0 & 5 & 4 & 2 \\
21
+ 8 & 6 & -3 & 5 \\
22
+ \end{array}
23
+ \right) \\
24
+ \end{array}
25
+ \\
26
+ \hline
27
+
28
+ \begin{array}{l}
29
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
30
+ \begin{array}{cccc}
31
+ -2 & -2 & 8 & -3 \\
32
+ 7 & -1 & 3 & 5 \\
33
+ 0 & 5 & 4 & 2 \\
34
+ 8 & 6 & -3 & 5 \\
35
+ \end{array}
36
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
37
+ \begin{array}{c}
38
+ x_1 \\
39
+ x_2 \\
40
+ x_3 \\
41
+ x_4 \\
42
+ \end{array}
43
+ \right) \text{such }\text{that }M.v=0: \\
44
+ \left(
45
+ \begin{array}{cccc}
46
+ -2 & -2 & 8 & -3 \\
47
+ 7 & -1 & 3 & 5 \\
48
+ 0 & 5 & 4 & 2 \\
49
+ 8 & 6 & -3 & 5 \\
50
+ \end{array}
51
+ \right).\left(
52
+ \begin{array}{c}
53
+ x_1 \\
54
+ x_2 \\
55
+ x_3 \\
56
+ x_4 \\
57
+ \end{array}
58
+ \right)=\left(
59
+ \begin{array}{c}
60
+ 0 \\
61
+ 0 \\
62
+ 0 \\
63
+ 0 \\
64
+ \end{array}
65
+ \right) \\
66
+ \end{array}
67
+ \\
68
+
69
+ \begin{array}{l}
70
+ \text{Reduce }\text{the }\text{matrix }\left(
71
+ \begin{array}{cccc}
72
+ -2 & -2 & 8 & -3 \\
73
+ 7 & -1 & 3 & 5 \\
74
+ 0 & 5 & 4 & 2 \\
75
+ 8 & 6 & -3 & 5 \\
76
+ \end{array}
77
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
78
+ \left(
79
+ \begin{array}{cccc}
80
+ -2 & -2 & 8 & -3 \\
81
+ 7 & -1 & 3 & 5 \\
82
+ 0 & 5 & 4 & 2 \\
83
+ 8 & 6 & -3 & 5 \\
84
+ \end{array}
85
+ \right) \\
86
+ \end{array}
87
+ \\
88
+
89
+ \begin{array}{l}
90
+ \text{Swap }\text{row }1 \text{with }\text{row }4: \\
91
+ \left(
92
+ \begin{array}{cccc}
93
+ 8 & 6 & -3 & 5 \\
94
+ 7 & -1 & 3 & 5 \\
95
+ 0 & 5 & 4 & 2 \\
96
+ -2 & -2 & 8 & -3 \\
97
+ \end{array}
98
+ \right) \\
99
+ \end{array}
100
+ \\
101
+
102
+ \begin{array}{l}
103
+ \text{Subtract }\frac{7}{8}\, \times \, \text{(row }1) \text{from }\text{row }2: \\
104
+ \left(
105
+ \begin{array}{cccc}
106
+ 8 & 6 & -3 & 5 \\
107
+ 0 & -\frac{25}{4} & \frac{45}{8} & \frac{5}{8} \\
108
+ 0 & 5 & 4 & 2 \\
109
+ -2 & -2 & 8 & -3 \\
110
+ \end{array}
111
+ \right) \\
112
+ \end{array}
113
+ \\
114
+
115
+ \begin{array}{l}
116
+ \text{Add }\frac{1}{4}\, \times \, \text{(row }1) \text{to }\text{row }4: \\
117
+ \left(
118
+ \begin{array}{cccc}
119
+ 8 & 6 & -3 & 5 \\
120
+ 0 & -\frac{25}{4} & \frac{45}{8} & \frac{5}{8} \\
121
+ 0 & 5 & 4 & 2 \\
122
+ 0 & -\frac{1}{2} & \frac{29}{4} & -\frac{7}{4} \\
123
+ \end{array}
124
+ \right) \\
125
+ \end{array}
126
+ \\
127
+
128
+ \begin{array}{l}
129
+ \text{Add }\frac{4}{5}\, \times \, \text{(row }2) \text{to }\text{row }3: \\
130
+ \left(
131
+ \begin{array}{cccc}
132
+ 8 & 6 & -3 & 5 \\
133
+ 0 & -\frac{25}{4} & \frac{45}{8} & \frac{5}{8} \\
134
+ 0 & 0 & \frac{17}{2} & \frac{5}{2} \\
135
+ 0 & -\frac{1}{2} & \frac{29}{4} & -\frac{7}{4} \\
136
+ \end{array}
137
+ \right) \\
138
+ \end{array}
139
+ \\
140
+
141
+ \begin{array}{l}
142
+ \text{Subtract }\frac{2}{25}\, \times \, \text{(row }2) \text{from }\text{row }4: \\
143
+ \left(
144
+ \begin{array}{cccc}
145
+ 8 & 6 & -3 & 5 \\
146
+ 0 & -\frac{25}{4} & \frac{45}{8} & \frac{5}{8} \\
147
+ 0 & 0 & \frac{17}{2} & \frac{5}{2} \\
148
+ 0 & 0 & \frac{34}{5} & -\frac{9}{5} \\
149
+ \end{array}
150
+ \right) \\
151
+ \end{array}
152
+ \\
153
+
154
+ \begin{array}{l}
155
+ \text{Subtract }\frac{4}{5}\, \times \, \text{(row }3) \text{from }\text{row }4: \\
156
+ \left(
157
+ \begin{array}{cccc}
158
+ 8 & 6 & -3 & 5 \\
159
+ 0 & -\frac{25}{4} & \frac{45}{8} & \frac{5}{8} \\
160
+ 0 & 0 & \frac{17}{2} & \frac{5}{2} \\
161
+ 0 & 0 & 0 & -\frac{19}{5} \\
162
+ \end{array}
163
+ \right) \\
164
+ \end{array}
165
+ \\
166
+
167
+ \begin{array}{l}
168
+ \text{Multiply }\text{row }4 \text{by }-\frac{5}{19}: \\
169
+ \left(
170
+ \begin{array}{cccc}
171
+ 8 & 6 & -3 & 5 \\
172
+ 0 & -\frac{25}{4} & \frac{45}{8} & \frac{5}{8} \\
173
+ 0 & 0 & \frac{17}{2} & \frac{5}{2} \\
174
+ 0 & 0 & 0 & 1 \\
175
+ \end{array}
176
+ \right) \\
177
+ \end{array}
178
+ \\
179
+
180
+ \begin{array}{l}
181
+ \text{Subtract }\frac{5}{2}\, \times \, \text{(row }4) \text{from }\text{row }3: \\
182
+ \left(
183
+ \begin{array}{cccc}
184
+ 8 & 6 & -3 & 5 \\
185
+ 0 & -\frac{25}{4} & \frac{45}{8} & \frac{5}{8} \\
186
+ 0 & 0 & \frac{17}{2} & 0 \\
187
+ 0 & 0 & 0 & 1 \\
188
+ \end{array}
189
+ \right) \\
190
+ \end{array}
191
+ \\
192
+
193
+ \begin{array}{l}
194
+ \text{Subtract }\frac{5}{8}\, \times \, \text{(row }4) \text{from }\text{row }2: \\
195
+ \left(
196
+ \begin{array}{cccc}
197
+ 8 & 6 & -3 & 5 \\
198
+ 0 & -\frac{25}{4} & \frac{45}{8} & 0 \\
199
+ 0 & 0 & \frac{17}{2} & 0 \\
200
+ 0 & 0 & 0 & 1 \\
201
+ \end{array}
202
+ \right) \\
203
+ \end{array}
204
+ \\
205
+
206
+ \begin{array}{l}
207
+ \text{Subtract }5\, \times \, \text{(row }4) \text{from }\text{row }1: \\
208
+ \left(
209
+ \begin{array}{cccc}
210
+ 8 & 6 & -3 & 0 \\
211
+ 0 & -\frac{25}{4} & \frac{45}{8} & 0 \\
212
+ 0 & 0 & \frac{17}{2} & 0 \\
213
+ 0 & 0 & 0 & 1 \\
214
+ \end{array}
215
+ \right) \\
216
+ \end{array}
217
+ \\
218
+
219
+ \begin{array}{l}
220
+ \text{Multiply }\text{row }3 \text{by }\frac{2}{17}: \\
221
+ \left(
222
+ \begin{array}{cccc}
223
+ 8 & 6 & -3 & 0 \\
224
+ 0 & -\frac{25}{4} & \frac{45}{8} & 0 \\
225
+ 0 & 0 & 1 & 0 \\
226
+ 0 & 0 & 0 & 1 \\
227
+ \end{array}
228
+ \right) \\
229
+ \end{array}
230
+ \\
231
+
232
+ \begin{array}{l}
233
+ \text{Subtract }\frac{45}{8}\, \times \, \text{(row }3) \text{from }\text{row }2: \\
234
+ \left(
235
+ \begin{array}{cccc}
236
+ 8 & 6 & -3 & 0 \\
237
+ 0 & -\frac{25}{4} & 0 & 0 \\
238
+ 0 & 0 & 1 & 0 \\
239
+ 0 & 0 & 0 & 1 \\
240
+ \end{array}
241
+ \right) \\
242
+ \end{array}
243
+ \\
244
+
245
+ \begin{array}{l}
246
+ \text{Add }3\, \times \, \text{(row }3) \text{to }\text{row }1: \\
247
+ \left(
248
+ \begin{array}{cccc}
249
+ 8 & 6 & 0 & 0 \\
250
+ 0 & -\frac{25}{4} & 0 & 0 \\
251
+ 0 & 0 & 1 & 0 \\
252
+ 0 & 0 & 0 & 1 \\
253
+ \end{array}
254
+ \right) \\
255
+ \end{array}
256
+ \\
257
+
258
+ \begin{array}{l}
259
+ \text{Multiply }\text{row }2 \text{by }-\frac{4}{25}: \\
260
+ \left(
261
+ \begin{array}{cccc}
262
+ 8 & 6 & 0 & 0 \\
263
+ 0 & 1 & 0 & 0 \\
264
+ 0 & 0 & 1 & 0 \\
265
+ 0 & 0 & 0 & 1 \\
266
+ \end{array}
267
+ \right) \\
268
+ \end{array}
269
+ \\
270
+
271
+ \begin{array}{l}
272
+ \text{Subtract }6\, \times \, \text{(row }2) \text{from }\text{row }1: \\
273
+ \left(
274
+ \begin{array}{cccc}
275
+ 8 & 0 & 0 & 0 \\
276
+ 0 & 1 & 0 & 0 \\
277
+ 0 & 0 & 1 & 0 \\
278
+ 0 & 0 & 0 & 1 \\
279
+ \end{array}
280
+ \right) \\
281
+ \end{array}
282
+ \\
283
+
284
+ \begin{array}{l}
285
+ \text{Divide }\text{row }1 \text{by }8: \\
286
+ \left(
287
+ \begin{array}{cccc}
288
+ 1 & 0 & 0 & 0 \\
289
+ 0 & 1 & 0 & 0 \\
290
+ 0 & 0 & 1 & 0 \\
291
+ 0 & 0 & 0 & 1 \\
292
+ \end{array}
293
+ \right) \\
294
+ \end{array}
295
+ \\
296
+
297
+ \begin{array}{l}
298
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
299
+ \begin{array}{c}
300
+ x_1 \\
301
+ x_2 \\
302
+ x_3 \\
303
+ x_4 \\
304
+ \end{array}
305
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
306
+ \begin{array}{cccc}
307
+ 1 & 0 & 0 & 0 \\
308
+ 0 & 1 & 0 & 0 \\
309
+ 0 & 0 & 1 & 0 \\
310
+ 0 & 0 & 0 & 1 \\
311
+ \end{array}
312
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
313
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
314
+ \end{array}
315
+ \\
316
+
317
+ \begin{array}{l}
318
+ \text{The }\text{only }\text{value }\text{of }v=\left(
319
+ \begin{array}{c}
320
+ x_1 \\
321
+ x_2 \\
322
+ x_3 \\
323
+ x_4 \\
324
+ \end{array}
325
+ \right) \text{that }\text{would }\text{make }\left(
326
+ \begin{array}{cccc}
327
+ 1 & 0 & 0 & 0 \\
328
+ 0 & 1 & 0 & 0 \\
329
+ 0 & 0 & 1 & 0 \\
330
+ 0 & 0 & 0 & 1 \\
331
+ \end{array}
332
+ \right).\left(
333
+ \begin{array}{c}
334
+ x_1 \\
335
+ x_2 \\
336
+ x_3 \\
337
+ x_4 \\
338
+ \end{array}
339
+ \right)=\left(
340
+ \begin{array}{c}
341
+ 0 \\
342
+ 0 \\
343
+ 0 \\
344
+ 0 \\
345
+ \end{array}
346
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
347
+ \begin{array}{c}
348
+ 0 \\
349
+ 0 \\
350
+ 0 \\
351
+ 0 \\
352
+ \end{array}
353
+ \right): \\
354
+ \left(
355
+ \begin{array}{c}
356
+ 0 \\
357
+ 0 \\
358
+ 0 \\
359
+ 0 \\
360
+ \end{array}
361
+ \right) \\
362
+ \end{array}
363
+ \\
364
+
365
+ \begin{array}{l}
366
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
367
+ \fbox{$
368
+ \begin{array}{ll}
369
+ \text{Answer:} & \\
370
+ \text{} & \{\, (0,0,0,0)\, \} \\
371
+ \end{array}
372
+ $} \\
373
+ \end{array}
374
+ \\
375
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/3305.txt ADDED
@@ -0,0 +1,414 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cccc}
5
+ -7 & 5 & 10 & -6 \\
6
+ -1 & 8 & -7 & 9 \\
7
+ -7 & 3 & 4 & 2 \\
8
+ -4 & -8 & 2 & 5 \\
9
+ \end{array}
10
+ \right)$.
11
+ Answer:
12
+ \begin{array}{l}
13
+
14
+ \begin{array}{l}
15
+ \text{Find the null space of the matrix }M: \\
16
+ M=\left(
17
+ \begin{array}{cccc}
18
+ -7 & 5 & 10 & -6 \\
19
+ -1 & 8 & -7 & 9 \\
20
+ -7 & 3 & 4 & 2 \\
21
+ -4 & -8 & 2 & 5 \\
22
+ \end{array}
23
+ \right) \\
24
+ \end{array}
25
+ \\
26
+ \hline
27
+
28
+ \begin{array}{l}
29
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
30
+ \begin{array}{cccc}
31
+ -7 & 5 & 10 & -6 \\
32
+ -1 & 8 & -7 & 9 \\
33
+ -7 & 3 & 4 & 2 \\
34
+ -4 & -8 & 2 & 5 \\
35
+ \end{array}
36
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
37
+ \begin{array}{c}
38
+ x_1 \\
39
+ x_2 \\
40
+ x_3 \\
41
+ x_4 \\
42
+ \end{array}
43
+ \right) \text{such }\text{that }M.v=0: \\
44
+ \left(
45
+ \begin{array}{cccc}
46
+ -7 & 5 & 10 & -6 \\
47
+ -1 & 8 & -7 & 9 \\
48
+ -7 & 3 & 4 & 2 \\
49
+ -4 & -8 & 2 & 5 \\
50
+ \end{array}
51
+ \right).\left(
52
+ \begin{array}{c}
53
+ x_1 \\
54
+ x_2 \\
55
+ x_3 \\
56
+ x_4 \\
57
+ \end{array}
58
+ \right)=\left(
59
+ \begin{array}{c}
60
+ 0 \\
61
+ 0 \\
62
+ 0 \\
63
+ 0 \\
64
+ \end{array}
65
+ \right) \\
66
+ \end{array}
67
+ \\
68
+
69
+ \begin{array}{l}
70
+ \text{Reduce }\text{the }\text{matrix }\left(
71
+ \begin{array}{cccc}
72
+ -7 & 5 & 10 & -6 \\
73
+ -1 & 8 & -7 & 9 \\
74
+ -7 & 3 & 4 & 2 \\
75
+ -4 & -8 & 2 & 5 \\
76
+ \end{array}
77
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
78
+ \left(
79
+ \begin{array}{cccc}
80
+ -7 & 5 & 10 & -6 \\
81
+ -1 & 8 & -7 & 9 \\
82
+ -7 & 3 & 4 & 2 \\
83
+ -4 & -8 & 2 & 5 \\
84
+ \end{array}
85
+ \right) \\
86
+ \end{array}
87
+ \\
88
+
89
+ \begin{array}{l}
90
+ \text{Swap }\text{row }1 \text{with }\text{row }2: \\
91
+ \left(
92
+ \begin{array}{cccc}
93
+ -1 & 8 & -7 & 9 \\
94
+ -7 & 5 & 10 & -6 \\
95
+ -7 & 3 & 4 & 2 \\
96
+ -4 & -8 & 2 & 5 \\
97
+ \end{array}
98
+ \right) \\
99
+ \end{array}
100
+ \\
101
+
102
+ \begin{array}{l}
103
+ \text{Subtract }7\, \times \, \text{(row }1) \text{from }\text{row }2: \\
104
+ \left(
105
+ \begin{array}{cccc}
106
+ -1 & 8 & -7 & 9 \\
107
+ 0 & -51 & 59 & -69 \\
108
+ -7 & 3 & 4 & 2 \\
109
+ -4 & -8 & 2 & 5 \\
110
+ \end{array}
111
+ \right) \\
112
+ \end{array}
113
+ \\
114
+
115
+ \begin{array}{l}
116
+ \text{Subtract }7\, \times \, \text{(row }1) \text{from }\text{row }3: \\
117
+ \left(
118
+ \begin{array}{cccc}
119
+ -1 & 8 & -7 & 9 \\
120
+ 0 & -51 & 59 & -69 \\
121
+ 0 & -53 & 53 & -61 \\
122
+ -4 & -8 & 2 & 5 \\
123
+ \end{array}
124
+ \right) \\
125
+ \end{array}
126
+ \\
127
+
128
+ \begin{array}{l}
129
+ \text{Subtract }4\, \times \, \text{(row }1) \text{from }\text{row }4: \\
130
+ \left(
131
+ \begin{array}{cccc}
132
+ -1 & 8 & -7 & 9 \\
133
+ 0 & -51 & 59 & -69 \\
134
+ 0 & -53 & 53 & -61 \\
135
+ 0 & -40 & 30 & -31 \\
136
+ \end{array}
137
+ \right) \\
138
+ \end{array}
139
+ \\
140
+
141
+ \begin{array}{l}
142
+ \text{Swap }\text{row }2 \text{with }\text{row }3: \\
143
+ \left(
144
+ \begin{array}{cccc}
145
+ -1 & 8 & -7 & 9 \\
146
+ 0 & -53 & 53 & -61 \\
147
+ 0 & -51 & 59 & -69 \\
148
+ 0 & -40 & 30 & -31 \\
149
+ \end{array}
150
+ \right) \\
151
+ \end{array}
152
+ \\
153
+
154
+ \begin{array}{l}
155
+ \text{Subtract }\frac{51}{53}\, \times \, \text{(row }2) \text{from }\text{row }3: \\
156
+ \left(
157
+ \begin{array}{cccc}
158
+ -1 & 8 & -7 & 9 \\
159
+ 0 & -53 & 53 & -61 \\
160
+ 0 & 0 & 8 & -\frac{546}{53} \\
161
+ 0 & -40 & 30 & -31 \\
162
+ \end{array}
163
+ \right) \\
164
+ \end{array}
165
+ \\
166
+
167
+ \begin{array}{l}
168
+ \text{Subtract }\frac{40}{53}\, \times \, \text{(row }2) \text{from }\text{row }4: \\
169
+ \left(
170
+ \begin{array}{cccc}
171
+ -1 & 8 & -7 & 9 \\
172
+ 0 & -53 & 53 & -61 \\
173
+ 0 & 0 & 8 & -\frac{546}{53} \\
174
+ 0 & 0 & -10 & \frac{797}{53} \\
175
+ \end{array}
176
+ \right) \\
177
+ \end{array}
178
+ \\
179
+
180
+ \begin{array}{l}
181
+ \text{Swap }\text{row }3 \text{with }\text{row }4: \\
182
+ \left(
183
+ \begin{array}{cccc}
184
+ -1 & 8 & -7 & 9 \\
185
+ 0 & -53 & 53 & -61 \\
186
+ 0 & 0 & -10 & \frac{797}{53} \\
187
+ 0 & 0 & 8 & -\frac{546}{53} \\
188
+ \end{array}
189
+ \right) \\
190
+ \end{array}
191
+ \\
192
+
193
+ \begin{array}{l}
194
+ \text{Add }\frac{4}{5}\, \times \, \text{(row }3) \text{to }\text{row }4: \\
195
+ \left(
196
+ \begin{array}{cccc}
197
+ -1 & 8 & -7 & 9 \\
198
+ 0 & -53 & 53 & -61 \\
199
+ 0 & 0 & -10 & \frac{797}{53} \\
200
+ 0 & 0 & 0 & \frac{458}{265} \\
201
+ \end{array}
202
+ \right) \\
203
+ \end{array}
204
+ \\
205
+
206
+ \begin{array}{l}
207
+ \text{Multiply }\text{row }4 \text{by }\frac{265}{458}: \\
208
+ \left(
209
+ \begin{array}{cccc}
210
+ -1 & 8 & -7 & 9 \\
211
+ 0 & -53 & 53 & -61 \\
212
+ 0 & 0 & -10 & \frac{797}{53} \\
213
+ 0 & 0 & 0 & 1 \\
214
+ \end{array}
215
+ \right) \\
216
+ \end{array}
217
+ \\
218
+
219
+ \begin{array}{l}
220
+ \text{Subtract }\frac{797}{53}\, \times \, \text{(row }4) \text{from }\text{row }3: \\
221
+ \left(
222
+ \begin{array}{cccc}
223
+ -1 & 8 & -7 & 9 \\
224
+ 0 & -53 & 53 & -61 \\
225
+ 0 & 0 & -10 & 0 \\
226
+ 0 & 0 & 0 & 1 \\
227
+ \end{array}
228
+ \right) \\
229
+ \end{array}
230
+ \\
231
+
232
+ \begin{array}{l}
233
+ \text{Add }61\, \times \, \text{(row }4) \text{to }\text{row }2: \\
234
+ \left(
235
+ \begin{array}{cccc}
236
+ -1 & 8 & -7 & 9 \\
237
+ 0 & -53 & 53 & 0 \\
238
+ 0 & 0 & -10 & 0 \\
239
+ 0 & 0 & 0 & 1 \\
240
+ \end{array}
241
+ \right) \\
242
+ \end{array}
243
+ \\
244
+
245
+ \begin{array}{l}
246
+ \text{Subtract }9\, \times \, \text{(row }4) \text{from }\text{row }1: \\
247
+ \left(
248
+ \begin{array}{cccc}
249
+ -1 & 8 & -7 & 0 \\
250
+ 0 & -53 & 53 & 0 \\
251
+ 0 & 0 & -10 & 0 \\
252
+ 0 & 0 & 0 & 1 \\
253
+ \end{array}
254
+ \right) \\
255
+ \end{array}
256
+ \\
257
+
258
+ \begin{array}{l}
259
+ \text{Divide }\text{row }3 \text{by }-10: \\
260
+ \left(
261
+ \begin{array}{cccc}
262
+ -1 & 8 & -7 & 0 \\
263
+ 0 & -53 & 53 & 0 \\
264
+ 0 & 0 & 1 & 0 \\
265
+ 0 & 0 & 0 & 1 \\
266
+ \end{array}
267
+ \right) \\
268
+ \end{array}
269
+ \\
270
+
271
+ \begin{array}{l}
272
+ \text{Subtract }53\, \times \, \text{(row }3) \text{from }\text{row }2: \\
273
+ \left(
274
+ \begin{array}{cccc}
275
+ -1 & 8 & -7 & 0 \\
276
+ 0 & -53 & 0 & 0 \\
277
+ 0 & 0 & 1 & 0 \\
278
+ 0 & 0 & 0 & 1 \\
279
+ \end{array}
280
+ \right) \\
281
+ \end{array}
282
+ \\
283
+
284
+ \begin{array}{l}
285
+ \text{Add }7\, \times \, \text{(row }3) \text{to }\text{row }1: \\
286
+ \left(
287
+ \begin{array}{cccc}
288
+ -1 & 8 & 0 & 0 \\
289
+ 0 & -53 & 0 & 0 \\
290
+ 0 & 0 & 1 & 0 \\
291
+ 0 & 0 & 0 & 1 \\
292
+ \end{array}
293
+ \right) \\
294
+ \end{array}
295
+ \\
296
+
297
+ \begin{array}{l}
298
+ \text{Divide }\text{row }2 \text{by }-53: \\
299
+ \left(
300
+ \begin{array}{cccc}
301
+ -1 & 8 & 0 & 0 \\
302
+ 0 & 1 & 0 & 0 \\
303
+ 0 & 0 & 1 & 0 \\
304
+ 0 & 0 & 0 & 1 \\
305
+ \end{array}
306
+ \right) \\
307
+ \end{array}
308
+ \\
309
+
310
+ \begin{array}{l}
311
+ \text{Subtract }8\, \times \, \text{(row }2) \text{from }\text{row }1: \\
312
+ \left(
313
+ \begin{array}{cccc}
314
+ -1 & 0 & 0 & 0 \\
315
+ 0 & 1 & 0 & 0 \\
316
+ 0 & 0 & 1 & 0 \\
317
+ 0 & 0 & 0 & 1 \\
318
+ \end{array}
319
+ \right) \\
320
+ \end{array}
321
+ \\
322
+
323
+ \begin{array}{l}
324
+ \text{Multiply }\text{row }1 \text{by }-1: \\
325
+ \left(
326
+ \begin{array}{cccc}
327
+ 1 & 0 & 0 & 0 \\
328
+ 0 & 1 & 0 & 0 \\
329
+ 0 & 0 & 1 & 0 \\
330
+ 0 & 0 & 0 & 1 \\
331
+ \end{array}
332
+ \right) \\
333
+ \end{array}
334
+ \\
335
+
336
+ \begin{array}{l}
337
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
338
+ \begin{array}{c}
339
+ x_1 \\
340
+ x_2 \\
341
+ x_3 \\
342
+ x_4 \\
343
+ \end{array}
344
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
345
+ \begin{array}{cccc}
346
+ 1 & 0 & 0 & 0 \\
347
+ 0 & 1 & 0 & 0 \\
348
+ 0 & 0 & 1 & 0 \\
349
+ 0 & 0 & 0 & 1 \\
350
+ \end{array}
351
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
352
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
353
+ \end{array}
354
+ \\
355
+
356
+ \begin{array}{l}
357
+ \text{The }\text{only }\text{value }\text{of }v=\left(
358
+ \begin{array}{c}
359
+ x_1 \\
360
+ x_2 \\
361
+ x_3 \\
362
+ x_4 \\
363
+ \end{array}
364
+ \right) \text{that }\text{would }\text{make }\left(
365
+ \begin{array}{cccc}
366
+ 1 & 0 & 0 & 0 \\
367
+ 0 & 1 & 0 & 0 \\
368
+ 0 & 0 & 1 & 0 \\
369
+ 0 & 0 & 0 & 1 \\
370
+ \end{array}
371
+ \right).\left(
372
+ \begin{array}{c}
373
+ x_1 \\
374
+ x_2 \\
375
+ x_3 \\
376
+ x_4 \\
377
+ \end{array}
378
+ \right)=\left(
379
+ \begin{array}{c}
380
+ 0 \\
381
+ 0 \\
382
+ 0 \\
383
+ 0 \\
384
+ \end{array}
385
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
386
+ \begin{array}{c}
387
+ 0 \\
388
+ 0 \\
389
+ 0 \\
390
+ 0 \\
391
+ \end{array}
392
+ \right): \\
393
+ \left(
394
+ \begin{array}{c}
395
+ 0 \\
396
+ 0 \\
397
+ 0 \\
398
+ 0 \\
399
+ \end{array}
400
+ \right) \\
401
+ \end{array}
402
+ \\
403
+
404
+ \begin{array}{l}
405
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
406
+ \fbox{$
407
+ \begin{array}{ll}
408
+ \text{Answer:} & \\
409
+ \text{} & \{\, (0,0,0,0)\, \} \\
410
+ \end{array}
411
+ $} \\
412
+ \end{array}
413
+ \\
414
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/3370.txt ADDED
@@ -0,0 +1,264 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cccc}
5
+ 6 & 1 & -4 & -9 \\
6
+ 5 & 5 & -3 & 2 \\
7
+ \end{array}
8
+ \right)$.
9
+ Answer:
10
+ \begin{array}{l}
11
+
12
+ \begin{array}{l}
13
+ \text{Find the null space of the matrix }M: \\
14
+ M=\left(
15
+ \begin{array}{cccc}
16
+ 6 & 1 & -4 & -9 \\
17
+ 5 & 5 & -3 & 2 \\
18
+ \end{array}
19
+ \right) \\
20
+ \end{array}
21
+ \\
22
+ \hline
23
+
24
+ \begin{array}{l}
25
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
26
+ \begin{array}{cccc}
27
+ 6 & 1 & -4 & -9 \\
28
+ 5 & 5 & -3 & 2 \\
29
+ \end{array}
30
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
31
+ \begin{array}{c}
32
+ x_1 \\
33
+ x_2 \\
34
+ x_3 \\
35
+ x_4 \\
36
+ \end{array}
37
+ \right) \text{such }\text{that }M.v=0: \\
38
+ \left(
39
+ \begin{array}{cccc}
40
+ 6 & 1 & -4 & -9 \\
41
+ 5 & 5 & -3 & 2 \\
42
+ \end{array}
43
+ \right).\left(
44
+ \begin{array}{c}
45
+ x_1 \\
46
+ x_2 \\
47
+ x_3 \\
48
+ x_4 \\
49
+ \end{array}
50
+ \right)=\left(
51
+ \begin{array}{c}
52
+ 0 \\
53
+ 0 \\
54
+ \end{array}
55
+ \right) \\
56
+ \end{array}
57
+ \\
58
+
59
+ \begin{array}{l}
60
+ \text{Reduce }\text{the }\text{matrix }\left(
61
+ \begin{array}{cccc}
62
+ 6 & 1 & -4 & -9 \\
63
+ 5 & 5 & -3 & 2 \\
64
+ \end{array}
65
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
66
+ \left(
67
+ \begin{array}{cccc}
68
+ 6 & 1 & -4 & -9 \\
69
+ 5 & 5 & -3 & 2 \\
70
+ \end{array}
71
+ \right) \\
72
+ \end{array}
73
+ \\
74
+
75
+ \begin{array}{l}
76
+ \text{Subtract }\frac{5}{6}\, \times \, \text{(row }1) \text{from }\text{row }2: \\
77
+ \left(
78
+ \begin{array}{cccc}
79
+ 6 & 1 & -4 & -9 \\
80
+ 0 & \frac{25}{6} & \frac{1}{3} & \frac{19}{2} \\
81
+ \end{array}
82
+ \right) \\
83
+ \end{array}
84
+ \\
85
+
86
+ \begin{array}{l}
87
+ \text{Multiply }\text{row }2 \text{by }\frac{6}{25}: \\
88
+ \left(
89
+ \begin{array}{cccc}
90
+ 6 & 1 & -4 & -9 \\
91
+ 0 & 1 & \frac{2}{25} & \frac{57}{25} \\
92
+ \end{array}
93
+ \right) \\
94
+ \end{array}
95
+ \\
96
+
97
+ \begin{array}{l}
98
+ \text{Subtract }\text{row }2 \text{from }\text{row }1: \\
99
+ \left(
100
+ \begin{array}{cccc}
101
+ 6 & 0 & -\frac{102}{25} & -\frac{282}{25} \\
102
+ 0 & 1 & \frac{2}{25} & \frac{57}{25} \\
103
+ \end{array}
104
+ \right) \\
105
+ \end{array}
106
+ \\
107
+
108
+ \begin{array}{l}
109
+ \text{Divide }\text{row }1 \text{by }6: \\
110
+ \left(
111
+ \begin{array}{cccc}
112
+ 1 & 0 & -\frac{17}{25} & -\frac{47}{25} \\
113
+ 0 & 1 & \frac{2}{25} & \frac{57}{25} \\
114
+ \end{array}
115
+ \right) \\
116
+ \end{array}
117
+ \\
118
+
119
+ \begin{array}{l}
120
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
121
+ \begin{array}{c}
122
+ x_1 \\
123
+ x_2 \\
124
+ x_3 \\
125
+ x_4 \\
126
+ \end{array}
127
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
128
+ \begin{array}{cccc}
129
+ 1 & 0 & -\frac{17}{25} & -\frac{47}{25} \\
130
+ 0 & 1 & \frac{2}{25} & \frac{57}{25} \\
131
+ \end{array}
132
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
133
+ \text{Columns }3 \text{and }4 \text{are }\text{the }\text{only }\text{columns }\text{with }\text{no }\text{pivot, }\text{so }\text{we }\text{may }\text{take }x_3 \text{and }x_4 \text{to }\text{be }\text{the }\text{only }\text{free }\text{variables} \\
134
+ \end{array}
135
+ \\
136
+
137
+ \begin{array}{l}
138
+ \text{Multiply }\text{out }\text{the }\text{reduced }\text{matrix }\left(
139
+ \begin{array}{cccc}
140
+ 1 & 0 & -\frac{17}{25} & -\frac{47}{25} \\
141
+ 0 & 1 & \frac{2}{25} & \frac{57}{25} \\
142
+ \end{array}
143
+ \right) \text{with }\text{the }\text{proposed }\text{solution }\text{vector }\left(
144
+ \begin{array}{c}
145
+ x_1 \\
146
+ x_2 \\
147
+ x_3 \\
148
+ x_4 \\
149
+ \end{array}
150
+ \right): \\
151
+ \left(
152
+ \begin{array}{cccc}
153
+ 1 & 0 & -\frac{17}{25} & -\frac{47}{25} \\
154
+ 0 & 1 & \frac{2}{25} & \frac{57}{25} \\
155
+ \end{array}
156
+ \right).\left(
157
+ \begin{array}{c}
158
+ x_1 \\
159
+ x_2 \\
160
+ x_3 \\
161
+ x_4 \\
162
+ \end{array}
163
+ \right)=\left(
164
+ \begin{array}{c}
165
+ x_1-\frac{17 x_3}{25}-\frac{47 x_4}{25} \\
166
+ x_2+\frac{2 x_3}{25}+\frac{57 x_4}{25} \\
167
+ \end{array}
168
+ \right)=\left(
169
+ \begin{array}{c}
170
+ 0 \\
171
+ 0 \\
172
+ \end{array}
173
+ \right) \\
174
+ \end{array}
175
+ \\
176
+
177
+ \begin{array}{l}
178
+ \text{Solve }\text{the }\text{equations }\{
179
+ \begin{array}{l}
180
+ x_1-\frac{17 x_3}{25}-\frac{47 x_4}{25}=0 \\
181
+ x_2+\frac{2 x_3}{25}+\frac{57 x_4}{25}=0 \\
182
+ \end{array}
183
+ \text{for }x_1 \text{and }x_2: \\
184
+ \{
185
+ \begin{array}{l}
186
+ x_1=\frac{17 x_3}{25}+\frac{47 x_4}{25} \\
187
+ x_2=-\frac{2 x_3}{25}-\frac{57 x_4}{25} \\
188
+ \end{array}
189
+ \\
190
+ \end{array}
191
+ \\
192
+
193
+ \begin{array}{l}
194
+ \text{Rewrite }v \text{in }\text{terms }\text{of }\text{the }\text{free }\text{variables }x_3 \text{and }x_4, \text{and }\text{assign }\text{arbitrary }\text{real }\text{values }\text{of }x \text{and }y \text{to }\text{the }\text{variables}: \\
195
+ v=\left(
196
+ \begin{array}{c}
197
+ x_1 \\
198
+ x_2 \\
199
+ x_3 \\
200
+ x_4 \\
201
+ \end{array}
202
+ \right)=\left(
203
+ \begin{array}{c}
204
+ \frac{17 x_3}{25}+\frac{47 x_4}{25} \\
205
+ -\frac{2 x_3}{25}-\frac{57 x_4}{25} \\
206
+ x_3 \\
207
+ x_4 \\
208
+ \end{array}
209
+ \right)=\left(
210
+ \begin{array}{c}
211
+ \frac{47 y}{25}+\frac{17 x}{25} \\
212
+ -\frac{57 y}{25}-\frac{2 x}{25} \\
213
+ x \\
214
+ y \\
215
+ \end{array}
216
+ \right)\text{ for }x,y\in \mathbb{R} \\
217
+ \end{array}
218
+ \\
219
+
220
+ \begin{array}{l}
221
+ \text{Since }\text{the }\text{variables }x \text{and }y \text{are }\text{taken }\text{from }\mathbb{R}, \text{we }\text{can }\text{replace }\text{them }\text{with }25 x \text{and }25 y \text{respectively}: \\
222
+ \left(
223
+ \begin{array}{c}
224
+ \frac{47 y}{25}+\frac{17 x}{25} \\
225
+ -\frac{57 y}{25}-\frac{2 x}{25} \\
226
+ x \\
227
+ y \\
228
+ \end{array}
229
+ \right)\, \rightarrow \, \left(
230
+ \begin{array}{c}
231
+ \frac{47 (25 y)}{25}+\frac{17 (25 x)}{25} \\
232
+ -\frac{57}{25} (25 y)-\frac{2 (25 x)}{25} \\
233
+ 25 x \\
234
+ 25 y \\
235
+ \end{array}
236
+ \right)=\left(
237
+ \begin{array}{c}
238
+ 47 y+17 x \\
239
+ -57 y-2 x \\
240
+ 25 x \\
241
+ 25 y \\
242
+ \end{array}
243
+ \right)\text{ for }x,y\in \mathbb{R} \\
244
+ \end{array}
245
+ \\
246
+
247
+ \begin{array}{l}
248
+ \text{Rewrite }\text{the }\text{solution }\text{vector }v=\left(
249
+ \begin{array}{c}
250
+ 47 y+17 x \\
251
+ -57 y-2 x \\
252
+ 25 x \\
253
+ 25 y \\
254
+ \end{array}
255
+ \right) \text{in }\text{set }\text{notation}: \\
256
+ \fbox{$
257
+ \begin{array}{ll}
258
+ \text{Answer:} & \\
259
+ \text{} & \{\, (47 y+17 x,-57 y-2 x,25 x,25 y)\, \text{$\, $: }x,y\in \mathbb{R}\} \\
260
+ \end{array}
261
+ $} \\
262
+ \end{array}
263
+ \\
264
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/3410.txt ADDED
@@ -0,0 +1,329 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{ccc}
5
+ 9 & 5 & 5 \\
6
+ 4 & -8 & 1 \\
7
+ -8 & -2 & 7 \\
8
+ 6 & -10 & 10 \\
9
+ \end{array}
10
+ \right)$.
11
+ Answer:
12
+ \begin{array}{l}
13
+
14
+ \begin{array}{l}
15
+ \text{Find the null space of the matrix }M: \\
16
+ M=\left(
17
+ \begin{array}{ccc}
18
+ 9 & 5 & 5 \\
19
+ 4 & -8 & 1 \\
20
+ -8 & -2 & 7 \\
21
+ 6 & -10 & 10 \\
22
+ \end{array}
23
+ \right) \\
24
+ \end{array}
25
+ \\
26
+ \hline
27
+
28
+ \begin{array}{l}
29
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
30
+ \begin{array}{ccc}
31
+ 9 & 5 & 5 \\
32
+ 4 & -8 & 1 \\
33
+ -8 & -2 & 7 \\
34
+ 6 & -10 & 10 \\
35
+ \end{array}
36
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
37
+ \begin{array}{c}
38
+ x_1 \\
39
+ x_2 \\
40
+ x_3 \\
41
+ \end{array}
42
+ \right) \text{such }\text{that }M.v=0: \\
43
+ \left(
44
+ \begin{array}{ccc}
45
+ 9 & 5 & 5 \\
46
+ 4 & -8 & 1 \\
47
+ -8 & -2 & 7 \\
48
+ 6 & -10 & 10 \\
49
+ \end{array}
50
+ \right).\left(
51
+ \begin{array}{c}
52
+ x_1 \\
53
+ x_2 \\
54
+ x_3 \\
55
+ \end{array}
56
+ \right)=\left(
57
+ \begin{array}{c}
58
+ 0 \\
59
+ 0 \\
60
+ 0 \\
61
+ 0 \\
62
+ \end{array}
63
+ \right) \\
64
+ \end{array}
65
+ \\
66
+
67
+ \begin{array}{l}
68
+ \text{Reduce }\text{the }\text{matrix }\left(
69
+ \begin{array}{ccc}
70
+ 9 & 5 & 5 \\
71
+ 4 & -8 & 1 \\
72
+ -8 & -2 & 7 \\
73
+ 6 & -10 & 10 \\
74
+ \end{array}
75
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
76
+ \left(
77
+ \begin{array}{ccc}
78
+ 9 & 5 & 5 \\
79
+ 4 & -8 & 1 \\
80
+ -8 & -2 & 7 \\
81
+ 6 & -10 & 10 \\
82
+ \end{array}
83
+ \right) \\
84
+ \end{array}
85
+ \\
86
+
87
+ \begin{array}{l}
88
+ \text{Subtract }\frac{4}{9}\, \times \, \text{(row }1) \text{from }\text{row }2: \\
89
+ \left(
90
+ \begin{array}{ccc}
91
+ 9 & 5 & 5 \\
92
+ 0 & -\frac{92}{9} & -\frac{11}{9} \\
93
+ -8 & -2 & 7 \\
94
+ 6 & -10 & 10 \\
95
+ \end{array}
96
+ \right) \\
97
+ \end{array}
98
+ \\
99
+
100
+ \begin{array}{l}
101
+ \text{Add }\frac{8}{9}\, \times \, \text{(row }1) \text{to }\text{row }3: \\
102
+ \left(
103
+ \begin{array}{ccc}
104
+ 9 & 5 & 5 \\
105
+ 0 & -\frac{92}{9} & -\frac{11}{9} \\
106
+ 0 & \frac{22}{9} & \frac{103}{9} \\
107
+ 6 & -10 & 10 \\
108
+ \end{array}
109
+ \right) \\
110
+ \end{array}
111
+ \\
112
+
113
+ \begin{array}{l}
114
+ \text{Subtract }\frac{2}{3}\, \times \, \text{(row }1) \text{from }\text{row }4: \\
115
+ \left(
116
+ \begin{array}{ccc}
117
+ 9 & 5 & 5 \\
118
+ 0 & -\frac{92}{9} & -\frac{11}{9} \\
119
+ 0 & \frac{22}{9} & \frac{103}{9} \\
120
+ 0 & -\frac{40}{3} & \frac{20}{3} \\
121
+ \end{array}
122
+ \right) \\
123
+ \end{array}
124
+ \\
125
+
126
+ \begin{array}{l}
127
+ \text{Swap }\text{row }2 \text{with }\text{row }4: \\
128
+ \left(
129
+ \begin{array}{ccc}
130
+ 9 & 5 & 5 \\
131
+ 0 & -\frac{40}{3} & \frac{20}{3} \\
132
+ 0 & \frac{22}{9} & \frac{103}{9} \\
133
+ 0 & -\frac{92}{9} & -\frac{11}{9} \\
134
+ \end{array}
135
+ \right) \\
136
+ \end{array}
137
+ \\
138
+
139
+ \begin{array}{l}
140
+ \text{Add }\frac{11}{60}\, \times \, \text{(row }2) \text{to }\text{row }3: \\
141
+ \left(
142
+ \begin{array}{ccc}
143
+ 9 & 5 & 5 \\
144
+ 0 & -\frac{40}{3} & \frac{20}{3} \\
145
+ 0 & 0 & \frac{38}{3} \\
146
+ 0 & -\frac{92}{9} & -\frac{11}{9} \\
147
+ \end{array}
148
+ \right) \\
149
+ \end{array}
150
+ \\
151
+
152
+ \begin{array}{l}
153
+ \text{Subtract }\frac{23}{30}\, \times \, \text{(row }2) \text{from }\text{row }4: \\
154
+ \left(
155
+ \begin{array}{ccc}
156
+ 9 & 5 & 5 \\
157
+ 0 & -\frac{40}{3} & \frac{20}{3} \\
158
+ 0 & 0 & \frac{38}{3} \\
159
+ 0 & 0 & -\frac{19}{3} \\
160
+ \end{array}
161
+ \right) \\
162
+ \end{array}
163
+ \\
164
+
165
+ \begin{array}{l}
166
+ \text{Add }\frac{1}{2}\, \times \, \text{(row }3) \text{to }\text{row }4: \\
167
+ \left(
168
+ \begin{array}{ccc}
169
+ 9 & 5 & 5 \\
170
+ 0 & -\frac{40}{3} & \frac{20}{3} \\
171
+ 0 & 0 & \frac{38}{3} \\
172
+ 0 & 0 & 0 \\
173
+ \end{array}
174
+ \right) \\
175
+ \end{array}
176
+ \\
177
+
178
+ \begin{array}{l}
179
+ \text{Multiply }\text{row }3 \text{by }\frac{3}{38}: \\
180
+ \left(
181
+ \begin{array}{ccc}
182
+ 9 & 5 & 5 \\
183
+ 0 & -\frac{40}{3} & \frac{20}{3} \\
184
+ 0 & 0 & 1 \\
185
+ 0 & 0 & 0 \\
186
+ \end{array}
187
+ \right) \\
188
+ \end{array}
189
+ \\
190
+
191
+ \begin{array}{l}
192
+ \text{Subtract }\frac{20}{3}\, \times \, \text{(row }3) \text{from }\text{row }2: \\
193
+ \left(
194
+ \begin{array}{ccc}
195
+ 9 & 5 & 5 \\
196
+ 0 & -\frac{40}{3} & 0 \\
197
+ 0 & 0 & 1 \\
198
+ 0 & 0 & 0 \\
199
+ \end{array}
200
+ \right) \\
201
+ \end{array}
202
+ \\
203
+
204
+ \begin{array}{l}
205
+ \text{Subtract }5\, \times \, \text{(row }3) \text{from }\text{row }1: \\
206
+ \left(
207
+ \begin{array}{ccc}
208
+ 9 & 5 & 0 \\
209
+ 0 & -\frac{40}{3} & 0 \\
210
+ 0 & 0 & 1 \\
211
+ 0 & 0 & 0 \\
212
+ \end{array}
213
+ \right) \\
214
+ \end{array}
215
+ \\
216
+
217
+ \begin{array}{l}
218
+ \text{Multiply }\text{row }2 \text{by }-\frac{3}{40}: \\
219
+ \left(
220
+ \begin{array}{ccc}
221
+ 9 & 5 & 0 \\
222
+ 0 & 1 & 0 \\
223
+ 0 & 0 & 1 \\
224
+ 0 & 0 & 0 \\
225
+ \end{array}
226
+ \right) \\
227
+ \end{array}
228
+ \\
229
+
230
+ \begin{array}{l}
231
+ \text{Subtract }5\, \times \, \text{(row }2) \text{from }\text{row }1: \\
232
+ \left(
233
+ \begin{array}{ccc}
234
+ 9 & 0 & 0 \\
235
+ 0 & 1 & 0 \\
236
+ 0 & 0 & 1 \\
237
+ 0 & 0 & 0 \\
238
+ \end{array}
239
+ \right) \\
240
+ \end{array}
241
+ \\
242
+
243
+ \begin{array}{l}
244
+ \text{Divide }\text{row }1 \text{by }9: \\
245
+ \left(
246
+ \begin{array}{ccc}
247
+ 1 & 0 & 0 \\
248
+ 0 & 1 & 0 \\
249
+ 0 & 0 & 1 \\
250
+ 0 & 0 & 0 \\
251
+ \end{array}
252
+ \right) \\
253
+ \end{array}
254
+ \\
255
+
256
+ \begin{array}{l}
257
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
258
+ \begin{array}{c}
259
+ x_1 \\
260
+ x_2 \\
261
+ x_3 \\
262
+ \end{array}
263
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
264
+ \begin{array}{ccc}
265
+ 1 & 0 & 0 \\
266
+ 0 & 1 & 0 \\
267
+ 0 & 0 & 1 \\
268
+ 0 & 0 & 0 \\
269
+ \end{array}
270
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
271
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
272
+ \end{array}
273
+ \\
274
+
275
+ \begin{array}{l}
276
+ \text{The }\text{only }\text{value }\text{of }v=\left(
277
+ \begin{array}{c}
278
+ x_1 \\
279
+ x_2 \\
280
+ x_3 \\
281
+ \end{array}
282
+ \right) \text{that }\text{would }\text{make }\left(
283
+ \begin{array}{ccc}
284
+ 1 & 0 & 0 \\
285
+ 0 & 1 & 0 \\
286
+ 0 & 0 & 1 \\
287
+ 0 & 0 & 0 \\
288
+ \end{array}
289
+ \right).\left(
290
+ \begin{array}{c}
291
+ x_1 \\
292
+ x_2 \\
293
+ x_3 \\
294
+ \end{array}
295
+ \right)=\left(
296
+ \begin{array}{c}
297
+ 0 \\
298
+ 0 \\
299
+ 0 \\
300
+ 0 \\
301
+ \end{array}
302
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
303
+ \begin{array}{c}
304
+ 0 \\
305
+ 0 \\
306
+ 0 \\
307
+ \end{array}
308
+ \right): \\
309
+ \left(
310
+ \begin{array}{c}
311
+ 0 \\
312
+ 0 \\
313
+ 0 \\
314
+ \end{array}
315
+ \right) \\
316
+ \end{array}
317
+ \\
318
+
319
+ \begin{array}{l}
320
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
321
+ \fbox{$
322
+ \begin{array}{ll}
323
+ \text{Answer:} & \\
324
+ \text{} & \{\, (0,0,0)\, \} \\
325
+ \end{array}
326
+ $} \\
327
+ \end{array}
328
+ \\
329
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/3419.txt ADDED
@@ -0,0 +1,270 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cc}
5
+ 2 & -5 \\
6
+ -6 & -3 \\
7
+ -9 & 0 \\
8
+ -3 & 7 \\
9
+ \end{array}
10
+ \right)$.
11
+ Answer:
12
+ \begin{array}{l}
13
+
14
+ \begin{array}{l}
15
+ \text{Find the null space of the matrix }M: \\
16
+ M=\left(
17
+ \begin{array}{cc}
18
+ 2 & -5 \\
19
+ -6 & -3 \\
20
+ -9 & 0 \\
21
+ -3 & 7 \\
22
+ \end{array}
23
+ \right) \\
24
+ \end{array}
25
+ \\
26
+ \hline
27
+
28
+ \begin{array}{l}
29
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
30
+ \begin{array}{cc}
31
+ 2 & -5 \\
32
+ -6 & -3 \\
33
+ -9 & 0 \\
34
+ -3 & 7 \\
35
+ \end{array}
36
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
37
+ \begin{array}{c}
38
+ x_1 \\
39
+ x_2 \\
40
+ \end{array}
41
+ \right) \text{such }\text{that }M.v=0: \\
42
+ \left(
43
+ \begin{array}{cc}
44
+ 2 & -5 \\
45
+ -6 & -3 \\
46
+ -9 & 0 \\
47
+ -3 & 7 \\
48
+ \end{array}
49
+ \right).\left(
50
+ \begin{array}{c}
51
+ x_1 \\
52
+ x_2 \\
53
+ \end{array}
54
+ \right)=\left(
55
+ \begin{array}{c}
56
+ 0 \\
57
+ 0 \\
58
+ 0 \\
59
+ 0 \\
60
+ \end{array}
61
+ \right) \\
62
+ \end{array}
63
+ \\
64
+
65
+ \begin{array}{l}
66
+ \text{Reduce }\text{the }\text{matrix }\left(
67
+ \begin{array}{cc}
68
+ 2 & -5 \\
69
+ -6 & -3 \\
70
+ -9 & 0 \\
71
+ -3 & 7 \\
72
+ \end{array}
73
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
74
+ \left(
75
+ \begin{array}{cc}
76
+ 2 & -5 \\
77
+ -6 & -3 \\
78
+ -9 & 0 \\
79
+ -3 & 7 \\
80
+ \end{array}
81
+ \right) \\
82
+ \end{array}
83
+ \\
84
+
85
+ \begin{array}{l}
86
+ \text{Swap }\text{row }1 \text{with }\text{row }3: \\
87
+ \left(
88
+ \begin{array}{cc}
89
+ -9 & 0 \\
90
+ -6 & -3 \\
91
+ 2 & -5 \\
92
+ -3 & 7 \\
93
+ \end{array}
94
+ \right) \\
95
+ \end{array}
96
+ \\
97
+
98
+ \begin{array}{l}
99
+ \text{Subtract }\frac{2}{3}\, \times \, \text{(row }1) \text{from }\text{row }2: \\
100
+ \left(
101
+ \begin{array}{cc}
102
+ -9 & 0 \\
103
+ 0 & -3 \\
104
+ 2 & -5 \\
105
+ -3 & 7 \\
106
+ \end{array}
107
+ \right) \\
108
+ \end{array}
109
+ \\
110
+
111
+ \begin{array}{l}
112
+ \text{Add }\frac{2}{9}\, \times \, \text{(row }1) \text{to }\text{row }3: \\
113
+ \left(
114
+ \begin{array}{cc}
115
+ -9 & 0 \\
116
+ 0 & -3 \\
117
+ 0 & -5 \\
118
+ -3 & 7 \\
119
+ \end{array}
120
+ \right) \\
121
+ \end{array}
122
+ \\
123
+
124
+ \begin{array}{l}
125
+ \text{Subtract }\frac{1}{3}\, \times \, \text{(row }1) \text{from }\text{row }4: \\
126
+ \left(
127
+ \begin{array}{cc}
128
+ -9 & 0 \\
129
+ 0 & -3 \\
130
+ 0 & -5 \\
131
+ 0 & 7 \\
132
+ \end{array}
133
+ \right) \\
134
+ \end{array}
135
+ \\
136
+
137
+ \begin{array}{l}
138
+ \text{Swap }\text{row }2 \text{with }\text{row }4: \\
139
+ \left(
140
+ \begin{array}{cc}
141
+ -9 & 0 \\
142
+ 0 & 7 \\
143
+ 0 & -5 \\
144
+ 0 & -3 \\
145
+ \end{array}
146
+ \right) \\
147
+ \end{array}
148
+ \\
149
+
150
+ \begin{array}{l}
151
+ \text{Add }\frac{5}{7}\, \times \, \text{(row }2) \text{to }\text{row }3: \\
152
+ \left(
153
+ \begin{array}{cc}
154
+ -9 & 0 \\
155
+ 0 & 7 \\
156
+ 0 & 0 \\
157
+ 0 & -3 \\
158
+ \end{array}
159
+ \right) \\
160
+ \end{array}
161
+ \\
162
+
163
+ \begin{array}{l}
164
+ \text{Add }\frac{3}{7}\, \times \, \text{(row }2) \text{to }\text{row }4: \\
165
+ \left(
166
+ \begin{array}{cc}
167
+ -9 & 0 \\
168
+ 0 & 7 \\
169
+ 0 & 0 \\
170
+ 0 & 0 \\
171
+ \end{array}
172
+ \right) \\
173
+ \end{array}
174
+ \\
175
+
176
+ \begin{array}{l}
177
+ \text{Divide }\text{row }2 \text{by }7: \\
178
+ \left(
179
+ \begin{array}{cc}
180
+ -9 & 0 \\
181
+ 0 & 1 \\
182
+ 0 & 0 \\
183
+ 0 & 0 \\
184
+ \end{array}
185
+ \right) \\
186
+ \end{array}
187
+ \\
188
+
189
+ \begin{array}{l}
190
+ \text{Divide }\text{row }1 \text{by }-9: \\
191
+ \left(
192
+ \begin{array}{cc}
193
+ 1 & 0 \\
194
+ 0 & 1 \\
195
+ 0 & 0 \\
196
+ 0 & 0 \\
197
+ \end{array}
198
+ \right) \\
199
+ \end{array}
200
+ \\
201
+
202
+ \begin{array}{l}
203
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
204
+ \begin{array}{c}
205
+ x_1 \\
206
+ x_2 \\
207
+ \end{array}
208
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
209
+ \begin{array}{cc}
210
+ 1 & 0 \\
211
+ 0 & 1 \\
212
+ 0 & 0 \\
213
+ 0 & 0 \\
214
+ \end{array}
215
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
216
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
217
+ \end{array}
218
+ \\
219
+
220
+ \begin{array}{l}
221
+ \text{The }\text{only }\text{value }\text{of }v=\left(
222
+ \begin{array}{c}
223
+ x_1 \\
224
+ x_2 \\
225
+ \end{array}
226
+ \right) \text{that }\text{would }\text{make }\left(
227
+ \begin{array}{cc}
228
+ 1 & 0 \\
229
+ 0 & 1 \\
230
+ 0 & 0 \\
231
+ 0 & 0 \\
232
+ \end{array}
233
+ \right).\left(
234
+ \begin{array}{c}
235
+ x_1 \\
236
+ x_2 \\
237
+ \end{array}
238
+ \right)=\left(
239
+ \begin{array}{c}
240
+ 0 \\
241
+ 0 \\
242
+ 0 \\
243
+ 0 \\
244
+ \end{array}
245
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
246
+ \begin{array}{c}
247
+ 0 \\
248
+ 0 \\
249
+ \end{array}
250
+ \right): \\
251
+ \left(
252
+ \begin{array}{c}
253
+ 0 \\
254
+ 0 \\
255
+ \end{array}
256
+ \right) \\
257
+ \end{array}
258
+ \\
259
+
260
+ \begin{array}{l}
261
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
262
+ \fbox{$
263
+ \begin{array}{ll}
264
+ \text{Answer:} & \\
265
+ \text{} & \{\, (0,0)\, \} \\
266
+ \end{array}
267
+ $} \\
268
+ \end{array}
269
+ \\
270
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/3459.txt ADDED
@@ -0,0 +1,263 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{ccc}
5
+ -3 & 7 & -3 \\
6
+ 6 & -2 & -3 \\
7
+ \end{array}
8
+ \right)$.
9
+ Answer:
10
+ \begin{array}{l}
11
+
12
+ \begin{array}{l}
13
+ \text{Find the null space of the matrix }M: \\
14
+ M=\left(
15
+ \begin{array}{ccc}
16
+ -3 & 7 & -3 \\
17
+ 6 & -2 & -3 \\
18
+ \end{array}
19
+ \right) \\
20
+ \end{array}
21
+ \\
22
+ \hline
23
+
24
+ \begin{array}{l}
25
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
26
+ \begin{array}{ccc}
27
+ -3 & 7 & -3 \\
28
+ 6 & -2 & -3 \\
29
+ \end{array}
30
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
31
+ \begin{array}{c}
32
+ x_1 \\
33
+ x_2 \\
34
+ x_3 \\
35
+ \end{array}
36
+ \right) \text{such }\text{that }M.v=0: \\
37
+ \left(
38
+ \begin{array}{ccc}
39
+ -3 & 7 & -3 \\
40
+ 6 & -2 & -3 \\
41
+ \end{array}
42
+ \right).\left(
43
+ \begin{array}{c}
44
+ x_1 \\
45
+ x_2 \\
46
+ x_3 \\
47
+ \end{array}
48
+ \right)=\left(
49
+ \begin{array}{c}
50
+ 0 \\
51
+ 0 \\
52
+ \end{array}
53
+ \right) \\
54
+ \end{array}
55
+ \\
56
+
57
+ \begin{array}{l}
58
+ \text{Reduce }\text{the }\text{matrix }\left(
59
+ \begin{array}{ccc}
60
+ -3 & 7 & -3 \\
61
+ 6 & -2 & -3 \\
62
+ \end{array}
63
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
64
+ \left(
65
+ \begin{array}{ccc}
66
+ -3 & 7 & -3 \\
67
+ 6 & -2 & -3 \\
68
+ \end{array}
69
+ \right) \\
70
+ \end{array}
71
+ \\
72
+
73
+ \begin{array}{l}
74
+ \text{Swap }\text{row }1 \text{with }\text{row }2: \\
75
+ \left(
76
+ \begin{array}{ccc}
77
+ 6 & -2 & -3 \\
78
+ -3 & 7 & -3 \\
79
+ \end{array}
80
+ \right) \\
81
+ \end{array}
82
+ \\
83
+
84
+ \begin{array}{l}
85
+ \text{Add }\frac{1}{2}\, \times \, \text{(row }1) \text{to }\text{row }2: \\
86
+ \left(
87
+ \begin{array}{ccc}
88
+ 6 & -2 & -3 \\
89
+ 0 & 6 & -\frac{9}{2} \\
90
+ \end{array}
91
+ \right) \\
92
+ \end{array}
93
+ \\
94
+
95
+ \begin{array}{l}
96
+ \text{Divide }\text{row }2 \text{by }6: \\
97
+ \left(
98
+ \begin{array}{ccc}
99
+ 6 & -2 & -3 \\
100
+ 0 & 1 & -\frac{3}{4} \\
101
+ \end{array}
102
+ \right) \\
103
+ \end{array}
104
+ \\
105
+
106
+ \begin{array}{l}
107
+ \text{Add }2\, \times \, \text{(row }2) \text{to }\text{row }1: \\
108
+ \left(
109
+ \begin{array}{ccc}
110
+ 6 & 0 & -\frac{9}{2} \\
111
+ 0 & 1 & -\frac{3}{4} \\
112
+ \end{array}
113
+ \right) \\
114
+ \end{array}
115
+ \\
116
+
117
+ \begin{array}{l}
118
+ \text{Divide }\text{row }1 \text{by }6: \\
119
+ \left(
120
+ \begin{array}{ccc}
121
+ 1 & 0 & -\frac{3}{4} \\
122
+ 0 & 1 & -\frac{3}{4} \\
123
+ \end{array}
124
+ \right) \\
125
+ \end{array}
126
+ \\
127
+
128
+ \begin{array}{l}
129
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
130
+ \begin{array}{c}
131
+ x_1 \\
132
+ x_2 \\
133
+ x_3 \\
134
+ \end{array}
135
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
136
+ \begin{array}{ccc}
137
+ 1 & 0 & -\frac{3}{4} \\
138
+ 0 & 1 & -\frac{3}{4} \\
139
+ \end{array}
140
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
141
+ \text{Column }3 \text{is }\text{the }\text{only }\text{column }\text{with }\text{no }\text{pivot, }\text{so }\text{we }\text{may }\text{take }x_3 \text{to }\text{be }\text{the }\text{only }\text{free }\text{variable} \\
142
+ \end{array}
143
+ \\
144
+
145
+ \begin{array}{l}
146
+ \text{Multiply }\text{out }\text{the }\text{reduced }\text{matrix }\left(
147
+ \begin{array}{ccc}
148
+ 1 & 0 & -\frac{3}{4} \\
149
+ 0 & 1 & -\frac{3}{4} \\
150
+ \end{array}
151
+ \right) \text{with }\text{the }\text{proposed }\text{solution }\text{vector }\left(
152
+ \begin{array}{c}
153
+ x_1 \\
154
+ x_2 \\
155
+ x_3 \\
156
+ \end{array}
157
+ \right): \\
158
+ \left(
159
+ \begin{array}{ccc}
160
+ 1 & 0 & -\frac{3}{4} \\
161
+ 0 & 1 & -\frac{3}{4} \\
162
+ \end{array}
163
+ \right).\left(
164
+ \begin{array}{c}
165
+ x_1 \\
166
+ x_2 \\
167
+ x_3 \\
168
+ \end{array}
169
+ \right)=\left(
170
+ \begin{array}{c}
171
+ x_1-\frac{3 x_3}{4} \\
172
+ x_2-\frac{3 x_3}{4} \\
173
+ \end{array}
174
+ \right)=\left(
175
+ \begin{array}{c}
176
+ 0 \\
177
+ 0 \\
178
+ \end{array}
179
+ \right) \\
180
+ \end{array}
181
+ \\
182
+
183
+ \begin{array}{l}
184
+ \text{Solve }\text{the }\text{equations }\{
185
+ \begin{array}{l}
186
+ x_1-\frac{3 x_3}{4}=0 \\
187
+ x_2-\frac{3 x_3}{4}=0 \\
188
+ \end{array}
189
+ \text{for }x_1 \text{and }x_2: \\
190
+ \{
191
+ \begin{array}{l}
192
+ x_1=\frac{3 x_3}{4} \\
193
+ x_2=\frac{3 x_3}{4} \\
194
+ \end{array}
195
+ \\
196
+ \end{array}
197
+ \\
198
+
199
+ \begin{array}{l}
200
+ \text{Rewrite }v \text{in }\text{terms }\text{of }\text{the }\text{free }\text{variable }x_3, \text{and }\text{assign }\text{it }\text{an }\text{arbitrary }\text{real }\text{value }\text{of }x: \\
201
+ v=\left(
202
+ \begin{array}{c}
203
+ x_1 \\
204
+ x_2 \\
205
+ x_3 \\
206
+ \end{array}
207
+ \right)=\left(
208
+ \begin{array}{c}
209
+ \frac{3 x_3}{4} \\
210
+ \frac{3 x_3}{4} \\
211
+ x_3 \\
212
+ \end{array}
213
+ \right)=\left(
214
+ \begin{array}{c}
215
+ \frac{3 x}{4} \\
216
+ \frac{3 x}{4} \\
217
+ x \\
218
+ \end{array}
219
+ \right)\text{ for }x\in \mathbb{R} \\
220
+ \end{array}
221
+ \\
222
+
223
+ \begin{array}{l}
224
+ \text{Since }x \text{is }\text{taken }\text{from }\mathbb{R}, \text{we }\text{can }\text{replace }\text{it }\text{with }4 x: \\
225
+ \left(
226
+ \begin{array}{c}
227
+ \frac{3 x}{4} \\
228
+ \frac{3 x}{4} \\
229
+ x \\
230
+ \end{array}
231
+ \right)\, \rightarrow \, \left(
232
+ \begin{array}{c}
233
+ \frac{3 (4 x)}{4} \\
234
+ \frac{3 (4 x)}{4} \\
235
+ 4 x \\
236
+ \end{array}
237
+ \right)=\left(
238
+ \begin{array}{c}
239
+ 3 x \\
240
+ 3 x \\
241
+ 4 x \\
242
+ \end{array}
243
+ \right)\text{ for }x\in \mathbb{R} \\
244
+ \end{array}
245
+ \\
246
+
247
+ \begin{array}{l}
248
+ \text{Rewrite }\text{the }\text{solution }\text{vector }v=\left(
249
+ \begin{array}{c}
250
+ 3 x \\
251
+ 3 x \\
252
+ 4 x \\
253
+ \end{array}
254
+ \right) \text{in }\text{set }\text{notation}: \\
255
+ \fbox{$
256
+ \begin{array}{ll}
257
+ \text{Answer:} & \\
258
+ \text{} & \{\, (3 x,3 x,4 x)\, \text{$\, $: }x\in \mathbb{R}\} \\
259
+ \end{array}
260
+ $} \\
261
+ \end{array}
262
+ \\
263
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/3476.txt ADDED
@@ -0,0 +1,401 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cccc}
5
+ 7 & 8 & 8 & -7 \\
6
+ -2 & -7 & -4 & -2 \\
7
+ -6 & -1 & -7 & -8 \\
8
+ -1 & 6 & 10 & -10 \\
9
+ \end{array}
10
+ \right)$.
11
+ Answer:
12
+ \begin{array}{l}
13
+
14
+ \begin{array}{l}
15
+ \text{Find the null space of the matrix }M: \\
16
+ M=\left(
17
+ \begin{array}{cccc}
18
+ 7 & 8 & 8 & -7 \\
19
+ -2 & -7 & -4 & -2 \\
20
+ -6 & -1 & -7 & -8 \\
21
+ -1 & 6 & 10 & -10 \\
22
+ \end{array}
23
+ \right) \\
24
+ \end{array}
25
+ \\
26
+ \hline
27
+
28
+ \begin{array}{l}
29
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
30
+ \begin{array}{cccc}
31
+ 7 & 8 & 8 & -7 \\
32
+ -2 & -7 & -4 & -2 \\
33
+ -6 & -1 & -7 & -8 \\
34
+ -1 & 6 & 10 & -10 \\
35
+ \end{array}
36
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
37
+ \begin{array}{c}
38
+ x_1 \\
39
+ x_2 \\
40
+ x_3 \\
41
+ x_4 \\
42
+ \end{array}
43
+ \right) \text{such }\text{that }M.v=0: \\
44
+ \left(
45
+ \begin{array}{cccc}
46
+ 7 & 8 & 8 & -7 \\
47
+ -2 & -7 & -4 & -2 \\
48
+ -6 & -1 & -7 & -8 \\
49
+ -1 & 6 & 10 & -10 \\
50
+ \end{array}
51
+ \right).\left(
52
+ \begin{array}{c}
53
+ x_1 \\
54
+ x_2 \\
55
+ x_3 \\
56
+ x_4 \\
57
+ \end{array}
58
+ \right)=\left(
59
+ \begin{array}{c}
60
+ 0 \\
61
+ 0 \\
62
+ 0 \\
63
+ 0 \\
64
+ \end{array}
65
+ \right) \\
66
+ \end{array}
67
+ \\
68
+
69
+ \begin{array}{l}
70
+ \text{Reduce }\text{the }\text{matrix }\left(
71
+ \begin{array}{cccc}
72
+ 7 & 8 & 8 & -7 \\
73
+ -2 & -7 & -4 & -2 \\
74
+ -6 & -1 & -7 & -8 \\
75
+ -1 & 6 & 10 & -10 \\
76
+ \end{array}
77
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
78
+ \left(
79
+ \begin{array}{cccc}
80
+ 7 & 8 & 8 & -7 \\
81
+ -2 & -7 & -4 & -2 \\
82
+ -6 & -1 & -7 & -8 \\
83
+ -1 & 6 & 10 & -10 \\
84
+ \end{array}
85
+ \right) \\
86
+ \end{array}
87
+ \\
88
+
89
+ \begin{array}{l}
90
+ \text{Swap }\text{row }1 \text{with }\text{row }4: \\
91
+ \left(
92
+ \begin{array}{cccc}
93
+ -1 & 6 & 10 & -10 \\
94
+ -2 & -7 & -4 & -2 \\
95
+ -6 & -1 & -7 & -8 \\
96
+ 7 & 8 & 8 & -7 \\
97
+ \end{array}
98
+ \right) \\
99
+ \end{array}
100
+ \\
101
+
102
+ \begin{array}{l}
103
+ \text{Subtract }2\, \times \, \text{(row }1) \text{from }\text{row }2: \\
104
+ \left(
105
+ \begin{array}{cccc}
106
+ -1 & 6 & 10 & -10 \\
107
+ 0 & -19 & -24 & 18 \\
108
+ -6 & -1 & -7 & -8 \\
109
+ 7 & 8 & 8 & -7 \\
110
+ \end{array}
111
+ \right) \\
112
+ \end{array}
113
+ \\
114
+
115
+ \begin{array}{l}
116
+ \text{Subtract }6\, \times \, \text{(row }1) \text{from }\text{row }3: \\
117
+ \left(
118
+ \begin{array}{cccc}
119
+ -1 & 6 & 10 & -10 \\
120
+ 0 & -19 & -24 & 18 \\
121
+ 0 & -37 & -67 & 52 \\
122
+ 7 & 8 & 8 & -7 \\
123
+ \end{array}
124
+ \right) \\
125
+ \end{array}
126
+ \\
127
+
128
+ \begin{array}{l}
129
+ \text{Add }7\, \times \, \text{(row }1) \text{to }\text{row }4: \\
130
+ \left(
131
+ \begin{array}{cccc}
132
+ -1 & 6 & 10 & -10 \\
133
+ 0 & -19 & -24 & 18 \\
134
+ 0 & -37 & -67 & 52 \\
135
+ 0 & 50 & 78 & -77 \\
136
+ \end{array}
137
+ \right) \\
138
+ \end{array}
139
+ \\
140
+
141
+ \begin{array}{l}
142
+ \text{Swap }\text{row }2 \text{with }\text{row }4: \\
143
+ \left(
144
+ \begin{array}{cccc}
145
+ -1 & 6 & 10 & -10 \\
146
+ 0 & 50 & 78 & -77 \\
147
+ 0 & -37 & -67 & 52 \\
148
+ 0 & -19 & -24 & 18 \\
149
+ \end{array}
150
+ \right) \\
151
+ \end{array}
152
+ \\
153
+
154
+ \begin{array}{l}
155
+ \text{Add }\frac{37}{50}\, \times \, \text{(row }2) \text{to }\text{row }3: \\
156
+ \left(
157
+ \begin{array}{cccc}
158
+ -1 & 6 & 10 & -10 \\
159
+ 0 & 50 & 78 & -77 \\
160
+ 0 & 0 & -\frac{232}{25} & -\frac{249}{50} \\
161
+ 0 & -19 & -24 & 18 \\
162
+ \end{array}
163
+ \right) \\
164
+ \end{array}
165
+ \\
166
+
167
+ \begin{array}{l}
168
+ \text{Add }\frac{19}{50}\, \times \, \text{(row }2) \text{to }\text{row }4: \\
169
+ \left(
170
+ \begin{array}{cccc}
171
+ -1 & 6 & 10 & -10 \\
172
+ 0 & 50 & 78 & -77 \\
173
+ 0 & 0 & -\frac{232}{25} & -\frac{249}{50} \\
174
+ 0 & 0 & \frac{141}{25} & -\frac{563}{50} \\
175
+ \end{array}
176
+ \right) \\
177
+ \end{array}
178
+ \\
179
+
180
+ \begin{array}{l}
181
+ \text{Add }\frac{141}{232}\, \times \, \text{(row }3) \text{to }\text{row }4: \\
182
+ \left(
183
+ \begin{array}{cccc}
184
+ -1 & 6 & 10 & -10 \\
185
+ 0 & 50 & 78 & -77 \\
186
+ 0 & 0 & -\frac{232}{25} & -\frac{249}{50} \\
187
+ 0 & 0 & 0 & -\frac{6629}{464} \\
188
+ \end{array}
189
+ \right) \\
190
+ \end{array}
191
+ \\
192
+
193
+ \begin{array}{l}
194
+ \text{Multiply }\text{row }4 \text{by }-\frac{464}{6629}: \\
195
+ \left(
196
+ \begin{array}{cccc}
197
+ -1 & 6 & 10 & -10 \\
198
+ 0 & 50 & 78 & -77 \\
199
+ 0 & 0 & -\frac{232}{25} & -\frac{249}{50} \\
200
+ 0 & 0 & 0 & 1 \\
201
+ \end{array}
202
+ \right) \\
203
+ \end{array}
204
+ \\
205
+
206
+ \begin{array}{l}
207
+ \text{Add }\frac{249}{50}\, \times \, \text{(row }4) \text{to }\text{row }3: \\
208
+ \left(
209
+ \begin{array}{cccc}
210
+ -1 & 6 & 10 & -10 \\
211
+ 0 & 50 & 78 & -77 \\
212
+ 0 & 0 & -\frac{232}{25} & 0 \\
213
+ 0 & 0 & 0 & 1 \\
214
+ \end{array}
215
+ \right) \\
216
+ \end{array}
217
+ \\
218
+
219
+ \begin{array}{l}
220
+ \text{Add }77\, \times \, \text{(row }4) \text{to }\text{row }2: \\
221
+ \left(
222
+ \begin{array}{cccc}
223
+ -1 & 6 & 10 & -10 \\
224
+ 0 & 50 & 78 & 0 \\
225
+ 0 & 0 & -\frac{232}{25} & 0 \\
226
+ 0 & 0 & 0 & 1 \\
227
+ \end{array}
228
+ \right) \\
229
+ \end{array}
230
+ \\
231
+
232
+ \begin{array}{l}
233
+ \text{Add }10\, \times \, \text{(row }4) \text{to }\text{row }1: \\
234
+ \left(
235
+ \begin{array}{cccc}
236
+ -1 & 6 & 10 & 0 \\
237
+ 0 & 50 & 78 & 0 \\
238
+ 0 & 0 & -\frac{232}{25} & 0 \\
239
+ 0 & 0 & 0 & 1 \\
240
+ \end{array}
241
+ \right) \\
242
+ \end{array}
243
+ \\
244
+
245
+ \begin{array}{l}
246
+ \text{Multiply }\text{row }3 \text{by }-\frac{25}{232}: \\
247
+ \left(
248
+ \begin{array}{cccc}
249
+ -1 & 6 & 10 & 0 \\
250
+ 0 & 50 & 78 & 0 \\
251
+ 0 & 0 & 1 & 0 \\
252
+ 0 & 0 & 0 & 1 \\
253
+ \end{array}
254
+ \right) \\
255
+ \end{array}
256
+ \\
257
+
258
+ \begin{array}{l}
259
+ \text{Subtract }78\, \times \, \text{(row }3) \text{from }\text{row }2: \\
260
+ \left(
261
+ \begin{array}{cccc}
262
+ -1 & 6 & 10 & 0 \\
263
+ 0 & 50 & 0 & 0 \\
264
+ 0 & 0 & 1 & 0 \\
265
+ 0 & 0 & 0 & 1 \\
266
+ \end{array}
267
+ \right) \\
268
+ \end{array}
269
+ \\
270
+
271
+ \begin{array}{l}
272
+ \text{Subtract }10\, \times \, \text{(row }3) \text{from }\text{row }1: \\
273
+ \left(
274
+ \begin{array}{cccc}
275
+ -1 & 6 & 0 & 0 \\
276
+ 0 & 50 & 0 & 0 \\
277
+ 0 & 0 & 1 & 0 \\
278
+ 0 & 0 & 0 & 1 \\
279
+ \end{array}
280
+ \right) \\
281
+ \end{array}
282
+ \\
283
+
284
+ \begin{array}{l}
285
+ \text{Divide }\text{row }2 \text{by }50: \\
286
+ \left(
287
+ \begin{array}{cccc}
288
+ -1 & 6 & 0 & 0 \\
289
+ 0 & 1 & 0 & 0 \\
290
+ 0 & 0 & 1 & 0 \\
291
+ 0 & 0 & 0 & 1 \\
292
+ \end{array}
293
+ \right) \\
294
+ \end{array}
295
+ \\
296
+
297
+ \begin{array}{l}
298
+ \text{Subtract }6\, \times \, \text{(row }2) \text{from }\text{row }1: \\
299
+ \left(
300
+ \begin{array}{cccc}
301
+ -1 & 0 & 0 & 0 \\
302
+ 0 & 1 & 0 & 0 \\
303
+ 0 & 0 & 1 & 0 \\
304
+ 0 & 0 & 0 & 1 \\
305
+ \end{array}
306
+ \right) \\
307
+ \end{array}
308
+ \\
309
+
310
+ \begin{array}{l}
311
+ \text{Multiply }\text{row }1 \text{by }-1: \\
312
+ \left(
313
+ \begin{array}{cccc}
314
+ 1 & 0 & 0 & 0 \\
315
+ 0 & 1 & 0 & 0 \\
316
+ 0 & 0 & 1 & 0 \\
317
+ 0 & 0 & 0 & 1 \\
318
+ \end{array}
319
+ \right) \\
320
+ \end{array}
321
+ \\
322
+
323
+ \begin{array}{l}
324
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
325
+ \begin{array}{c}
326
+ x_1 \\
327
+ x_2 \\
328
+ x_3 \\
329
+ x_4 \\
330
+ \end{array}
331
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
332
+ \begin{array}{cccc}
333
+ 1 & 0 & 0 & 0 \\
334
+ 0 & 1 & 0 & 0 \\
335
+ 0 & 0 & 1 & 0 \\
336
+ 0 & 0 & 0 & 1 \\
337
+ \end{array}
338
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
339
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
340
+ \end{array}
341
+ \\
342
+
343
+ \begin{array}{l}
344
+ \text{The }\text{only }\text{value }\text{of }v=\left(
345
+ \begin{array}{c}
346
+ x_1 \\
347
+ x_2 \\
348
+ x_3 \\
349
+ x_4 \\
350
+ \end{array}
351
+ \right) \text{that }\text{would }\text{make }\left(
352
+ \begin{array}{cccc}
353
+ 1 & 0 & 0 & 0 \\
354
+ 0 & 1 & 0 & 0 \\
355
+ 0 & 0 & 1 & 0 \\
356
+ 0 & 0 & 0 & 1 \\
357
+ \end{array}
358
+ \right).\left(
359
+ \begin{array}{c}
360
+ x_1 \\
361
+ x_2 \\
362
+ x_3 \\
363
+ x_4 \\
364
+ \end{array}
365
+ \right)=\left(
366
+ \begin{array}{c}
367
+ 0 \\
368
+ 0 \\
369
+ 0 \\
370
+ 0 \\
371
+ \end{array}
372
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
373
+ \begin{array}{c}
374
+ 0 \\
375
+ 0 \\
376
+ 0 \\
377
+ 0 \\
378
+ \end{array}
379
+ \right): \\
380
+ \left(
381
+ \begin{array}{c}
382
+ 0 \\
383
+ 0 \\
384
+ 0 \\
385
+ 0 \\
386
+ \end{array}
387
+ \right) \\
388
+ \end{array}
389
+ \\
390
+
391
+ \begin{array}{l}
392
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
393
+ \fbox{$
394
+ \begin{array}{ll}
395
+ \text{Answer:} & \\
396
+ \text{} & \{\, (0,0,0,0)\, \} \\
397
+ \end{array}
398
+ $} \\
399
+ \end{array}
400
+ \\
401
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/3599.txt ADDED
@@ -0,0 +1,227 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cc}
5
+ 6 & -2 \\
6
+ 3 & 3 \\
7
+ -8 & 8 \\
8
+ \end{array}
9
+ \right)$.
10
+ Answer:
11
+ \begin{array}{l}
12
+
13
+ \begin{array}{l}
14
+ \text{Find the null space of the matrix }M: \\
15
+ M=\left(
16
+ \begin{array}{cc}
17
+ 6 & -2 \\
18
+ 3 & 3 \\
19
+ -8 & 8 \\
20
+ \end{array}
21
+ \right) \\
22
+ \end{array}
23
+ \\
24
+ \hline
25
+
26
+ \begin{array}{l}
27
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
28
+ \begin{array}{cc}
29
+ 6 & -2 \\
30
+ 3 & 3 \\
31
+ -8 & 8 \\
32
+ \end{array}
33
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
34
+ \begin{array}{c}
35
+ x_1 \\
36
+ x_2 \\
37
+ \end{array}
38
+ \right) \text{such }\text{that }M.v=0: \\
39
+ \left(
40
+ \begin{array}{cc}
41
+ 6 & -2 \\
42
+ 3 & 3 \\
43
+ -8 & 8 \\
44
+ \end{array}
45
+ \right).\left(
46
+ \begin{array}{c}
47
+ x_1 \\
48
+ x_2 \\
49
+ \end{array}
50
+ \right)=\left(
51
+ \begin{array}{c}
52
+ 0 \\
53
+ 0 \\
54
+ 0 \\
55
+ \end{array}
56
+ \right) \\
57
+ \end{array}
58
+ \\
59
+
60
+ \begin{array}{l}
61
+ \text{Reduce }\text{the }\text{matrix }\left(
62
+ \begin{array}{cc}
63
+ 6 & -2 \\
64
+ 3 & 3 \\
65
+ -8 & 8 \\
66
+ \end{array}
67
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
68
+ \left(
69
+ \begin{array}{cc}
70
+ 6 & -2 \\
71
+ 3 & 3 \\
72
+ -8 & 8 \\
73
+ \end{array}
74
+ \right) \\
75
+ \end{array}
76
+ \\
77
+
78
+ \begin{array}{l}
79
+ \text{Swap }\text{row }1 \text{with }\text{row }3: \\
80
+ \left(
81
+ \begin{array}{cc}
82
+ -8 & 8 \\
83
+ 3 & 3 \\
84
+ 6 & -2 \\
85
+ \end{array}
86
+ \right) \\
87
+ \end{array}
88
+ \\
89
+
90
+ \begin{array}{l}
91
+ \text{Add }\frac{3}{8}\, \times \, \text{(row }1) \text{to }\text{row }2: \\
92
+ \left(
93
+ \begin{array}{cc}
94
+ -8 & 8 \\
95
+ 0 & 6 \\
96
+ 6 & -2 \\
97
+ \end{array}
98
+ \right) \\
99
+ \end{array}
100
+ \\
101
+
102
+ \begin{array}{l}
103
+ \text{Add }\frac{3}{4}\, \times \, \text{(row }1) \text{to }\text{row }3: \\
104
+ \left(
105
+ \begin{array}{cc}
106
+ -8 & 8 \\
107
+ 0 & 6 \\
108
+ 0 & 4 \\
109
+ \end{array}
110
+ \right) \\
111
+ \end{array}
112
+ \\
113
+
114
+ \begin{array}{l}
115
+ \text{Subtract }\frac{2}{3}\, \times \, \text{(row }2) \text{from }\text{row }3: \\
116
+ \left(
117
+ \begin{array}{cc}
118
+ -8 & 8 \\
119
+ 0 & 6 \\
120
+ 0 & 0 \\
121
+ \end{array}
122
+ \right) \\
123
+ \end{array}
124
+ \\
125
+
126
+ \begin{array}{l}
127
+ \text{Divide }\text{row }2 \text{by }6: \\
128
+ \left(
129
+ \begin{array}{cc}
130
+ -8 & 8 \\
131
+ 0 & 1 \\
132
+ 0 & 0 \\
133
+ \end{array}
134
+ \right) \\
135
+ \end{array}
136
+ \\
137
+
138
+ \begin{array}{l}
139
+ \text{Subtract }8\, \times \, \text{(row }2) \text{from }\text{row }1: \\
140
+ \left(
141
+ \begin{array}{cc}
142
+ -8 & 0 \\
143
+ 0 & 1 \\
144
+ 0 & 0 \\
145
+ \end{array}
146
+ \right) \\
147
+ \end{array}
148
+ \\
149
+
150
+ \begin{array}{l}
151
+ \text{Divide }\text{row }1 \text{by }-8: \\
152
+ \left(
153
+ \begin{array}{cc}
154
+ 1 & 0 \\
155
+ 0 & 1 \\
156
+ 0 & 0 \\
157
+ \end{array}
158
+ \right) \\
159
+ \end{array}
160
+ \\
161
+
162
+ \begin{array}{l}
163
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
164
+ \begin{array}{c}
165
+ x_1 \\
166
+ x_2 \\
167
+ \end{array}
168
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
169
+ \begin{array}{cc}
170
+ 1 & 0 \\
171
+ 0 & 1 \\
172
+ 0 & 0 \\
173
+ \end{array}
174
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
175
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
176
+ \end{array}
177
+ \\
178
+
179
+ \begin{array}{l}
180
+ \text{The }\text{only }\text{value }\text{of }v=\left(
181
+ \begin{array}{c}
182
+ x_1 \\
183
+ x_2 \\
184
+ \end{array}
185
+ \right) \text{that }\text{would }\text{make }\left(
186
+ \begin{array}{cc}
187
+ 1 & 0 \\
188
+ 0 & 1 \\
189
+ 0 & 0 \\
190
+ \end{array}
191
+ \right).\left(
192
+ \begin{array}{c}
193
+ x_1 \\
194
+ x_2 \\
195
+ \end{array}
196
+ \right)=\left(
197
+ \begin{array}{c}
198
+ 0 \\
199
+ 0 \\
200
+ 0 \\
201
+ \end{array}
202
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
203
+ \begin{array}{c}
204
+ 0 \\
205
+ 0 \\
206
+ \end{array}
207
+ \right): \\
208
+ \left(
209
+ \begin{array}{c}
210
+ 0 \\
211
+ 0 \\
212
+ \end{array}
213
+ \right) \\
214
+ \end{array}
215
+ \\
216
+
217
+ \begin{array}{l}
218
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
219
+ \fbox{$
220
+ \begin{array}{ll}
221
+ \text{Answer:} & \\
222
+ \text{} & \{\, (0,0)\, \} \\
223
+ \end{array}
224
+ $} \\
225
+ \end{array}
226
+ \\
227
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/3700.txt ADDED
@@ -0,0 +1,375 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cccc}
5
+ 0 & -1 & 2 & 10 \\
6
+ -8 & -10 & 7 & 10 \\
7
+ 5 & -8 & -8 & 2 \\
8
+ -3 & 1 & -9 & 1 \\
9
+ \end{array}
10
+ \right)$.
11
+ Answer:
12
+ \begin{array}{l}
13
+
14
+ \begin{array}{l}
15
+ \text{Find the null space of the matrix }M: \\
16
+ M=\left(
17
+ \begin{array}{cccc}
18
+ 0 & -1 & 2 & 10 \\
19
+ -8 & -10 & 7 & 10 \\
20
+ 5 & -8 & -8 & 2 \\
21
+ -3 & 1 & -9 & 1 \\
22
+ \end{array}
23
+ \right) \\
24
+ \end{array}
25
+ \\
26
+ \hline
27
+
28
+ \begin{array}{l}
29
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
30
+ \begin{array}{cccc}
31
+ 0 & -1 & 2 & 10 \\
32
+ -8 & -10 & 7 & 10 \\
33
+ 5 & -8 & -8 & 2 \\
34
+ -3 & 1 & -9 & 1 \\
35
+ \end{array}
36
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
37
+ \begin{array}{c}
38
+ x_1 \\
39
+ x_2 \\
40
+ x_3 \\
41
+ x_4 \\
42
+ \end{array}
43
+ \right) \text{such }\text{that }M.v=0: \\
44
+ \left(
45
+ \begin{array}{cccc}
46
+ 0 & -1 & 2 & 10 \\
47
+ -8 & -10 & 7 & 10 \\
48
+ 5 & -8 & -8 & 2 \\
49
+ -3 & 1 & -9 & 1 \\
50
+ \end{array}
51
+ \right).\left(
52
+ \begin{array}{c}
53
+ x_1 \\
54
+ x_2 \\
55
+ x_3 \\
56
+ x_4 \\
57
+ \end{array}
58
+ \right)=\left(
59
+ \begin{array}{c}
60
+ 0 \\
61
+ 0 \\
62
+ 0 \\
63
+ 0 \\
64
+ \end{array}
65
+ \right) \\
66
+ \end{array}
67
+ \\
68
+
69
+ \begin{array}{l}
70
+ \text{Reduce }\text{the }\text{matrix }\left(
71
+ \begin{array}{cccc}
72
+ 0 & -1 & 2 & 10 \\
73
+ -8 & -10 & 7 & 10 \\
74
+ 5 & -8 & -8 & 2 \\
75
+ -3 & 1 & -9 & 1 \\
76
+ \end{array}
77
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
78
+ \left(
79
+ \begin{array}{cccc}
80
+ 0 & -1 & 2 & 10 \\
81
+ -8 & -10 & 7 & 10 \\
82
+ 5 & -8 & -8 & 2 \\
83
+ -3 & 1 & -9 & 1 \\
84
+ \end{array}
85
+ \right) \\
86
+ \end{array}
87
+ \\
88
+
89
+ \begin{array}{l}
90
+ \text{Swap }\text{row }1 \text{with }\text{row }2: \\
91
+ \left(
92
+ \begin{array}{cccc}
93
+ -8 & -10 & 7 & 10 \\
94
+ 0 & -1 & 2 & 10 \\
95
+ 5 & -8 & -8 & 2 \\
96
+ -3 & 1 & -9 & 1 \\
97
+ \end{array}
98
+ \right) \\
99
+ \end{array}
100
+ \\
101
+
102
+ \begin{array}{l}
103
+ \text{Add }\frac{5}{8}\, \times \, \text{(row }1) \text{to }\text{row }3: \\
104
+ \left(
105
+ \begin{array}{cccc}
106
+ -8 & -10 & 7 & 10 \\
107
+ 0 & -1 & 2 & 10 \\
108
+ 0 & -\frac{57}{4} & -\frac{29}{8} & \frac{33}{4} \\
109
+ -3 & 1 & -9 & 1 \\
110
+ \end{array}
111
+ \right) \\
112
+ \end{array}
113
+ \\
114
+
115
+ \begin{array}{l}
116
+ \text{Subtract }\frac{3}{8}\, \times \, \text{(row }1) \text{from }\text{row }4: \\
117
+ \left(
118
+ \begin{array}{cccc}
119
+ -8 & -10 & 7 & 10 \\
120
+ 0 & -1 & 2 & 10 \\
121
+ 0 & -\frac{57}{4} & -\frac{29}{8} & \frac{33}{4} \\
122
+ 0 & \frac{19}{4} & -\frac{93}{8} & -\frac{11}{4} \\
123
+ \end{array}
124
+ \right) \\
125
+ \end{array}
126
+ \\
127
+
128
+ \begin{array}{l}
129
+ \text{Subtract }\frac{57}{4}\, \times \, \text{(row }2) \text{from }\text{row }3: \\
130
+ \left(
131
+ \begin{array}{cccc}
132
+ -8 & -10 & 7 & 10 \\
133
+ 0 & -1 & 2 & 10 \\
134
+ 0 & 0 & -\frac{257}{8} & -\frac{537}{4} \\
135
+ 0 & \frac{19}{4} & -\frac{93}{8} & -\frac{11}{4} \\
136
+ \end{array}
137
+ \right) \\
138
+ \end{array}
139
+ \\
140
+
141
+ \begin{array}{l}
142
+ \text{Add }\frac{19}{4}\, \times \, \text{(row }2) \text{to }\text{row }4: \\
143
+ \left(
144
+ \begin{array}{cccc}
145
+ -8 & -10 & 7 & 10 \\
146
+ 0 & -1 & 2 & 10 \\
147
+ 0 & 0 & -\frac{257}{8} & -\frac{537}{4} \\
148
+ 0 & 0 & -\frac{17}{8} & \frac{179}{4} \\
149
+ \end{array}
150
+ \right) \\
151
+ \end{array}
152
+ \\
153
+
154
+ \begin{array}{l}
155
+ \text{Subtract }\frac{17}{257}\, \times \, \text{(row }3) \text{from }\text{row }4: \\
156
+ \left(
157
+ \begin{array}{cccc}
158
+ -8 & -10 & 7 & 10 \\
159
+ 0 & -1 & 2 & 10 \\
160
+ 0 & 0 & -\frac{257}{8} & -\frac{537}{4} \\
161
+ 0 & 0 & 0 & \frac{13783}{257} \\
162
+ \end{array}
163
+ \right) \\
164
+ \end{array}
165
+ \\
166
+
167
+ \begin{array}{l}
168
+ \text{Multiply }\text{row }4 \text{by }\frac{257}{13783}: \\
169
+ \left(
170
+ \begin{array}{cccc}
171
+ -8 & -10 & 7 & 10 \\
172
+ 0 & -1 & 2 & 10 \\
173
+ 0 & 0 & -\frac{257}{8} & -\frac{537}{4} \\
174
+ 0 & 0 & 0 & 1 \\
175
+ \end{array}
176
+ \right) \\
177
+ \end{array}
178
+ \\
179
+
180
+ \begin{array}{l}
181
+ \text{Add }\frac{537}{4}\, \times \, \text{(row }4) \text{to }\text{row }3: \\
182
+ \left(
183
+ \begin{array}{cccc}
184
+ -8 & -10 & 7 & 10 \\
185
+ 0 & -1 & 2 & 10 \\
186
+ 0 & 0 & -\frac{257}{8} & 0 \\
187
+ 0 & 0 & 0 & 1 \\
188
+ \end{array}
189
+ \right) \\
190
+ \end{array}
191
+ \\
192
+
193
+ \begin{array}{l}
194
+ \text{Subtract }10\, \times \, \text{(row }4) \text{from }\text{row }2: \\
195
+ \left(
196
+ \begin{array}{cccc}
197
+ -8 & -10 & 7 & 10 \\
198
+ 0 & -1 & 2 & 0 \\
199
+ 0 & 0 & -\frac{257}{8} & 0 \\
200
+ 0 & 0 & 0 & 1 \\
201
+ \end{array}
202
+ \right) \\
203
+ \end{array}
204
+ \\
205
+
206
+ \begin{array}{l}
207
+ \text{Subtract }10\, \times \, \text{(row }4) \text{from }\text{row }1: \\
208
+ \left(
209
+ \begin{array}{cccc}
210
+ -8 & -10 & 7 & 0 \\
211
+ 0 & -1 & 2 & 0 \\
212
+ 0 & 0 & -\frac{257}{8} & 0 \\
213
+ 0 & 0 & 0 & 1 \\
214
+ \end{array}
215
+ \right) \\
216
+ \end{array}
217
+ \\
218
+
219
+ \begin{array}{l}
220
+ \text{Multiply }\text{row }3 \text{by }-\frac{8}{257}: \\
221
+ \left(
222
+ \begin{array}{cccc}
223
+ -8 & -10 & 7 & 0 \\
224
+ 0 & -1 & 2 & 0 \\
225
+ 0 & 0 & 1 & 0 \\
226
+ 0 & 0 & 0 & 1 \\
227
+ \end{array}
228
+ \right) \\
229
+ \end{array}
230
+ \\
231
+
232
+ \begin{array}{l}
233
+ \text{Subtract }2\, \times \, \text{(row }3) \text{from }\text{row }2: \\
234
+ \left(
235
+ \begin{array}{cccc}
236
+ -8 & -10 & 7 & 0 \\
237
+ 0 & -1 & 0 & 0 \\
238
+ 0 & 0 & 1 & 0 \\
239
+ 0 & 0 & 0 & 1 \\
240
+ \end{array}
241
+ \right) \\
242
+ \end{array}
243
+ \\
244
+
245
+ \begin{array}{l}
246
+ \text{Subtract }7\, \times \, \text{(row }3) \text{from }\text{row }1: \\
247
+ \left(
248
+ \begin{array}{cccc}
249
+ -8 & -10 & 0 & 0 \\
250
+ 0 & -1 & 0 & 0 \\
251
+ 0 & 0 & 1 & 0 \\
252
+ 0 & 0 & 0 & 1 \\
253
+ \end{array}
254
+ \right) \\
255
+ \end{array}
256
+ \\
257
+
258
+ \begin{array}{l}
259
+ \text{Multiply }\text{row }2 \text{by }-1: \\
260
+ \left(
261
+ \begin{array}{cccc}
262
+ -8 & -10 & 0 & 0 \\
263
+ 0 & 1 & 0 & 0 \\
264
+ 0 & 0 & 1 & 0 \\
265
+ 0 & 0 & 0 & 1 \\
266
+ \end{array}
267
+ \right) \\
268
+ \end{array}
269
+ \\
270
+
271
+ \begin{array}{l}
272
+ \text{Add }10\, \times \, \text{(row }2) \text{to }\text{row }1: \\
273
+ \left(
274
+ \begin{array}{cccc}
275
+ -8 & 0 & 0 & 0 \\
276
+ 0 & 1 & 0 & 0 \\
277
+ 0 & 0 & 1 & 0 \\
278
+ 0 & 0 & 0 & 1 \\
279
+ \end{array}
280
+ \right) \\
281
+ \end{array}
282
+ \\
283
+
284
+ \begin{array}{l}
285
+ \text{Divide }\text{row }1 \text{by }-8: \\
286
+ \left(
287
+ \begin{array}{cccc}
288
+ 1 & 0 & 0 & 0 \\
289
+ 0 & 1 & 0 & 0 \\
290
+ 0 & 0 & 1 & 0 \\
291
+ 0 & 0 & 0 & 1 \\
292
+ \end{array}
293
+ \right) \\
294
+ \end{array}
295
+ \\
296
+
297
+ \begin{array}{l}
298
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
299
+ \begin{array}{c}
300
+ x_1 \\
301
+ x_2 \\
302
+ x_3 \\
303
+ x_4 \\
304
+ \end{array}
305
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
306
+ \begin{array}{cccc}
307
+ 1 & 0 & 0 & 0 \\
308
+ 0 & 1 & 0 & 0 \\
309
+ 0 & 0 & 1 & 0 \\
310
+ 0 & 0 & 0 & 1 \\
311
+ \end{array}
312
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
313
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
314
+ \end{array}
315
+ \\
316
+
317
+ \begin{array}{l}
318
+ \text{The }\text{only }\text{value }\text{of }v=\left(
319
+ \begin{array}{c}
320
+ x_1 \\
321
+ x_2 \\
322
+ x_3 \\
323
+ x_4 \\
324
+ \end{array}
325
+ \right) \text{that }\text{would }\text{make }\left(
326
+ \begin{array}{cccc}
327
+ 1 & 0 & 0 & 0 \\
328
+ 0 & 1 & 0 & 0 \\
329
+ 0 & 0 & 1 & 0 \\
330
+ 0 & 0 & 0 & 1 \\
331
+ \end{array}
332
+ \right).\left(
333
+ \begin{array}{c}
334
+ x_1 \\
335
+ x_2 \\
336
+ x_3 \\
337
+ x_4 \\
338
+ \end{array}
339
+ \right)=\left(
340
+ \begin{array}{c}
341
+ 0 \\
342
+ 0 \\
343
+ 0 \\
344
+ 0 \\
345
+ \end{array}
346
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
347
+ \begin{array}{c}
348
+ 0 \\
349
+ 0 \\
350
+ 0 \\
351
+ 0 \\
352
+ \end{array}
353
+ \right): \\
354
+ \left(
355
+ \begin{array}{c}
356
+ 0 \\
357
+ 0 \\
358
+ 0 \\
359
+ 0 \\
360
+ \end{array}
361
+ \right) \\
362
+ \end{array}
363
+ \\
364
+
365
+ \begin{array}{l}
366
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
367
+ \fbox{$
368
+ \begin{array}{ll}
369
+ \text{Answer:} & \\
370
+ \text{} & \{\, (0,0,0,0)\, \} \\
371
+ \end{array}
372
+ $} \\
373
+ \end{array}
374
+ \\
375
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/3745.txt ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cc}
5
+ -1 & 2 \\
6
+ -9 & 10 \\
7
+ \end{array}
8
+ \right)$.
9
+ Answer:
10
+ \begin{array}{l}
11
+
12
+ \begin{array}{l}
13
+ \text{Find the null space of the matrix }M: \\
14
+ M=\left(
15
+ \begin{array}{cc}
16
+ -1 & 2 \\
17
+ -9 & 10 \\
18
+ \end{array}
19
+ \right) \\
20
+ \end{array}
21
+ \\
22
+ \hline
23
+
24
+ \begin{array}{l}
25
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
26
+ \begin{array}{cc}
27
+ -1 & 2 \\
28
+ -9 & 10 \\
29
+ \end{array}
30
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
31
+ \begin{array}{c}
32
+ x_1 \\
33
+ x_2 \\
34
+ \end{array}
35
+ \right) \text{such }\text{that }M.v=0: \\
36
+ \left(
37
+ \begin{array}{cc}
38
+ -1 & 2 \\
39
+ -9 & 10 \\
40
+ \end{array}
41
+ \right).\left(
42
+ \begin{array}{c}
43
+ x_1 \\
44
+ x_2 \\
45
+ \end{array}
46
+ \right)=\left(
47
+ \begin{array}{c}
48
+ 0 \\
49
+ 0 \\
50
+ \end{array}
51
+ \right) \\
52
+ \end{array}
53
+ \\
54
+
55
+ \begin{array}{l}
56
+ \text{Reduce }\text{the }\text{matrix }\left(
57
+ \begin{array}{cc}
58
+ -1 & 2 \\
59
+ -9 & 10 \\
60
+ \end{array}
61
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
62
+ \left(
63
+ \begin{array}{cc}
64
+ -1 & 2 \\
65
+ -9 & 10 \\
66
+ \end{array}
67
+ \right) \\
68
+ \end{array}
69
+ \\
70
+
71
+ \begin{array}{l}
72
+ \text{Subtract }9\, \times \, \text{(row }1) \text{from }\text{row }2: \\
73
+ \left(
74
+ \begin{array}{cc}
75
+ -1 & 2 \\
76
+ 0 & -8 \\
77
+ \end{array}
78
+ \right) \\
79
+ \end{array}
80
+ \\
81
+
82
+ \begin{array}{l}
83
+ \text{Divide }\text{row }2 \text{by }-8: \\
84
+ \left(
85
+ \begin{array}{cc}
86
+ -1 & 2 \\
87
+ 0 & 1 \\
88
+ \end{array}
89
+ \right) \\
90
+ \end{array}
91
+ \\
92
+
93
+ \begin{array}{l}
94
+ \text{Subtract }2\, \times \, \text{(row }2) \text{from }\text{row }1: \\
95
+ \left(
96
+ \begin{array}{cc}
97
+ -1 & 0 \\
98
+ 0 & 1 \\
99
+ \end{array}
100
+ \right) \\
101
+ \end{array}
102
+ \\
103
+
104
+ \begin{array}{l}
105
+ \text{Multiply }\text{row }1 \text{by }-1: \\
106
+ \left(
107
+ \begin{array}{cc}
108
+ 1 & 0 \\
109
+ 0 & 1 \\
110
+ \end{array}
111
+ \right) \\
112
+ \end{array}
113
+ \\
114
+
115
+ \begin{array}{l}
116
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
117
+ \begin{array}{c}
118
+ x_1 \\
119
+ x_2 \\
120
+ \end{array}
121
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
122
+ \begin{array}{cc}
123
+ 1 & 0 \\
124
+ 0 & 1 \\
125
+ \end{array}
126
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
127
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
128
+ \end{array}
129
+ \\
130
+
131
+ \begin{array}{l}
132
+ \text{The }\text{only }\text{value }\text{of }v=\left(
133
+ \begin{array}{c}
134
+ x_1 \\
135
+ x_2 \\
136
+ \end{array}
137
+ \right) \text{that }\text{would }\text{make }\left(
138
+ \begin{array}{cc}
139
+ 1 & 0 \\
140
+ 0 & 1 \\
141
+ \end{array}
142
+ \right).\left(
143
+ \begin{array}{c}
144
+ x_1 \\
145
+ x_2 \\
146
+ \end{array}
147
+ \right)=\left(
148
+ \begin{array}{c}
149
+ 0 \\
150
+ 0 \\
151
+ \end{array}
152
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
153
+ \begin{array}{c}
154
+ 0 \\
155
+ 0 \\
156
+ \end{array}
157
+ \right): \\
158
+ \left(
159
+ \begin{array}{c}
160
+ 0 \\
161
+ 0 \\
162
+ \end{array}
163
+ \right) \\
164
+ \end{array}
165
+ \\
166
+
167
+ \begin{array}{l}
168
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
169
+ \fbox{$
170
+ \begin{array}{ll}
171
+ \text{Answer:} & \\
172
+ \text{} & \{\, (0,0)\, \} \\
173
+ \end{array}
174
+ $} \\
175
+ \end{array}
176
+ \\
177
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/3747.txt ADDED
@@ -0,0 +1,388 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cccc}
5
+ 2 & -2 & 6 & 4 \\
6
+ 6 & 4 & -2 & -4 \\
7
+ 1 & -9 & -7 & 6 \\
8
+ -7 & 9 & -7 & 5 \\
9
+ \end{array}
10
+ \right)$.
11
+ Answer:
12
+ \begin{array}{l}
13
+
14
+ \begin{array}{l}
15
+ \text{Find the null space of the matrix }M: \\
16
+ M=\left(
17
+ \begin{array}{cccc}
18
+ 2 & -2 & 6 & 4 \\
19
+ 6 & 4 & -2 & -4 \\
20
+ 1 & -9 & -7 & 6 \\
21
+ -7 & 9 & -7 & 5 \\
22
+ \end{array}
23
+ \right) \\
24
+ \end{array}
25
+ \\
26
+ \hline
27
+
28
+ \begin{array}{l}
29
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
30
+ \begin{array}{cccc}
31
+ 2 & -2 & 6 & 4 \\
32
+ 6 & 4 & -2 & -4 \\
33
+ 1 & -9 & -7 & 6 \\
34
+ -7 & 9 & -7 & 5 \\
35
+ \end{array}
36
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
37
+ \begin{array}{c}
38
+ x_1 \\
39
+ x_2 \\
40
+ x_3 \\
41
+ x_4 \\
42
+ \end{array}
43
+ \right) \text{such }\text{that }M.v=0: \\
44
+ \left(
45
+ \begin{array}{cccc}
46
+ 2 & -2 & 6 & 4 \\
47
+ 6 & 4 & -2 & -4 \\
48
+ 1 & -9 & -7 & 6 \\
49
+ -7 & 9 & -7 & 5 \\
50
+ \end{array}
51
+ \right).\left(
52
+ \begin{array}{c}
53
+ x_1 \\
54
+ x_2 \\
55
+ x_3 \\
56
+ x_4 \\
57
+ \end{array}
58
+ \right)=\left(
59
+ \begin{array}{c}
60
+ 0 \\
61
+ 0 \\
62
+ 0 \\
63
+ 0 \\
64
+ \end{array}
65
+ \right) \\
66
+ \end{array}
67
+ \\
68
+
69
+ \begin{array}{l}
70
+ \text{Reduce }\text{the }\text{matrix }\left(
71
+ \begin{array}{cccc}
72
+ 2 & -2 & 6 & 4 \\
73
+ 6 & 4 & -2 & -4 \\
74
+ 1 & -9 & -7 & 6 \\
75
+ -7 & 9 & -7 & 5 \\
76
+ \end{array}
77
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
78
+ \left(
79
+ \begin{array}{cccc}
80
+ 2 & -2 & 6 & 4 \\
81
+ 6 & 4 & -2 & -4 \\
82
+ 1 & -9 & -7 & 6 \\
83
+ -7 & 9 & -7 & 5 \\
84
+ \end{array}
85
+ \right) \\
86
+ \end{array}
87
+ \\
88
+
89
+ \begin{array}{l}
90
+ \text{Swap }\text{row }1 \text{with }\text{row }3: \\
91
+ \left(
92
+ \begin{array}{cccc}
93
+ 1 & -9 & -7 & 6 \\
94
+ 6 & 4 & -2 & -4 \\
95
+ 2 & -2 & 6 & 4 \\
96
+ -7 & 9 & -7 & 5 \\
97
+ \end{array}
98
+ \right) \\
99
+ \end{array}
100
+ \\
101
+
102
+ \begin{array}{l}
103
+ \text{Subtract }6\, \times \, \text{(row }1) \text{from }\text{row }2: \\
104
+ \left(
105
+ \begin{array}{cccc}
106
+ 1 & -9 & -7 & 6 \\
107
+ 0 & 58 & 40 & -40 \\
108
+ 2 & -2 & 6 & 4 \\
109
+ -7 & 9 & -7 & 5 \\
110
+ \end{array}
111
+ \right) \\
112
+ \end{array}
113
+ \\
114
+
115
+ \begin{array}{l}
116
+ \text{Subtract }2\, \times \, \text{(row }1) \text{from }\text{row }3: \\
117
+ \left(
118
+ \begin{array}{cccc}
119
+ 1 & -9 & -7 & 6 \\
120
+ 0 & 58 & 40 & -40 \\
121
+ 0 & 16 & 20 & -8 \\
122
+ -7 & 9 & -7 & 5 \\
123
+ \end{array}
124
+ \right) \\
125
+ \end{array}
126
+ \\
127
+
128
+ \begin{array}{l}
129
+ \text{Add }7\, \times \, \text{(row }1) \text{to }\text{row }4: \\
130
+ \left(
131
+ \begin{array}{cccc}
132
+ 1 & -9 & -7 & 6 \\
133
+ 0 & 58 & 40 & -40 \\
134
+ 0 & 16 & 20 & -8 \\
135
+ 0 & -54 & -56 & 47 \\
136
+ \end{array}
137
+ \right) \\
138
+ \end{array}
139
+ \\
140
+
141
+ \begin{array}{l}
142
+ \text{Subtract }\frac{8}{29}\, \times \, \text{(row }2) \text{from }\text{row }3: \\
143
+ \left(
144
+ \begin{array}{cccc}
145
+ 1 & -9 & -7 & 6 \\
146
+ 0 & 58 & 40 & -40 \\
147
+ 0 & 0 & \frac{260}{29} & \frac{88}{29} \\
148
+ 0 & -54 & -56 & 47 \\
149
+ \end{array}
150
+ \right) \\
151
+ \end{array}
152
+ \\
153
+
154
+ \begin{array}{l}
155
+ \text{Add }\frac{27}{29}\, \times \, \text{(row }2) \text{to }\text{row }4: \\
156
+ \left(
157
+ \begin{array}{cccc}
158
+ 1 & -9 & -7 & 6 \\
159
+ 0 & 58 & 40 & -40 \\
160
+ 0 & 0 & \frac{260}{29} & \frac{88}{29} \\
161
+ 0 & 0 & -\frac{544}{29} & \frac{283}{29} \\
162
+ \end{array}
163
+ \right) \\
164
+ \end{array}
165
+ \\
166
+
167
+ \begin{array}{l}
168
+ \text{Swap }\text{row }3 \text{with }\text{row }4: \\
169
+ \left(
170
+ \begin{array}{cccc}
171
+ 1 & -9 & -7 & 6 \\
172
+ 0 & 58 & 40 & -40 \\
173
+ 0 & 0 & -\frac{544}{29} & \frac{283}{29} \\
174
+ 0 & 0 & \frac{260}{29} & \frac{88}{29} \\
175
+ \end{array}
176
+ \right) \\
177
+ \end{array}
178
+ \\
179
+
180
+ \begin{array}{l}
181
+ \text{Add }\frac{65}{136}\, \times \, \text{(row }3) \text{to }\text{row }4: \\
182
+ \left(
183
+ \begin{array}{cccc}
184
+ 1 & -9 & -7 & 6 \\
185
+ 0 & 58 & 40 & -40 \\
186
+ 0 & 0 & -\frac{544}{29} & \frac{283}{29} \\
187
+ 0 & 0 & 0 & \frac{1047}{136} \\
188
+ \end{array}
189
+ \right) \\
190
+ \end{array}
191
+ \\
192
+
193
+ \begin{array}{l}
194
+ \text{Multiply }\text{row }4 \text{by }\frac{136}{1047}: \\
195
+ \left(
196
+ \begin{array}{cccc}
197
+ 1 & -9 & -7 & 6 \\
198
+ 0 & 58 & 40 & -40 \\
199
+ 0 & 0 & -\frac{544}{29} & \frac{283}{29} \\
200
+ 0 & 0 & 0 & 1 \\
201
+ \end{array}
202
+ \right) \\
203
+ \end{array}
204
+ \\
205
+
206
+ \begin{array}{l}
207
+ \text{Subtract }\frac{283}{29}\, \times \, \text{(row }4) \text{from }\text{row }3: \\
208
+ \left(
209
+ \begin{array}{cccc}
210
+ 1 & -9 & -7 & 6 \\
211
+ 0 & 58 & 40 & -40 \\
212
+ 0 & 0 & -\frac{544}{29} & 0 \\
213
+ 0 & 0 & 0 & 1 \\
214
+ \end{array}
215
+ \right) \\
216
+ \end{array}
217
+ \\
218
+
219
+ \begin{array}{l}
220
+ \text{Add }40\, \times \, \text{(row }4) \text{to }\text{row }2: \\
221
+ \left(
222
+ \begin{array}{cccc}
223
+ 1 & -9 & -7 & 6 \\
224
+ 0 & 58 & 40 & 0 \\
225
+ 0 & 0 & -\frac{544}{29} & 0 \\
226
+ 0 & 0 & 0 & 1 \\
227
+ \end{array}
228
+ \right) \\
229
+ \end{array}
230
+ \\
231
+
232
+ \begin{array}{l}
233
+ \text{Subtract }6\, \times \, \text{(row }4) \text{from }\text{row }1: \\
234
+ \left(
235
+ \begin{array}{cccc}
236
+ 1 & -9 & -7 & 0 \\
237
+ 0 & 58 & 40 & 0 \\
238
+ 0 & 0 & -\frac{544}{29} & 0 \\
239
+ 0 & 0 & 0 & 1 \\
240
+ \end{array}
241
+ \right) \\
242
+ \end{array}
243
+ \\
244
+
245
+ \begin{array}{l}
246
+ \text{Multiply }\text{row }3 \text{by }-\frac{29}{544}: \\
247
+ \left(
248
+ \begin{array}{cccc}
249
+ 1 & -9 & -7 & 0 \\
250
+ 0 & 58 & 40 & 0 \\
251
+ 0 & 0 & 1 & 0 \\
252
+ 0 & 0 & 0 & 1 \\
253
+ \end{array}
254
+ \right) \\
255
+ \end{array}
256
+ \\
257
+
258
+ \begin{array}{l}
259
+ \text{Subtract }40\, \times \, \text{(row }3) \text{from }\text{row }2: \\
260
+ \left(
261
+ \begin{array}{cccc}
262
+ 1 & -9 & -7 & 0 \\
263
+ 0 & 58 & 0 & 0 \\
264
+ 0 & 0 & 1 & 0 \\
265
+ 0 & 0 & 0 & 1 \\
266
+ \end{array}
267
+ \right) \\
268
+ \end{array}
269
+ \\
270
+
271
+ \begin{array}{l}
272
+ \text{Add }7\, \times \, \text{(row }3) \text{to }\text{row }1: \\
273
+ \left(
274
+ \begin{array}{cccc}
275
+ 1 & -9 & 0 & 0 \\
276
+ 0 & 58 & 0 & 0 \\
277
+ 0 & 0 & 1 & 0 \\
278
+ 0 & 0 & 0 & 1 \\
279
+ \end{array}
280
+ \right) \\
281
+ \end{array}
282
+ \\
283
+
284
+ \begin{array}{l}
285
+ \text{Divide }\text{row }2 \text{by }58: \\
286
+ \left(
287
+ \begin{array}{cccc}
288
+ 1 & -9 & 0 & 0 \\
289
+ 0 & 1 & 0 & 0 \\
290
+ 0 & 0 & 1 & 0 \\
291
+ 0 & 0 & 0 & 1 \\
292
+ \end{array}
293
+ \right) \\
294
+ \end{array}
295
+ \\
296
+
297
+ \begin{array}{l}
298
+ \text{Add }9\, \times \, \text{(row }2) \text{to }\text{row }1: \\
299
+ \left(
300
+ \begin{array}{cccc}
301
+ 1 & 0 & 0 & 0 \\
302
+ 0 & 1 & 0 & 0 \\
303
+ 0 & 0 & 1 & 0 \\
304
+ 0 & 0 & 0 & 1 \\
305
+ \end{array}
306
+ \right) \\
307
+ \end{array}
308
+ \\
309
+
310
+ \begin{array}{l}
311
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
312
+ \begin{array}{c}
313
+ x_1 \\
314
+ x_2 \\
315
+ x_3 \\
316
+ x_4 \\
317
+ \end{array}
318
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
319
+ \begin{array}{cccc}
320
+ 1 & 0 & 0 & 0 \\
321
+ 0 & 1 & 0 & 0 \\
322
+ 0 & 0 & 1 & 0 \\
323
+ 0 & 0 & 0 & 1 \\
324
+ \end{array}
325
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
326
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
327
+ \end{array}
328
+ \\
329
+
330
+ \begin{array}{l}
331
+ \text{The }\text{only }\text{value }\text{of }v=\left(
332
+ \begin{array}{c}
333
+ x_1 \\
334
+ x_2 \\
335
+ x_3 \\
336
+ x_4 \\
337
+ \end{array}
338
+ \right) \text{that }\text{would }\text{make }\left(
339
+ \begin{array}{cccc}
340
+ 1 & 0 & 0 & 0 \\
341
+ 0 & 1 & 0 & 0 \\
342
+ 0 & 0 & 1 & 0 \\
343
+ 0 & 0 & 0 & 1 \\
344
+ \end{array}
345
+ \right).\left(
346
+ \begin{array}{c}
347
+ x_1 \\
348
+ x_2 \\
349
+ x_3 \\
350
+ x_4 \\
351
+ \end{array}
352
+ \right)=\left(
353
+ \begin{array}{c}
354
+ 0 \\
355
+ 0 \\
356
+ 0 \\
357
+ 0 \\
358
+ \end{array}
359
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
360
+ \begin{array}{c}
361
+ 0 \\
362
+ 0 \\
363
+ 0 \\
364
+ 0 \\
365
+ \end{array}
366
+ \right): \\
367
+ \left(
368
+ \begin{array}{c}
369
+ 0 \\
370
+ 0 \\
371
+ 0 \\
372
+ 0 \\
373
+ \end{array}
374
+ \right) \\
375
+ \end{array}
376
+ \\
377
+
378
+ \begin{array}{l}
379
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
380
+ \fbox{$
381
+ \begin{array}{ll}
382
+ \text{Answer:} & \\
383
+ \text{} & \{\, (0,0,0,0)\, \} \\
384
+ \end{array}
385
+ $} \\
386
+ \end{array}
387
+ \\
388
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/3749.txt ADDED
@@ -0,0 +1,253 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cccc}
5
+ 1 & -7 & 2 & -2 \\
6
+ 9 & 8 & 5 & -2 \\
7
+ \end{array}
8
+ \right)$.
9
+ Answer:
10
+ \begin{array}{l}
11
+
12
+ \begin{array}{l}
13
+ \text{Find the null space of the matrix }M: \\
14
+ M=\left(
15
+ \begin{array}{cccc}
16
+ 1 & -7 & 2 & -2 \\
17
+ 9 & 8 & 5 & -2 \\
18
+ \end{array}
19
+ \right) \\
20
+ \end{array}
21
+ \\
22
+ \hline
23
+
24
+ \begin{array}{l}
25
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
26
+ \begin{array}{cccc}
27
+ 1 & -7 & 2 & -2 \\
28
+ 9 & 8 & 5 & -2 \\
29
+ \end{array}
30
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
31
+ \begin{array}{c}
32
+ x_1 \\
33
+ x_2 \\
34
+ x_3 \\
35
+ x_4 \\
36
+ \end{array}
37
+ \right) \text{such }\text{that }M.v=0: \\
38
+ \left(
39
+ \begin{array}{cccc}
40
+ 1 & -7 & 2 & -2 \\
41
+ 9 & 8 & 5 & -2 \\
42
+ \end{array}
43
+ \right).\left(
44
+ \begin{array}{c}
45
+ x_1 \\
46
+ x_2 \\
47
+ x_3 \\
48
+ x_4 \\
49
+ \end{array}
50
+ \right)=\left(
51
+ \begin{array}{c}
52
+ 0 \\
53
+ 0 \\
54
+ \end{array}
55
+ \right) \\
56
+ \end{array}
57
+ \\
58
+
59
+ \begin{array}{l}
60
+ \text{Reduce }\text{the }\text{matrix }\left(
61
+ \begin{array}{cccc}
62
+ 1 & -7 & 2 & -2 \\
63
+ 9 & 8 & 5 & -2 \\
64
+ \end{array}
65
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
66
+ \left(
67
+ \begin{array}{cccc}
68
+ 1 & -7 & 2 & -2 \\
69
+ 9 & 8 & 5 & -2 \\
70
+ \end{array}
71
+ \right) \\
72
+ \end{array}
73
+ \\
74
+
75
+ \begin{array}{l}
76
+ \text{Subtract }9\, \times \, \text{(row }1) \text{from }\text{row }2: \\
77
+ \left(
78
+ \begin{array}{cccc}
79
+ 1 & -7 & 2 & -2 \\
80
+ 0 & 71 & -13 & 16 \\
81
+ \end{array}
82
+ \right) \\
83
+ \end{array}
84
+ \\
85
+
86
+ \begin{array}{l}
87
+ \text{Divide }\text{row }2 \text{by }71: \\
88
+ \left(
89
+ \begin{array}{cccc}
90
+ 1 & -7 & 2 & -2 \\
91
+ 0 & 1 & -\frac{13}{71} & \frac{16}{71} \\
92
+ \end{array}
93
+ \right) \\
94
+ \end{array}
95
+ \\
96
+
97
+ \begin{array}{l}
98
+ \text{Add }7\, \times \, \text{(row }2) \text{to }\text{row }1: \\
99
+ \left(
100
+ \begin{array}{cccc}
101
+ 1 & 0 & \frac{51}{71} & -\frac{30}{71} \\
102
+ 0 & 1 & -\frac{13}{71} & \frac{16}{71} \\
103
+ \end{array}
104
+ \right) \\
105
+ \end{array}
106
+ \\
107
+
108
+ \begin{array}{l}
109
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
110
+ \begin{array}{c}
111
+ x_1 \\
112
+ x_2 \\
113
+ x_3 \\
114
+ x_4 \\
115
+ \end{array}
116
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
117
+ \begin{array}{cccc}
118
+ 1 & 0 & \frac{51}{71} & -\frac{30}{71} \\
119
+ 0 & 1 & -\frac{13}{71} & \frac{16}{71} \\
120
+ \end{array}
121
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
122
+ \text{Columns }3 \text{and }4 \text{are }\text{the }\text{only }\text{columns }\text{with }\text{no }\text{pivot, }\text{so }\text{we }\text{may }\text{take }x_3 \text{and }x_4 \text{to }\text{be }\text{the }\text{only }\text{free }\text{variables} \\
123
+ \end{array}
124
+ \\
125
+
126
+ \begin{array}{l}
127
+ \text{Multiply }\text{out }\text{the }\text{reduced }\text{matrix }\left(
128
+ \begin{array}{cccc}
129
+ 1 & 0 & \frac{51}{71} & -\frac{30}{71} \\
130
+ 0 & 1 & -\frac{13}{71} & \frac{16}{71} \\
131
+ \end{array}
132
+ \right) \text{with }\text{the }\text{proposed }\text{solution }\text{vector }\left(
133
+ \begin{array}{c}
134
+ x_1 \\
135
+ x_2 \\
136
+ x_3 \\
137
+ x_4 \\
138
+ \end{array}
139
+ \right): \\
140
+ \left(
141
+ \begin{array}{cccc}
142
+ 1 & 0 & \frac{51}{71} & -\frac{30}{71} \\
143
+ 0 & 1 & -\frac{13}{71} & \frac{16}{71} \\
144
+ \end{array}
145
+ \right).\left(
146
+ \begin{array}{c}
147
+ x_1 \\
148
+ x_2 \\
149
+ x_3 \\
150
+ x_4 \\
151
+ \end{array}
152
+ \right)=\left(
153
+ \begin{array}{c}
154
+ x_1+\frac{51 x_3}{71}-\frac{30 x_4}{71} \\
155
+ x_2-\frac{13 x_3}{71}+\frac{16 x_4}{71} \\
156
+ \end{array}
157
+ \right)=\left(
158
+ \begin{array}{c}
159
+ 0 \\
160
+ 0 \\
161
+ \end{array}
162
+ \right) \\
163
+ \end{array}
164
+ \\
165
+
166
+ \begin{array}{l}
167
+ \text{Solve }\text{the }\text{equations }\{
168
+ \begin{array}{l}
169
+ x_1+\frac{51 x_3}{71}-\frac{30 x_4}{71}=0 \\
170
+ x_2-\frac{13 x_3}{71}+\frac{16 x_4}{71}=0 \\
171
+ \end{array}
172
+ \text{for }x_1 \text{and }x_2: \\
173
+ \{
174
+ \begin{array}{l}
175
+ x_1=\frac{30 x_4}{71}-\frac{51 x_3}{71} \\
176
+ x_2=\frac{13 x_3}{71}-\frac{16 x_4}{71} \\
177
+ \end{array}
178
+ \\
179
+ \end{array}
180
+ \\
181
+
182
+ \begin{array}{l}
183
+ \text{Rewrite }v \text{in }\text{terms }\text{of }\text{the }\text{free }\text{variables }x_3 \text{and }x_4, \text{and }\text{assign }\text{arbitrary }\text{real }\text{values }\text{of }x \text{and }y \text{to }\text{the }\text{variables}: \\
184
+ v=\left(
185
+ \begin{array}{c}
186
+ x_1 \\
187
+ x_2 \\
188
+ x_3 \\
189
+ x_4 \\
190
+ \end{array}
191
+ \right)=\left(
192
+ \begin{array}{c}
193
+ \frac{30 x_4}{71}-\frac{51 x_3}{71} \\
194
+ \frac{13 x_3}{71}-\frac{16 x_4}{71} \\
195
+ x_3 \\
196
+ x_4 \\
197
+ \end{array}
198
+ \right)=\left(
199
+ \begin{array}{c}
200
+ \frac{30 y}{71}-\frac{51 x}{71} \\
201
+ -\frac{16 y}{71}+\frac{13 x}{71} \\
202
+ x \\
203
+ y \\
204
+ \end{array}
205
+ \right)\text{ for }x,y\in \mathbb{R} \\
206
+ \end{array}
207
+ \\
208
+
209
+ \begin{array}{l}
210
+ \text{Since }\text{the }\text{variables }x \text{and }y \text{are }\text{taken }\text{from }\mathbb{R}, \text{we }\text{can }\text{replace }\text{them }\text{with }71 x \text{and }71 y \text{respectively}: \\
211
+ \left(
212
+ \begin{array}{c}
213
+ \frac{30 y}{71}-\frac{51 x}{71} \\
214
+ -\frac{16 y}{71}+\frac{13 x}{71} \\
215
+ x \\
216
+ y \\
217
+ \end{array}
218
+ \right)\, \rightarrow \, \left(
219
+ \begin{array}{c}
220
+ \frac{30 (71 y)}{71}-\frac{51 (71 x)}{71} \\
221
+ -\frac{16}{71} (71 y)+\frac{13 (71 x)}{71} \\
222
+ 71 x \\
223
+ 71 y \\
224
+ \end{array}
225
+ \right)=\left(
226
+ \begin{array}{c}
227
+ 30 y-51 x \\
228
+ -16 y+13 x \\
229
+ 71 x \\
230
+ 71 y \\
231
+ \end{array}
232
+ \right)\text{ for }x,y\in \mathbb{R} \\
233
+ \end{array}
234
+ \\
235
+
236
+ \begin{array}{l}
237
+ \text{Rewrite }\text{the }\text{solution }\text{vector }v=\left(
238
+ \begin{array}{c}
239
+ 30 y-51 x \\
240
+ -16 y+13 x \\
241
+ 71 x \\
242
+ 71 y \\
243
+ \end{array}
244
+ \right) \text{in }\text{set }\text{notation}: \\
245
+ \fbox{$
246
+ \begin{array}{ll}
247
+ \text{Answer:} & \\
248
+ \text{} & \{\, (30 y-51 x,-16 y+13 x,71 x,71 y)\, \text{$\, $: }x,y\in \mathbb{R}\} \\
249
+ \end{array}
250
+ $} \\
251
+ \end{array}
252
+ \\
253
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/3805.txt ADDED
@@ -0,0 +1,270 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{ccc}
5
+ 5 & -6 & 5 \\
6
+ -8 & -4 & 1 \\
7
+ -5 & 5 & -5 \\
8
+ \end{array}
9
+ \right)$.
10
+ Answer:
11
+ \begin{array}{l}
12
+
13
+ \begin{array}{l}
14
+ \text{Find the null space of the matrix }M: \\
15
+ M=\left(
16
+ \begin{array}{ccc}
17
+ 5 & -6 & 5 \\
18
+ -8 & -4 & 1 \\
19
+ -5 & 5 & -5 \\
20
+ \end{array}
21
+ \right) \\
22
+ \end{array}
23
+ \\
24
+ \hline
25
+
26
+ \begin{array}{l}
27
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
28
+ \begin{array}{ccc}
29
+ 5 & -6 & 5 \\
30
+ -8 & -4 & 1 \\
31
+ -5 & 5 & -5 \\
32
+ \end{array}
33
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
34
+ \begin{array}{c}
35
+ x_1 \\
36
+ x_2 \\
37
+ x_3 \\
38
+ \end{array}
39
+ \right) \text{such }\text{that }M.v=0: \\
40
+ \left(
41
+ \begin{array}{ccc}
42
+ 5 & -6 & 5 \\
43
+ -8 & -4 & 1 \\
44
+ -5 & 5 & -5 \\
45
+ \end{array}
46
+ \right).\left(
47
+ \begin{array}{c}
48
+ x_1 \\
49
+ x_2 \\
50
+ x_3 \\
51
+ \end{array}
52
+ \right)=\left(
53
+ \begin{array}{c}
54
+ 0 \\
55
+ 0 \\
56
+ 0 \\
57
+ \end{array}
58
+ \right) \\
59
+ \end{array}
60
+ \\
61
+
62
+ \begin{array}{l}
63
+ \text{Reduce }\text{the }\text{matrix }\left(
64
+ \begin{array}{ccc}
65
+ 5 & -6 & 5 \\
66
+ -8 & -4 & 1 \\
67
+ -5 & 5 & -5 \\
68
+ \end{array}
69
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
70
+ \left(
71
+ \begin{array}{ccc}
72
+ 5 & -6 & 5 \\
73
+ -8 & -4 & 1 \\
74
+ -5 & 5 & -5 \\
75
+ \end{array}
76
+ \right) \\
77
+ \end{array}
78
+ \\
79
+
80
+ \begin{array}{l}
81
+ \text{Swap }\text{row }1 \text{with }\text{row }2: \\
82
+ \left(
83
+ \begin{array}{ccc}
84
+ -8 & -4 & 1 \\
85
+ 5 & -6 & 5 \\
86
+ -5 & 5 & -5 \\
87
+ \end{array}
88
+ \right) \\
89
+ \end{array}
90
+ \\
91
+
92
+ \begin{array}{l}
93
+ \text{Add }\frac{5}{8}\, \times \, \text{(row }1) \text{to }\text{row }2: \\
94
+ \left(
95
+ \begin{array}{ccc}
96
+ -8 & -4 & 1 \\
97
+ 0 & -\frac{17}{2} & \frac{45}{8} \\
98
+ -5 & 5 & -5 \\
99
+ \end{array}
100
+ \right) \\
101
+ \end{array}
102
+ \\
103
+
104
+ \begin{array}{l}
105
+ \text{Subtract }\frac{5}{8}\, \times \, \text{(row }1) \text{from }\text{row }3: \\
106
+ \left(
107
+ \begin{array}{ccc}
108
+ -8 & -4 & 1 \\
109
+ 0 & -\frac{17}{2} & \frac{45}{8} \\
110
+ 0 & \frac{15}{2} & -\frac{45}{8} \\
111
+ \end{array}
112
+ \right) \\
113
+ \end{array}
114
+ \\
115
+
116
+ \begin{array}{l}
117
+ \text{Add }\frac{15}{17}\, \times \, \text{(row }2) \text{to }\text{row }3: \\
118
+ \left(
119
+ \begin{array}{ccc}
120
+ -8 & -4 & 1 \\
121
+ 0 & -\frac{17}{2} & \frac{45}{8} \\
122
+ 0 & 0 & -\frac{45}{68} \\
123
+ \end{array}
124
+ \right) \\
125
+ \end{array}
126
+ \\
127
+
128
+ \begin{array}{l}
129
+ \text{Multiply }\text{row }3 \text{by }-\frac{68}{45}: \\
130
+ \left(
131
+ \begin{array}{ccc}
132
+ -8 & -4 & 1 \\
133
+ 0 & -\frac{17}{2} & \frac{45}{8} \\
134
+ 0 & 0 & 1 \\
135
+ \end{array}
136
+ \right) \\
137
+ \end{array}
138
+ \\
139
+
140
+ \begin{array}{l}
141
+ \text{Subtract }\frac{45}{8}\, \times \, \text{(row }3) \text{from }\text{row }2: \\
142
+ \left(
143
+ \begin{array}{ccc}
144
+ -8 & -4 & 1 \\
145
+ 0 & -\frac{17}{2} & 0 \\
146
+ 0 & 0 & 1 \\
147
+ \end{array}
148
+ \right) \\
149
+ \end{array}
150
+ \\
151
+
152
+ \begin{array}{l}
153
+ \text{Subtract }\text{row }3 \text{from }\text{row }1: \\
154
+ \left(
155
+ \begin{array}{ccc}
156
+ -8 & -4 & 0 \\
157
+ 0 & -\frac{17}{2} & 0 \\
158
+ 0 & 0 & 1 \\
159
+ \end{array}
160
+ \right) \\
161
+ \end{array}
162
+ \\
163
+
164
+ \begin{array}{l}
165
+ \text{Multiply }\text{row }2 \text{by }-\frac{2}{17}: \\
166
+ \left(
167
+ \begin{array}{ccc}
168
+ -8 & -4 & 0 \\
169
+ 0 & 1 & 0 \\
170
+ 0 & 0 & 1 \\
171
+ \end{array}
172
+ \right) \\
173
+ \end{array}
174
+ \\
175
+
176
+ \begin{array}{l}
177
+ \text{Add }4\, \times \, \text{(row }2) \text{to }\text{row }1: \\
178
+ \left(
179
+ \begin{array}{ccc}
180
+ -8 & 0 & 0 \\
181
+ 0 & 1 & 0 \\
182
+ 0 & 0 & 1 \\
183
+ \end{array}
184
+ \right) \\
185
+ \end{array}
186
+ \\
187
+
188
+ \begin{array}{l}
189
+ \text{Divide }\text{row }1 \text{by }-8: \\
190
+ \left(
191
+ \begin{array}{ccc}
192
+ 1 & 0 & 0 \\
193
+ 0 & 1 & 0 \\
194
+ 0 & 0 & 1 \\
195
+ \end{array}
196
+ \right) \\
197
+ \end{array}
198
+ \\
199
+
200
+ \begin{array}{l}
201
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
202
+ \begin{array}{c}
203
+ x_1 \\
204
+ x_2 \\
205
+ x_3 \\
206
+ \end{array}
207
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
208
+ \begin{array}{ccc}
209
+ 1 & 0 & 0 \\
210
+ 0 & 1 & 0 \\
211
+ 0 & 0 & 1 \\
212
+ \end{array}
213
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
214
+ \text{There }\text{are }\text{no }\text{free }\text{variables} \\
215
+ \end{array}
216
+ \\
217
+
218
+ \begin{array}{l}
219
+ \text{The }\text{only }\text{value }\text{of }v=\left(
220
+ \begin{array}{c}
221
+ x_1 \\
222
+ x_2 \\
223
+ x_3 \\
224
+ \end{array}
225
+ \right) \text{that }\text{would }\text{make }\left(
226
+ \begin{array}{ccc}
227
+ 1 & 0 & 0 \\
228
+ 0 & 1 & 0 \\
229
+ 0 & 0 & 1 \\
230
+ \end{array}
231
+ \right).\left(
232
+ \begin{array}{c}
233
+ x_1 \\
234
+ x_2 \\
235
+ x_3 \\
236
+ \end{array}
237
+ \right)=\left(
238
+ \begin{array}{c}
239
+ 0 \\
240
+ 0 \\
241
+ 0 \\
242
+ \end{array}
243
+ \right) \text{is }\text{the }\text{zero }\text{vector }\left(
244
+ \begin{array}{c}
245
+ 0 \\
246
+ 0 \\
247
+ 0 \\
248
+ \end{array}
249
+ \right): \\
250
+ \left(
251
+ \begin{array}{c}
252
+ 0 \\
253
+ 0 \\
254
+ 0 \\
255
+ \end{array}
256
+ \right) \\
257
+ \end{array}
258
+ \\
259
+
260
+ \begin{array}{l}
261
+ \text{The }\text{null }\text{space }\text{is }\text{the }\text{singleton }\text{set }\text{containing }\text{only }\text{the }\text{zero }\text{vector}: \\
262
+ \fbox{$
263
+ \begin{array}{ll}
264
+ \text{Answer:} & \\
265
+ \text{} & \{\, (0,0,0)\, \} \\
266
+ \end{array}
267
+ $} \\
268
+ \end{array}
269
+ \\
270
+ \end{array}
pretraining/mathematica/linear_algebra/null_space_w_steps/3827.txt ADDED
@@ -0,0 +1,366 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Problem:
2
+ Give a list of vectors that forms a basis for the null space of the following matrix:
3
+ $\left(
4
+ \begin{array}{cccc}
5
+ 9 & 8 & 2 & -10 \\
6
+ -7 & 8 & 3 & -2 \\
7
+ -1 & 10 & 7 & -2 \\
8
+ \end{array}
9
+ \right)$.
10
+ Answer:
11
+ \begin{array}{l}
12
+
13
+ \begin{array}{l}
14
+ \text{Find the null space of the matrix }M: \\
15
+ M=\left(
16
+ \begin{array}{cccc}
17
+ 9 & 8 & 2 & -10 \\
18
+ -7 & 8 & 3 & -2 \\
19
+ -1 & 10 & 7 & -2 \\
20
+ \end{array}
21
+ \right) \\
22
+ \end{array}
23
+ \\
24
+ \hline
25
+
26
+ \begin{array}{l}
27
+ \text{The }\text{null }\text{space }\text{of }\text{matrix }M=\left(
28
+ \begin{array}{cccc}
29
+ 9 & 8 & 2 & -10 \\
30
+ -7 & 8 & 3 & -2 \\
31
+ -1 & 10 & 7 & -2 \\
32
+ \end{array}
33
+ \right) \text{is }\text{the }\text{set }\text{of }\text{all }\text{vectors }v=\left(
34
+ \begin{array}{c}
35
+ x_1 \\
36
+ x_2 \\
37
+ x_3 \\
38
+ x_4 \\
39
+ \end{array}
40
+ \right) \text{such }\text{that }M.v=0: \\
41
+ \left(
42
+ \begin{array}{cccc}
43
+ 9 & 8 & 2 & -10 \\
44
+ -7 & 8 & 3 & -2 \\
45
+ -1 & 10 & 7 & -2 \\
46
+ \end{array}
47
+ \right).\left(
48
+ \begin{array}{c}
49
+ x_1 \\
50
+ x_2 \\
51
+ x_3 \\
52
+ x_4 \\
53
+ \end{array}
54
+ \right)=\left(
55
+ \begin{array}{c}
56
+ 0 \\
57
+ 0 \\
58
+ 0 \\
59
+ \end{array}
60
+ \right) \\
61
+ \end{array}
62
+ \\
63
+
64
+ \begin{array}{l}
65
+ \text{Reduce }\text{the }\text{matrix }\left(
66
+ \begin{array}{cccc}
67
+ 9 & 8 & 2 & -10 \\
68
+ -7 & 8 & 3 & -2 \\
69
+ -1 & 10 & 7 & -2 \\
70
+ \end{array}
71
+ \right) \text{to }\text{row }\text{echelon }\text{form}: \\
72
+ \left(
73
+ \begin{array}{cccc}
74
+ 9 & 8 & 2 & -10 \\
75
+ -7 & 8 & 3 & -2 \\
76
+ -1 & 10 & 7 & -2 \\
77
+ \end{array}
78
+ \right) \\
79
+ \end{array}
80
+ \\
81
+
82
+ \begin{array}{l}
83
+ \text{Swap }\text{row }1 \text{with }\text{row }3: \\
84
+ \left(
85
+ \begin{array}{cccc}
86
+ -1 & 10 & 7 & -2 \\
87
+ -7 & 8 & 3 & -2 \\
88
+ 9 & 8 & 2 & -10 \\
89
+ \end{array}
90
+ \right) \\
91
+ \end{array}
92
+ \\
93
+
94
+ \begin{array}{l}
95
+ \text{Subtract }7\, \times \, \text{(row }1) \text{from }\text{row }2: \\
96
+ \left(
97
+ \begin{array}{cccc}
98
+ -1 & 10 & 7 & -2 \\
99
+ 0 & -62 & -46 & 12 \\
100
+ 9 & 8 & 2 & -10 \\
101
+ \end{array}
102
+ \right) \\
103
+ \end{array}
104
+ \\
105
+
106
+ \begin{array}{l}
107
+ \text{Add }9\, \times \, \text{(row }1) \text{to }\text{row }3: \\
108
+ \left(
109
+ \begin{array}{cccc}
110
+ -1 & 10 & 7 & -2 \\
111
+ 0 & -62 & -46 & 12 \\
112
+ 0 & 98 & 65 & -28 \\
113
+ \end{array}
114
+ \right) \\
115
+ \end{array}
116
+ \\
117
+
118
+ \begin{array}{l}
119
+ \text{Swap }\text{row }2 \text{with }\text{row }3: \\
120
+ \left(
121
+ \begin{array}{cccc}
122
+ -1 & 10 & 7 & -2 \\
123
+ 0 & 98 & 65 & -28 \\
124
+ 0 & -62 & -46 & 12 \\
125
+ \end{array}
126
+ \right) \\
127
+ \end{array}
128
+ \\
129
+
130
+ \begin{array}{l}
131
+ \text{Add }\frac{31}{49}\, \times \, \text{(row }2) \text{to }\text{row }3: \\
132
+ \left(
133
+ \begin{array}{cccc}
134
+ -1 & 10 & 7 & -2 \\
135
+ 0 & 98 & 65 & -28 \\
136
+ 0 & 0 & -\frac{239}{49} & -\frac{40}{7} \\
137
+ \end{array}
138
+ \right) \\
139
+ \end{array}
140
+ \\
141
+
142
+ \begin{array}{l}
143
+ \text{Multiply }\text{row }3 \text{by }-\frac{49}{239}: \\
144
+ \left(
145
+ \begin{array}{cccc}
146
+ -1 & 10 & 7 & -2 \\
147
+ 0 & 98 & 65 & -28 \\
148
+ 0 & 0 & 1 & \frac{280}{239} \\
149
+ \end{array}
150
+ \right) \\
151
+ \end{array}
152
+ \\
153
+
154
+ \begin{array}{l}
155
+ \text{Subtract }65\, \times \, \text{(row }3) \text{from }\text{row }2: \\
156
+ \left(
157
+ \begin{array}{cccc}
158
+ -1 & 10 & 7 & -2 \\
159
+ 0 & 98 & 0 & -\frac{24892}{239} \\
160
+ 0 & 0 & 1 & \frac{280}{239} \\
161
+ \end{array}
162
+ \right) \\
163
+ \end{array}
164
+ \\
165
+
166
+ \begin{array}{l}
167
+ \text{Subtract }7\, \times \, \text{(row }3) \text{from }\text{row }1: \\
168
+ \left(
169
+ \begin{array}{cccc}
170
+ -1 & 10 & 0 & -\frac{2438}{239} \\
171
+ 0 & 98 & 0 & -\frac{24892}{239} \\
172
+ 0 & 0 & 1 & \frac{280}{239} \\
173
+ \end{array}
174
+ \right) \\
175
+ \end{array}
176
+ \\
177
+
178
+ \begin{array}{l}
179
+ \text{Divide }\text{row }2 \text{by }98: \\
180
+ \left(
181
+ \begin{array}{cccc}
182
+ -1 & 10 & 0 & -\frac{2438}{239} \\
183
+ 0 & 1 & 0 & -\frac{254}{239} \\
184
+ 0 & 0 & 1 & \frac{280}{239} \\
185
+ \end{array}
186
+ \right) \\
187
+ \end{array}
188
+ \\
189
+
190
+ \begin{array}{l}
191
+ \text{Subtract }10\, \times \, \text{(row }2) \text{from }\text{row }1: \\
192
+ \left(
193
+ \begin{array}{cccc}
194
+ -1 & 0 & 0 & \frac{102}{239} \\
195
+ 0 & 1 & 0 & -\frac{254}{239} \\
196
+ 0 & 0 & 1 & \frac{280}{239} \\
197
+ \end{array}
198
+ \right) \\
199
+ \end{array}
200
+ \\
201
+
202
+ \begin{array}{l}
203
+ \text{Multiply }\text{row }1 \text{by }-1: \\
204
+ \left(
205
+ \begin{array}{cccc}
206
+ 1 & 0 & 0 & -\frac{102}{239} \\
207
+ 0 & 1 & 0 & -\frac{254}{239} \\
208
+ 0 & 0 & 1 & \frac{280}{239} \\
209
+ \end{array}
210
+ \right) \\
211
+ \end{array}
212
+ \\
213
+
214
+ \begin{array}{l}
215
+ \text{Free }\text{variables }\text{in }\text{the }\text{null }\text{space }\left(
216
+ \begin{array}{c}
217
+ x_1 \\
218
+ x_2 \\
219
+ x_3 \\
220
+ x_4 \\
221
+ \end{array}
222
+ \right) \text{correspond }\text{to }\text{the }\text{columns }\text{in }\left(
223
+ \begin{array}{cccc}
224
+ 1 & 0 & 0 & -\frac{102}{239} \\
225
+ 0 & 1 & 0 & -\frac{254}{239} \\
226
+ 0 & 0 & 1 & \frac{280}{239} \\
227
+ \end{array}
228
+ \right) \text{which }\text{have }\text{no }\text{pivot.} \\
229
+ \text{Column }4 \text{is }\text{the }\text{only }\text{column }\text{with }\text{no }\text{pivot, }\text{so }\text{we }\text{may }\text{take }x_4 \text{to }\text{be }\text{the }\text{only }\text{free }\text{variable} \\
230
+ \end{array}
231
+ \\
232
+
233
+ \begin{array}{l}
234
+ \text{Multiply }\text{out }\text{the }\text{reduced }\text{matrix }\left(
235
+ \begin{array}{cccc}
236
+ 1 & 0 & 0 & -\frac{102}{239} \\
237
+ 0 & 1 & 0 & -\frac{254}{239} \\
238
+ 0 & 0 & 1 & \frac{280}{239} \\
239
+ \end{array}
240
+ \right) \text{with }\text{the }\text{proposed }\text{solution }\text{vector }\left(
241
+ \begin{array}{c}
242
+ x_1 \\
243
+ x_2 \\
244
+ x_3 \\
245
+ x_4 \\
246
+ \end{array}
247
+ \right): \\
248
+ \left(
249
+ \begin{array}{cccc}
250
+ 1 & 0 & 0 & -\frac{102}{239} \\
251
+ 0 & 1 & 0 & -\frac{254}{239} \\
252
+ 0 & 0 & 1 & \frac{280}{239} \\
253
+ \end{array}
254
+ \right).\left(
255
+ \begin{array}{c}
256
+ x_1 \\
257
+ x_2 \\
258
+ x_3 \\
259
+ x_4 \\
260
+ \end{array}
261
+ \right)=\left(
262
+ \begin{array}{c}
263
+ x_1-\frac{102 x_4}{239} \\
264
+ x_2-\frac{254 x_4}{239} \\
265
+ x_3+\frac{280 x_4}{239} \\
266
+ \end{array}
267
+ \right)=\left(
268
+ \begin{array}{c}
269
+ 0 \\
270
+ 0 \\
271
+ 0 \\
272
+ \end{array}
273
+ \right) \\
274
+ \end{array}
275
+ \\
276
+
277
+ \begin{array}{l}
278
+ \text{Solve }\text{the }\text{equations }\{
279
+ \begin{array}{l}
280
+ x_1-\frac{102 x_4}{239}=0 \\
281
+ x_2-\frac{254 x_4}{239}=0 \\
282
+ x_3+\frac{280 x_4}{239}=0 \\
283
+ \end{array}
284
+ \text{for }x_1,x_2 \text{and }x_3: \\
285
+ \{
286
+ \begin{array}{l}
287
+ x_1=\frac{102 x_4}{239} \\
288
+ x_2=\frac{254 x_4}{239} \\
289
+ x_3=-\frac{280 x_4}{239} \\
290
+ \end{array}
291
+ \\
292
+ \end{array}
293
+ \\
294
+
295
+ \begin{array}{l}
296
+ \text{Rewrite }v \text{in }\text{terms }\text{of }\text{the }\text{free }\text{variable }x_4, \text{and }\text{assign }\text{it }\text{an }\text{arbitrary }\text{real }\text{value }\text{of }x: \\
297
+ v=\left(
298
+ \begin{array}{c}
299
+ x_1 \\
300
+ x_2 \\
301
+ x_3 \\
302
+ x_4 \\
303
+ \end{array}
304
+ \right)=\left(
305
+ \begin{array}{c}
306
+ \frac{102 x_4}{239} \\
307
+ \frac{254 x_4}{239} \\
308
+ -\frac{280 x_4}{239} \\
309
+ x_4 \\
310
+ \end{array}
311
+ \right)=\left(
312
+ \begin{array}{c}
313
+ \frac{102 x}{239} \\
314
+ \frac{254 x}{239} \\
315
+ -\frac{280 x}{239} \\
316
+ x \\
317
+ \end{array}
318
+ \right)\text{ for }x\in \mathbb{R} \\
319
+ \end{array}
320
+ \\
321
+
322
+ \begin{array}{l}
323
+ \text{Since }x \text{is }\text{taken }\text{from }\mathbb{R}, \text{we }\text{can }\text{replace }\text{it }\text{with }239 x: \\
324
+ \left(
325
+ \begin{array}{c}
326
+ \frac{102 x}{239} \\
327
+ \frac{254 x}{239} \\
328
+ -\frac{280 x}{239} \\
329
+ x \\
330
+ \end{array}
331
+ \right)\, \rightarrow \, \left(
332
+ \begin{array}{c}
333
+ \frac{102 (239 x)}{239} \\
334
+ \frac{254 (239 x)}{239} \\
335
+ -\frac{280}{239} (239 x) \\
336
+ 239 x \\
337
+ \end{array}
338
+ \right)=\left(
339
+ \begin{array}{c}
340
+ 102 x \\
341
+ 254 x \\
342
+ -280 x \\
343
+ 239 x \\
344
+ \end{array}
345
+ \right)\text{ for }x\in \mathbb{R} \\
346
+ \end{array}
347
+ \\
348
+
349
+ \begin{array}{l}
350
+ \text{Rewrite }\text{the }\text{solution }\text{vector }v=\left(
351
+ \begin{array}{c}
352
+ 102 x \\
353
+ 254 x \\
354
+ -280 x \\
355
+ 239 x \\
356
+ \end{array}
357
+ \right) \text{in }\text{set }\text{notation}: \\
358
+ \fbox{$
359
+ \begin{array}{ll}
360
+ \text{Answer:} & \\
361
+ \text{} & \{\, (102 x,254 x,-280 x,239 x)\, \text{$\, $: }x\in \mathbb{R}\} \\
362
+ \end{array}
363
+ $} \\
364
+ \end{array}
365
+ \\
366
+ \end{array}