Skip to content

Commit 18b1817

Browse files
committed
add sample solution for updated GT3
1 parent 54afef7 commit 18b1817

2 files changed

Lines changed: 45 additions & 15 deletions

File tree

Lines changed: 45 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,51 @@
11
<?xml version='1.0' encoding='UTF-8'?>
22

3+
<example xml:id="sample-GT3">
4+
<title>GT3</title>
35

6+
<task>
7+
<statement>
8+
<p>
9+
Explain and demonstrate how to find the eigenvalues of the matrix <m>\left[\begin{array}{cc} -2 &amp; -2 \\ 10 &amp; 7 \end{array}\right] </m>.
10+
</p>
11+
</statement>
412

13+
<solution>
14+
<p>
15+
Compute the characteristic polynomial:
16+
<me>
17+
\det(A-\lambda I) = \det \left[\begin{array}{cc} -2 - \lambda &amp; -2 \\ 10 &amp; 7-\lambda \end{array}\right]
18+
</me>
19+
<me>
20+
= (-2-\lambda)(7-\lambda)+20 = \lambda ^2 -5\lambda +6 = (\lambda -2)(\lambda -3)
21+
</me>
22+
The eigenvalues are the roots of the characteristic polynomial, namely <m>2</m> and <m>3</m>.
23+
</p>
24+
</solution>
25+
</task>
526

6-
<example xml:id="sample-GT3"><title>GT3</title>
7-
<statement>
8-
<p>
9-
Explain how to find the eigenvalues of the matrix <m>\left[\begin{array}{cc} -2 &amp; -2 \\ 10 &amp; 7 \end{array}\right] </m>.
10-
</p>
11-
</statement>
12-
<solution>
13-
<p>
14-
Compute the characteristic polynomial:
15-
<me>\det(A-\lambda I) = \det \left[\begin{array}{cc} -2 - \lambda &amp; -2 \\ 10 &amp; 7-\lambda \end{array}\right]
16-
</me><me>= (-2-\lambda)(7-\lambda)+20 = \lambda ^2 -5\lambda +6 = (\lambda -2)(\lambda -3)</me>
17-
The eigenvalues are the roots of the characteristic polynomial, namely <m>2</m> and <m>3</m>.
18-
</p>
19-
</solution>
27+
28+
<task>
29+
<statement>
30+
<p>
31+
Explain and demonstrate which of these eigenvalues is associated to the eigenvector <m>\left[\begin{array}{cc} -1 \\ 2 \end{array}\right]</m>.
32+
</p>
33+
</statement>
34+
35+
<solution>
36+
<p>
37+
We can compute
38+
<md>
39+
\left[\begin{array}{cc} -2 &amp; -2 \\ 10 &amp; 7 \end{array}\right]
40+
\left[\begin{array}{cc} -1 \\ 2 \end{array}\right] =
41+
\left[\begin{array}{cc} -2 \\ 4 \end{array}\right]
42+
</md> and <md>
43+
2\left[\begin{array}{cc} -1 \\ 2 \end{array}\right] =
44+
\left[\begin{array}{cc} -2 \\ 4 \end{array}\right]
45+
</md>
46+
which shows that <m>\left[\begin{array}{cc} -1 \\ 2 \end{array}\right]</m> is an
47+
eigenvector associated with the eigenvalue <m>2</m>.
48+
</p>
49+
</solution>
50+
</task>
2051
</example>

source/linear-algebra/source/meta/sample-exercises.ptx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ for a complete solution.
2828
<xi:include href="../03-AT/samples/05.ptx"/>
2929
<xi:include href="../03-AT/samples/06.ptx"/>
3030

31-
3231
<xi:include href="../04-MX/samples/01.ptx"/>
3332
<xi:include href="../04-MX/samples/02.ptx"/>
3433
<xi:include href="../04-MX/samples/03.ptx"/>

0 commit comments

Comments
 (0)