← Back to the site

Question bank

544 fixed questions · 54 generated questions

Fixed questions (544)

Part: Sums and products (107)

1. Sums (55)

la-f-sums-01 · level facile · notes
For $n \ge 1$ and $c \in \R$, what is $\sum_{j=1}^{n} c$?
  1. $c$
  2. $c^n$
  3. $\frac{n(n+1)}{2}\,c$
  4. $n\,c$
Explanation. The term does not depend on the index: $c$ is summed up $n$ times, so $\sum_{j=1}^{n} c = n\,c$. Instead, $c^n$ is the product $\prod_{j=1}^{n} c$.
la-f-sums-02 · level facile · notes
What is $\sum_{j=1}^{20} j$?
  1. $210$
  2. $200$
  3. $420$
  4. $190$
Explanation. $\sum_{j=1}^{n} j = \frac{n^2+n}{2}$; with $n = 20$: $\frac{400+20}{2} = 210$. $420$ forgets the division by $2$, $190$ is obtained with $n = 19$.
la-f-sums-03 · level facile · notes
For $n \ge 1$, what is $\sum_{j=1}^{n} (2j-1)$?
  1. $n^2+n$
  2. $n^2-1$
  3. $\frac{n^2+n}{2}$
  4. $n^2$
Explanation. It is the sum of the first $n$ odd numbers: $2\sum_{j=1}^{n} j - \sum_{j=1}^{n} 1 = (n^2+n) - n = n^2$. $n^2+n$ is the sum of the first $n$ even numbers.
la-f-sums-04 · level facile · notes
The sum index is a dummy index. Which expression equals $\sum_{j=1}^{n} j^2$ for every $n \ge 1$?
  1. $\sum_{k=1}^{n} k^2$
  2. $\sum_{j=0}^{n} (j+1)^2$
  3. $\sum_{j=2}^{n+1} j^2$
  4. $\sum_{j=1}^{n} (j-1)^2$
Explanation. Renaming the index in all its occurrences does not change the sum. The others shift the limits or the term without compensating: for instance $\sum_{j=0}^{n} (j+1)^2 = \sum_{i=1}^{n+1} i^2$.
la-f-sums-05 · level facile · notes
Index translation: which equality holds for every sum $\sum_{j=1}^{n} a_j$?
  1. $\sum_{j=1}^{n} a_j = \sum_{j=3}^{n+2} a_{j+2}$
  2. $\sum_{j=1}^{n} a_j = \sum_{j=3}^{n} a_{j-2}$
  3. $\sum_{j=1}^{n} a_j = \sum_{j=1}^{n+2} a_{j-2}$
  4. $\sum_{j=1}^{n} a_j = \sum_{j=3}^{n+2} a_{j-2}$
Explanation. If the limits increase by $m = 2$, the index in the term decreases by $2$: for $j = 3, \dots, n+2$ we get $a_1, \dots, a_n$.
la-f-sums-06 · level facile · notes
Index reflection: which equality holds for every sum $\sum_{j=1}^{n} a_j$?
  1. $\sum_{j=1}^{n} a_j = \sum_{j=0}^{n} a_{n-j}$
  2. $\sum_{j=1}^{n} a_j = \sum_{j=1}^{n} a_{n+j}$
  3. $\sum_{j=1}^{n} a_j = \sum_{j=1}^{n} a_{n-j+1}$
  4. $\sum_{j=1}^{n} a_j = \sum_{j=1}^{n} a_{n-j}$
Explanation. For $j = 1, \dots, n$ the index $n-j+1$ takes the values $n, \dots, 1$: the same terms in reverse order. With $a_{n-j}$ the term $a_0$ would appear and $a_n$ would be missing.
la-f-sums-07 · level teorema · notes
Which property holds for all sums and every $c \in \R$?
  1. $\sum_{j=1}^{n} (a_j + c) = \sum_{j=1}^{n} a_j + c$
  2. $\sum_{j=1}^{n+m} a_j = \sum_{j=1}^{n} a_j + \sum_{j=n}^{n+m} a_j$
  3. $\sum_{j=1}^{n} (c\, a_j) = c \sum_{j=1}^{n} a_j$
  4. $\sum_{j=1}^{n} (a_j\, b_j) = \Big(\sum_{j=1}^{n} a_j\Big)\Big(\sum_{j=1}^{n} b_j\Big)$
Explanation. It is the product by a constant (distributive property). The sum of products is not the product of sums; a constant added to every term gives $n\,c$; in the decomposition the second sum starts at $n+1$.
la-f-sums-08 · level ipotesi · notes
To prove $\sum_{j=1}^{n} j = \frac{n^2+n}{2}$, the sum is written twice, the second time with the terms in reverse order, and the two expressions are added term by term. Which properties of sums does the argument use?
  1. index reflection, decomposition and the sum of the first $n$ even numbers
  2. decomposition, product by a constant and the sum of the first $n$ odd numbers
  3. index reflection, union of sums and the sum with constant term
  4. index translation, union of sums and the product by a constant
Explanation. The reverse order is the reflection $\sum_{j=1}^{n} j = \sum_{j=1}^{n} (n-j+1)$; joining the two sums every term equals $n+1$, and the sum with constant term gives $n(n+1)$, to be divided by $2$. The sums of the even and odd numbers are derived from this result, not the other way round.
la-f-sums-09 · level ipotesi · notes
We want to prove that the sum of the first $n$ odd numbers is $\sum_{j=1}^{n} (2j-1) = n^2$, reducing it to the sum of the first $n$ positive natural numbers. Which results are needed?
  1. index translation, product of products and $\sum_{j=1}^{n} 1 = n$
  2. $\sum_{j=1}^{n} j = \frac{n^2+n}{2}$, union of sums, product by a constant, $\sum_{j=1}^{n} 1 = n$
  3. $\sum_{j=1}^{n} j = \frac{n^2+n}{2}$, index reflection and index translation
  4. $\sum_{j=1}^{n} 2j = n^2+n$, decomposition of the sum and index translation
Explanation. $\sum_{j=1}^{n} (2j-1) = 2\sum_{j=1}^{n} j - \sum_{j=1}^{n} 1 = 2\cdot\frac{n^2+n}{2} - n = n^2$: the sums are split (union), the constant $2$ is taken out and the sum with constant term $1$ is used.
la-f-sums-10 · level facile · notes
For $n \ge 1$, what is the sum of the first $n$ positive even numbers $\sum_{j=1}^{n} 2j$?
  1. $\frac{n^2+n}{2}$
  2. $2n^2$
  3. $n^2+n$
  4. $n^2$
Explanation. $\sum_{j=1}^{n} 2j = 2\sum_{j=1}^{n} j = 2\cdot\frac{n^2+n}{2} = n^2+n$ (product by a constant). $n^2$ is the sum of the first $n$ odd numbers.
la-f-sums-11 · level facile · notes
For the real numbers $a_1, \dots, a_{10}$ we know that $\sum_{j=1}^{10} a_j = 40$ and $\sum_{j=1}^{6} a_j = 15$. What is $\sum_{j=7}^{10} a_j$?
  1. $25$
  2. $55$
  3. $35$
  4. $15$
Explanation. By decomposition $\sum_{j=1}^{10} a_j = \sum_{j=1}^{6} a_j + \sum_{j=7}^{10} a_j$, hence $\sum_{j=7}^{10} a_j = 40 - 15 = 25$.
la-f-sums-12 · level teorema · notes
Which equality holds for every pair of sums $\sum_{j=1}^{n} a_j$ and $\sum_{j=1}^{n} b_j$?
  1. $\sum_{j=1}^{n} a_j \, \sum_{j=1}^{n} b_j = \sum_{j=1}^{n} (a_j\, b_j)$
  2. $\sum_{j=1}^{n} a_j + \sum_{j=1}^{n} b_j = \sum_{j=1}^{2n} (a_j + b_j)$
  3. $\sum_{j=1}^{n} (a_j + b_j)^2 = \sum_{j=1}^{n} a_j^2 + \sum_{j=1}^{n} b_j^2$
  4. $\sum_{j=1}^{n} a_j + \sum_{j=1}^{n} b_j = \sum_{j=1}^{n} (a_j + b_j)$
Explanation. It is the union of sums: just reorder the terms $a_1 + b_1 + \dots + a_n + b_n$. The product of two sums also contains the products $a_j b_k$ with $j \neq k$, and the square of a sum has the cross terms.
la-f-sums-13 · level facile · notes
How many terms does the sum $\sum_{j=3}^{12} a_j$ have, where the index $j$ goes from $3$ to $12$?
  1. $12$
  2. $11$
  3. $10$
  4. $9$
Explanation. The terms are $a_3, a_4, \dots, a_{12}$: $12 - 3 + 1 = 10$ in total. Forgetting the $+1$ gives $9$.
la-f-sums-k01 · level facile · notes
What is $\sum_{j=3}^{6} j^2$?
  1. $91$
  2. $77$
  3. $36$
  4. $86$
Explanation. $9 + 16 + 25 + 36 = 86$; $91$ starts from $j = 1$.
la-f-sums-k02 · level facile · notes
What is the sum $\sum_{j=1}^{3} \frac{1}{j}$?
  1. $3$
  2. $\frac{11}{6}$
  3. $\frac16$
  4. $\frac{6}{11}$
Explanation. $1 + \frac12 + \frac13 = \frac{6 + 3 + 2}{6} = \frac{11}{6}$. $\frac16 = \frac{1}{1+2+3}$ adds the denominators; $\frac16$ is also the product of the terms.
la-f-sums-k03 · level facile · notes
What does $\sum_{j=1}^{n} a_j$ denote?
  1. The term $a_n$
  2. The mean of the terms
  3. The sum $a_1 + a_2 + \dots + a_n$
  4. The product $a_1 a_2 \cdots a_n$
Explanation. The index $j$ runs from $1$ to $n$ and the terms are added.
la-f-sums-k04 · level facile · notes
Which sum represents $3 + 5 + 7 + 9$?
  1. $\sum_{j=1}^{4} (2j + 2)$
  2. $\sum_{j=1}^{4} (2j + 1)$
  3. $\sum_{j=1}^{4} (2j - 1)$
  4. $\sum_{j=3}^{9} j$
Explanation. For $j = 1, 2, 3, 4$ the term $2j + 1$ equals $3, 5, 7, 9$. $2j - 1$ gives $1, 3, 5, 7$; $\sum_{j=3}^{9} j$ adds all the integers from $3$ to $9$.
la-f-sums-k05 · level facile · notes
For $c \in \R$, what is $\sum_{j=1}^{n} c\, a_j$?
  1. $n\,c \sum_{j=1}^{n} a_j$
  2. $c + \sum_{j=1}^{n} a_j$
  3. $c \sum_{j=1}^{n} a_j$
  4. $c^n \sum_{j=1}^{n} a_j$
Explanation. The constant factors out: it is the distributive property.
la-f-sums-k06 · level facile · notes
Which equality holds for all $a_j, b_j$?
  1. $\sum_j a_j b_j = \sum_j a_j \sum_j b_j$
  2. $\sum_j a_j^2 = (\sum_j a_j)^2$
  3. $\sum_j \frac{a_j}{b_j} = \frac{\sum_j a_j}{\sum_j b_j}$
  4. $\sum_j (a_j + b_j) = \sum_j a_j + \sum_j b_j$
Explanation. A sum splits over terms; not over products, squares or ratios.
la-f-sums-k07 · level facile · notes
With the shift $k = j - 2$, what does $\sum_{j=3}^{n} a_{j-2}$ equal?
  1. $\sum_{k=5}^{n+2} a_k$
  2. $\sum_{k=1}^{n-2} a_k$
  3. $\sum_{k=3}^{n} a_k$
  4. $\sum_{k=1}^{n} a_k$
Explanation. For $j = 3$ we get $k = 1$; for $j = n$ we get $k = n - 2$.
la-f-sums-k08 · level facile · notes
What is $\sum_{j=1}^{10} 2j$?
  1. $100$
  2. $55$
  3. $220$
  4. $110$
Explanation. $2 \sum_{j=1}^{10} j = 2 \cdot 55 = 110 = n^2 + n$ with $n = 10$.
la-f-sums-k09 · level facile · notes
For which $n$ do we have $\sum_{j=1}^{n} j = 78$?
  1. $11$
  2. $12$
  3. $13$
  4. $39$
Explanation. $\frac{n(n+1)}{2} = 78 \Rightarrow n(n+1) = 156 = 12 \cdot 13$.
la-f-sums-k10 · level facile · notes
For $1 \le m < n$, which equality holds?
  1. $\sum_{j=1}^{n} a_j = \sum_{j=1}^{m} a_j + \sum_{j=m}^{n} a_j$
  2. $\sum_{j=1}^{n} a_j = \sum_{j=1}^{m} a_j \cdot \sum_{j=m+1}^{n} a_j$
  3. $\sum_{j=1}^{n} a_j = m \sum_{j=1}^{n/m} a_j$
  4. $\sum_{j=1}^{n} a_j = \sum_{j=1}^{m} a_j + \sum_{j=m+1}^{n} a_j$
Explanation. The index range is split without counting $a_m$ twice.
la-f-sums-k11 · level facile · notes
What is $\sum_{j=11}^{20} j$?
  1. $145$
  2. $165$
  3. $155$
  4. $210$
Explanation. $\sum_{j=1}^{20} j - \sum_{j=1}^{10} j = 210 - 55 = 155$.
la-f-sums-k12 · level facile · notes
What is $\sum_{j=1}^{n} (2j + 1)$?
  1. $n^2 + 1$
  2. $2n + 1$
  3. $n^2 + 2n$
  4. $n^2 + n$
Explanation. $2 \frac{n(n+1)}{2} + n = n^2 + 2n$.
la-f-sums-k13 · level teorema · notes
Which formula holds for the sum of the first $n$ natural numbers?
  1. $\sum_{j=1}^{n} j = \frac{n(n+1)}{2}$
  2. $\sum_{j=1}^{n} j = \frac{n^2}{2}$
  3. $\sum_{j=1}^{n} j = n^2$
  4. $\sum_{j=1}^{n} j = \frac{n(n-1)}{2}$
Explanation. Adding the sum to itself in reverse order gives $n$ pairs summing to $n + 1$.
la-f-sums-k14 · level teorema · notes
Which equality expresses index reflection?
  1. $\sum_{j=1}^{n} a_j = \sum_{j=0}^{n} a_{n-j}$
  2. $\sum_{j=1}^{n} a_j = \sum_{j=1}^{n} a_{n+1-j}$
  3. $\sum_{j=1}^{n} a_j = \sum_{j=1}^{n} a_{n-j}$
  4. $\sum_{j=1}^{n} a_j = -\sum_{j=1}^{n} a_{-j}$
Explanation. The same terms are added in reverse order: for $j = 1$ we take $a_n$.
la-f-sums-k15 · level teorema · notes
Which statement about the first $n$ odd numbers is correct?
  1. Their sum is $n^2 + n$
  2. Their sum is odd for every $n$
  3. Their sum is $2n - 1$
  4. Their sum is $n^2$
Explanation. $\sum_{j=1}^{n}(2j - 1) = n(n+1) - n = n^2$.
la-f-sums-k16 · level teorema · notes
Which statement about sums is correct?
  1. $\sum_j (c\,a_j + d) = c\sum_j a_j + d$
  2. $\sum_j c\,a_j\,b_j = c\sum_j a_j \sum_j b_j$
  3. $\sum_j (c\,a_j + d\,b_j) = c\sum_j a_j + d\sum_j b_j$
  4. $\sum_j (c\,a_j + b_j) = c^n \sum_j a_j + \sum_j b_j$
Explanation. A sum is linear. A constant $d$ added $n$ times gives $n\,d$, not $d$; the sum of products is not the product of the sums; the factor $c$ is taken out once, it does not become $c^n$.
la-f-sums-k17 · level ipotesi · notes
To prove by induction that $\sum_{j=1}^{n} j = \frac{n(n+1)}{2}$, which inductive step is needed?
  1. $\frac{n(n+1)}{2} + n = \frac{(n+1)(n+2)}{2}$
  2. $n + (n+1) = 2n + 1$
  3. $\frac{n(n+1)}{2} + (n+1) = \frac{(n+1)(n+2)}{2}$
  4. $\frac{n(n+1)}{2} \cdot (n+1) = \frac{(n+1)(n+2)}{2}$
Explanation. From the formula for $n$ add the term $n + 1$.
la-f-sums-k18 · level ipotesi · notes
To derive $\sum_{j=1}^{n} (2j - 1) = n^2$ from known formulas, what is needed?
  1. Linearity and $\sum_{j=1}^{n} j = \frac{n(n+1)}{2}$
  2. That $n$ is even, to pair the terms
  3. The factorial formula $n! = \prod_j j$
  4. Only the index reflection, with $k = n + 1 - j$
Explanation. $2\sum j - \sum 1 = n(n+1) - n$.
la-f-sums-k19 · level ipotesi · notes
In the index shift $k = j + h$ in $\sum_{j=1}^{n} a_j$, what must change?
  1. Only the term, to $a_{k+h}$
  2. Only the limits
  3. Nothing: the index is a dummy
  4. Limits and term together
Explanation. Limits and term must be updated together.
la-f-sums-k20 · level facile · notes
What is the sum $\sum_{j=0}^{3} 2^j$, where the index $j$ runs from $0$ to $3$?
  1. $8$
  2. $15$
  3. $16$
  4. $14$
Explanation. $2^0 + 2^1 + 2^2 + 2^3 = 1 + 2 + 4 + 8 = 15$. $14$ forgets the term $j = 0$ ($2^0 = 1$), $16 = 2^4$ and $8$ is only the last term.
la-f-sums-k21 · level facile · notes
What is the sum $\sum_{j=1}^{4} (-1)^j\, j$?
  1. $10$
  2. $0$
  3. $2$
  4. $-2$
Explanation. $-1 + 2 - 3 + 4 = 2$. $10$ ignores the alternating signs; $-2$ flips all signs (it starts from $+1$).
la-f-sums-k22 · level facile · notes
What is the sum with constant term $\sum_{j=5}^{12} 3$?
  1. $21$
  2. $3$
  3. $24$
  4. $36$
Explanation. The indices from $5$ to $12$ are $12 - 5 + 1 = 8$, so the sum is $8 \cdot 3 = 24$. $36$ counts $12$ terms, $21$ counts $7$.
la-f-sums-k23 · level facile · notes
For the reals $a_1, \dots, a_8$ we know that $\sum_{j=1}^{8} a_j = 12$. What is $\sum_{j=1}^{8} (5\, a_j)$?
  1. $17$
  2. $480$
  3. $12$
  4. $60$
Explanation. The constant factors out: $\sum_{j=1}^{8} 5\,a_j = 5 \sum_{j=1}^{8} a_j = 60$. $17$ adds $5$ only once, $480$ also multiplies by the number of terms.
la-f-sums-k24 · level facile · notes
For the reals $a_j, b_j$ ($j = 1, \dots, n$) we know that $\sum_{j=1}^{n} a_j = 7$ and $\sum_{j=1}^{n} b_j = -2$. What is $\sum_{j=1}^{n} (3a_j - b_j)$?
  1. $-14$
  2. $23$
  3. $19$
  4. $5$
Explanation. By linearity: $3 \cdot 7 - (-2) = 21 + 2 = 23$. $19$ gets the sign of $-b_j$ wrong; $-14$ multiplies the two sums instead of subtracting them.
la-f-sums-k25 · level facile · notes
For $n \ge 2$ and reals $a_1, \dots, a_n$, what does $\sum_{j=1}^{n} a_j - \sum_{j=1}^{n-1} a_j$ equal?
  1. $a_n$
  2. $a_1$
  3. $0$
  4. $a_n - a_1$
Explanation. Splitting $\sum_{j=1}^{n} a_j = \sum_{j=1}^{n-1} a_j + a_n$, the difference is the last term $a_n$.
la-f-sums-k26 · level facile · notes
With the substitution $k = j + 1$, what does $\sum_{j=0}^{n-1} (j+1)^2$ equal?
  1. $\sum_{k=1}^{n} (k+1)^2$
  2. $\sum_{k=1}^{n} k^2$
  3. $\sum_{k=0}^{n-1} k^2$
  4. $\sum_{k=1}^{n-1} k^2$
Explanation. For $j = 0$ we get $k = 1$, for $j = n - 1$ we get $k = n$, and the term $(j+1)^2$ becomes $k^2$. The others change only the limits or only the term.
la-f-sums-k27 · level facile · notes
Reflecting the index ($k = 6 - j$), what is $\sum_{j=1}^{5} (6 - j)$?
  1. $25$
  2. $10$
  3. $15$
  4. $30$
Explanation. The terms are $5, 4, 3, 2, 1$: it is $\sum_{k=1}^{5} k = 15$ in reverse order. $30 = 6 \cdot 5$ forgets to subtract $\sum j$.
la-f-sums-k28 · level facile · notes
Using $\sum_{j=1}^{n} j = \frac{n(n+1)}{2}$, what is $\sum_{j=1}^{100} j$?
  1. $10100$
  2. $5000$
  3. $4950$
  4. $5050$
Explanation. $\frac{100 \cdot 101}{2} = 5050$. $10100$ forgets the division by $2$, $4950$ uses $n(n-1)/2$.
la-f-sums-k29 · level facile · notes
For which $n$ does the sum of the first $n$ positive even numbers, $\sum_{j=1}^{n} 2j = n^2 + n$, equal $72$?
  1. $36$
  2. $6$
  3. $8$
  4. $9$
Explanation. $n^2 + n = 72$ gives $n(n+1) = 8 \cdot 9$, so $n = 8$ (indeed $2 + 4 + \dots + 16 = 72$). $36$ is half of $72$, not the number of terms.
la-f-sums-k30 · level facile · notes
What is the sum of the odd numbers from $1$ to $19$, $1 + 3 + 5 + \dots + 19$?
  1. $100$
  2. $81$
  3. $190$
  4. $110$
Explanation. They are the first $10$ odd numbers ($19 = 2 \cdot 10 - 1$) and their sum is $10^2 = 100$. $81$ counts only $9$ terms, $110$ is the sum of the first $10$ even numbers.
la-f-sums-k31 · level facile · notes
For $n \ge 1$, what is $\sum_{j=1}^{n} (j + 1)$?
  1. $\frac{n(n+3)}{2}$
  2. $\frac{n(n+1)}{2} + 1$
  3. $\frac{(n+1)(n+2)}{2}$
  4. $\frac{n(n+1)}{2}$
Explanation. $\sum_j j + \sum_j 1 = \frac{n(n+1)}{2} + n = \frac{n(n+3)}{2}$. The constant term $1$ is added $n$ times, not once; $\frac{(n+1)(n+2)}{2}$ also includes the term $1$ of $j = 0$.
la-f-sums-k32 · level teorema · notes
Let $E_n = \sum_{j=1}^{n} 2j$ be the sum of the first $n$ positive even numbers and $O_n = \sum_{j=1}^{n} (2j - 1)$ that of the first $n$ odd numbers. Which relation holds for every $n \ge 1$?
  1. $E_n - O_n = 1$
  2. $E_n = 2\,O_n$
  3. $E_n - O_n = n$
  4. $E_n = O_n$
Explanation. $E_n - O_n = \sum_{j=1}^{n} (2j - (2j - 1)) = \sum_{j=1}^{n} 1 = n$; indeed $(n^2 + n) - n^2 = n$.
la-f-sums-k33 · level teorema · notes
Which equality holds for every choice of the reals $a_j, b_j$, $j = 1, \dots, n$ (sums over $j$ from $1$ to $n$)?
  1. $\sum_j |a_j - b_j| = \big|\sum_j a_j - \sum_j b_j\big|$
  2. $\sum_j \max\{a_j, b_j\} = \max\{\sum_j a_j, \sum_j b_j\}$
  3. $\sum_j (a_j^2 - b_j^2) = (\sum_j a_j)^2 - (\sum_j b_j)^2$
  4. $\sum_j (a_j - b_j) = \sum_j a_j - \sum_j b_j$
Explanation. A sum splits over sums and differences of terms (linearity), but it does not commute with absolute value, maximum or square: with $a = (1, 0)$, $b = (0, 1)$ the other three fail.
la-f-sums-k34 · level ipotesi · notes
To derive $\sum_{j=1}^{n} 2j = n^2 + n$ from the formula $\sum_{j=1}^{n} j = \frac{n(n+1)}{2}$, which property of sums is needed?
  1. The index translation with $k = 2j$
  2. The constant term: $\sum_{j=1}^{n} 2 = 2n$
  3. The product by a constant: $\sum_j 2j = 2 \sum_j j$
  4. Index reflection: $\sum_j 2j = \sum_j 2(n+1-j)$
Explanation. Factoring out $2$: $2 \cdot \frac{n(n+1)}{2} = n^2 + n$. The substitution $k = 2j$ is not a translation (it would skip the odd numbers).
la-f-sums-k35 · level ipotesi · notes
Index reflection $\sum_{j=1}^{n} a_j = \sum_{j=1}^{n} a_{n+1-j}$ adds the same terms in reverse order. Which properties of addition does it rely on?
  1. Distributivity over multiplication
  2. Existence of the opposite $-a_j$
  3. That $n$ is an even number
  4. Commutativity and associativity
Explanation. Reordering and regrouping finitely many terms does not change the sum: commutativity and associativity are needed, for every $n$.
la-f-sums-k36 · level facile · notes
What is the sum $\sum_{j=2}^{6} (j - 1)$?
  1. $15$
  2. $20$
  3. $10$
  4. $14$
Explanation. With $k = j - 1$ it becomes $\sum_{k=1}^{5} k = 15$. $20 = \sum_{j=2}^{6} j$ forgets the $-1$, $10 = \sum_{k=1}^{4} k$ gets the upper limit wrong.
la-f-sums-k37 · level facile · notes
For $n \ge 1$, what is $\sum_{j=1}^{n} (n - j)$?
  1. $\frac{n(n+1)}{2}$
  2. $n^2$
  3. $0$
  4. $\frac{n(n-1)}{2}$
Explanation. The terms are $n - 1, n - 2, \dots, 1, 0$: it is $\sum_{k=0}^{n-1} k = \frac{(n-1)n}{2}$. With $\frac{n(n+1)}{2}$ the term $n$ would also be counted.
la-f-sums-k38 · level facile · notes
Using the sums of the first $n$ odd numbers ($n^2$) and of the first $n$ naturals ($\frac{n(n+1)}{2}$), what is $\sum_{j=1}^{10} (2j - 1) - \sum_{j=1}^{10} j$?
  1. $35$
  2. $45$
  3. $55$
  4. $100$
Explanation. $10^2 - \frac{10 \cdot 11}{2} = 100 - 55 = 45$; indeed it is also $\sum_{j=1}^{10} (j - 1) = 45$.
la-f-sums-k39 · level facile · notes
For which $n \ge 1$ do we have $\sum_{j=1}^{n} 4 = 28$?
  1. $112$
  2. $7$
  3. $24$
  4. $4$
Explanation. The constant term $4$ is added $n$ times: $4n = 28$, so $n = 7$. $112 = 4 \cdot 28$ multiplies instead of dividing.
la-f-sums-k40 · level facile · notes
For the reals $a_1, \dots, a_5$ we know that $\sum_{j=1}^{5} a_j = 10$. What is $\sum_{j=1}^{5} (a_j + 2)$?
  1. $50$
  2. $14$
  3. $20$
  4. $12$
Explanation. $\sum_j a_j + \sum_{j=1}^{5} 2 = 10 + 5 \cdot 2 = 20$. $12$ adds the constant $2$ only once instead of $5$ times.
la-f-sums-k41 · level teorema · notes
Let $S_n = \sum_{j=1}^{n} j$ be the sum of the first $n$ naturals. Which relation holds for every $n \ge 2$?
  1. $S_n = S_{n-1} + 1$
  2. $S_n = S_{n-1} + n$
  3. $S_n = n\,S_{n-1}$
  4. $S_{2n} = 2\,S_n$
Explanation. Splitting the sum isolates the last term: $\sum_{j=1}^{n} j = \sum_{j=1}^{n-1} j + n$. $S_{2n} = 2S_n$ is false: $S_4 = 10 \neq 2 S_2 = 6$.
la-f-sums-k42 · level ipotesi · notes
The formula $\sum_{j=1}^{n} j = \frac{n(n+1)}{2}$ always gives an integer, although it divides by $2$. Which fact guarantees it?
  1. The number $n + 1$ is always prime
  2. Nothing: for odd $n$ it is not an integer
  3. Of $n$ and $n + 1$ one is even
  4. The number $n$ is always even
Explanation. $n$ and $n + 1$ are consecutive integers, so one of them is even and the product $n(n+1)$ is divisible by $2$. For instance $n = 5$: $\frac{5 \cdot 6}{2} = 15$.

2. Products (52)

la-f-prod-01 · level facile · notes
For $n \ge 1$ and $c \in \R$, what is $\prod_{j=1}^{n} c$?
  1. $c^n$
  2. $n\,c$
  3. $c$
  4. $n^c$
Explanation. $c$ is multiplied by itself $n$ times: $\prod_{j=1}^{n} c = c^n$. $n\,c$ is the sum $\sum_{j=1}^{n} c$.
la-f-prod-02 · level facile · notes
Which equality holds for every product $\prod_{j=1}^{n} a_j$ and every $c \in \R$?
  1. $\prod_{j=1}^{n} (c\, a_j) = c^n \prod_{j=1}^{n} a_j$
  2. $\prod_{j=1}^{n} (c\, a_j) = c \prod_{j=1}^{n} a_j$
  3. $\prod_{j=1}^{n} (c\, a_j) = n\,c \prod_{j=1}^{n} a_j$
  4. $\prod_{j=1}^{n} (c\, a_j) = c + \prod_{j=1}^{n} a_j$
Explanation. The constant appears in each of the $n$ factors and, by the commutative and associative properties, it is collected as $c^n$. For sums, instead, the constant comes out only once.
la-f-prod-03 · level facile · notes
The factorial of a natural number $n$ is $n! = \prod_{j=1}^{n} j$. What is $0!$?
  1. $1$
  2. $0$
  3. it is not defined
  4. $-1$
Explanation. By convention $0! = 1$, consistent with the convention that a product with no factors equals $1$.
la-f-prod-04 · level facile · notes
The factorial of a natural number $n$ is $n! = \prod_{j=1}^{n} j$. What is $\frac{100!}{98!}$?
  1. $2$
  2. $9702$
  3. $9900$
  4. $100$
Explanation. $\frac{n!}{(n-k)!} = \prod_{j=1}^{k}(n-j+1)$: with $n = 100$ and $k = 2$ the two factors $100 \cdot 99 = 9900$ remain. $9702 = 99\cdot 98$ starts from the wrong factor.
la-f-prod-05 · level facile · notes
What is the product with no factors $\prod_{j=1}^{0} a_j$ (upper index smaller than the lower one)?
  1. $a_1$
  2. it is not defined
  3. $1$
  4. $0$
Explanation. By convention a product with no factors equals $1$ (the neutral element of the product); this makes the formula for $\frac{n!}{(n-k)!}$ valid also for $k = 0$.
la-f-prod-06 · level teorema · notes
Which property holds for all products $\prod_{j=1}^{n} a_j$, $\prod_{j=1}^{n} b_j$ and every $c \in \R$?
  1. $\prod_{j=1}^{n} (a_j + b_j) = \prod_{j=1}^{n} a_j + \prod_{j=1}^{n} b_j$
  2. $\prod_{j=1}^{n+m} a_j = \prod_{j=1}^{n} a_j + \prod_{j=n+1}^{n+m} a_j$
  3. $\prod_{j=1}^{n} (c\, a_j) = c\prod_{j=1}^{n} a_j$
  4. $\prod_{j=1}^{n} a_j \; \prod_{j=1}^{n} b_j = \prod_{j=1}^{n} (a_j\, b_j)$
Explanation. It is the product of products (commutative and associative properties). In the decomposition the two parts are multiplied, not added; the constant comes out as $c^n$.
la-f-prod-07 · level teorema · notes
For $n \ge 0$ and $k \in \{0, 1, \dots, n\}$, which equality is true?
  1. $\frac{n!}{(n-k)!} = \prod_{j=0}^{k} (n-j)$
  2. $\frac{n!}{(n-k)!} = \prod_{j=1}^{n-k} j$
  3. $\frac{n!}{(n-k)!} = \prod_{j=1}^{k} (n-j+1)$
  4. $\frac{n!}{(n-k)!} = \prod_{j=1}^{k} (n-j)$
Explanation. It is the product of $k$ factors, from $n$ decreasing by one: $n(n-1)\cdots(n-k+1) = \prod_{j=n-k+1}^{n} j$. The others have one factor more, one less, or are $(n-k)!$.
la-f-prod-08 · level ipotesi · notes
We want to prove that $\frac{n!}{(n-k)!} = \prod_{j=n-k+1}^{n} j$ for $n \ge 0$ and $0 \le k \le n$, where $n! = \prod_{j=1}^{n} j$ and $0! = 1$. Which results are needed?
  1. index reflection $\prod_{j=1}^{n} a_j = \prod_{j=1}^{n} a_{n-j+1}$ and the product with constant term
  2. Stirling's approximation of the factorial and the product of products
  3. the definition of factorial and the decomposition $\prod_{j=1}^{n} j = \prod_{j=1}^{n-k} j \, \prod_{j=n-k+1}^{n} j$
  4. the definition of factorial and the product by a constant $\prod_{j=1}^{n}(c\,a_j) = c^n\prod_{j=1}^{n} a_j$
Explanation. $n!$ is written as the product of the first $n - k$ factors times the remaining ones; the first ones form $(n-k)!$, which cancels out. Stirling gives only an asymptotic approximation.
la-f-prod-09 · level facile · notes
The factorial of $n \ge 1$ is $n! = \prod_{j=1}^{n} j$. What is $5!$?
  1. $120$
  2. $15$
  3. $25$
  4. $60$
Explanation. $5! = 1\cdot 2\cdot 3\cdot 4\cdot 5 = 120$. $15 = \sum_{j=1}^{5} j$ is the corresponding sum.
la-f-prod-10 · level facile · notes
For the nonzero real numbers $a_1, \dots, a_5$ we know that $\prod_{j=1}^{5} a_j = 24$ and $\prod_{j=1}^{3} a_j = 6$. What is $\prod_{j=4}^{5} a_j$?
  1. $4$
  2. $18$
  3. $30$
  4. $144$
Explanation. By decomposition $\prod_{j=1}^{5} a_j = \prod_{j=1}^{3} a_j \, \prod_{j=4}^{5} a_j$, hence $\prod_{j=4}^{5} a_j = 24/6 = 4$. The two parts are multiplied, not subtracted.
la-f-prod-11 · level facile · notes
Index reflection: which equality holds for every product $\prod_{j=1}^{n} a_j$?
  1. $\prod_{j=1}^{n} a_j = \prod_{j=1}^{n} a_{n-j}$
  2. $\prod_{j=1}^{n} a_j = \prod_{j=0}^{n-1} a_{n+j}$
  3. $\prod_{j=1}^{n} a_j = \prod_{j=0}^{n-1} a_{n-j}$
  4. $\prod_{j=1}^{n} a_j = \prod_{j=0}^{n} a_{n-j}$
Explanation. For $j = 0, \dots, n-1$ the index $n - j$ takes the values $n, \dots, 1$: the same factors in reverse order. With $j = 0, \dots, n$ also $a_0$ would appear.
la-f-prod-12 · level teorema · notes
Index translation: which equality holds for every product $\prod_{j=1}^{n} a_j$ and every natural number $m \ge 1$?
  1. $\prod_{j=1}^{n} a_j = \prod_{j=1+m}^{n+m} a_{j}$
  2. $\prod_{j=1}^{n} a_j = \prod_{j=1+m}^{n+m} a_{j-m}$
  3. $\prod_{j=1}^{n} a_j = \prod_{j=1+m}^{n+m} a_{j+m}$
  4. $\prod_{j=1}^{n} a_j = \prod_{j=1}^{n+m} a_{j-m}$
Explanation. If the limits increase by $m$, the index in the factor decreases by $m$: for $j = 1+m, \dots, n+m$ we get $a_1, \dots, a_n$. Shifting only the limits changes the factors.
la-f-prod-13 · level facile · notes
What is the product $\prod_{j=1}^{3} (j+1)$?
  1. $6$
  2. $120$
  3. $24$
  4. $9$
Explanation. The factors are $2, 3, 4$: $2\cdot 3\cdot 4 = 24$. $9$ is their sum, $6 = 3!$ forgets the $+1$.
la-f-prod-14 · level facile · notes
What is the product $\prod_{j=3}^{5} j^2$, where the index $j$ goes from $3$ to $5$?
  1. $225$
  2. $144$
  3. $3600$
  4. $50$
Explanation. The factors are $3^2, 4^2, 5^2$: $9\cdot 16\cdot 25 = 3600$. $50$ is the sum $\sum_{j=3}^{5} j^2$; $225 = (3\cdot 5)^2$ forgets the factor $4^2$, $144 = (3\cdot 4)^2$ the factor $5^2$.
la-f-products-k01 · level facile · notes
Which product represents $2 \cdot 4 \cdot 6 \cdot 8$?
  1. $\prod_{j=1}^{8} 2j$
  2. $\prod_{j=1}^{4} 2j$
  3. $\prod_{j=2}^{8} j$
  4. $2 \prod_{j=1}^{4} j$
Explanation. For $j = 1, \dots, 4$ the factor $2j$ equals $2, 4, 6, 8$. $2 \prod_{j=1}^{4} j = 48$ puts the $2$ only once (the product is $384 = 2^4 \cdot 4!$); $\prod_{j=2}^{8} j$ also includes the odd numbers.
la-f-products-k02 · level facile · notes
What is $\prod_{j=1}^{3} 2^{j}$?
  1. $8$
  2. $48$
  3. $64$
  4. $14$
Explanation. $2^{1+2+3} = 2^6 = 64$.
la-f-products-k03 · level facile · notes
What does $\prod_{j=1}^{n} a_j$ denote?
  1. The factorial of $a_n$
  2. The product $a_1 a_2 \cdots a_n$
  3. The sum $a_1 + \dots + a_n$
  4. The power $a_n^n$
Explanation. The symbol $\prod$ multiplies the terms as the index varies.
la-f-products-k04 · level facile · notes
Which equality holds for all $a_j, b_j$?
  1. $\prod_j a_j b_j = \prod_j a_j \cdot \prod_j b_j$
  2. $\prod_j (a_j + b_j) = \prod_j a_j + \prod_j b_j$
  3. $\prod_j a_j b_j = \sum_j a_j b_j$
  4. $\prod_j c\,a_j = c \prod_j a_j$
Explanation. A product splits over factors, not over sums.
la-f-products-k05 · level facile · notes
For reals $a_1, \dots, a_n$, what does $\prod_{j=1}^{n} (-a_j)$ equal?
  1. $-n \prod_{j=1}^{n} a_j$
  2. $(-1)^n \prod_{j=1}^{n} a_j$
  3. $-\prod_{j=1}^{n} a_j$
  4. $(-1)^{n-1} \prod_{j=1}^{n} a_j$
Explanation. It is the product by the constant $c = -1$, which appears in all $n$ factors: $(-1)^n \prod_j a_j$. The sign changes only if $n$ is odd.
la-f-products-k06 · level facile · notes
What is $\frac{7!}{5!}$?
  1. $\frac75$
  2. $2520$
  3. $42$
  4. $2$
Explanation. $\frac{7!}{5!} = 7 \cdot 6 = 42$.
la-f-products-k07 · level facile · notes
The factorial is $n! = \prod_{j=1}^{n} j$ for $n \ge 1$, with $0! = 1$. For $n \ge 0$, what is $\frac{(n+1)! - n!}{n!}$?
  1. $n$
  2. $1$
  3. $n + 1$
  4. $(n+1)!$
Explanation. $(n+1)! = (n+1)\,n!$, so the numerator is $n!\,(n + 1 - 1) = n \cdot n!$ and the ratio is $n$. $1$ cancels $(n+1)!$ with $n!$ as if they were equal.
la-f-products-k08 · level facile · notes
Which relation holds for the factorial, for $n \ge 1$?
  1. $n! = n \cdot (n-1)!$
  2. $n! = n + (n-1)!$
  3. $n! = n^2 (n-2)!$
  4. $n! = 2^n$
Explanation. $n! = \prod_{j=1}^{n} j$: the last factor is $n$.
la-f-products-k09 · level teorema · notes
Which statement about $\prod_{j=1}^{n} c$ is correct?
  1. It equals $n\,c$
  2. It equals $c$
  3. It equals $n!\,c$
  4. It equals $c^n$
Explanation. $c$ is multiplied by itself $n$ times.
la-f-products-k10 · level teorema · notes
For $0 \le k \le n$, which statement about the ratio $\frac{n!}{k!}$ is correct?
  1. It equals $\prod_{j=k+1}^{n} j$
  2. It equals $(n-k)!$
  3. It equals $\frac{n}{k}$
  4. It is not an integer in general
Explanation. The factors from $1$ to $k$ cancel.
la-f-products-k11 · level ipotesi · notes
To prove that $\prod_j a_j b_j = \prod_j a_j \prod_j b_j$, which properties of multiplication are needed?
  1. Commutativity and associativity
  2. Distributivity over addition
  3. Existence of inverses
  4. That the terms are positive
Explanation. The factors are reordered grouping the $a_j$ and the $b_j$.
la-f-products-k12 · level ipotesi · notes
We want to write $\prod_{j=1}^{n} \frac{a_j}{b_j} = \frac{\prod_j a_j}{\prod_j b_j}$. Which assumption is needed?
  1. $a_j > 0$ for every $j$
  2. $n$ even (factors in pairs)
  3. $a_j \le b_j$ for every $j$
  4. $b_j \neq 0$ for every $j$
Explanation. The quotients must be defined.
la-f-products-k13 · level ipotesi · notes
To prove that $n!$ is divisible by $k!$ when $0 \le k \le n$, what is used?
  1. That $0! = 0$, as an empty product
  2. That $n! = k! \prod_{j=k+1}^{n} j$
  3. That $n!$ is even for every $n \ge 2$
  4. That $k! \le n!$ for every $k \le n$
Explanation. $n! = k! \prod_{j=k+1}^{n} j$ and the second factor is a product of integers, hence an integer. $k! \le n!$ is true but does not give divisibility; $0! = 1$.
la-f-products-k14 · level ipotesi · notes
In the shift $k = j - 1$ in $\prod_{j=2}^{n+1} a_{j-1}$, what is obtained?
  1. $\prod_{k=0}^{n} a_{k+1}$ with one more factor
  2. $\prod_{k=1}^{n} a_k$
  3. $\prod_{k=2}^{n+1} a_k$
  4. $\prod_{k=1}^{n+1} a_k$
Explanation. Limits $2 - 1 = 1$ and $n + 1 - 1 = n$.
la-f-products-k15 · level teorema · notes
Which statement about the product $\prod_{j=1}^{n} a_j$ is correct?
  1. It equals $\sum_{j=1}^{n} a_j$ if all $a_j$ are positive
  2. It is independent of the order only for $n = 2$
  3. It is zero iff some factor $a_j$ is zero
  4. It is always positive
Explanation. A product of reals is zero iff one factor is.
la-f-products-k16 · level facile · notes
What is the product $\prod_{j=1}^{4} \frac{j}{j+1}$?
  1. $\frac57$
  2. $\frac15$
  3. $\frac45$
  4. $\frac14$
Explanation. $\frac12 \cdot \frac23 \cdot \frac34 \cdot \frac45 = \frac15$: the factors telescope. $\frac57 = \frac{10}{14}$ divides the sum of the numerators by that of the denominators.
la-f-products-k17 · level facile · notes
What is the product $\prod_{j=1}^{3} (-2)$?
  1. $-8$
  2. $8$
  3. $-6$
  4. $6$
Explanation. $(-2)^3 = -8$: the product of three negative factors is negative. $-6$ adds the factors instead of multiplying them.
la-f-products-k18 · level facile · notes
What is the product $\prod_{j=1}^{5} (j - 3)$?
  1. $4$
  2. $-4$
  3. $1$
  4. $0$
Explanation. The factors are $-2, -1, 0, 1, 2$: for $j = 3$ there is the factor $0$, so the product is $0$. $4$ forgets the zero factor.
la-f-products-k19 · level facile · notes
What is the product with constant factor $\prod_{j=3}^{7} 2$?
  1. $10$
  2. $16$
  3. $32$
  4. $128$
Explanation. The indices from $3$ to $7$ are $5$, so the product is $2^5 = 32$. $128 = 2^7$ uses the upper limit, $10 = 5 \cdot 2$ adds instead of multiplying.
la-f-products-k20 · level facile · notes
For the reals $a_1, \dots, a_4$ we know that $\prod_{j=1}^{4} a_j = 5$. What is $\prod_{j=1}^{4} (3\,a_j)$?
  1. $45$
  2. $405$
  3. $15$
  4. $60$
Explanation. The constant appears in each of the $4$ factors: $3^4 \cdot 5 = 81 \cdot 5 = 405$. $15$ counts it only once, $60 = 4 \cdot 3 \cdot 5$ treats it as in a sum.
la-f-products-k21 · level facile · notes
For the reals $a_j, b_j$ ($j = 1, \dots, n$) we know that $\prod_{j=1}^{n} a_j = 6$ and $\prod_{j=1}^{n} b_j = -2$. What is $\prod_{j=1}^{n} (a_j\, b_j)$?
  1. $4$
  2. $-3$
  3. $12$
  4. $-12$
Explanation. The product of products is the product of the products: $6 \cdot (-2) = -12$. $4$ adds the two products, $-3$ divides them.
la-f-products-k22 · level facile · notes
The factorial is $n! = \prod_{j=1}^{n} j$ and $6! = 720$. Splitting $\prod_{j=1}^{6} j = \prod_{j=1}^{3} j \cdot \prod_{j=4}^{6} j$, what is $\prod_{j=4}^{6} j$?
  1. $240$
  2. $15$
  3. $360$
  4. $120$
Explanation. $\prod_{j=4}^{6} j = 4 \cdot 5 \cdot 6 = 120 = \frac{720}{3!}$. $15$ adds the factors, $240 = \frac{720}{3}$ divides by $3$ instead of $3! = 6$.
la-f-products-k23 · level facile · notes
With the substitution $k = j + 2$, what does $\prod_{j=1}^{n} a_{j+2}$ equal?
  1. $\prod_{k=3}^{n} a_k$
  2. $\prod_{k=-1}^{n-2} a_k$
  3. $\prod_{k=3}^{n+2} a_k$
  4. $\prod_{k=1}^{n} a_k$
Explanation. For $j = 1$ we get $k = 3$, for $j = n$ we get $k = n + 2$: the factors are $a_3, \dots, a_{n+2}$.
la-f-products-k24 · level facile · notes
The factorial is $n! = \prod_{j=1}^{n} j$. For $n \ge 1$, what does $\prod_{j=1}^{n} (n + 1 - j)$ equal?
  1. $(n+1)!$
  2. $1$
  3. $(n-1)!$
  4. $n!$
Explanation. The factors are $n, n-1, \dots, 1$: they are those of $n!$ in reverse order (index reflection).
la-f-products-k25 · level facile · notes
The factorial is $n! = \prod_{j=1}^{n} j$. What is the smallest natural number $n$ with $n! > 1000$?
  1. $8$
  2. $5$
  3. $7$
  4. $6$
Explanation. $5! = 120$, $6! = 720 < 1000$ and $7! = 5040 > 1000$: the smallest one is $n = 7$.
la-f-products-k26 · level facile · notes
The factorial is $n! = \prod_{j=1}^{n} j$. What is $\frac{10!}{8!\;2!}$?
  1. $5$
  2. $20$
  3. $45$
  4. $90$
Explanation. $\frac{10!}{8!} = 10 \cdot 9 = 90$ and then $\frac{90}{2!} = 45$. $90$ forgets the factor $2!$, $5 = \frac{10}{2}$ cancels the factorials as plain numbers.
la-f-products-k27 · level facile · notes
For naturals $0 \le k \le n$ we have $\frac{n!}{(n-k)!} = n\,(n-1) \cdots (n-k+1)$. How many factors does this product have?
  1. $k$
  2. $n - k$
  3. $n$
  4. $k + 1$
Explanation. It is $\prod_{j=1}^{k} (n - j + 1)$: one factor for each $j = 1, \dots, k$, from $n$ down to $n - k + 1$. The $n - k$ smallest factors cancel with $(n-k)!$.
la-f-products-k28 · level teorema · notes
Which equality (splitting) holds for every product $\prod_{j=1}^{n+m} a_j$, with $n, m \ge 1$?
  1. $\prod_{j=1}^{n+m} a_j = \prod_{j=1}^{n} a_j \cdot \prod_{j=1}^{m} a_j$
  2. $\prod_{j=1}^{n+m} a_j = \prod_{j=1}^{n} a_j \cdot \prod_{j=n+1}^{n+m} a_j$
  3. $\prod_{j=1}^{n+m} a_j = \prod_{j=1}^{n} a_j + \prod_{j=n+1}^{n+m} a_j$
  4. $\prod_{j=1}^{n+m} a_j = \prod_{j=1}^{n} a_j \cdot \prod_{j=n}^{n+m} a_j$
Explanation. The factors $a_1, \dots, a_{n+m}$ are split into two consecutive blocks that are multiplied. Starting from $j = n$ counts $a_n$ twice; $\prod_{j=1}^{m} a_j$ repeats the first factors.
la-f-products-k29 · level teorema · notes
The factorial is $n! = \prod_{j=1}^{n} j$ for $n \ge 1$, with $0! = 1$. Which statement is true for every natural $n \ge 1$?
  1. Every $k$ with $1 \le k \le n$ divides $n!$
  2. $(2n)! = 2 \cdot n!$ for every $n \ge 1$
  3. $(n + m)! = n! \cdot m!$ for every $m \ge 1$
  4. $n!$ is odd for every $n \ge 2$
Explanation. Every $k \le n$ is one of the factors of $n!$. Instead $(2 \cdot 2)! = 24 \neq 4$, $(1+1)! = 2 \neq 1$, and $2! = 2$ is even.
la-f-products-k30 · level ipotesi · notes
By convention a product with no factors (e.g. $\prod_{j=1}^{0} a_j$) equals $1$. Thanks to it, the formula $\frac{n!}{(n-k)!} = \prod_{j=n-k+1}^{n} j$ also holds for which value of $k$?
  1. $k = 0$
  2. $k = n$
  3. $k = 1$
  4. $k = n - 1$
Explanation. With $k = 0$ the left side is $\frac{n!}{n!} = 1$ and the right side is $\prod_{j=n+1}^{n} j$, with no factors: it equals $1$ only by the convention. With $k = n$ one needs $0! = 1$ instead.
la-f-products-k31 · level ipotesi · notes
Does the rule $\prod_{j=1}^{n} (c\,a_j) = c^n \prod_{j=1}^{n} a_j$ require any assumption on the constant $c \in \R$?
  1. Yes: $c \neq 0$, to divide
  2. Yes: $c$ integer, for $c^n$
  3. No: it holds for every $c \in \R$
  4. Yes: $c > 0$, for the power
Explanation. The proof only reorders the factors ($c$ appears $n$ times), so it holds for every real $c$: for instance with $c = -1$ we get $(-1)^n \prod_j a_j$, with $c = 0$ both sides are $0$.
la-f-products-k32 · level facile · notes
What is the product $\prod_{j=1}^{n} 1$, for every $n \ge 1$?
  1. $0$
  2. $n!$
  3. $1$
  4. $n$
Explanation. It is $1^n = 1$: multiplying $1$ by itself changes nothing. $n$ is instead the sum $\sum_{j=1}^{n} 1$.
la-f-products-k33 · level facile · notes
What is $\prod_{j=1}^{3} j \cdot \prod_{j=1}^{3} \frac{1}{j}$?
  1. $0$
  2. $1$
  3. $6$
  4. $\frac16$
Explanation. The product of products is the product of the products: $\prod_{j=1}^{3} \big(j \cdot \frac1j\big) = \prod_{j=1}^{3} 1 = 1$; indeed $6 \cdot \frac16 = 1$.
la-f-products-k34 · level facile · notes
The factorial is $n! = \prod_{j=1}^{n} j$. What is $\frac{4! + 3!}{3!}$?
  1. $5$
  2. $4$
  3. $25$
  4. $30$
Explanation. $4! = 4 \cdot 3!$, so $\frac{4 \cdot 3! + 3!}{3!} = 4 + 1 = 5$ (i.e. $\frac{24 + 6}{6}$). $4$ forgets the second term, $25 = 4! + 1$ simplifies only $3!$.
la-f-products-k35 · level facile · notes
What is the product $\prod_{j=1}^{4} (-1)^j$?
  1. $0$
  2. $4$
  3. $1$
  4. $-1$
Explanation. The factors are $-1, 1, -1, 1$: two negative factors, product $1$ (i.e. $(-1)^{1+2+3+4} = (-1)^{10}$). $0$ adds the factors.
la-f-products-k36 · level facile · notes
What is the product $\prod_{j=2}^{4} \frac{j}{2}$?
  1. $12$
  2. $24$
  3. $3$
  4. $\frac92$
Explanation. $\frac22 \cdot \frac32 \cdot \frac42 = \frac{24}{8} = 3$: the $2$ in the denominator appears in all $3$ factors. $12 = \frac{24}{2}$ counts it once, $\frac92$ adds the factors.
la-f-products-k37 · level teorema · notes
Let $a_1, a_2, \dots$ be reals and $P_n = \prod_{j=1}^{n} a_j$. Which relation holds for every $n \ge 2$?
  1. $P_n = P_{n-1} + a_n$
  2. $P_n = (a_n)^n$
  3. $P_{2n} = (P_n)^2$
  4. $P_n = P_{n-1} \cdot a_n$
Explanation. By splitting, the last factor is isolated: $\prod_{j=1}^{n} a_j = \prod_{j=1}^{n-1} a_j \cdot a_n$. $P_{2n} = P_n^2$ would hold only if $a_{n+1}, \dots, a_{2n}$ repeated $a_1, \dots, a_n$.
la-f-products-k38 · level ipotesi · notes
The splitting $\prod_{j=1}^{n+m} a_j = \prod_{j=1}^{n} a_j \cdot \prod_{j=n+1}^{n+m} a_j$ groups the factors into two consecutive blocks. Which property of multiplication suffices?
  1. Distributivity over addition
  2. The existence of the inverses $\frac{1}{a_j}$
  3. That all the $a_j$ are positive
  4. Associativity
Explanation. The factors stay in the same order and only the brackets change: associativity suffices. No division is needed, hence no assumption on the $a_j$.

Part: Vectors and matrices (205)

3. Vectors (40)

la-f-vec-01 · level facile · notes
Let $\boldsymbol a \in \R^{4}$ be a column vector. Which set does the transpose $\boldsymbol a'$ belong to?
  1. $\R^{1\times 4}$
  2. $\R^{4\times 1}$
  3. $\R^{4\times 4}$
  4. $\R$
Explanation. The transpose of a column vector with $4$ rows is the row vector with $4$ entries, i.e. a $1\times 4$ matrix.
la-f-vec-02 · level facile · notes
What is the scalar product $\boldsymbol p'\,\boldsymbol w$ of the column vectors $\boldsymbol p = (1,\, 4)'$ and $\boldsymbol w = (4,\, 1)'$ (the prime $'$ denotes the transpose)?
  1. $10$
  2. $8$
  3. $(4,\, 4)'$
  4. $17$
Explanation. $\boldsymbol p'\,\boldsymbol w = \sum_j p_j w_j = 1\cdot 4 + 4\cdot 1 = 8$: the result is a number, not a vector.
la-f-vec-03 · level teorema · notes
Which statement on the scalar product holds for every $\boldsymbol p, \boldsymbol w \in \R^n$?
  1. $\boldsymbol p'\,\boldsymbol w = \boldsymbol w'\,\boldsymbol p$
  2. $\boldsymbol p'\,\boldsymbol w \ge 0$
  3. $\boldsymbol p'\,\boldsymbol p = 0$ also for some $\boldsymbol p \neq \boldsymbol 0$
  4. $\boldsymbol p'(\lambda\boldsymbol w) = |\lambda|\, \boldsymbol p'\,\boldsymbol w$ for every $\lambda \in \R$
Explanation. The scalar product is symmetric. Only $\boldsymbol p'\,\boldsymbol p$ is always $\ge 0$, and it is $0$ only for $\boldsymbol p = \boldsymbol 0$; the scalar comes out with its sign.
la-f-vec-04 · level facile · notes
The vectors $\boldsymbol v_1, \dots, \boldsymbol v_k \in \R^n$ are linearly independent if:
  1. none of them is a multiple of another one
  2. the trivial combination gives the zero vector
  3. only the trivial combination gives the zero vector
  4. none of them is the zero vector
Explanation. $\lambda_1\boldsymbol v_1 + \dots + \lambda_k\boldsymbol v_k = \boldsymbol 0 \Rightarrow \lambda_1 = \dots = \lambda_k = 0$. The trivial combination always gives $\boldsymbol 0$; with three or more vectors it is not enough that they are pairwise non-proportional.
la-f-vec-05 · level facile · notes
A set of vectors $\boldsymbol v_1, \dots, \boldsymbol v_k \in \R^n$ containing the zero vector is:
  1. always linearly independent
  2. linearly independent if the other vectors are
  3. linearly independent if $k \le n$
  4. always linearly dependent
Explanation. Coefficient $1$ on the zero vector and $0$ on the others: it is a nontrivial combination equal to $\boldsymbol 0$.
la-f-vec-06 · level facile · notes
Four vectors of $\R^3$:
  1. are linearly independent if they are pairwise non-proportional
  2. form a basis of $\R^3$ if they span $\R^3$
  3. are always linearly dependent
  4. are linearly independent if none of them is zero
Explanation. More than $n$ vectors of $\R^n$ are always linearly dependent. Hence they cannot form a basis: every basis of $\R^3$ has exactly $3$ vectors.
la-f-vec-07 · level facile · notes
The vectors $\boldsymbol v_1 = (1,\, 2,\, 3)'$ and $\boldsymbol v_2 = (2,\, 4,\, 6)'$:
  1. are linearly independent, because neither of them is the zero vector
  2. are linearly independent, because they are only two vectors of $\R^3$
  3. it cannot be decided without a third vector
  4. are linearly dependent, because $2\boldsymbol v_1 - \boldsymbol v_2 = \boldsymbol 0$
Explanation. The combination with coefficients $2$ and $-1$, not all zero, gives the zero vector; equivalently $\boldsymbol v_2 = 2\boldsymbol v_1$.
la-f-vec-08 · level facile · notes
The vectors $\boldsymbol v_1, \dots, \boldsymbol v_k \in \R^n$ form a basis of $\R^n$ if:
  1. they span $\R^n$, that is $\mathrm{span}(\boldsymbol v_1, \dots, \boldsymbol v_k) = \R^n$
  2. they are linearly independent and none of them is the zero vector
  3. they are $n$ vectors, pairwise distinct and with all entries nonzero
  4. they are linearly independent and $\mathrm{span}(\boldsymbol v_1, \dots, \boldsymbol v_k) = \R^n$
Explanation. Both conditions are needed: linear independence and spanning the whole $\R^n$. For instance $\boldsymbol e_1$ alone is independent but does not span $\R^2$; $\boldsymbol e_1, \boldsymbol e_2, \boldsymbol e_1 + \boldsymbol e_2$ span $\R^2$ but are dependent; $(1,1)'$ and $(2,2)'$ are distinct, without zeros, but proportional.
la-f-vec-09 · level facile · notes
How many vectors does a basis of $\R^n$ have?
  1. exactly $n$
  2. at least $n$
  3. at most $n$
  4. any number $k \ge 1$
Explanation. Every basis of $\R^n$ consists of exactly $n$ vectors (for instance the canonical basis $\boldsymbol e_1, \dots, \boldsymbol e_n$).
la-f-vec-10 · level facile · notes
How is $\boldsymbol x = (2,\, -5,\, 3)'$ written with respect to the canonical basis $\boldsymbol e_1, \boldsymbol e_2, \boldsymbol e_3$ of $\R^3$ ($\boldsymbol e_i$ has $1$ in position $i$ and $0$ elsewhere)?
  1. $2\boldsymbol e_1 - 5\boldsymbol e_2 + 3\boldsymbol e_3$
  2. $2\boldsymbol e_1 + 5\boldsymbol e_2 + 3\boldsymbol e_3$
  3. $3\boldsymbol e_1 - 5\boldsymbol e_2 + 2\boldsymbol e_3$
  4. $\boldsymbol e_1 + \boldsymbol e_2 + \boldsymbol e_3$
Explanation. With respect to the canonical basis the coordinates are the entries: $\boldsymbol x = x_1\boldsymbol e_1 + x_2\boldsymbol e_2 + x_3\boldsymbol e_3$.
la-f-vec-11 · level teorema · notes
Let $k \ge 2$. Which characterization of the linear dependence of $\boldsymbol v_1, \dots, \boldsymbol v_k$ is correct?
  1. they are linearly dependent if and only if two of them are proportional
  2. they are linearly dependent if and only if one of them is the zero vector
  3. they are linearly dependent if and only if at least one of them is a linear combination of the others
  4. they are linearly dependent if and only if each of them is a linear combination of the others
Explanation. One vector $\boldsymbol v_j$ with $\lambda_j \neq 0$ in a zero combination is enough: $\boldsymbol v_j$ is obtained from the others. For instance $(1,0)', (0,1)', (1,1)'$ are dependent with no zero or proportional vectors.
la-f-vec-12 · level ipotesi · notes
Let $\boldsymbol v_1, \dots, \boldsymbol v_n$ be a basis of $\R^n$. Every $\boldsymbol x \in \R^n$ is written as $\boldsymbol x = \sum_{i=1}^{n} \lambda_i \boldsymbol v_i$ with unique coordinates $\lambda_i$. Which property of the basis is needed to prove uniqueness?
  1. the fact that more than $n$ vectors of $\R^n$ are dependent
  2. the fact that no $\boldsymbol v_i$ is the zero vector
  3. the linear independence of $\boldsymbol v_1, \dots, \boldsymbol v_n$
  4. the fact that $\boldsymbol v_1, \dots, \boldsymbol v_n$ span $\R^n$
Explanation. From $\sum_i \lambda_i\boldsymbol v_i = \sum_i \mu_i\boldsymbol v_i$ we get $\sum_i(\lambda_i - \mu_i)\boldsymbol v_i = \boldsymbol 0$, hence $\lambda_i = \mu_i$ by independence. Spanning is needed for existence, not for uniqueness.
la-f-vec-13 · level ipotesi · notes
How is it proved that the vectors $\boldsymbol v_1, \dots, \boldsymbol v_k \in \R^n$, among which there is the zero vector $\boldsymbol v_1 = \boldsymbol 0$, are linearly dependent?
  1. use $\boldsymbol p'\,\boldsymbol p = 0 \Leftrightarrow \boldsymbol p = \boldsymbol 0$ with $\boldsymbol p = \boldsymbol v_1$
  2. exhibit $\lambda_1 = 1$, $\lambda_2 = \dots = \lambda_k = 0$, which gives $\boldsymbol 0$
  3. observe that more than $n$ vectors of $\R^n$ are always linearly dependent
  4. observe that $\boldsymbol v_2, \dots, \boldsymbol v_k$ alone do not span $\R^n$
Explanation. The combination above is nontrivial ($\lambda_1 \neq 0$) and equals $\boldsymbol 0$, for any $k$ and $n$: this is the definition of linear dependence. The fact on more than $n$ vectors holds only for $k > n$.
la-f-vec-14 · level facile · notes
What is $\mathrm{span}(\boldsymbol v_1, \dots, \boldsymbol v_k)$?
  1. the set $\{\boldsymbol v_1, \dots, \boldsymbol v_k\}$
  2. the set of linear combinations with non-negative coefficients
  3. the set of linear combinations with coefficients adding up to $1$
  4. the set of all linear combinations of $\boldsymbol v_1, \dots, \boldsymbol v_k$
Explanation. The span contains all combinations $\lambda_1\boldsymbol v_1 + \dots + \lambda_k\boldsymbol v_k$ with arbitrary $\lambda_i \in \R$.
la-f-vec-15 · level facile · notes
What are the coordinates of $\boldsymbol x = (3,\, 1)'$ with respect to the basis $\boldsymbol v_1 = (1,\, 1)'$, $\boldsymbol v_2 = (1,\, -1)'$, that is the numbers $\lambda_1, \lambda_2$ with $\boldsymbol x = \lambda_1\boldsymbol v_1 + \lambda_2\boldsymbol v_2$?
  1. $\lambda_1 = 1,\ \lambda_2 = 2$
  2. $\lambda_1 = 3,\ \lambda_2 = 1$
  3. $\lambda_1 = 2,\ \lambda_2 = -1$
  4. $\lambda_1 = 2,\ \lambda_2 = 1$
Explanation. $\lambda_1 + \lambda_2 = 3$ and $\lambda_1 - \lambda_2 = 1$ give $\lambda_1 = 2$, $\lambda_2 = 1$: indeed $2(1,1)' + (1,-1)' = (3,1)'$.
la-f-vec-16 · level facile · notes
Let $\boldsymbol a = (1,\, -2,\, 3)' \in \R^3$ be a column vector (the prime $'$ denotes the transpose). What is $(\boldsymbol a')'$?
  1. the column vector $-\boldsymbol a$
  2. the number $\boldsymbol a'\boldsymbol a = 14$
  3. the column vector $\boldsymbol a$
  4. the row vector $\boldsymbol a' = (1\;\; -2\;\; 3)$
Explanation. Transposing twice gives back the original vector: $\boldsymbol a'$ is a row vector ($1\times 3$) and its transpose is again the column $\boldsymbol a$ ($3\times 1$).
la-f-vec-17 · level facile · notes
Given the column vectors $\boldsymbol p = (1,\, -2,\, 3)'$ and $\boldsymbol w = (2,\, 0,\, -1)'$ (the prime $'$ denotes the transpose), what is $\boldsymbol p - 2\boldsymbol w$?
  1. $(5,\, -2,\, 1)'$
  2. $(-3,\, -2,\, 1)'$
  3. $(-1,\, -2,\, 4)'$
  4. $(-3,\, -2,\, 5)'$
Explanation. Entry by entry: $(1 - 4,\, -2 - 0,\, 3 + 2)' = (-3,\, -2,\, 5)'$. $(5,\, -2,\, 1)'$ is $\boldsymbol p + 2\boldsymbol w$; $(-1,\, -2,\, 4)'$ is $\boldsymbol p - \boldsymbol w$.
la-f-vec-18 · level teorema · notes
Which property of the sum of vectors and of the scalar multiplication holds for every $\boldsymbol p, \boldsymbol w \in \R^n$ and $\lambda, \mu \in \R$?
  1. $\lambda(\boldsymbol p + \boldsymbol w) = \lambda\boldsymbol p + \lambda\boldsymbol w$
  2. $\lambda(\boldsymbol p + \boldsymbol w) = \lambda\boldsymbol p + \boldsymbol w$
  3. $(\lambda\mu)\,\boldsymbol p = \lambda\boldsymbol p + \mu\boldsymbol p$
  4. $\boldsymbol p + \boldsymbol w = \boldsymbol w - \boldsymbol p$
Explanation. The scalar distributes over both terms. It holds $(\lambda + \mu)\boldsymbol p = \lambda\boldsymbol p + \mu\boldsymbol p$ (with the sum, not the product, of the scalars) and the sum is commutative: $\boldsymbol p + \boldsymbol w = \boldsymbol w + \boldsymbol p$.
la-f-vectors-k01 · level facile · notes
What is a column vector $\boldsymbol p \in \R^n$?
  1. A positive real number
  2. An ordered list of $n$ reals
  3. A set of $n$ numbers without order
  4. An $n \times n$ matrix
Explanation. The components $p_1, \dots, p_n$ are ordered.
la-f-vectors-k02 · level facile · notes
The transpose of the column vector $\boldsymbol p = (1, -2, 5)'$ is:
  1. the diagonal $3 \times 3$ matrix
  2. the row vector $(1 \;\, {-2} \;\, 5)$
  3. the column vector $(5, -2, 1)'$
  4. the vector $(-1, 2, -5)'$
Explanation. Transposing swaps rows and columns.
la-f-vectors-k03 · level facile · notes
What is $2\,(1, 0, -3)' - (4, 1, 1)'$?
  1. $(-2, -1, -7)'$
  2. $(-2, 1, -5)'$
  3. $(6, 1, -5)'$
  4. $(-3, -1, -4)'$
Explanation. $(2, 0, -6)' - (4, 1, 1)'$ componentwise.
la-f-vectors-k04 · level facile · notes
Which property of vector addition in $\R^n$ is true?
  1. $\boldsymbol p - \boldsymbol w = \boldsymbol w - \boldsymbol p$
  2. $\boldsymbol p + \boldsymbol w = \boldsymbol w + \boldsymbol p$
  3. $\boldsymbol p + \boldsymbol w = \boldsymbol p$ for every $\boldsymbol w$
  4. $\boldsymbol p + \boldsymbol p = \boldsymbol p$
Explanation. Addition is commutative, componentwise.
la-f-vectors-k05 · level facile · notes
For scalars $\alpha, \beta$ and a vector $\boldsymbol p$, which equality holds?
  1. $\alpha(\beta \boldsymbol p) = (\alpha + \beta)\boldsymbol p$
  2. $\alpha \boldsymbol p = \boldsymbol p$ for every $\alpha$
  3. $(\alpha + \beta)\boldsymbol p = \alpha \boldsymbol p + \beta \boldsymbol p$
  4. $(\alpha + \beta)\boldsymbol p = \alpha\beta\,\boldsymbol p$
Explanation. Distributivity of scalar multiplication.
la-f-vectors-k06 · level facile · notes
What is the neutral element of vector addition in $\R^3$?
  1. It does not exist
  2. $\boldsymbol 0 = (0, 0, 0)'$
  3. $(1, 1, 1)'$
  4. The vector itself
Explanation. $\boldsymbol p + \boldsymbol 0 = \boldsymbol p$ for every $\boldsymbol p$.
la-f-vectors-k07 · level facile · notes
What is the dot product $\boldsymbol p'\boldsymbol w$ with $\boldsymbol p = (2, -1, 3)'$, $\boldsymbol w = (1, 4, 2)'$?
  1. $-4$
  2. $(2, -4, 6)'$
  3. $4$
  4. $12$
Explanation. $2 - 4 + 6 = 4$: the result is a scalar.
la-f-vectors-k08 · level facile · notes
Which property of the dot product is true?
  1. $\boldsymbol p'\boldsymbol w = 0$ implies $\boldsymbol p = \boldsymbol 0$
  2. $\boldsymbol p'(\boldsymbol w + \boldsymbol v) = \boldsymbol p'\boldsymbol w \cdot \boldsymbol p'\boldsymbol v$
  3. $\boldsymbol p'\boldsymbol p < 0$ for some $\boldsymbol p$
  4. $\boldsymbol p'\boldsymbol w = \boldsymbol w'\boldsymbol p$
Explanation. It is symmetric; nonzero vectors can be orthogonal.
la-f-vectors-k09 · level facile · notes
For which value of $t$ are the vectors $(1, t, 2)'$ and $(3, 1, -1)'$ orthogonal?
  1. $t = 5$
  2. $t = -1$
  3. $t = 1$
  4. $t = 0$
Explanation. $3 + t - 2 = 0 \Rightarrow t = -1$.
la-f-vectors-k10 · level facile · notes
Writing $(3, 5)'$ as a linear combination $\alpha(1, 1)' + \beta(1, 2)'$: what are $\alpha, \beta$?
  1. $\alpha = 3$, $\beta = 5$
  2. $\alpha = 1$, $\beta = 1$
  3. $\alpha = 1$, $\beta = 2$
  4. $\alpha = 2$, $\beta = 1$
Explanation. $\alpha + \beta = 3$, $\alpha + 2\beta = 5$.
la-f-vectors-k11 · level facile · notes
For which value of $k \in \R$ are the vectors $(1, k)'$ and $(2, 6)'$ of $\R^2$ linearly dependent?
  1. $k = 6$
  2. $k = 12$
  3. $k = \frac13$
  4. $k = 3$
Explanation. Two vectors are dependent if one is a multiple of the other: $(2, 6)' = 2\,(1, 3)'$, so $k = 3$. $k = 12$ multiplies instead of dividing.
la-f-vectors-k12 · level facile · notes
Which set of vectors of $\R^3$ is linearly independent?
  1. $(1,0,0)'$, $(0,1,0)'$, $(1,1,0)'$
  2. $(1,0,0)'$, $(1,1,0)'$
  3. $(1,2,3)'$, $(0,0,0)'$
  4. $(1,1,0)'$, $(2,2,0)'$
Explanation. $\lambda_1(1,0,0)' + \lambda_2(1,1,0)' = \boldsymbol 0$ gives $\lambda_2 = 0$ and then $\lambda_1 = 0$. The others contain the zero vector, two proportional vectors, or a vector that is the sum of the other two.
la-f-vectors-k13 · level teorema · notes
Which statement about linear independence in $\R^n$ is correct?
  1. $n$ vectors of $\R^n$ are always independent
  2. More than $n$ vectors of $\R^n$ are always dependent
  3. A set containing $\boldsymbol 0$ can be independent
  4. Two nonzero vectors are always independent
Explanation. The maximum number of independent vectors in $\R^n$ is $n$.
la-f-vectors-k14 · level facile · notes
What is the canonical basis of $\R^3$?
  1. $(1,1,1)'$, $(0,1,1)'$, $(0,0,1)'$
  2. $(1,0,0)'$, $(1,1,0)'$, $(1,1,1)'$, $(0,0,0)'$
  3. $(1,2,3)'$, $(4,5,6)'$, $(7,8,9)'$
  4. $(1,0,0)'$, $(0,1,0)'$, $(0,0,1)'$
Explanation. The vectors with a single $1$ in position $i$.
la-f-vectors-k15 · level facile · notes
Let $\boldsymbol e_2 = (0, 1, 0)'$ be the second vector of the canonical basis of $\R^3$. What is the scalar product $\boldsymbol e_2'\boldsymbol p$ for $\boldsymbol p = (4, -1, 7)'$?
  1. $10$
  2. $-1$
  3. $4$
  4. $7$
Explanation. $\boldsymbol e_2'\boldsymbol p = 0 \cdot 4 + 1 \cdot (-1) + 0 \cdot 7 = -1$: the scalar product with $\boldsymbol e_j$ extracts component $j$, which is the coordinate with respect to the canonical basis.
la-f-vectors-k16 · level teorema · notes
Which statement about a basis of $\R^n$ is correct?
  1. It can contain the zero vector
  2. It has more than $n$ vectors
  3. $n$ independent vectors spanning $\R^n$
  4. It is any spanning set of vectors
Explanation. Independence plus span: every vector has unique coordinates.
la-f-vectors-k17 · level ipotesi · notes
To prove that the coordinates of a vector with respect to $\boldsymbol p_1, \dots, \boldsymbol p_k$ are unique, what is needed?
  1. That $k > n$
  2. That they have norm $1$
  3. Linear independence
  4. That they are orthogonal
Explanation. Two different representations would give a nontrivial zero combination.
la-f-vectors-k18 · level ipotesi · notes
Why is a set of vectors containing $\boldsymbol 0$ linearly dependent?
  1. It is not true in general: it depends on the others
  2. $1 \cdot \boldsymbol 0 = \boldsymbol 0$ is a nontrivial zero combination
  3. Because the vector $\boldsymbol 0$ has norm $1$
  4. Because the other vectors are all parallel
Explanation. Coefficient $1$ on the zero vector and $0$ on the others suffice.
la-f-vectors-k19 · level facile · notes
What is the opposite of the vector $\boldsymbol p = (2, -1, 0)'$, i.e. the vector $\boldsymbol w$ with $\boldsymbol p + \boldsymbol w = \boldsymbol 0$?
  1. $(-2,\, -1,\, 0)'$
  2. $(0,\, 0,\, 0)'$
  3. $(-2,\, 1,\, 0)'$
  4. $(2,\, -1,\, 0)'$
Explanation. $\boldsymbol w = -\boldsymbol p = (-1)\,\boldsymbol p$ changes the sign of every component: $(2 - 2,\, -1 + 1,\, 0 + 0)' = \boldsymbol 0$. $(-2, -1, 0)'$ changes only the first one.
la-f-vectors-k20 · level facile · notes
For scalars $\lambda, \mu \in \R$ and a vector $\boldsymbol p \in \R^n$, what does $\lambda\,(\mu\,\boldsymbol p)$ equal?
  1. $\lambda\,\boldsymbol p + \mu\,\boldsymbol p$
  2. $\lambda^{\mu}\,\boldsymbol p$
  3. $(\lambda\mu)\,\boldsymbol p$
  4. $(\lambda + \mu)\,\boldsymbol p$
Explanation. Multiplying by $\mu$ and then by $\lambda$ is the same as multiplying by the product $\lambda\mu$ (component by component). $(\lambda + \mu)\boldsymbol p = \lambda\boldsymbol p + \mu\boldsymbol p$ is another property.
la-f-vectors-k21 · level facile · notes
The scalar product of $\boldsymbol p, \boldsymbol w \in \R^n$ is $\boldsymbol p'\boldsymbol w = \sum_j p_j w_j$. For $\boldsymbol p, \boldsymbol w, \boldsymbol u \in \R^n$, what does $\boldsymbol p'(\boldsymbol w + \boldsymbol u)$ equal?
  1. $(\boldsymbol p + \boldsymbol w)'\,\boldsymbol u$
  2. $\boldsymbol p'\boldsymbol w + \boldsymbol u$
  3. $\boldsymbol p'\boldsymbol w + \boldsymbol p'\boldsymbol u$
  4. $(\boldsymbol p'\boldsymbol w)\,(\boldsymbol p'\boldsymbol u)$
Explanation. It is the distributivity of the scalar product: $\sum_j p_j (w_j + u_j) = \sum_j p_j w_j + \sum_j p_j u_j$. $\boldsymbol p'\boldsymbol w + \boldsymbol u$ adds a scalar and a vector.
la-f-vectors-k22 · level facile · notes
The scalar product of $\boldsymbol p, \boldsymbol w \in \R^n$ is $\boldsymbol p'\boldsymbol w = \sum_j p_j w_j$. Knowing that $\boldsymbol p'\boldsymbol w = 3$, what is $(2\boldsymbol p)'(-\boldsymbol w)$?
  1. $-3$
  2. $5$
  3. $-6$
  4. $6$
Explanation. Scalars come out of the scalar product: $(2\boldsymbol p)'(-\boldsymbol w) = 2 \cdot (-1) \cdot \boldsymbol p'\boldsymbol w = -6$. $6$ forgets the sign, $5 = 2 + 3$ adds the constant.

4.1. Matrices (71)

la-f-mat-01 · level facile · notes
If $\boldsymbol A \in \R^{2\times 3}$, which set does the transpose $\boldsymbol A'$ belong to?
  1. $\R^{2\times 2}$
  2. $\R^{3\times 2}$
  3. $\R^{2\times 3}$
  4. $\R^{3\times 3}$
Explanation. The transpose interchanges rows and columns: from $m\times n$ we get $n\times m$.
la-f-mat-02 · level facile · notes
Let $\boldsymbol A \in \R^{m\times n}$ and $\boldsymbol B \in \R^{n\times p}$. The product $\boldsymbol A\boldsymbol B$:
  1. belongs to $\R^{m\times p}$
  2. belongs to $\R^{n\times n}$
  3. belongs to $\R^{p\times m}$
  4. is defined only if $m = p$
Explanation. The number of columns of $\boldsymbol A$ must equal the number of rows of $\boldsymbol B$; the result has the rows of $\boldsymbol A$ and the columns of $\boldsymbol B$.
la-f-mat-03 · level facile · notes
Which formula gives entry $(i,k)$ of $\boldsymbol A\boldsymbol B$, with $\boldsymbol A \in \R^{m\times n}$ and $\boldsymbol B \in \R^{n\times p}$?
  1. $[\boldsymbol A\boldsymbol B]_{ik} = \sum_{j=1}^{n} a_{ij}\, b_{kj}$
  2. $[\boldsymbol A\boldsymbol B]_{ik} = \sum_{j=1}^{n} a_{ji}\, b_{jk}$
  3. $[\boldsymbol A\boldsymbol B]_{ik} = \sum_{j=1}^{n} a_{ij}\, b_{jk}$
  4. $[\boldsymbol A\boldsymbol B]_{ik} = a_{ik}\, b_{ik}$
Explanation. It is the scalar product of row $i$ of $\boldsymbol A$ and column $k$ of $\boldsymbol B$ («row by column»).
la-f-mat-04 · level teorema · notes
Which property of the matrix product always holds (with compatible dimensions)?
  1. $\boldsymbol A\boldsymbol B = \boldsymbol 0$ implies $\boldsymbol A = \boldsymbol 0$ or $\boldsymbol B = \boldsymbol 0$
  2. $(\boldsymbol A\boldsymbol B)\boldsymbol C = \boldsymbol A(\boldsymbol B\boldsymbol C)$
  3. $\boldsymbol A\boldsymbol B = \boldsymbol B\boldsymbol A$
  4. $(\boldsymbol A + \boldsymbol B)(\boldsymbol A + \boldsymbol B) = \boldsymbol A\boldsymbol A + 2\boldsymbol A\boldsymbol B + \boldsymbol B\boldsymbol B$
Explanation. The product is associative but not commutative; hence $(\boldsymbol A + \boldsymbol B)^2 = \boldsymbol A^2 + \boldsymbol A\boldsymbol B + \boldsymbol B\boldsymbol A + \boldsymbol B^2$. There are nonzero matrices with zero product, for instance $\begin{pmatrix} 0 & 1 \\ 0 & 0 \end{pmatrix}^2 = \boldsymbol 0$.
la-f-mat-05 · level facile · notes
What is $\det\begin{pmatrix} 2 & -1 \\ 3 & 4 \end{pmatrix}$?
  1. $11$
  2. $5$
  3. $-11$
  4. $2$
Explanation. $ad - bc = 2\cdot 4 - (-1)\cdot 3 = 8 + 3 = 11$. $5$ forgets the sign of $b$.
la-f-mat-06 · level facile · notes
What is $\det(\boldsymbol U)$ for $\boldsymbol U = \begin{pmatrix} 2 & 7 & 1 \\ 0 & -4 & 5 \\ 0 & 0 & 3 \end{pmatrix}$?
  1. $0$
  2. $-24$
  3. $1$
  4. $24$
Explanation. The determinant of a triangular matrix is the product of the diagonal entries: $2\cdot(-4)\cdot 3 = -24$ (not their sum, which is $1$).
la-f-mat-07 · level teorema · notes
Let $\boldsymbol A, \boldsymbol B \in \R^{n\times n}$ and $\lambda \in \R$. Which equality is always true?
  1. $\det(\boldsymbol A\boldsymbol B) = \det(\boldsymbol A)\det(\boldsymbol B)$
  2. $\det(\boldsymbol A + \boldsymbol B) = \det(\boldsymbol A) + \det(\boldsymbol B)$
  3. $\det(\lambda\boldsymbol A) = \lambda\det(\boldsymbol A)$
  4. $\det(\boldsymbol A') = -\det(\boldsymbol A)$
Explanation. The determinant is multiplicative; moreover $\det(\lambda\boldsymbol A) = \lambda^n\det(\boldsymbol A)$ and $\det(\boldsymbol A') = \det(\boldsymbol A)$. It is not additive.
la-f-mat-08 · level facile · notes
Let $\boldsymbol A \in \R^{3\times 3}$ with $\det(\boldsymbol A) = 5$. What is $\det(2\boldsymbol A)$?
  1. $30$
  2. $25$
  3. $40$
  4. $10$
Explanation. $\det(\lambda\boldsymbol A) = \lambda^n\det(\boldsymbol A)$: every row is multiplied by $2$, hence $2^3\cdot 5 = 40$.
la-f-mat-09 · level facile · notes
Let $\boldsymbol A \in \R^{n\times n}$ and let $\boldsymbol A_{ij}$ be the submatrix obtained by deleting row $i$ and column $j$. In the Laplace expansion, the cofactor $C_{ij}$ of the entry $a_{ij}$ is:
  1. $C_{ij} = a_{ij}\det(\boldsymbol A_{ij})$
  2. $C_{ij} = (-1)^{i+j}\det(\boldsymbol A_{ij})$
  3. $C_{ij} = \det(\boldsymbol A_{ij})$
  4. $C_{ij} = (-1)^{i\,j}\det(\boldsymbol A_{ij})$
Explanation. $\boldsymbol A_{ij}$ is the minor matrix obtained by deleting row $i$ and column $j$; the sign is $(-1)^{i+j}$ (checkerboard). Then $\det(\boldsymbol A) = \sum_j a_{ij}C_{ij}$.
la-f-mat-10 · level facile · notes
What is the rank of $\boldsymbol B = \begin{pmatrix} 1 & 2 & 3 \\ 2 & 4 & 6 \end{pmatrix}$?
  1. $2$
  2. $3$
  3. $0$
  4. $1$
Explanation. The second row is twice the first one: there is only one linearly independent row, hence $\mathrm{rank}(\boldsymbol B) = 1$.
la-f-mat-11 · level facile · notes
For every $\boldsymbol A \in \R^{m\times n}$:
  1. $\mathrm{rank}(\boldsymbol A) \le \min\{m, n\}$
  2. $\mathrm{rank}(\boldsymbol A) = \min\{m, n\}$
  3. $\mathrm{rank}(\boldsymbol A) \ge \min\{m, n\}$
  4. $\mathrm{rank}(\boldsymbol A) \le \max\{m,n\}$ and it may exceed $\min\{m,n\}$
Explanation. The rank is the maximum number of linearly independent columns (or rows), hence it exceeds neither $n$ nor $m$; it can be smaller (e.g. the zero matrix has rank $0$).
la-f-mat-12 · level teorema · notes
Let $\boldsymbol A \in \R^{n\times n}$. Which statement is true?
  1. $\mathrm{rank}(\boldsymbol A) = n \Longleftrightarrow \boldsymbol A$ is symmetric
  2. $\mathrm{rank}(\boldsymbol A) = n \Longleftrightarrow$ all entries of $\boldsymbol A$ are nonzero
  3. $\mathrm{rank}(\boldsymbol A) = n \Longleftrightarrow \det(\boldsymbol A) \neq 0$
  4. $\mathrm{rank}(\boldsymbol A) = n \Longleftrightarrow \det(\boldsymbol A) = 0$
Explanation. A square matrix has full rank if and only if its determinant is nonzero, i.e. if and only if it is invertible.
la-f-mat-13 · level facile · notes
A square matrix $\boldsymbol Q$ is symmetric if:
  1. $\boldsymbol Q'\boldsymbol Q = \boldsymbol I$
  2. it is diagonal
  3. $\boldsymbol Q' = \boldsymbol Q$
  4. $\boldsymbol Q' = -\boldsymbol Q$
Explanation. Symmetric means $q_{ij} = q_{ji}$ for all $i, j$, i.e. $\boldsymbol Q' = \boldsymbol Q$. Diagonal matrices are symmetric, but not conversely.
la-f-mat-14 · level facile · notes
Let $\boldsymbol P_\pi$ be the permutation matrix obtained from $\boldsymbol I_3$ by putting its rows in the order $\pi = (3, 1, 2)$: first row $\pi(1)$, then $\pi(2)$, then $\pi(3)$. Let $\boldsymbol A \in \R^{3\times 2}$. Which is the first row of $\boldsymbol P_\pi\boldsymbol A$?
  1. row $1$ of $\boldsymbol A$
  2. row $2$ of $\boldsymbol A$
  3. column $3$ of $\boldsymbol A$
  4. row $3$ of $\boldsymbol A$
Explanation. Left multiplication by $\boldsymbol P_\pi$ reorders the rows of $\boldsymbol A$ according to $\pi$: row $\pi(1) = 3$ becomes the first one. Columns are reordered by right multiplication by $\boldsymbol P_\pi'$.
la-f-mat-15 · level facile · notes
A symmetric matrix $\boldsymbol Q \in \R^{n\times n}$ is positive semidefinite if:
  1. $\det(\boldsymbol Q) \ge 0$ and $q_{11} \ge 0$
  2. $\boldsymbol x'\boldsymbol Q\,\boldsymbol x \ge 0$ for every $\boldsymbol x \in \R^n$
  3. $\boldsymbol x'\boldsymbol Q\,\boldsymbol x > 0$ for every $\boldsymbol x \neq \boldsymbol 0$
  4. all its entries are $\ge 0$
Explanation. It is the definition through the quadratic form; with $> 0$ for $\boldsymbol x \neq \boldsymbol 0$ we get positive definiteness. The sign of the entries or of the determinant alone is not enough.
la-f-mat-16 · level ipotesi · notes
Which properties are needed to prove that $\det(\boldsymbol A^{-1}) = \frac{1}{\det(\boldsymbol A)}$ for an invertible $\boldsymbol A$?
  1. $\det(\boldsymbol A\boldsymbol B) = \det(\boldsymbol A)\det(\boldsymbol B)$ and $\det(\boldsymbol I_n) = 1$
  2. $\det(\boldsymbol A') = \det(\boldsymbol A)$ and $\det(\lambda\boldsymbol A) = \lambda^n\det(\boldsymbol A)$
  3. the Laplace expansion along the first row
  4. the fact that $\boldsymbol A^{-1}$ is symmetric
Explanation. $\det(\boldsymbol A)\det(\boldsymbol A^{-1}) = \det(\boldsymbol A\boldsymbol A^{-1}) = \det(\boldsymbol I_n) = 1$; hence $\det(\boldsymbol A) \neq 0$ and we can divide.
la-f-mat-17 · level facile · notes
Let $\boldsymbol A \in \R^{n\times n}$, $n \ge 2$. The Laplace expansion computes $\det(\boldsymbol A)$ as the sum of the entries of a line (row or column) times their cofactors. Which statement is correct?
  1. it holds only for $3\times 3$ matrices: for $n \ge 4$ Gaussian elimination is needed
  2. any row or any column can be used: the result is always $\det(\boldsymbol A)$
  3. only the first row can be used: the other rows give different results
  4. along a row it gives $\det(\boldsymbol A)$, along a column $-\det(\boldsymbol A)$
Explanation. The expansion holds for every square matrix and along any row or column: it is convenient to pick the one with most zeros.
la-f-mat-18 · level facile · notes
Let $\boldsymbol A = \begin{pmatrix} 1 & 2 \\ 3 & 4 \\ 5 & 6 \end{pmatrix}$ and let $\boldsymbol A'$ be its transpose. What is the entry in row $1$ and column $3$ of $\boldsymbol A'$?
  1. $2$
  2. $6$
  3. $3$
  4. $5$
Explanation. The transpose interchanges rows and columns: $[\boldsymbol A']_{13} = a_{31} = 5$. $\boldsymbol A'$ is $2\times 3$, with first row $(1\;\; 3\;\; 5)$.
la-f-mat-19 · level facile · notes
Let $\boldsymbol A = \begin{pmatrix} 1 & -1 \\ 0 & 2 \end{pmatrix}$ and $\boldsymbol B = \begin{pmatrix} 3 & 1 \\ -2 & 1 \end{pmatrix}$. What is $2\boldsymbol A - \boldsymbol B$?
  1. $\begin{pmatrix} 5 & -1 \\ -2 & 5 \end{pmatrix}$
  2. $\begin{pmatrix} -4 & -4 \\ 4 & 2 \end{pmatrix}$
  3. $\begin{pmatrix} -1 & -1 \\ 2 & 3 \end{pmatrix}$
  4. $\begin{pmatrix} -1 & -3 \\ 2 & 3 \end{pmatrix}$
Explanation. Entry by entry: $2a_{ij} - b_{ij}$, for instance $2\cdot(-1) - 1 = -3$ and $2\cdot 0 - (-2) = 2$. $\begin{pmatrix} 5 & -1 \\ -2 & 5 \end{pmatrix}$ is $2\boldsymbol A + \boldsymbol B$, $\begin{pmatrix} -4 & -4 \\ 4 & 2 \end{pmatrix}$ is $2(\boldsymbol A - \boldsymbol B)$.
la-f-mat-20 · level teorema · notes
Which property of the sum of matrices and of the scalar multiplication is correct?
  1. $\boldsymbol A + \boldsymbol B = \boldsymbol B + \boldsymbol A$ only if $\boldsymbol A, \boldsymbol B$ are square $n\times n$ matrices
  2. $\boldsymbol A + \boldsymbol B$ is defined for every $\boldsymbol A \in \R^{m\times n}$ and $\boldsymbol B \in \R^{n\times m}$
  3. $(\lambda + \mu)\boldsymbol A = \lambda\boldsymbol A + \mu$ for every $\lambda, \mu \in \R$ and $\boldsymbol A \in \R^{m\times n}$
  4. $\lambda(\boldsymbol A + \boldsymbol B) = \lambda\boldsymbol A + \lambda\boldsymbol B$ for every $\lambda \in \R$ and $\boldsymbol A, \boldsymbol B \in \R^{m\times n}$
Explanation. The sum is done entry by entry, hence it requires the same dimensions and it is always commutative; the scalar distributes over the sum. The correct rule is $(\lambda + \mu)\boldsymbol A = \lambda\boldsymbol A + \mu\boldsymbol A$.
la-f-matrices-k01 · level facile · notes
A matrix $\boldsymbol A \in \R^{3 \times 4}$ has:
  1. $4$ rows and $3$ columns
  2. $7$ entries
  3. $3$ rows and $3$ columns
  4. $3$ rows and $4$ columns
Explanation. $\R^{m \times n}$: $m$ rows, $n$ columns, $m n = 12$ entries.
la-f-matrices-k02 · level facile · notes
If $\boldsymbol A \in \R^{2 \times 5}$, what size is $\boldsymbol A'$?
  1. $2 \times 2$
  2. $5 \times 2$
  3. $2 \times 5$
  4. $5 \times 5$
Explanation. The transpose swaps rows and columns.
la-f-matrices-k03 · level facile · notes
For $\boldsymbol A = \begin{pmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \end{pmatrix}$, what is the second column $\boldsymbol A_2$?
  1. $(2, 5)'$
  2. $(4, 5, 6)$
  3. $(1, 4)'$
  4. $(3, 6)'$
Explanation. Column $j$ collects the entries $a_{ij}$ with $j = 2$.
la-f-matrices-k04 · level facile · notes
The entry $a_{ij}$ of a matrix lies in row $i$ and column $j$. For $\boldsymbol A = \begin{pmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \end{pmatrix}$, what is $a_{23}$?
  1. $6$
  2. $5$
  3. $3$
  4. $2$
Explanation. Row $2$, column $3$.
la-f-matrices-k05 · level facile · notes
For $\boldsymbol A \in \R^{m \times n}$ and the canonical basis vector $\boldsymbol e_j$ of $\R^n$, what is $\boldsymbol A\boldsymbol e_j$?
  1. Column $j$ of $\boldsymbol A$
  2. Row $j$ of $\boldsymbol A$
  3. The entry $a_{jj}$
  4. The sum of the columns
Explanation. The product selects column $j$.
la-f-matrices-k06 · level facile · notes
For $\boldsymbol A \in \R^{3 \times 3}$, what size is the complementary submatrix $\boldsymbol A_{12}$?
  1. $2 \times 2$
  2. $3 \times 2$
  3. $1 \times 1$
  4. $2 \times 3$
Explanation. Row $1$ and column $2$ are removed.
la-f-matrices-k07 · level facile · notes
For $\boldsymbol A = \begin{pmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{pmatrix}$, what is $\boldsymbol A_{22}$ (without row $2$ and column $2$)?
  1. $\begin{pmatrix} 4 & 6 \\ 7 & 9 \end{pmatrix}$
  2. $\begin{pmatrix} 1 & 3 \\ 7 & 9 \end{pmatrix}$
  3. $\begin{pmatrix} 5 & 6 \\ 8 & 9 \end{pmatrix}$
  4. $\begin{pmatrix} 1 & 2 \\ 4 & 5 \end{pmatrix}$
Explanation. Rows $1, 3$ and columns $1, 3$ remain.
la-f-matrices-k08 · level facile · notes
Complementary submatrices $\boldsymbol A_{ij}$ are mainly used for:
  1. the Laplace expansion
  2. matrix addition
  3. scalar multiplication
  4. transposition
Explanation. $\det(\boldsymbol A) = \sum_j (-1)^{i+j} a_{ij} \det(\boldsymbol A_{ij})$.
la-f-matrices-k09 · level facile · notes
What is $\begin{pmatrix} 1 & 2 \\ 0 & -1 \end{pmatrix} + 3\begin{pmatrix} 0 & 1 \\ 2 & 1 \end{pmatrix}$?
  1. $\begin{pmatrix} 1 & 5 \\ 6 & -2 \end{pmatrix}$
  2. $\begin{pmatrix} 1 & 5 \\ 6 & 2 \end{pmatrix}$
  3. $\begin{pmatrix} 1 & 3 \\ 2 & 0 \end{pmatrix}$
  4. $\begin{pmatrix} 3 & 5 \\ 6 & 2 \end{pmatrix}$
Explanation. Entry by entry.
la-f-matrices-k10 · level facile · notes
Which property of matrix addition is true?
  1. $\boldsymbol A + \boldsymbol B$ exists for any sizes
  2. $\boldsymbol A + \boldsymbol A' = \boldsymbol 0$
  3. $(\boldsymbol A + \boldsymbol B)' = \boldsymbol A' + \boldsymbol B'$
  4. $(\boldsymbol A + \boldsymbol B)' = \boldsymbol B' \boldsymbol A'$
Explanation. Transpose of a sum = sum of transposes; equal sizes are needed.
la-f-matrices-k11 · level facile · notes
For a scalar $\alpha$ and matrices of the same size, which equality holds?
  1. $\alpha(\boldsymbol A + \boldsymbol B) = \alpha\boldsymbol A + \boldsymbol B$
  2. $\alpha\boldsymbol A = \boldsymbol A$ for every $\alpha$
  3. $(\alpha\boldsymbol A)' = \frac{1}{\alpha}\boldsymbol A'$
  4. $\alpha(\boldsymbol A + \boldsymbol B) = \alpha\boldsymbol A + \alpha\boldsymbol B$
Explanation. Scalar multiplication is distributive.
la-f-matrices-k12 · level facile · notes
For square matrices $\boldsymbol A, \boldsymbol B$, which statement about the product is true in general?
  1. $\boldsymbol A\boldsymbol B = \boldsymbol 0$ implies $\boldsymbol A = \boldsymbol 0$
  2. $(\boldsymbol A\boldsymbol B)' = \boldsymbol B'\boldsymbol A'$
  3. $\boldsymbol A\boldsymbol B = \boldsymbol B\boldsymbol A$
  4. $(\boldsymbol A\boldsymbol B)' = \boldsymbol A'\boldsymbol B'$
Explanation. The product is not commutative and transposition reverses the order.
la-f-matrices-k13 · level facile · notes
For $\boldsymbol A \in \R^{2 \times 3}$, $\boldsymbol B \in \R^{3 \times 4}$, $\boldsymbol C \in \R^{4 \times 2}$, which product is defined and what is its size?
  1. $\boldsymbol A\boldsymbol B\boldsymbol C$, of size $2 \times 2$
  2. $\boldsymbol C\boldsymbol B\boldsymbol A$, of size $4 \times 3$
  3. $\boldsymbol B\boldsymbol A$, of size $3 \times 3$
  4. $\boldsymbol A\boldsymbol C$, of size $2 \times 2$
Explanation. Columns of the first = rows of the second, along the chain.
la-f-matrices-k14 · level facile · notes
Which matrix is square?
  1. $\boldsymbol A \in \R^{4 \times 4}$
  2. $\boldsymbol A \in \R^{4 \times 2}$
  3. $\boldsymbol A \in \R^{1 \times 4}$
  4. $\boldsymbol A \in \R^{3 \times 1}$
Explanation. Same number of rows and columns.
la-f-matrices-k15 · level facile · notes
For $\boldsymbol A \in \R^{3 \times 3}$ and the identity matrix $\boldsymbol I \in \R^{3 \times 3}$, what is $\boldsymbol A\boldsymbol I$?
  1. $\boldsymbol A$
  2. $\boldsymbol I$
  3. $\boldsymbol A'$
  4. $\boldsymbol 0$
Explanation. $\boldsymbol I$ has ones on the diagonal and zeros elsewhere: it is the neutral element.
la-f-matrices-k16 · level facile · notes
What is the product of the diagonal matrices $\mathrm{diag}(2, 3)\,\mathrm{diag}(4, -1)$?
  1. $\mathrm{diag}(6, 3)$
  2. $\mathrm{diag}(-2, 12)$
  3. $\begin{pmatrix} 2 & 3 \\ 4 & -1 \end{pmatrix}$
  4. $\mathrm{diag}(8, -3)$
Explanation. The diagonal entries are multiplied.
la-f-matrices-k17 · level facile · notes
Which matrix is upper triangular?
  1. $\begin{pmatrix} 1 & 0 \\ 4 & 2 \end{pmatrix}$
  2. $\begin{pmatrix} 0 & 1 \\ 2 & 0 \end{pmatrix}$
  3. $\begin{pmatrix} 1 & 4 \\ 3 & 2 \end{pmatrix}$
  4. $\begin{pmatrix} 1 & 4 \\ 0 & 2 \end{pmatrix}$
Explanation. Zeros below the diagonal.
la-f-matrices-k18 · level facile · notes
The transpose of a lower triangular matrix is:
  1. lower triangular
  2. always diagonal
  3. always symmetric
  4. upper triangular
Explanation. The zeros above the diagonal end up below.
la-f-matrices-k19 · level facile · notes
Multiplying $\boldsymbol A \in \R^{3 \times 3}$ on the left by the permutation matrix swapping rows $1$ and $3$ of the identity, what is obtained?
  1. $\boldsymbol A$ with columns $1$ and $3$ swapped
  2. the transpose $\boldsymbol A'$ of $\boldsymbol A$
  3. the opposite matrix $-\boldsymbol A$
  4. $\boldsymbol A$ with rows $1$ and $3$ swapped
Explanation. On the left rows are permuted, on the right columns.
la-f-matrices-k20 · level facile · notes
For a permutation matrix $\boldsymbol P$, what is $\boldsymbol P'\boldsymbol P$?
  1. $\boldsymbol I$
  2. $\boldsymbol P$
  3. $\boldsymbol 0$
  4. $2\boldsymbol P$
Explanation. Permutation matrices are orthogonal: $\boldsymbol P^{-1} = \boldsymbol P'$.
la-f-matrices-k21 · level facile · notes
When is a square matrix $\boldsymbol A$ invertible?
  1. When some $\boldsymbol B$ has $\boldsymbol A\boldsymbol B = \boldsymbol B\boldsymbol A = \boldsymbol I$
  2. When all its entries are nonzero
  3. When it is a symmetric matrix
  4. When its diagonal has no zeros
Explanation. $\boldsymbol B = \boldsymbol A^{-1}$; equivalent to $\det(\boldsymbol A) \neq 0$.
la-f-matrices-k22 · level facile · notes
Is the matrix $\begin{pmatrix} 2 & 4 \\ 1 & 2 \end{pmatrix}$ invertible?
  1. No: it is not symmetric
  2. No: the determinant is $0$
  3. Yes: all entries are positive
  4. Yes: it is square
Explanation. $2 \cdot 2 - 4 \cdot 1 = 0$: the rows are proportional.
la-f-matrices-k23 · level teorema · notes
Which statement about matrix inverses is correct?
  1. $(\boldsymbol A\boldsymbol B)^{-1} = \boldsymbol A^{-1}\boldsymbol B^{-1}$
  2. $(\boldsymbol A\boldsymbol B)^{-1} = \boldsymbol B^{-1}\boldsymbol A^{-1}$
  3. Every square matrix is invertible
  4. $(\boldsymbol A + \boldsymbol B)^{-1} = \boldsymbol A^{-1} + \boldsymbol B^{-1}$
Explanation. The order is reversed, as for the transpose.
la-f-matrices-k24 · level facile · notes
The symmetric matrix $\boldsymbol Q = \mathrm{diag}(2, 0, 5)$ is:
  1. negative semidefinite
  2. indefinite
  3. positive semidefinite
  4. positive definite
Explanation. $\boldsymbol x'\boldsymbol Q\boldsymbol x = 2x_1^2 + 5x_3^2 \ge 0$, zero for $\boldsymbol x = (0,1,0)'$.
la-f-matrices-k25 · level facile · notes
The symmetric matrix $\begin{pmatrix} 1 & 0 \\ 0 & -3 \end{pmatrix}$ is:
  1. negative definite
  2. positive definite
  3. indefinite
  4. positive semidefinite
Explanation. $\boldsymbol x'\boldsymbol Q\boldsymbol x = x_1^2 - 3x_2^2$ takes both signs.
la-f-matrices-k26 · level teorema · notes
Which statement about a positive semidefinite symmetric matrix $\boldsymbol Q$ is correct?
  1. All its entries are nonnegative
  2. It is always invertible
  3. $\boldsymbol x'\boldsymbol Q\boldsymbol x > 0$ for every $\boldsymbol x$
  4. $\boldsymbol x'\boldsymbol Q\boldsymbol x \ge 0$ for every $\boldsymbol x$
Explanation. It is the definition; positivity of entries is irrelevant.
la-f-matrices-k27 · level facile · notes
With the Laplace expansion along the first row, what is $\det\begin{pmatrix} 1 & 0 & 2 \\ 3 & 1 & 0 \\ 0 & 2 & 1 \end{pmatrix}$?
  1. $7$
  2. $13$
  3. $1$
  4. $-11$
Explanation. $1 \cdot (1 - 0) - 0 + 2 \cdot (6 - 0) = 13$.
la-f-matrices-k28 · level facile · notes
An upper triangular $4 \times 4$ matrix has diagonal entries $1, -2, 3, 0$ and all entries above the diagonal nonzero. What is its determinant?
  1. $0$
  2. $-6$
  3. $6$
  4. $2$
Explanation. The determinant of a triangular matrix is the product of the diagonal entries: $1 \cdot (-2) \cdot 3 \cdot 0 = 0$, whatever the other entries are. $2$ adds the diagonal (it is the trace).
la-f-matrices-k29 · level facile · notes
What is $\det(\mathrm{diag}(1, 2, 3, 4))$?
  1. $10$
  2. $4$
  3. $0$
  4. $24$
Explanation. Product of the diagonal.
la-f-matrices-k30 · level facile · notes
The rank is the maximum number of linearly independent rows. What is the rank of $\begin{pmatrix} 1 & 0 & 2 \\ 0 & 1 & 3 \\ 1 & 1 & 5 \end{pmatrix}$?
  1. $3$
  2. $1$
  3. $0$
  4. $2$
Explanation. The third row is the sum of the first two, which are independent: rank $2$. The determinant is $0$, so it cannot be $3$.
la-f-matrices-k31 · level teorema · notes
Which statement about the rank of $\boldsymbol A \in \R^{m \times n}$ is correct?
  1. $\mathrm{rank}(\boldsymbol A) \le \min\{m, n\}$
  2. $\mathrm{rank}(\boldsymbol A) = n$ always
  3. $\mathrm{rank}(\boldsymbol A) \le \max\{m, n\}$ only
  4. $\mathrm{rank}(\boldsymbol A) = m + n$
Explanation. Row rank and column rank coincide.
la-f-matrices-k32 · level ipotesi · notes
For $\boldsymbol A \in \R^{n \times n}$, which condition is equivalent to $\mathrm{rank}(\boldsymbol A) = n$?
  1. $\mathrm{tr}(\boldsymbol A) \neq 0$
  2. $\det(\boldsymbol A) \neq 0$
  3. $\boldsymbol A$ symmetric
  4. $\boldsymbol A$ with positive entries
Explanation. Independent columns if and only if the matrix is invertible.
la-f-matrices-k33 · level ipotesi · notes
To conclude that $\boldsymbol Q = \boldsymbol A'\boldsymbol A$ is positive semidefinite for every $\boldsymbol A$, what is used?
  1. $\boldsymbol x'\boldsymbol A'\boldsymbol A\boldsymbol x = \|\boldsymbol A\boldsymbol x\|_2^2 \ge 0$
  2. That $\boldsymbol A$ is square
  3. That $\boldsymbol A$ is invertible
  4. That $\boldsymbol A$ has positive entries
Explanation. A sum of squares is nonnegative.
la-f-matrices-k34 · level facile · notes
For $\boldsymbol A = \begin{pmatrix} 2 & 1 \\ 1 & 1 \end{pmatrix}$, which matrix $\boldsymbol B$ satisfies $\boldsymbol A\boldsymbol B = \boldsymbol B\boldsymbol A = \boldsymbol I$?
  1. $\begin{pmatrix} 1 & 1 \\ 1 & 2 \end{pmatrix}$
  2. $\begin{pmatrix} \frac12 & 1 \\ 1 & 1 \end{pmatrix}$
  3. $\begin{pmatrix} 2 & -1 \\ -1 & 1 \end{pmatrix}$
  4. $\begin{pmatrix} 1 & -1 \\ -1 & 2 \end{pmatrix}$
Explanation. $\det\boldsymbol A = 1$: swap the diagonal entries and change the sign of the others.
la-f-matrices-k35 · level ipotesi · notes
To prove that a square matrix with a zero column is not invertible, which fact suffices?
  1. Its trace is $0$
  2. Its determinant is $0$
  3. It is not symmetric
  4. It has negative entries
Explanation. Expanding along the zero column gives $\det = 0$.
la-f-matrices-k36 · level facile · notes
Row $i$ of a matrix $\boldsymbol A$ is denoted by $R_i(\boldsymbol A)$. For $\boldsymbol A = \begin{pmatrix} 2 & 0 & -1 \\ 5 & 3 & 4 \end{pmatrix}$, what is $R_2(\boldsymbol A)$?
  1. $(0,\, 3)'$
  2. $(2 \;\; 0 \;\; -1)$
  3. $(-1,\, 4)'$
  4. $(5 \;\; 3 \;\; 4)$
Explanation. The second row is $(5 \;\, 3 \;\, 4)$. $(0, 3)'$ is the second column $C_2(\boldsymbol A)$; $(2 \;\, 0 \;\, -1)$ is the first row.
la-f-matrices-k37 · level facile · notes
Column $j$ of $\boldsymbol A \in \R^{m \times n}$ is denoted by $C_j(\boldsymbol A)$. How many components does $C_j(\boldsymbol A)$ have?
  1. $j$
  2. $m$
  3. $n$
  4. $m\,n$
Explanation. A column has one entry for each row: $m$ components. Rows, instead, have $n$ components.
la-f-matrices-k38 · level facile · notes
$\boldsymbol A_{ij}$ is the complementary submatrix: $\boldsymbol A$ without row $i$ and column $j$. For $\boldsymbol A = \begin{pmatrix} 2 & -1 & 0 \\ 3 & 4 & 1 \\ 5 & 0 & 6 \end{pmatrix}$, what is $\det(\boldsymbol A_{31})$?
  1. $-20$
  2. $11$
  3. $1$
  4. $-1$
Explanation. Removing row $3$ and column $1$ leaves $\begin{pmatrix} -1 & 0 \\ 4 & 1 \end{pmatrix}$, with determinant $-1$. $-20$ is $\det(\boldsymbol A_{13})$ (indices swapped), $11$ is $\det(\boldsymbol A_{33})$.
la-f-matrices-k39 · level facile · notes
$\boldsymbol A_{ij}$ is the complementary submatrix: $\boldsymbol A$ without row $i$ and column $j$. For $\boldsymbol A = \begin{pmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \end{pmatrix}$, for which pair $(i, j)$ do we have $\boldsymbol A_{ij} = (1 \;\; 3)$?
  1. $(2, 3)$
  2. $(2, 2)$
  3. $(1, 2)$
  4. $(2, 1)$
Explanation. To keep the entries $1$ and $3$ of the first row one must remove row $2$ and column $2$. $(1, 2)$ would leave $(4 \;\, 6)$.
la-f-matrices-k40 · level facile · notes
What is the neutral element of matrix addition in $\R^{2\times 3}$, i.e. the matrix $\boldsymbol Z$ with $\boldsymbol A + \boldsymbol Z = \boldsymbol A$ for every $\boldsymbol A \in \R^{2\times 3}$?
  1. The $3 \times 2$ zero matrix
  2. The $2 \times 3$ zero matrix
  3. The identity matrix $\boldsymbol I$
  4. The $2 \times 3$ matrix of all ones
Explanation. Addition is entrywise, so a $2 \times 3$ matrix of zeros is needed. $\boldsymbol I$ is square and is the neutral element of the product, not of the sum.
la-f-matrices-k41 · level facile · notes
For matrices $\boldsymbol A, \boldsymbol B, \boldsymbol C \in \R^{m\times n}$, which equality always holds?
  1. $\boldsymbol A - (\boldsymbol B - \boldsymbol C) = (\boldsymbol A - \boldsymbol B) - \boldsymbol C$
  2. $(\boldsymbol A + \boldsymbol B + \boldsymbol C)' = \boldsymbol A' + \boldsymbol B' - \boldsymbol C'$
  3. $2(\boldsymbol A + \boldsymbol B + \boldsymbol C) = 2\boldsymbol A + \boldsymbol B + \boldsymbol C$
  4. $(\boldsymbol A + \boldsymbol B) + \boldsymbol C = \boldsymbol A + (\boldsymbol B + \boldsymbol C)$
Explanation. Matrix addition is associative (as addition of numbers is, entry by entry). The difference is not associative (on the left $+\boldsymbol C$ appears), the transpose of the sum is the sum of the transposes, and the scalar multiplies all terms.
la-f-matrices-k42 · level facile · notes
Let $\boldsymbol A = \begin{pmatrix} 0 & 1 \\ 0 & 0 \end{pmatrix}$ and $\boldsymbol B = \begin{pmatrix} 1 & 0 \\ 0 & 0 \end{pmatrix}$. Which statement about the products is true?
  1. $\boldsymbol A\boldsymbol B = \boldsymbol 0$ but $\boldsymbol B\boldsymbol A \neq \boldsymbol 0$
  2. $\boldsymbol A\boldsymbol B = \boldsymbol B\boldsymbol A$
  3. $\boldsymbol A\boldsymbol B \neq \boldsymbol 0$ but $\boldsymbol B\boldsymbol A = \boldsymbol 0$
  4. $\boldsymbol A\boldsymbol B = \boldsymbol B\boldsymbol A = \boldsymbol 0$
Explanation. $\boldsymbol A\boldsymbol B = \begin{pmatrix} 0 & 0 \\ 0 & 0 \end{pmatrix}$ and $\boldsymbol B\boldsymbol A = \begin{pmatrix} 0 & 1 \\ 0 & 0 \end{pmatrix}$: the matrix product is not commutative, and it can be zero with nonzero factors.
la-f-matrices-k43 · level facile · notes
Let $\boldsymbol A \in \R^{m\times n}$ and let $\boldsymbol I_k$ be the $k \times k$ identity matrix. Which equality holds?
  1. $\boldsymbol I_m\boldsymbol A = \boldsymbol A\,\boldsymbol I_n = \boldsymbol A'$
  2. $\boldsymbol I_m\boldsymbol A = \boldsymbol A\,\boldsymbol I_n = \boldsymbol I$
  3. $\boldsymbol I_m\boldsymbol A = \boldsymbol A\,\boldsymbol I_n = \boldsymbol A$
  4. $\boldsymbol I_n\boldsymbol A = \boldsymbol A\,\boldsymbol I_m = \boldsymbol A$
Explanation. Multiplying on the left needs an identity with as many columns as $\boldsymbol A$ has rows ($m$), on the right one with as many rows as $\boldsymbol A$ has columns ($n$); the result is $\boldsymbol A$.
la-f-matrices-k44 · level facile · notes
A permutation matrix is obtained by reordering the rows of $\boldsymbol I_n$. What is the determinant of the one obtained from $\boldsymbol I_n$ with a single swap of two rows?
  1. $0$
  2. $n$
  3. $-1$
  4. $1$
Explanation. $\det(\boldsymbol I_n) = 1$ and a row swap changes the sign of the determinant: $-1$. It is not $0$, since a permutation matrix is invertible ($\boldsymbol P^{-1} = \boldsymbol P'$).
la-f-matrices-k45 · level facile · notes
A permutation matrix is obtained by reordering the rows of the identity matrix. Which of the following is a permutation matrix?
  1. $\begin{pmatrix} 1 & 1 & 0 \\ 0 & 0 & 1 \\ 0 & 0 & 0 \end{pmatrix}$
  2. $\begin{pmatrix} 0 & 0 & 1 \\ 1 & 0 & 0 \\ 0 & 1 & 0 \end{pmatrix}$
  3. $\begin{pmatrix} 0 & 1 & 0 \\ 1 & 0 & 0 \\ 0 & 1 & 0 \end{pmatrix}$
  4. $\begin{pmatrix} 0 & -1 & 0 \\ 1 & 0 & 0 \\ 0 & 0 & 1 \end{pmatrix}$
Explanation. The first has the rows $\boldsymbol e_3', \boldsymbol e_1', \boldsymbol e_2'$ of the identity: a single $1$ in each row and column. The second repeats a row, the third has a $-1$, the fourth has a zero row.
la-f-matrices-k46 · level facile · notes
With the Laplace expansion (the second column, which has two zeros, is convenient), what is $\det\begin{pmatrix} 3 & 0 & 1 \\ 2 & 0 & 5 \\ 4 & 7 & 6 \end{pmatrix}$?
  1. $-91$
  2. $91$
  3. $13$
  4. $0$
Explanation. Only the term $7 \cdot (-1)^{3+2} \det\begin{pmatrix} 3 & 1 \\ 2 & 5 \end{pmatrix} = -7 \cdot 13 = -91$ remains. $91$ forgets the sign $(-1)^{i+j}$; $0$ mistakes a column with two zeros for a zero column.
la-f-matrices-k47 · level facile · notes
In the Laplace expansion the cofactor of entry $(i, j)$ is $C_{ij} = (-1)^{i+j} \det(\boldsymbol A_{ij})$. What is the sign factor $(-1)^{i+j}$ for the entry in position $(2, 3)$?
  1. $1$
  2. $6$
  3. $5$
  4. $-1$
Explanation. $(-1)^{2+3} = (-1)^5 = -1$: the signs alternate like a chessboard, with $+$ in position $(1, 1)$. $5$ is the exponent, not the sign.
la-f-matrices-k48 · level facile · notes
The determinant of a triangular matrix is the product of the diagonal entries. For which $t$ does the matrix $\begin{pmatrix} 2 & 5 & 1 \\ 0 & t - 1 & 3 \\ 0 & 0 & 4 \end{pmatrix}$ have zero determinant?
  1. $t = 3$
  2. $t = 1$
  3. $t = 0$
  4. $t = -1$
Explanation. $\det = 2\,(t - 1) \cdot 4 = 8\,(t - 1)$, zero for $t = 1$. The entries above the diagonal ($5$, $1$, $3$) do not count.
la-f-matrices-k49 · level facile · notes
The identity matrix $\boldsymbol I_n$ is diagonal, with all diagonal entries equal to $1$. What is $\det(\boldsymbol I_n)$?
  1. $0$
  2. $n!$
  3. $1$
  4. $n$
Explanation. The determinant of a diagonal matrix is the product of the diagonal entries: $1^n = 1$. $n$ adds them instead of multiplying.
la-f-matrices-k50 · level facile · notes
Let $\boldsymbol A \in \R^{3\times 3}$ with $\det(\boldsymbol A) = -2$ and let $\boldsymbol A'$ be its transpose. What is $\det(\boldsymbol A')$?
  1. $2$
  2. $-\frac12$
  3. $-8$
  4. $-2$
Explanation. Transposition does not change the determinant: $\det(\boldsymbol A') = \det(\boldsymbol A) = -2$. $-\frac12$ is the determinant of the inverse, $-8 = (-2)^3$.
la-f-matrices-k51 · level facile · notes
Let $\boldsymbol A, \boldsymbol B \in \R^{2\times 2}$ with $\det(\boldsymbol A) = 3$ and $\det(\boldsymbol B) = -2$. What is $\det(\boldsymbol A\boldsymbol B)$?
  1. $1$
  2. $6$
  3. $-24$
  4. $-6$
Explanation. The determinant is multiplicative: $\det(\boldsymbol A\boldsymbol B) = \det(\boldsymbol A)\det(\boldsymbol B) = -6$. $1 = 3 + (-2)$ treats it as additive.

4.2. Matrix operations (26)

la-f-elem-01 · level facile · notes
Let $\boldsymbol A \in \R^{n\times n}$ and let $R_i$ be its row $i$. How does $\det(\boldsymbol A)$ change with the row swap $R_1 \leftrightarrow R_2$?
  1. it does not change
  2. it doubles
  3. it becomes $0$
  4. it changes sign
Explanation. Swapping two rows changes the sign of the determinant: $\det(\text{new}) = -\det(\boldsymbol A)$.
la-f-elem-02 · level facile · notes
Let $\boldsymbol A \in \R^{n\times n}$ and let $R_i$ be its row $i$. How does $\det(\boldsymbol A)$ change with the operation $R_2 \leftarrow R_2 - 4R_1$ (from row $2$, $4$ times row $1$ is subtracted)?
  1. it changes sign
  2. it does not change
  3. it is multiplied by $-4$
  4. it is multiplied by $4$
Explanation. Adding to a row a multiple of another row does not change the determinant: it is the operation used in Gaussian elimination.
la-f-elem-03 · level facile · notes
Let $\boldsymbol A \in \R^{n\times n}$. How does $\det(\boldsymbol A)$ change with the operation $R_i \leftarrow \lambda R_i$, which multiplies row $i$ by $\lambda \neq 0$?
  1. it is multiplied by $1/\lambda$
  2. it is multiplied by $\lambda$
  3. it is multiplied by $\lambda^n$
  4. it does not change
Explanation. Only one row is multiplied, so the determinant is multiplied by $\lambda$; $\lambda^n$ applies when the whole matrix is multiplied ($\lambda\boldsymbol A$).
la-f-elem-04 · level facile · notes
The pivot of a nonzero row is its first nonzero entry. A matrix $\boldsymbol U \in \R^{m\times n}$ is in row echelon form if:
  1. each row has only one nonzero entry, its pivot, and the zero rows are at the bottom
  2. the zero rows are at the bottom and the pivot of each row is strictly to the right of the one of the row above
  3. the zero rows are at the bottom and each row has at least one more zero entry than the row above
  4. it is upper triangular and all its diagonal entries are nonzero
Explanation. These are the two conditions of the definition; it follows that below each pivot there are only zeros. A matrix in echelon form need not be square, and it may have zero rows.
la-f-elem-05 · level facile · notes
In Gaussian elimination the pivot is $a_{kj}$ (row $k$, column $j$) and $R_i$ denotes row $i$. Which operation cancels the entry $a_{ij}$ of a row $i$ below the pivot?
  1. $R_i \leftarrow a_{kj} R_i - R_k$
  2. $R_i \leftarrow R_i - \frac{a_{ij}}{a_{kj}}\, R_k$
  3. $R_i \leftarrow R_i - \frac{a_{kj}}{a_{ij}}\, R_k$
  4. $R_i \leftarrow R_i + \frac{a_{ij}}{a_{kj}}\, R_k$
Explanation. After the operation the entry in position $(i,j)$ is $a_{ij} - \frac{a_{ij}}{a_{kj}}a_{kj} = 0$. The last one multiplies row $i$ and would change the determinant.
la-f-elem-06 · level teorema · notes
Let $\boldsymbol U$ be the echelon form, with diagonal entries $u_{11}, \dots, u_{nn}$, obtained by Gaussian elimination on $\boldsymbol A \in \R^{n\times n}$ with $s$ row swaps and additions of multiples of rows (no row multiplied by a scalar). Which formula is correct?
  1. $\det(\boldsymbol A) = (-1)^{s}\prod_{i=1}^{n} u_{ii}$
  2. $\det(\boldsymbol A) = \prod_{i=1}^{n} u_{ii}$
  3. $\det(\boldsymbol A) = (-1)^{n}\prod_{i=1}^{n} u_{ii}$
  4. $\det(\boldsymbol A) = (-1)^{s}\sum_{i=1}^{n} u_{ii}$
Explanation. Row additions do not change the determinant, each swap changes the sign, and $\boldsymbol U$ is triangular. In particular $\det(\boldsymbol A) = 0$ if and only if $\boldsymbol U$ has a zero on its diagonal.
la-f-elem-07 · level facile · notes
Gaussian elimination on $\boldsymbol A \in \R^{3\times 3}$ uses $2$ row swaps and additions of multiples of rows (no row multiplied by a scalar) and gives an echelon form with diagonal $1, -2, 3$. What is $\det(\boldsymbol A)$?
  1. $0$
  2. $-6$
  3. $6$
  4. $2$
Explanation. $\det(\boldsymbol A) = (-1)^{2}\cdot 1\cdot(-2)\cdot 3 = -6$: two swaps leave the sign unchanged.
la-f-elem-08 · level facile · notes
Gaussian elimination on $\boldsymbol A \in \R^{n\times n}$ with partial pivoting: at step $k$, by a row swap, which entry of column $k$ is brought to position $(k,k)$?
  1. the first nonzero entry among $a_{kk}, \dots, a_{nk}$
  2. the nonzero entry of smallest absolute value among $a_{kk}, \dots, a_{nk}$
  3. the entry of largest absolute value among $a_{kk}, a_{k+1,k}, \dots, a_{nk}$
  4. the largest entry (with its sign) among $a_{kk}, \dots, a_{nk}$
Explanation. The pivot with largest absolute value is chosen: the multipliers have modulus $\le 1$ and round-off errors are reduced. The first nonzero one is plain pivoting.
la-f-elem-09 · level facile · notes
The first column of $\boldsymbol A \in \R^{3\times 3}$ is $(1,\, 3,\, -4)'$. With partial pivoting, which row becomes the first one at the first step?
  1. row $2$
  2. row $1$ (no swap)
  3. none: columns are swapped
  4. row $3$
Explanation. The absolute values $1, 3, 4$ are compared: the maximum is $|-4| = 4$, in row $3$, hence $R_1 \leftrightarrow R_3$.
la-f-elem-10 · level ipotesi · notes
Let $\boldsymbol A \in \R^{n\times n}$. Elementary column operations (swap, multiplication by $\lambda \neq 0$, addition of a multiple of another column) have the same effect on the determinant as the row operations. Which result guarantees it?
  1. the Sarrus rule: its six products treat rows and columns in the same way
  2. $\det(\boldsymbol A') = \det(\boldsymbol A)$: a column operation on $\boldsymbol A$ is a row operation on $\boldsymbol A'$
  3. $\det(\lambda\boldsymbol A) = \lambda^n\det(\boldsymbol A)$: the $n$ columns contribute as the $n$ rows
  4. $\det(\boldsymbol A^{-1}) = 1/\det(\boldsymbol A)$: a column operation on $\boldsymbol A$ is a row operation on $\boldsymbol A^{-1}$
Explanation. The transpose interchanges rows and columns without changing the determinant: operating on the columns of $\boldsymbol A$ is operating on the rows of $\boldsymbol A'$. Sarrus holds only for $n = 3$.
la-f-elem-11 · level ipotesi · notes
Gaussian elimination on $\boldsymbol A \in \R^{n\times n}$, with $s$ row swaps and additions of multiples of rows, gives the echelon form $\boldsymbol U$ (diagonal entries $u_{ii}$). Which results are needed to prove $\det(\boldsymbol A) = (-1)^{s}\prod_{i} u_{ii}$?
  1. $\det(\boldsymbol A\boldsymbol B) = \det(\boldsymbol A)\det(\boldsymbol B)$; $\det(\boldsymbol A^{-1}) = 1/\det(\boldsymbol A)$; Cramer's rule
  2. effect of swaps and of adding row multiples; $\det$ of a triangular matrix
  3. effect of multiplying a row by $\lambda$; $\det(\lambda\boldsymbol A) = \lambda^n\det(\boldsymbol A)$; Laplace expansion
  4. effect on the determinant of the row swap; $\det(\boldsymbol A') = \det(\boldsymbol A)$; Sarrus rule
Explanation. Each swap changes the sign ($s$ times), adding a multiple of another row does not change the determinant, and $\boldsymbol U$ is upper triangular, hence $\det(\boldsymbol U) = \prod_i u_{ii}$.
la-f-elem-12 · level facile · notes
Which of these is an elementary row operation?
  1. $R_i \leftarrow R_i\, R_k$ (entrywise product)
  2. $R_i \leftarrow \lambda R_i$ with $\lambda \neq 0$
  3. $R_i \leftarrow \lambda R_i$ with any $\lambda \in \R$
  4. $R_i \leftarrow R_i + \lambda R_i$ with $\lambda = -1$
Explanation. The scalar must be nonzero: with $\lambda = 0$ (or $R_i \leftarrow R_i - R_i$) the row vanishes and the operation is not invertible. Row addition uses another row $R_k$, with $k \neq i$.
la-f-elem-13 · level facile · notes
Let $R_i$ be row $i$. Applying the operation $R_2 \leftarrow R_2 + 2R_1$ to the matrix $\boldsymbol A = \begin{pmatrix} 1 & 3 \\ -2 & 1 \end{pmatrix}$ gives:
  1. $\begin{pmatrix} -3 & 5 \\ -2 & 1 \end{pmatrix}$
  2. $\begin{pmatrix} 1 & 3 \\ 0 & 1 \end{pmatrix}$
  3. $\begin{pmatrix} 1 & 3 \\ 0 & 7 \end{pmatrix}$
  4. $\begin{pmatrix} 1 & 3 \\ -4 & -5 \end{pmatrix}$
Explanation. Only row $2$ changes: $(-2 + 2\cdot 1,\; 1 + 2\cdot 3) = (0,\; 7)$. Subtracting instead of adding gives $(-4,\; -5)$; $\begin{pmatrix} -3 & 5 \\ -2 & 1 \end{pmatrix}$ is $R_1 \leftarrow R_1 + 2R_2$.
la-f-elem-k01 · level facile · notes
What are the three elementary row operations on a matrix?
  1. Transpose, invert, multiply by $\boldsymbol A$
  2. Add two columns, delete a row, double the matrix
  3. Square, change sign, sort the rows
  4. Swap, scaling by $\alpha \neq 0$, adding a multiple
Explanation. They are the operations of Gaussian elimination.
la-f-elem-k02 · level facile · notes
An elementary row operation is equivalent to multiplying $\boldsymbol A$:
  1. on the right by an elementary matrix
  2. by a nonzero scalar
  3. on the right by its transpose
  4. on the left by an elementary matrix
Explanation. Column operations correspond to right multiplication.
la-f-elem-k03 · level facile · notes
Gaussian elimination on $\boldsymbol A \in \R^{n\times n}$ (row swaps and additions of multiples of rows) produces an echelon form $\boldsymbol U$ with a zero diagonal entry. What can be concluded?
  1. $\det(\boldsymbol A) < 0$
  2. $\det(\boldsymbol A) = 1$
  3. Nothing about $\det(\boldsymbol A)$
  4. $\det(\boldsymbol A) = 0$
Explanation. $\det(\boldsymbol A) = \pm \prod_i u_{ii}$ (sign $(-1)^s$, with $s$ swaps), and the product contains a zero factor: $\boldsymbol A$ is singular.
la-f-elem-k04 · level facile · notes
The elementary row operations are swapping two rows, multiplying a row by a scalar and adding to a row a multiple of another one. Which operation is not allowed?
  1. Swapping two rows
  2. Adding to a row $3$ times another one
  3. Multiplying a row by $-2$
  4. Multiplying a row by $0$
Explanation. The scalar must be nonzero, otherwise the operation is not invertible (the information of the row is lost and the determinant becomes $0$). The others are elementary operations.
la-f-elem-k05 · level teorema · notes
Which statement about computing the determinant by Gaussian elimination is correct?
  1. The product of the pivots, times $(-1)^s$
  2. It is the sum of the pivots
  3. It is the product of the pivots, always with positive sign
  4. It cannot be obtained from elimination
Explanation. The echelon form is triangular; only swaps change the sign.
la-f-elem-k06 · level facile · notes
In Gaussian elimination, when is pivoting (a row swap) needed at step $k$?
  1. When $a_{kk}$ is positive
  2. Only at the last step
  3. When $a_{kk} = 0$
  4. At every step, always
Explanation. Division by zero is impossible: another row with a nonzero entry is chosen.
la-f-elem-k07 · level facile · notes
What is the pivot entry in Gaussian elimination?
  1. The determinant of the matrix
  2. The divisor of elimination
  3. The largest entry of the matrix
  4. The last diagonal entry
Explanation. At step $k$ it is the entry in position $(k, k)$ after possible swaps.
la-f-elem-k08 · level facile · notes
If at step $k$ of elimination the whole column $k$ from row $k$ down is zero, what is concluded for a square matrix?
  1. The matrix is invertible
  2. An error was made
  3. The determinant is $1$
  4. The matrix is singular
Explanation. There is no nonzero pivot: the determinant is $0$.
la-f-elem-k09 · level facile · notes
With partial pivoting the pivot row is the one with the entry of largest absolute value in the column, from the row of the step downwards. At the second step on $\begin{pmatrix} 4 & 1 & 2 \\ 0 & 1 & 3 \\ 0 & -5 & 1 \end{pmatrix}$, which row becomes the pivot row?
  1. The third
  2. The second
  3. The first
  4. None
Explanation. In column $2$, from rows $2$ and $3$, the candidates are $1$ and $-5$: $|-5| > |1|$, so rows $2$ and $3$ are swapped. The first row no longer takes part.
la-f-elem-k10 · level ipotesi · notes
Why does partial pivoting improve the numerical stability of Gaussian elimination?
  1. It makes the reduced matrix symmetric
  2. It avoids all rounding errors
  3. It reduces the total number of operations
  4. The multipliers have absolute value at most $1$
Explanation. Dividing by the largest pivot keeps the multipliers small.
la-f-elem-k11 · level ipotesi · notes
Why do elementary row operations not change the solution set of $\boldsymbol A\boldsymbol x = \boldsymbol b$ (applied to the augmented matrix)?
  1. Because they do not change the determinant
  2. Because they leave $\boldsymbol b$ unchanged
  3. Because $\boldsymbol A$ is square
  4. Because they are invertible
Explanation. Each operation has an inverse of the same type.
la-f-elem-k12 · level facile · notes
In row elimination on $\boldsymbol A \in \R^{n\times n}$, at step $k$ the pivot $a_{kk}$ is zero. Which row can row $k$ be swapped with?
  1. With a row $i < k$ with $a_{ik} \neq 0$
  2. With a row $i > k$ with $a_{ki} \neq 0$
  3. With any row $i > k$
  4. With a row $i > k$ with $a_{ik} \neq 0$
Explanation. A nonzero entry is needed in column $k$, below the pivot: the rows above already have their pivots, and a row with $a_{ik} = 0$ does not solve the problem.
la-f-elem-k13 · level facile · notes
After the first step of Gaussian elimination on a $3 \times 3$ matrix one has $\begin{pmatrix} 1 & 2 & 3 \\ 0 & 0 & 4 \\ 0 & 5 & 6 \end{pmatrix}$ ($R_i$: row $i$). What is done at the second step?
  1. One concludes that the matrix is singular
  2. Rows $R_1$ and $R_2$ are swapped
  3. $R_3$ is replaced by $R_3 - R_2$
  4. Rows $R_2$ and $R_3$ are swapped
Explanation. The pivot $a_{22}$ is zero but $a_{32} = 5 \neq 0$: the swap $R_2 \leftrightarrow R_3$ already gives a triangular matrix. The matrix is not singular (its determinant is $-20$).

4.3. Inversion of matrices (21)

la-f-inv-01 · level facile · notes
If $\boldsymbol A, \boldsymbol B \in \R^{n\times n}$ are invertible, what is $(\boldsymbol A\boldsymbol B)^{-1}$?
  1. $(\boldsymbol B\boldsymbol A)'$
  2. $\boldsymbol B^{-1}\boldsymbol A^{-1}$
  3. $\boldsymbol A^{-1}\boldsymbol B^{-1}$
  4. $\boldsymbol A^{-1} + \boldsymbol B^{-1}$
Explanation. The order is reversed: $(\boldsymbol A\boldsymbol B)(\boldsymbol B^{-1}\boldsymbol A^{-1}) = \boldsymbol A\boldsymbol I\boldsymbol A^{-1} = \boldsymbol I$. Since the product is not commutative, in general $(\boldsymbol A\boldsymbol B)^{-1} \neq \boldsymbol A^{-1}\boldsymbol B^{-1}$.
la-f-inv-02 · level facile · notes
If $\boldsymbol A$ is invertible, what is $(\boldsymbol A')^{-1}$?
  1. $-(\boldsymbol A^{-1})'$
  2. $\boldsymbol A$
  3. $(\boldsymbol A^{-1})'$
  4. $\boldsymbol A^{-1}$
Explanation. Inverse and transpose commute: $\boldsymbol A'(\boldsymbol A^{-1})' = (\boldsymbol A^{-1}\boldsymbol A)' = \boldsymbol I' = \boldsymbol I$. $\boldsymbol A^{-1}$ is right only if $\boldsymbol A$ is symmetric.
la-f-inv-03 · level facile · notes
What is the inverse of $\boldsymbol A = \begin{pmatrix} 2 & 1 \\ 1 & 1 \end{pmatrix}$?
  1. $\begin{pmatrix} 1 & -1 \\ -1 & 2 \end{pmatrix}$
  2. $\begin{pmatrix} 2 & -1 \\ -1 & 1 \end{pmatrix}$
  3. $\begin{pmatrix} 1 & 1 \\ 1 & 2 \end{pmatrix}$
  4. $\begin{pmatrix} -1 & 1 \\ 1 & -2 \end{pmatrix}$
Explanation. $\det(\boldsymbol A) = 1$: swap the diagonal entries, change the sign of the off-diagonal ones and divide by $1$. Check: $\boldsymbol A\boldsymbol A^{-1} = \boldsymbol I$.
la-f-inv-04 · level facile · notes
Let $\boldsymbol A \in \R^{n\times n}$ and let $\boldsymbol C$ be the cofactor matrix, with $C_{ij} = (-1)^{i+j}\det(\boldsymbol A_{ij})$, where $\boldsymbol A_{ij}$ is obtained by deleting row $i$ and column $j$. The adjugate matrix $\mathrm{adj}(\boldsymbol A)$ is:
  1. $\frac{1}{\det(\boldsymbol A)}\boldsymbol C$
  2. $\boldsymbol A'$
  3. $\boldsymbol C'$
  4. $\boldsymbol C$
Explanation. The adjugate is the transpose of the cofactor matrix: $(\mathrm{adj}(\boldsymbol A))_{ij} = C_{ji}$. Dividing it by $\det(\boldsymbol A)$ gives $\boldsymbol A^{-1}$.
la-f-inv-05 · level teorema · notes
Let $\boldsymbol A \in \R^{n\times n}$, $n \ge 2$, and let $\mathrm{adj}(\boldsymbol A)$ be its adjugate matrix (the transpose of the cofactor matrix). Which equality always holds?
  1. $\boldsymbol A\,\mathrm{adj}(\boldsymbol A) = \det(\boldsymbol A)\,\boldsymbol I$
  2. $\boldsymbol A\,\mathrm{adj}(\boldsymbol A) = \boldsymbol I$
  3. $\mathrm{adj}(\boldsymbol A)\,\boldsymbol A = \det(\boldsymbol A)\,\boldsymbol A$
  4. $\boldsymbol A\,\mathrm{adj}(\boldsymbol A) = \det(\boldsymbol A)\,\boldsymbol A'$
Explanation. It is the adjugate formula, valid also when $\det(\boldsymbol A) = 0$; if $\det(\boldsymbol A) \neq 0$ it gives $\boldsymbol A^{-1} = \frac{1}{\det(\boldsymbol A)}\mathrm{adj}(\boldsymbol A)$.
la-f-inv-06 · level facile · notes
In the Gauss–Jordan method one starts from $(\boldsymbol A \mid \boldsymbol I)$ and, with elementary row operations, reaches $(\boldsymbol I \mid \boldsymbol B)$. Then:
  1. $\boldsymbol B = \det(\boldsymbol A)\,\boldsymbol A^{-1}$
  2. $\boldsymbol B = \boldsymbol A$
  3. $\boldsymbol B = \boldsymbol A^{-1}$
  4. $\boldsymbol B = \boldsymbol A'$
Explanation. The operations transforming $\boldsymbol A$ into $\boldsymbol I$, applied to $\boldsymbol I$, produce $\boldsymbol A^{-1}$.
la-f-inv-07 · level facile · notes
Let $\boldsymbol A \in \R^{n\times n}$. While applying the Gauss–Jordan method to $(\boldsymbol A \mid \boldsymbol I)$ a zero row appears in the left block. What can be concluded?
  1. $\boldsymbol A$ is invertible, but a column swap is needed
  2. $\boldsymbol A$ is invertible only if the right block has the same zero row
  3. $\boldsymbol A$ is singular: $\det(\boldsymbol A) = 0$ and $\boldsymbol A^{-1}$ does not exist
  4. $\boldsymbol A^{-1}$ exists and has a zero row in the same position
Explanation. Elementary operations do not change whether the determinant vanishes: a zero row in the left block means zero determinant, and the method stops.
la-f-inv-08 · level teorema · notes
Which characterization of invertible matrices $\boldsymbol A \in \R^{n\times n}$ is correct?
  1. $\boldsymbol A$ is invertible if and only if it is symmetric
  2. $\boldsymbol A$ is invertible if and only if all its entries are nonzero
  3. $\boldsymbol A$ is invertible if and only if $\det(\boldsymbol A) \neq 0$
  4. $\boldsymbol A$ is invertible if and only if $\det(\boldsymbol A) = 1$
Explanation. If $\det(\boldsymbol A) \neq 0$ the inverse is $\frac{1}{\det(\boldsymbol A)}\mathrm{adj}(\boldsymbol A)$; if $\boldsymbol A$ is invertible, $\det(\boldsymbol A)\det(\boldsymbol A^{-1}) = 1$ forces $\det(\boldsymbol A) \neq 0$.
la-f-inv-09 · level ipotesi · notes
Let $\boldsymbol A, \boldsymbol B, \boldsymbol C \in \R^{n\times n}$ with $\boldsymbol B\boldsymbol A = \boldsymbol I$ and $\boldsymbol A\boldsymbol C = \boldsymbol I$. Which property is needed to prove that $\boldsymbol B = \boldsymbol C$ (uniqueness of the inverse)?
  1. the associativity of the matrix product
  2. the commutativity of the matrix product
  3. the rule $\det(\boldsymbol A\boldsymbol B) = \det(\boldsymbol A)\det(\boldsymbol B)$
  4. the distributivity of the product over the sum
Explanation. $\boldsymbol B = \boldsymbol B\boldsymbol I = \boldsymbol B(\boldsymbol A\boldsymbol C) = (\boldsymbol B\boldsymbol A)\boldsymbol C = \boldsymbol I\boldsymbol C = \boldsymbol C$. The matrix product is not commutative, and determinants only give $\det(\boldsymbol B) = \det(\boldsymbol C)$.
la-f-inv-10 · level ipotesi · notes
Let $\boldsymbol A, \boldsymbol B \in \R^{n\times n}$ be invertible. Which results are needed to prove that $(\boldsymbol A\boldsymbol B)^{-1} = \boldsymbol B^{-1}\boldsymbol A^{-1}$?
  1. the associativity of the product and the uniqueness of the inverse
  2. the commutativity of the product and the uniqueness of the inverse
  3. the rule $\det(\boldsymbol A\boldsymbol B) = \det(\boldsymbol A)\det(\boldsymbol B)$ and Cramer's rule
  4. the rule $(\boldsymbol C\boldsymbol D)' = \boldsymbol D'\boldsymbol C'$ and the associativity of the product
Explanation. $(\boldsymbol A\boldsymbol B)(\boldsymbol B^{-1}\boldsymbol A^{-1}) = \boldsymbol A(\boldsymbol B\boldsymbol B^{-1})\boldsymbol A^{-1} = \boldsymbol I$ and similarly in the other order; by uniqueness $\boldsymbol B^{-1}\boldsymbol A^{-1}$ is the inverse of $\boldsymbol A\boldsymbol B$. Without commutativity the order of the factors is reversed.
la-f-inv-11 · level ipotesi · notes
Let $\boldsymbol A \in \R^{n\times n}$ be invertible and let $'$ denote the transpose. Which results are needed to prove that $(\boldsymbol A')^{-1} = (\boldsymbol A^{-1})'$?
  1. $(\boldsymbol C\boldsymbol D)' = \boldsymbol D'\boldsymbol C'$, $\boldsymbol I' = \boldsymbol I$ and the uniqueness of the inverse
  2. $(\boldsymbol C\boldsymbol D)' = \boldsymbol C'\boldsymbol D'$, $\boldsymbol I' = \boldsymbol I$ and the uniqueness of the inverse
  3. $\det(\boldsymbol A') = \det(\boldsymbol A)$ and $\det(\boldsymbol A^{-1}) = 1/\det(\boldsymbol A)$
  4. the symmetry of $\boldsymbol A$, $\boldsymbol I' = \boldsymbol I$ and the uniqueness of the inverse
Explanation. $\boldsymbol A'(\boldsymbol A^{-1})' = (\boldsymbol A^{-1}\boldsymbol A)' = \boldsymbol I' = \boldsymbol I$, and similarly in the other order: by uniqueness $(\boldsymbol A^{-1})'$ is the inverse of $\boldsymbol A'$. The transpose of a product reverses the order of the factors; $\boldsymbol A$ need not be symmetric.
la-f-inv-12 · level ipotesi · notes
Let $\boldsymbol C$ be the cofactor matrix of $\boldsymbol A \in \R^{n\times n}$, so $\mathrm{adj}(\boldsymbol A) = \boldsymbol C'$ and entry $(i,j)$ of $\boldsymbol A\,\mathrm{adj}(\boldsymbol A)$ is $\sum_k a_{ik}C_{jk}$. Why is this entry zero for $i \neq j$?
  1. it is the scalar product of two distinct rows of $\boldsymbol A$, zero if $\boldsymbol A$ is symmetric
  2. it follows from $\det(\boldsymbol A\boldsymbol B) = \det(\boldsymbol A)\det(\boldsymbol B)$ with $\boldsymbol B = \mathrm{adj}(\boldsymbol A)$
  3. it is the Laplace expansion of a matrix with two equal rows
  4. the cofactors $C_{jk}$ with $j \neq i$ are zero for every $k$
Explanation. $\sum_k a_{ik}C_{jk}$ is the expansion along row $j$ of the matrix obtained from $\boldsymbol A$ by putting row $i$ in place of row $j$: it has two equal rows, hence determinant $0$. For $i = j$ it is the expansion of $\det(\boldsymbol A)$.
la-f-inv-13 · level facile · notes
Let $\boldsymbol A$ be invertible with $\det(\boldsymbol A) = 4$. What is $\det(\boldsymbol A^{-1})$?
  1. $\frac{1}{4}$
  2. $4$
  3. $-4$
  4. $\frac{1}{16}$
Explanation. $\det(\boldsymbol A)\det(\boldsymbol A^{-1}) = \det(\boldsymbol I) = 1$, hence $\det(\boldsymbol A^{-1}) = \frac{1}{4}$.
la-f-inverse-k01 · level facile · notes
In the Gauss–Jordan method for the inverse of $\boldsymbol A$, on which matrix does one operate and what is obtained?
  1. On $\boldsymbol A'$, up to $\boldsymbol I$
  2. On $(\boldsymbol I \,|\, \boldsymbol A)$, up to $(\boldsymbol A \,|\, \boldsymbol I)$
  3. On $(\boldsymbol A \,|\, \boldsymbol I)$, up to $(\boldsymbol I \,|\, \boldsymbol A^{-1})$
  4. On $(\boldsymbol A \,|\, \boldsymbol b)$, up to $(\boldsymbol I \,|\, \boldsymbol x)$
Explanation. The same operations turn $\boldsymbol I$ into $\boldsymbol A^{-1}$.
la-f-inverse-k02 · level teorema · notes
Which statement about the inverse of a square matrix is correct?
  1. It equals the transpose
  2. If it exists, it is unique
  3. Two different inverses can exist
  4. It always exists
Explanation. If $\boldsymbol B$ and $\boldsymbol C$ are inverses, $\boldsymbol B = \boldsymbol B(\boldsymbol A\boldsymbol C) = (\boldsymbol B\boldsymbol A)\boldsymbol C = \boldsymbol C$.
la-f-inverse-k03 · level ipotesi · notes
The formula $\boldsymbol A^{-1} = \frac{1}{\det(\boldsymbol A)}\,\mathrm{adj}(\boldsymbol A)$ holds under which assumption?
  1. $\boldsymbol A$ triangular
  2. $\det(\boldsymbol A) > 0$
  3. $\det(\boldsymbol A) \neq 0$
  4. $\boldsymbol A$ symmetric
Explanation. Division by the determinant is needed.
la-f-inverse-k04 · level facile · notes
If $\boldsymbol A$ is invertible, what is $(\boldsymbol A^{-1})^{-1}$?
  1. $\boldsymbol A'$
  2. $\boldsymbol A$
  3. $\boldsymbol A^{-1}$
  4. $\boldsymbol I$
Explanation. $\boldsymbol A$ satisfies the definition of inverse of $\boldsymbol A^{-1}$, which is unique.
la-f-inverse-k05 · level ipotesi · notes
In the proof of uniqueness of the inverse, from $\boldsymbol A\boldsymbol B = \boldsymbol I$ and $\boldsymbol C\boldsymbol A = \boldsymbol I$ one concludes $\boldsymbol B = \boldsymbol C$. Which property of the product is used?
  1. Distributivity over addition
  2. That $\boldsymbol A$ is a symmetric matrix
  3. Associativity: $\boldsymbol C(\boldsymbol A\boldsymbol B) = (\boldsymbol C\boldsymbol A)\boldsymbol B$
  4. Commutativity: $\boldsymbol A\boldsymbol B = \boldsymbol B\boldsymbol A$
Explanation. $\boldsymbol C = \boldsymbol C\boldsymbol I = \boldsymbol C(\boldsymbol A\boldsymbol B) = (\boldsymbol C\boldsymbol A)\boldsymbol B = \boldsymbol B$.
la-f-inverse-k06 · level facile · notes
With the adjugate matrix, what is the inverse of $\begin{pmatrix} 3 & 2 \\ 1 & 1 \end{pmatrix}$?
  1. $\begin{pmatrix} 1 & -2 \\ -1 & 3 \end{pmatrix}$
  2. $\begin{pmatrix} 1 & 2 \\ 1 & 3 \end{pmatrix}$
  3. $\begin{pmatrix} 3 & -2 \\ -1 & 1 \end{pmatrix}$
  4. $\begin{pmatrix} -1 & 2 \\ 1 & -3 \end{pmatrix}$
Explanation. $\det = 1$ and $\mathrm{adj} = \begin{pmatrix} 1 & -2 \\ -1 & 3 \end{pmatrix}$.
la-f-inverse-k07 · level facile · notes
With the Gauss–Jordan method $(\boldsymbol A \mid \boldsymbol I)$ is transformed into $(\boldsymbol I \mid \boldsymbol A^{-1})$. For $\boldsymbol A = \begin{pmatrix} 2 & 0 \\ 0 & 4 \end{pmatrix}$, what appears at the end in the right block?
  1. $\mathrm{diag}(-2,\, -4)$
  2. $\mathrm{diag}(\frac14,\, \frac12)$
  3. $\mathrm{diag}(\frac12,\, \frac14)$
  4. $\mathrm{diag}(2,\, 4)$
Explanation. It suffices to divide the first row by $2$ and the second by $4$: the right block becomes $\mathrm{diag}(\frac12, \frac14) = \boldsymbol A^{-1}$. The inverses do not swap places.
la-f-inverse-k08 · level facile · notes
In the Gauss–Jordan method for the inverse one works on the matrix $(\boldsymbol A \mid \boldsymbol I)$. Which operations are allowed?
  1. Elementary row operations, on both blocks
  2. Elementary row operations, on the block $\boldsymbol A$ only
  3. Column operations, on the block $\boldsymbol I$ only
  4. Any operation that leaves the determinant unchanged
Explanation. Each row operation must be applied to the whole row of $(\boldsymbol A \mid \boldsymbol I)$: it is like multiplying both blocks on the left by the same elementary matrix, and at the end the right block is $\boldsymbol A^{-1}$.

4.4. Factorization of matrices (15)

la-f-lu-01 · level facile · notes
Let $\boldsymbol A \in \R^{n\times n}$. In the factorization $\boldsymbol P\boldsymbol A = \boldsymbol L\boldsymbol U$ computed by Gaussian elimination, which matrices are $\boldsymbol P$, $\boldsymbol L$ and $\boldsymbol U$?
  1. $\boldsymbol P = \boldsymbol I$ always, $\boldsymbol L$ lower triangular with ones on the diagonal, $\boldsymbol U$ upper triangular
  2. $\boldsymbol P$ a permutation matrix, $\boldsymbol L$ lower triangular with ones on the diagonal, $\boldsymbol U$ upper triangular
  3. $\boldsymbol P$ a permutation matrix, $\boldsymbol L$ lower triangular, $\boldsymbol U$ upper triangular with ones on the diagonal
  4. $\boldsymbol P$ diagonal, $\boldsymbol L$ upper triangular with ones on the diagonal, $\boldsymbol U$ lower triangular
Explanation. $\boldsymbol P$ records the row swaps (it is $\boldsymbol I$ only if no swap is needed), $\boldsymbol L$ stores the multipliers below a diagonal of ones, $\boldsymbol U$ is the echelon form, upper triangular.
la-f-lu-02 · level facile · notes
$\boldsymbol A = \boldsymbol L\boldsymbol U$ is computed by Gaussian elimination; $R_i$ denotes row $i$. Where does the multiplier $\ell_{ij}$ of the step $R_i \leftarrow R_i - \ell_{ij}R_j$ ($i > j$), which cancels position $(i,j)$, go?
  1. in position $(i,j)$ of $\boldsymbol L$, with the opposite sign
  2. on the diagonal of $\boldsymbol L$
  3. in position $(i,j)$ of $\boldsymbol L$
  4. in position $(j,i)$ of $\boldsymbol U$
Explanation. $\boldsymbol L$ stores the multipliers as they appear in the operation $R_i \leftarrow R_i - \ell_{ij}R_j$; the diagonal of $\boldsymbol L$ is made of ones.
la-f-lu-03 · level teorema · notes
Let $\boldsymbol A \in \R^{n\times n}$ be nonsingular and let $\boldsymbol A_{[k]}$ be the submatrix formed by its first $k$ rows and columns. When does $\boldsymbol A$ admit $\boldsymbol A = \boldsymbol L\boldsymbol U$ ($\boldsymbol L$ lower triangular with ones on the diagonal, $\boldsymbol U$ upper triangular)?
  1. if and only if $\det(\boldsymbol A_{[k]}) \neq 0$ for every $k \in \{1, \dots, n\}$
  2. always, because $\det(\boldsymbol A) \neq 0$
  3. if and only if $\boldsymbol A$ is symmetric
  4. if and only if all diagonal entries of $\boldsymbol A$ are nonzero
Explanation. All leading principal minors must be nonzero: then the pivots $u_{kk} = \det(\boldsymbol A_{[k]})/\det(\boldsymbol A_{[k-1]})$ are nonzero. For instance $\begin{pmatrix} 0 & 1 \\ 1 & 1 \end{pmatrix}$ is nonsingular but needs a swap.
la-f-lu-04 · level facile · notes
Does the matrix $\boldsymbol A = \begin{pmatrix} 0 & 1 \\ 1 & 1 \end{pmatrix}$ admit a factorization $\boldsymbol A = \boldsymbol L\boldsymbol U$ without row swaps ($\boldsymbol L$ lower triangular with ones on the diagonal, $\boldsymbol U$ upper triangular)?
  1. no: the pivot $a_{11}$ is zero
  2. yes, because $\det(\boldsymbol A) = -1 \neq 0$
  3. yes, with $\boldsymbol L = \boldsymbol I$ and $\boldsymbol U = \boldsymbol A$
  4. no, because $\boldsymbol A$ is singular
Explanation. The first leading minor is $\det(\boldsymbol A_{[1]}) = 0$; swapping the rows gives $\boldsymbol P\boldsymbol A = \begin{pmatrix} 1 & 1 \\ 0 & 1 \end{pmatrix}$, already upper triangular. $\boldsymbol A$ is not upper triangular, so $\boldsymbol U = \boldsymbol A$ does not work.
la-f-lu-05 · level facile · notes
For $\boldsymbol A \in \R^{3\times 3}$ the leading principal minors ($\boldsymbol A_{[k]}$: first $k$ rows and columns) are $\det(\boldsymbol A_{[1]}) = 2$, $\det(\boldsymbol A_{[2]}) = -16$, $\det(\boldsymbol A) = -16$. What are the pivots $u_{11}, u_{22}, u_{33}$ of the factorization $\boldsymbol A = \boldsymbol L\boldsymbol U$ without swaps?
  1. $2,\ -16,\ -16$
  2. $2,\ -8,\ 2$
  3. $2,\ -14,\ 0$
  4. $2,\ -8,\ 1$
Explanation. $u_{11} = \det(\boldsymbol A_{[1]})$ and $u_{kk} = \det(\boldsymbol A_{[k]})/\det(\boldsymbol A_{[k-1]})$: $-16/2 = -8$ and $-16/(-16) = 1$. Check: $2\cdot(-8)\cdot 1 = \det(\boldsymbol A)$.
la-f-lu-06 · level teorema · notes
Let $\boldsymbol P\boldsymbol A = \boldsymbol L\boldsymbol U$ be a PLU factorization of $\boldsymbol A \in \R^{n\times n}$, with $\boldsymbol P$ obtained from $\boldsymbol I_n$ with $s$ row swaps and $u_{ii}$, $\ell_{ii}$ the diagonal entries of $\boldsymbol U$ and $\boldsymbol L$. Which formula is correct?
  1. $\det(\boldsymbol A) = (-1)^{s}\prod_{i=1}^{n} \ell_{ii}$
  2. $\det(\boldsymbol A) = (-1)^{n}\prod_{i=1}^{n} u_{ii}$
  3. $\det(\boldsymbol A) = (-1)^{s}\prod_{i=1}^{n} u_{ii}$
  4. $\det(\boldsymbol A) = \prod_{i=1}^{n} u_{ii}$, whatever $s$ is
Explanation. $\det(\boldsymbol P) = (-1)^s$, $\det(\boldsymbol L) = 1$, $\det(\boldsymbol U) = \prod_i u_{ii}$; hence $(-1)^s\det(\boldsymbol A) = \prod_i u_{ii}$. The product of the $\ell_{ii}$ is always $1$.
la-f-lu-07 · level facile · notes
$\boldsymbol P\boldsymbol A = \boldsymbol L\boldsymbol U$ is computed by Gaussian elimination and at step $j$ rows $i$ and $k$ are swapped. What happens to the multipliers already stored in $\boldsymbol L$?
  1. those of rows $i$ and $k$ change sign, because the swap changes the sign of the determinant
  2. those of rows $i$ and $k$ (columns $1, \dots, j-1$) are swapped, and so are rows $i$ and $k$ of $\boldsymbol P$
  3. columns $i$ and $k$ of $\boldsymbol L$ are swapped, and so are columns $i$ and $k$ of $\boldsymbol P$
  4. they stay where they are: the swap is applied only to the rows of $\boldsymbol U$ and $\boldsymbol P$
Explanation. Without swapping the multipliers one gets a matrix $\widetilde{\boldsymbol L}$ with $\widetilde{\boldsymbol L}\boldsymbol U \neq \boldsymbol P\boldsymbol A$: it is the mistake pointed out in the notes.
la-f-lu-08 · level ipotesi · notes
Let $\boldsymbol P\boldsymbol A = \boldsymbol L\boldsymbol U$, with $\boldsymbol P$ obtained from $\boldsymbol I_n$ with $s$ row swaps and $u_{ii}$ the diagonal entries of $\boldsymbol U$. Which results are needed to prove that $\det(\boldsymbol A) = (-1)^s\prod_i u_{ii}$?
  1. Sylvester's criterion on the leading principal minors of $\boldsymbol A$ and $\det(\boldsymbol L) = 1$
  2. $\det(\boldsymbol P + \boldsymbol A) = \det(\boldsymbol P) + \det(\boldsymbol A)$ and the determinant of triangular matrices
  3. the product rule $\det(\boldsymbol P\boldsymbol A) = \det(\boldsymbol P)\det(\boldsymbol A)$, $\det(\boldsymbol P) = (-1)^s$ and the determinant of triangular matrices
  4. $\det(\boldsymbol A') = \det(\boldsymbol A)$, $\det(\boldsymbol P) = (-1)^s$ and the Laplace expansion along the first column of $\boldsymbol A$
Explanation. $\det(\boldsymbol P)\det(\boldsymbol A) = \det(\boldsymbol L)\det(\boldsymbol U)$ with $\det(\boldsymbol P) = (-1)^s$, $\det(\boldsymbol L) = 1$ and $\det(\boldsymbol U) = \prod_i u_{ii}$ (triangular matrices); then multiply by $(-1)^s$. The determinant is not additive.
la-f-lu-09 · level ipotesi · notes
Let $\boldsymbol A \in \R^{n\times n}$ have all leading principal minors $\det(\boldsymbol A_{[k]})$ nonzero ($\boldsymbol A_{[k]}$: first $k$ rows and columns). Which fact is essential to prove that Gaussian elimination needs no row swap?
  1. $\boldsymbol A$ is symmetric, hence the pivots of the elimination coincide with the eigenvalues
  2. the formula $\det(\lambda\boldsymbol A) = \lambda^n\det(\boldsymbol A)$ applied to each submatrix $\boldsymbol A_{[k]}$
  3. the operations $R_i \leftarrow R_i - \ell_{ij}R_j$ with $j < i$ do not change the minors $\det(\boldsymbol A_{[k]})$
  4. row swaps do not change the minors $\det(\boldsymbol A_{[k]})$, hence they can always be avoided
Explanation. Those operations do not change the leading minors; after $k-1$ steps the leading submatrix of order $k$ is triangular, hence $\det(\boldsymbol A_{[k]}) = u_{11}\cdots u_{kk}$ and the pivot $u_{kk} = \det(\boldsymbol A_{[k]})/\det(\boldsymbol A_{[k-1]})$ is nonzero. A swap, instead, may change the leading minors.
la-f-lu-10 · level facile · notes
Given the factorization $\boldsymbol A = \boldsymbol L\boldsymbol U$ ($\boldsymbol L$ lower triangular with ones on the diagonal, $\boldsymbol U$ upper triangular nonsingular), how is $\boldsymbol A\boldsymbol x = \boldsymbol b$ solved?
  1. compute $\boldsymbol L^{-1}$ and $\boldsymbol U^{-1}$ by Gauss–Jordan, then $\boldsymbol x = \boldsymbol L^{-1}\boldsymbol U^{-1}\boldsymbol b$
  2. $\boldsymbol L\boldsymbol y = \boldsymbol b$ by forward substitution, then $\boldsymbol U\boldsymbol x = \boldsymbol y$ by backward substitution
  3. $\boldsymbol U\boldsymbol y = \boldsymbol b$ by forward substitution, then $\boldsymbol L\boldsymbol x = \boldsymbol y$ by backward substitution
  4. $\boldsymbol L\boldsymbol y = \boldsymbol b$ by backward substitution, then $\boldsymbol U\boldsymbol x = \boldsymbol y$ by forward substitution
Explanation. $\boldsymbol A\boldsymbol x = \boldsymbol L(\boldsymbol U\boldsymbol x) = \boldsymbol b$: setting $\boldsymbol y = \boldsymbol U\boldsymbol x$, first solve the lower triangular system $\boldsymbol L\boldsymbol y = \boldsymbol b$ (forward), then the upper triangular system $\boldsymbol U\boldsymbol x = \boldsymbol y$ (backward). The inverse of $\boldsymbol L\boldsymbol U$ would be $\boldsymbol U^{-1}\boldsymbol L^{-1}$.
la-f-lu-11 · level facile · notes
Let $\boldsymbol A = \boldsymbol L\boldsymbol U$ with $\boldsymbol L = \begin{pmatrix} 1 & 0 \\ 2 & 1 \end{pmatrix}$ and $\boldsymbol U = \begin{pmatrix} 3 & 1 \\ 0 & 4 \end{pmatrix}$. What is $\det(\boldsymbol A)$?
  1. $7$
  2. $24$
  3. $-12$
  4. $12$
Explanation. $\det(\boldsymbol A) = \det(\boldsymbol L)\det(\boldsymbol U) = 1\cdot(3\cdot 4) = 12$: $\boldsymbol L$ has ones on the diagonal and no swap changes the sign. $7$ is the trace of $\boldsymbol U$.
la-f-lu-12 · level facile · notes
The factorization $\boldsymbol A = \boldsymbol L\boldsymbol U$ of $\boldsymbol A = \begin{pmatrix} 2 & 1 \\ 6 & 5 \end{pmatrix}$ is computed by Gaussian elimination without swaps ($\boldsymbol L$ lower triangular with ones on the diagonal). What are $\boldsymbol L$ and $\boldsymbol U$?
  1. $\boldsymbol L = \begin{pmatrix} 1 & 0 \\ 3 & 1 \end{pmatrix}$, $\boldsymbol U = \begin{pmatrix} 2 & 1 \\ 0 & 5 \end{pmatrix}$
  2. $\boldsymbol L = \begin{pmatrix} 1 & 0 \\ \frac{1}{3} & 1 \end{pmatrix}$, $\boldsymbol U = \begin{pmatrix} 2 & 1 \\ 0 & \frac{14}{3} \end{pmatrix}$
  3. $\boldsymbol L = \begin{pmatrix} 1 & 0 \\ 3 & 1 \end{pmatrix}$, $\boldsymbol U = \begin{pmatrix} 2 & 1 \\ 0 & 2 \end{pmatrix}$
  4. $\boldsymbol L = \begin{pmatrix} 1 & 0 \\ -3 & 1 \end{pmatrix}$, $\boldsymbol U = \begin{pmatrix} 2 & 1 \\ 0 & 2 \end{pmatrix}$
Explanation. The step $R_2 \leftarrow R_2 - 3R_1$ has multiplier $\ell_{21} = 6/2 = 3$, which goes in position $(2,1)$ of $\boldsymbol L$ with its sign, and gives $u_{22} = 5 - 3\cdot 1 = 2$. Check: $\boldsymbol L\boldsymbol U = \boldsymbol A$.
la-f-lu-k01 · level facile · notes
From $\boldsymbol P\boldsymbol A = \boldsymbol L\boldsymbol U$ with unit-diagonal $\boldsymbol L$, $\boldsymbol U$ with diagonal $(2, -1, 3)$ and $\boldsymbol P$ obtained with one row swap, what is $\det(\boldsymbol A)$?
  1. $-6$
  2. $4$
  3. $-4$
  4. $6$
Explanation. $\det(\boldsymbol P) = -1$, $\det(\boldsymbol U) = -6$: $\det(\boldsymbol A) = \det(\boldsymbol U)/\det(\boldsymbol P) = 6$.
la-f-lu-k02 · level teorema · notes
Which statement about the existence of the LU factorization (without permutations) is correct?
  1. It exists only for symmetric matrices
  2. It exists only if $\det(\boldsymbol A) = 1$
  3. It exists if no row swaps are needed
  4. It exists for every square matrix
Explanation. With a zero pivot a permutation is needed: $\boldsymbol P\boldsymbol A = \boldsymbol L\boldsymbol U$.
la-f-lu-k03 · level ipotesi · notes
The matrix $\begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}$ has no LU factorization without permutations. Which fact explains it?
  1. It is not symmetric
  2. It has negative entries
  3. The first pivot $a_{11}$ is zero
  4. The determinant is zero
Explanation. Rows must be swapped: $\boldsymbol P\boldsymbol A = \boldsymbol L\boldsymbol U$ is used.

4.5. Eigenvalues and eigenvectors (32)

la-f-eig-01 · level facile · notes
A scalar $\lambda$ is an eigenvalue of $\boldsymbol Q \in \R^{n\times n}$ if:
  1. there exists $\boldsymbol v \in \R^n$ with $\boldsymbol Q\boldsymbol v = \lambda\boldsymbol v$
  2. $\boldsymbol Q\boldsymbol v = \lambda\boldsymbol v$ for every $\boldsymbol v \in \R^n$
  3. $\lambda$ equals $\det(\boldsymbol Q)$
  4. there exists $\boldsymbol v \neq \boldsymbol 0$ with $\boldsymbol Q\boldsymbol v = \lambda\boldsymbol v$
Explanation. A nonzero vector is required: $\boldsymbol Q\boldsymbol 0 = \lambda\boldsymbol 0$ holds for every $\lambda$. The condition is equivalent to $\det(\boldsymbol Q - \lambda\boldsymbol I) = 0$.
la-f-eig-02 · level facile · notes
What is the characteristic equation of $\boldsymbol Q \in \R^{n\times n}$?
  1. $\det(\boldsymbol Q - \lambda\boldsymbol I) = 0$
  2. $\det(\boldsymbol Q) - \lambda = 0$
  3. $\boldsymbol Q - \lambda\boldsymbol I = \boldsymbol 0$
  4. $\operatorname{tr}(\boldsymbol Q) - \lambda = 0$
Explanation. $\lambda$ is an eigenvalue if and only if $(\boldsymbol Q - \lambda\boldsymbol I)\boldsymbol v = \boldsymbol 0$ has nonzero solutions, i.e. if and only if $\det(\boldsymbol Q - \lambda\boldsymbol I) = 0$: a polynomial of degree $n$ in $\lambda$.
la-f-eig-03 · level facile · notes
What are the eigenvalues of $\boldsymbol U = \begin{pmatrix} 2 & 1 & 3 \\ 0 & -1 & 4 \\ 0 & 0 & 5 \end{pmatrix}$?
  1. $2,\ 4,\ 5$
  2. $-2,\ 1,\ -5$
  3. $6$ (the trace)
  4. $2,\ -1,\ 5$
Explanation. For a triangular matrix $\det(\boldsymbol U - \lambda\boldsymbol I) = (2-\lambda)(-1-\lambda)(5-\lambda)$: the eigenvalues are the diagonal entries.
la-f-eig-04 · level facile · notes
A matrix $\boldsymbol Q \in \R^{2\times 2}$ has eigenvalues $1$ and $3$. What are the trace $\operatorname{tr}(\boldsymbol Q)$ (sum of the diagonal entries) and $\det(\boldsymbol Q)$?
  1. they cannot be determined without knowing $\boldsymbol Q$
  2. $\operatorname{tr}(\boldsymbol Q) = 4$, $\det(\boldsymbol Q) = 3$
  3. $\operatorname{tr}(\boldsymbol Q) = 3$, $\det(\boldsymbol Q) = 4$
  4. $\operatorname{tr}(\boldsymbol Q) = 4$, $\det(\boldsymbol Q) = 4$
Explanation. The trace is the sum of the eigenvalues, the determinant their product: $1 + 3 = 4$ and $1\cdot 3 = 3$.
la-f-eig-05 · level teorema · notes
Let $\lambda_1, \dots, \lambda_n \in \C$ be the roots of the characteristic polynomial of $\boldsymbol Q \in \R^{n\times n}$, repeated according to multiplicity, and let $\operatorname{tr}(\boldsymbol Q)$ be the trace (sum of the diagonal entries). Which statement is true?
  1. $\operatorname{tr}(\boldsymbol Q) = \sum_{i=1}^{n}\lambda_i$, but only if all the roots are real and distinct
  2. $\det(\boldsymbol Q) = \prod_{i=1}^{n}\lambda_i$ and $\operatorname{tr}(\boldsymbol Q) = \sum_{i=1}^{n}\lambda_i$
  3. $\det(\boldsymbol Q) = \sum_{i=1}^{n}\lambda_i$ and $\operatorname{tr}(\boldsymbol Q) = \prod_{i=1}^{n}\lambda_i$
  4. $\det(\boldsymbol Q) = \prod_{i=1}^{n}\lambda_i$, but only if $\boldsymbol Q$ is triangular
Explanation. It holds for every square matrix, counting multiplicities and complex roots: for instance $\begin{pmatrix} 0 & -1 \\ 1 & 0 \end{pmatrix}$ has roots $\pm i$, trace $0$ and determinant $1$.
la-f-eig-06 · level teorema · notes
Let $\boldsymbol Q$ be symmetric. Which statement is true?
  1. $\boldsymbol Q$ is positive definite if and only if $\det(\boldsymbol Q) > 0$
  2. $\boldsymbol Q$ is positive semidefinite if and only if $\operatorname{tr}(\boldsymbol Q) \ge 0$
  3. $\boldsymbol Q$ is positive semidefinite if and only if all its eigenvalues are $\ge 0$
  4. $\boldsymbol Q$ is positive semidefinite if and only if all its entries are $\ge 0$
Explanation. The sign of the quadratic form is determined by the signs of the eigenvalues. $\det(\boldsymbol Q) > 0$ also holds for $-\boldsymbol I_2$, which is negative definite.
la-f-eig-07 · level facile · notes
How is the symmetric matrix $\boldsymbol Q = \begin{pmatrix} 1 & 2 \\ 2 & 1 \end{pmatrix}$ classified according to the sign of the quadratic form $\boldsymbol x'\boldsymbol Q\,\boldsymbol x$?
  1. positive definite
  2. positive semidefinite
  3. negative definite
  4. indefinite
Explanation. $\Delta_1 = 1 > 0$ and $\Delta_2 = 1 - 4 = -3 < 0$; the eigenvalues are $3$ and $-1$, one positive and one negative.
la-f-eig-08 · level teorema · notes
Let $\boldsymbol Q \in \R^{n\times n}$ be symmetric and let $\Delta_k$ be its leading principal minor of order $k$ (determinant of the first $k$ rows and columns). Which statement of Sylvester's criterion is correct?
  1. $\boldsymbol Q$ is positive definite if and only if $\Delta_n = \det(\boldsymbol Q) > 0$
  2. $\boldsymbol Q$ is positive definite if and only if $\Delta_k > 0$ for every $k$
  3. $\boldsymbol Q$ is negative definite if and only if $\Delta_k < 0$ for every $k$
  4. $\boldsymbol Q$ is positive semidefinite if and only if $\Delta_k \ge 0$ for every $k$
Explanation. For negative definiteness the minors alternate in sign starting with $\Delta_1 < 0$; for semidefiniteness all principal minors must be checked, not only the leading ones.
la-f-eig-09 · level facile · notes
The leading principal minors (determinants of the first $k$ rows and columns) of $\boldsymbol Q = \begin{pmatrix} 0 & 0 \\ 0 & -1 \end{pmatrix}$ are $\Delta_1 = 0$ and $\Delta_2 = 0$. Is $\boldsymbol Q$ positive semidefinite?
  1. yes, because $\det(\boldsymbol Q) = 0 \ge 0$
  2. yes, and it is even positive definite
  3. no: the minor $q_{22} = -1$ is negative
  4. yes, because $\Delta_1 \ge 0$ and $\Delta_2 \ge 0$
Explanation. Leading minors are not enough for semidefiniteness: with $\boldsymbol x = (0, 1)'$ we get $\boldsymbol x'\boldsymbol Q\,\boldsymbol x = -1 < 0$. The eigenvalues are $0$ and $-1$: it is negative semidefinite.
la-f-eig-10 · level teorema · notes
Let $\boldsymbol v_1, \dots, \boldsymbol v_k$ be eigenvectors of $\boldsymbol Q$ associated with distinct eigenvalues $\lambda_1, \dots, \lambda_k$. Then:
  1. $\boldsymbol v_1, \dots, \boldsymbol v_k$ are linearly dependent if $k \ge 2$
  2. $\boldsymbol v_i'\boldsymbol v_j = 1$ for every $i \neq j$
  3. $\boldsymbol v_1, \dots, \boldsymbol v_k$ are linearly independent
  4. $\boldsymbol v_1, \dots, \boldsymbol v_k$ all have the same norm
Explanation. Eigenvectors of distinct eigenvalues are always linearly independent; with $n$ distinct real eigenvalues we get $n$ independent vectors of $\R^n$.
la-f-eig-11 · level ipotesi · notes
Let $\boldsymbol Q \in \R^{n\times n}$ be triangular. How is it proved that its eigenvalues (roots of $\det(\boldsymbol Q - \lambda\boldsymbol I) = 0$) are the diagonal entries $q_{11}, \dots, q_{nn}$?
  1. by Sylvester's criterion: the leading minors are $q_{11}$, $q_{11}q_{22}$, $\dots$
  2. $\boldsymbol Q - \lambda\boldsymbol I$ is triangular, hence $\det(\boldsymbol Q - \lambda\boldsymbol I) = \prod_i (q_{ii} - \lambda)$
  3. $\operatorname{tr}(\boldsymbol Q) = \sum_i \lambda_i$, hence each $q_{ii}$ is one of the eigenvalues $\lambda_i$
  4. $\det(\boldsymbol Q) = \prod_i \lambda_i$, hence each $q_{ii}$ is one of the eigenvalues $\lambda_i$
Explanation. The determinant of a triangular matrix is the product of its diagonal: the characteristic equation is $\prod_i (q_{ii} - \lambda) = 0$, with roots $q_{11}, \dots, q_{nn}$. Trace and determinant alone do not determine the eigenvalues.
la-f-eig-12 · level ipotesi · notes
Let $\boldsymbol Q$ be symmetric positive semidefinite, i.e. $\boldsymbol x'\boldsymbol Q\,\boldsymbol x \ge 0$ for every $\boldsymbol x$. Which argument proves that each of its eigenvalues $\lambda$ satisfies $\lambda \ge 0$?
  1. from $\operatorname{tr}(\boldsymbol Q) = \sum_i \lambda_i \ge 0$ it follows that every term $\lambda_i$ is $\ge 0$
  2. from $q_{ii} = \boldsymbol e_i'\boldsymbol Q\,\boldsymbol e_i \ge 0$ it follows that the eigenvalues, i.e. the $q_{ii}$, are $\ge 0$
  3. from $\boldsymbol Q\boldsymbol v = \lambda\boldsymbol v$, $\boldsymbol v \neq \boldsymbol 0$: $0 \le \boldsymbol v'\boldsymbol Q\,\boldsymbol v = \lambda\,\boldsymbol v'\boldsymbol v$ with $\boldsymbol v'\boldsymbol v > 0$
  4. from $\det(\boldsymbol Q) = \prod_i \lambda_i \ge 0$ it follows that every factor $\lambda_i$ is $\ge 0$
Explanation. Choose $\boldsymbol x = \boldsymbol v$, an eigenvector of $\lambda$: $\lambda\,\boldsymbol v'\boldsymbol v \ge 0$ with $\boldsymbol v'\boldsymbol v > 0$, hence $\lambda \ge 0$. A non-negative product or sum does not make all factors or terms non-negative; the eigenvalues are the diagonal entries only for triangular matrices.
la-f-eig-13 · level facile · notes
If $\boldsymbol v$ is an eigenvector of $\boldsymbol Q$ associated with $\lambda$, what can be said of $3\boldsymbol v$?
  1. it is also an eigenvector associated with $\lambda$
  2. it is an eigenvector associated with $3\lambda$
  3. it is not an eigenvector, because eigenvectors are unique
  4. it is an eigenvector associated with $\lambda/3$
Explanation. $\boldsymbol Q(\alpha\boldsymbol v) = \alpha\lambda\boldsymbol v = \lambda(\alpha\boldsymbol v)$ for every $\alpha \neq 0$: eigenvectors are never unique.
la-f-eig-14 · level facile · notes
A principal minor of $\boldsymbol Q \in \R^{n\times n}$ is the determinant of the submatrix keeping the rows and columns with the same indices $i_1 < \dots < i_k$ ($k \ge 1$). How many principal minors does a matrix $\boldsymbol Q \in \R^{3\times 3}$ have?
  1. $3$
  2. $9$
  3. $6$
  4. $7$
Explanation. One for every nonempty set of indices in $\{1, 2, 3\}$: $3$ of order $1$ ($q_{11}, q_{22}, q_{33}$), $3$ of order $2$ and $1$ of order $3$, $2^3 - 1 = 7$ in total. The leading principal minors are only $3$.
la-f-eig-15 · level facile · notes
What can be said about the real eigenvalues of $\boldsymbol R = \begin{pmatrix} 0 & -1 \\ 1 & 0 \end{pmatrix}$, i.e. the real roots of $\det(\boldsymbol R - \lambda\boldsymbol I) = 0$?
  1. they are $0$ and $0$: the diagonal entries
  2. they are $1$ and $-1$: the roots of $\lambda^2 - 1$
  3. there is only $1$, double: $\det(\boldsymbol R) = 1$
  4. there are none: $\lambda^2 + 1 = 0$ has roots $\pm i$
Explanation. $\det(\boldsymbol R - \lambda\boldsymbol I) = \lambda^2 + 1$ has no real roots; the complex roots $\pm i$ match trace $0$ and determinant $1$. $\boldsymbol R$ is not triangular.
la-f-eig-16 · level teorema · notes
To conclude that a symmetric matrix $\boldsymbol Q$ is positive semidefinite, it is enough to check that (principal minor: determinant of the submatrix with rows and columns of the same indices; leading: first $k$ rows and columns):
  1. $\det(\boldsymbol Q) \ge 0$ and the trace is $\ge 0$
  2. the diagonal entries are all $\ge 0$
  3. all principal minors are $\ge 0$
  4. the leading principal minors are $\ge 0$
Explanation. Semidefiniteness requires all principal minors: $\begin{pmatrix} 0 & 0 \\ 0 & -1 \end{pmatrix}$ has zero leading minors but is not positive semidefinite.
la-f-eig-17 · level facile · notes
What are the eigenvalues, repeated according to multiplicity, of $\boldsymbol Q = \begin{pmatrix} 2 & 1 & 0 \\ 1 & 2 & 0 \\ 0 & 0 & 3 \end{pmatrix}$, i.e. the roots of $\det(\boldsymbol Q - \lambda\boldsymbol I) = 0$?
  1. $-1,\ 3,\ 3$
  2. $1,\ 3,\ 3$
  3. $2,\ 2,\ 3$
  4. $1,\ 2,\ 3$
Explanation. Expanding along the third row: $\det(\boldsymbol Q - \lambda\boldsymbol I) = (3 - \lambda)\big((2-\lambda)^2 - 1\big) = (3-\lambda)(\lambda - 1)(\lambda - 3)$. The matrix is not triangular: the diagonal entries $2, 2, 3$ are not the eigenvalues.
la-f-eig-18 · level facile · notes
The matrix $\boldsymbol Q = \begin{pmatrix} 2 & 1 & 0 \\ 1 & 2 & 0 \\ 0 & 0 & 3 \end{pmatrix}$ has eigenvalues $1$, $3$, $3$. Which vector $\boldsymbol v \neq \boldsymbol 0$ satisfies $\boldsymbol Q\boldsymbol v = 1\cdot\boldsymbol v$?
  1. $(1,\, 0,\, -1)'$
  2. $(1,\, -1,\, 0)'$
  3. $(1,\, 1,\, 0)'$
  4. $(0,\, 0,\, 1)'$
Explanation. $(\boldsymbol Q - \boldsymbol I)\boldsymbol v = \boldsymbol 0$ gives $v_1 + v_2 = 0$ and $2v_3 = 0$: $\boldsymbol v = (1,\, -1,\, 0)'$. $(1,\, 1,\, 0)'$ and $(0,\, 0,\, 1)'$ are eigenvectors of the eigenvalue $3$.
la-f-eigen-k01 · level facile · notes
$\lambda$ is an eigenvalue of $\boldsymbol A$, with eigenvector $\boldsymbol v \neq \boldsymbol 0$, if $\boldsymbol A\boldsymbol v = \lambda\boldsymbol v$. For $\boldsymbol A = \begin{pmatrix} 2 & 1 \\ 1 & 2 \end{pmatrix}$, which pair is correct?
  1. $\boldsymbol v = (1, 0)'$, $\lambda = 2$
  2. $\boldsymbol v = (1, 1)'$, $\lambda = 2$
  3. $\boldsymbol v = (0, 0)'$, $\lambda = 0$
  4. $\boldsymbol v = (1, 1)'$, $\lambda = 3$
Explanation. $\boldsymbol A(1, 1)' = (3, 3)' = 3\,(1, 1)'$. $\boldsymbol A(1, 0)' = (2, 1)'$ is not a multiple of $(1, 0)'$; the zero vector is never an eigenvector.
la-f-eigen-k02 · level facile · notes
For $\boldsymbol A = \begin{pmatrix} 1 & 2 \\ 0 & 3 \end{pmatrix}$, $\boldsymbol v_1 = (1, 0)'$ is an eigenvector of $\lambda = 1$ and $\boldsymbol v_2 = (1, 1)'$ of $\lambda = 3$. What can be said about $\boldsymbol v_1, \boldsymbol v_2$?
  1. They have the same norm
  2. They form a basis of $\R^2$
  3. They are linearly dependent
  4. They are orthogonal
Explanation. Distinct eigenvalues give independent eigenvectors, and two independent vectors of $\R^2$ form a basis. They are not orthogonal: $\boldsymbol v_1'\boldsymbol v_2 = 1$.
la-f-eigen-k03 · level facile · notes
What is the trace of $\begin{pmatrix} 3 & 7 \\ -2 & 5 \end{pmatrix}$?
  1. $8$
  2. $29$
  3. $13$
  4. $15$
Explanation. Sum of the diagonal entries: $3 + 5$.
la-f-eigen-k04 · level facile · notes
A $2 \times 2$ matrix has trace $7$ and determinant $10$. What are its eigenvalues?
  1. $1$ and $10$
  2. $7$ and $10$
  3. $2$ and $5$
  4. $3$ and $4$
Explanation. Sum $7$, product $10$.
la-f-eigen-k05 · level facile · notes
Eigenvectors associated with two distinct eigenvalues of a matrix are:
  1. linearly dependent
  2. linearly independent
  3. always orthogonal
  4. multiples of each other
Explanation. Independence always holds; orthogonality only for symmetric matrices.
la-f-eigen-k06 · level ipotesi · notes
To prove that eigenvectors of distinct eigenvalues are independent, which assumption is essential?
  1. That the eigenvalues are pairwise distinct
  2. That the matrix is symmetric
  3. That the matrix is upper triangular
  4. That the eigenvectors all have norm $1$
Explanation. With equal eigenvalues the eigenvectors can be proportional.
la-f-eigen-k07 · level facile · notes
For a $3 \times 3$ matrix with eigenvalues $1$, $2$, $-3$, what are trace and determinant?
  1. Trace $6$, determinant $0$
  2. Trace $-6$, determinant $0$
  3. Trace $0$, determinant $6$
  4. Trace $0$, determinant $-6$
Explanation. Trace = sum, determinant = product of the eigenvalues.
la-f-eigen-k08 · level facile · notes
An eigenvalue $\lambda$ of a matrix $\boldsymbol A \in \R^{3\times 3}$ is known (a root of $\det(\boldsymbol A - \lambda\boldsymbol I) = 0$). How are the eigenvectors associated with $\lambda$ found?
  1. By solving $(\boldsymbol A - \lambda\boldsymbol I)\boldsymbol v = \boldsymbol 0$
  2. By computing $\det(\boldsymbol A)$
  3. By inverting $\boldsymbol A - \lambda\boldsymbol I$
  4. By taking the columns of $\boldsymbol A$
Explanation. $\boldsymbol A - \lambda\boldsymbol I$ is singular: the system has nonzero solutions.
la-f-eigen-k09 · level facile · notes
What are the eigenvalues of $\mathrm{diag}(5, -2, 0)$?
  1. $5$, $-2$, $0$
  2. $5$ and $-2$ only
  3. $3$
  4. $1$, $1$, $1$
Explanation. For diagonal (and triangular) matrices the eigenvalues are the diagonal entries, $0$ included.
la-f-eigen-k10 · level teorema · notes
Which statement about the eigenvalues of a triangular matrix is correct?
  1. They are always positive numbers
  2. They are the entries of the main diagonal
  3. They are the entries of the last row of the matrix
  4. They all equal the trace
Explanation. $\det(\boldsymbol A - \lambda\boldsymbol I) = \prod_i (a_{ii} - \lambda)$.
la-f-eigen-k11 · level ipotesi · notes
To prove that the eigenvalues of a triangular matrix are its diagonal entries, which fact is used?
  1. That the matrix is invertible
  2. Cramer's rule
  3. $\boldsymbol A - \lambda\boldsymbol I$ stays triangular
  4. That the matrix is symmetric
Explanation. $\det(\boldsymbol A - \lambda\boldsymbol I) = 0 \iff \lambda = a_{ii}$ for some $i$.
la-f-eigen-k12 · level teorema · notes
What does Sylvester's criterion state for a symmetric matrix $\boldsymbol Q$?
  1. $\boldsymbol Q$ is positive definite iff its trace and determinant are positive
  2. $\boldsymbol Q$ is positive definite iff its leading principal minors are all positive
  3. $\boldsymbol Q$ is positive definite iff all entries of $\boldsymbol Q$ are positive
  4. $\boldsymbol Q$ is positive definite iff the determinant $\det(\boldsymbol Q)$ is positive
Explanation. All leading principal minors $\Delta_1, \dots, \Delta_n$ are needed, not only the determinant; positive trace and determinant suffice only for $n = 2$, and positive entries never suffice.
la-f-eigen-k13 · level facile · notes
A matrix $\boldsymbol A \in \R^{3\times 3}$ has three distinct eigenvalues $1$, $2$, $5$, with eigenvectors $\boldsymbol v_1, \boldsymbol v_2, \boldsymbol v_3$. Which statement is true?
  1. $\boldsymbol v_1, \boldsymbol v_2, \boldsymbol v_3$ may be dependent
  2. $\boldsymbol v_1, \boldsymbol v_2, \boldsymbol v_3$ form a basis of $\R^3$
  3. $\boldsymbol v_1, \boldsymbol v_2, \boldsymbol v_3$ are always orthogonal
  4. $\boldsymbol v_1, \boldsymbol v_2, \boldsymbol v_3$ all have norm $1$
Explanation. Eigenvectors of distinct eigenvalues are linearly independent, and three independent vectors of $\R^3$ form a basis. Orthogonality is not guaranteed (only for symmetric matrices).
la-f-eigen-k14 · level facile · notes
Let $\boldsymbol v_1, \boldsymbol v_2$ be eigenvectors of $\boldsymbol A$ with distinct eigenvalues $\lambda_1 \neq \lambda_2$. Is the vector $\boldsymbol v_1 + \boldsymbol v_2$ an eigenvector of $\boldsymbol A$?
  1. Yes, with eigenvalue $\frac{\lambda_1 + \lambda_2}{2}$
  2. Yes, with eigenvalue $\lambda_1\lambda_2$
  3. No, never
  4. Yes, with eigenvalue $\lambda_1 + \lambda_2$
Explanation. $\boldsymbol A(\boldsymbol v_1 + \boldsymbol v_2) = \lambda_1\boldsymbol v_1 + \lambda_2\boldsymbol v_2$; if it were $\mu(\boldsymbol v_1 + \boldsymbol v_2)$, the independence of $\boldsymbol v_1, \boldsymbol v_2$ would give $\lambda_1 = \mu = \lambda_2$, a contradiction.

Part: Norms (77)

5. Norms (77)

la-f-norm-01 · level facile · notes
What is the Euclidean norm $\|\boldsymbol p\|_2 = \sqrt{\sum_j p_j^2}$ for $\boldsymbol p = (3,\, -4,\, 12)'$?
  1. $19$
  2. $12$
  3. $169$
  4. $13$
Explanation. $\|\boldsymbol p\|_2 = \sqrt{9 + 16 + 144} = \sqrt{169} = 13$. $19$ is the $\ell_1$ norm, $12$ the $\ell_\infty$ norm, $169$ forgets the square root.
la-f-norm-02 · level facile · notes
What is the norm $\|\boldsymbol p\|_1 = \sum_j |p_j|$ for $\boldsymbol p = (3,\, -4,\, 12)'$?
  1. $13$
  2. $12$
  3. $19$
  4. $11$
Explanation. $\|\boldsymbol p\|_1 = |3| + |-4| + |12| = 19$: the absolute values are added. $11$ forgets the absolute value.
la-f-norm-03 · level facile · notes
What is the norm $\|\boldsymbol p\|_\infty = \max_j |p_j|$ for $\boldsymbol p = (3,\, -14,\, 12)'$?
  1. $29$
  2. $3$
  3. $14$
  4. $12$
Explanation. $\|\boldsymbol p\|_\infty = \max_j |p_j| = \max\{3, 14, 12\} = 14$; the maximum without absolute value would give $12$.
la-f-norm-04 · level teorema · notes
Which property holds for every norm $\|\cdot\|$ on $\R^n$, for all $\boldsymbol p, \boldsymbol w \in \R^n$ and $\lambda \in \R$?
  1. $\|\lambda\,\boldsymbol p\| = \lambda\,\|\boldsymbol p\|$
  2. $\|\boldsymbol p + \boldsymbol w\| = \|\boldsymbol p\| + \|\boldsymbol w\|$
  3. $\|\boldsymbol p\| = 0$ for some $\boldsymbol p \neq \boldsymbol 0$
  4. $\|\lambda\,\boldsymbol p\| = |\lambda|\,\|\boldsymbol p\|$
Explanation. It is absolute homogeneity: the scalar comes out in absolute value (a norm is never negative). For the sum only the triangle inequality holds, and the norm vanishes only at $\boldsymbol 0$.
la-f-norm-05 · level teorema · notes
Let $\boldsymbol p'\boldsymbol w = \sum_j p_j w_j$, $\|\boldsymbol p\|_2 = \sqrt{\boldsymbol p'\boldsymbol p}$ and $\|\boldsymbol p\|_\infty = \max_j |p_j|$. Which inequality holds for every $\boldsymbol p, \boldsymbol w \in \R^n$ (Cauchy–Schwarz)?
  1. $\|\boldsymbol p + \boldsymbol w\|_2 \ge \|\boldsymbol p\|_2 + \|\boldsymbol w\|_2$
  2. $|\boldsymbol p'\,\boldsymbol w| \le \|\boldsymbol p\|_2\,\|\boldsymbol w\|_2$
  3. $|\boldsymbol p'\,\boldsymbol w| \ge \|\boldsymbol p\|_2\,\|\boldsymbol w\|_2$
  4. $|\boldsymbol p'\,\boldsymbol w| \le \|\boldsymbol p\|_\infty\,\|\boldsymbol w\|_\infty$
Explanation. It is the Cauchy–Schwarz inequality. With $\boldsymbol p = \boldsymbol w = (1,1)'$ the third one gives $2 \le 1$, false; the last one reverses the triangle inequality.
la-f-norm-06 · level teorema · notes
Let $\|\boldsymbol p\|_1 = \sum_j |p_j|$, $\|\boldsymbol p\|_2 = \sqrt{\sum_j p_j^2}$ and $\|\boldsymbol p\|_\infty = \max_j |p_j|$. For every $\boldsymbol p \in \R^n$:
  1. $\|\boldsymbol p\|_\infty \le \|\boldsymbol p\|_2 \le \|\boldsymbol p\|_1 \le n\,\|\boldsymbol p\|_\infty$
  2. $\|\boldsymbol p\|_1 \le \|\boldsymbol p\|_2 \le \|\boldsymbol p\|_\infty$
  3. $\|\boldsymbol p\|_2 \le \|\boldsymbol p\|_\infty \le \|\boldsymbol p\|_1$
  4. $\|\boldsymbol p\|_1 \le \|\boldsymbol p\|_\infty \le n\,\|\boldsymbol p\|_2$
Explanation. For instance $\boldsymbol p = (3, -4, 12)'$: $12 \le 13 \le 19 \le 36$. Moreover $\|\boldsymbol p\|_1 \le \sqrt n\,\|\boldsymbol p\|_2$.
la-f-norm-07 · level facile · notes
In $\R^2$, what shape is the set of points with $\|\boldsymbol x\|_1 = |x_1| + |x_2| \le 1$?
  1. a diamond centred at the origin
  2. the unit circle centred at the origin
  3. a square with sides parallel to the axes
  4. a rotated ellipse centred at the origin
Explanation. $|x_1| + |x_2| \le 1$ is a diamond with vertices $(\pm 1, 0)$ and $(0, \pm 1)$; the circle corresponds to $\ell_2$, the axis-aligned square to $\ell_\infty$.
la-f-norm-08 · level facile · notes
To define the generalized $\ell_2$ norm $\|\boldsymbol p\|_{\boldsymbol Q} = \sqrt{\boldsymbol p'\boldsymbol Q\,\boldsymbol p}$, the matrix $\boldsymbol Q$ must be:
  1. invertible (nonzero determinant)
  2. symmetric positive definite
  3. symmetric, of any sign
  4. positive semidefinite
Explanation. We need $\boldsymbol p'\boldsymbol Q\,\boldsymbol p \ge 0$ for the square root, and $= 0$ only for $\boldsymbol p = \boldsymbol 0$ for definiteness: hence positive definite. With $\boldsymbol Q = \boldsymbol I$ we get back $\|\cdot\|_2$.
la-f-norm-09 · level facile · notes
Let $\|\boldsymbol p\|_{\boldsymbol Q} = \sqrt{\boldsymbol p'\boldsymbol Q\,\boldsymbol p}$ be the generalized $\ell_2$ norm, with $\boldsymbol Q = \begin{pmatrix} 4 & 0 \\ 0 & 1 \end{pmatrix}$. What is $\|\boldsymbol p\|_{\boldsymbol Q}$ for $\boldsymbol p = (1,\, 2)'$?
  1. $\sqrt 5$
  2. $8$
  3. $\sqrt 6$
  4. $2\sqrt 2$
Explanation. $\boldsymbol p'\boldsymbol Q\,\boldsymbol p = 4\cdot 1^2 + 1\cdot 2^2 = 8$, hence $\|\boldsymbol p\|_{\boldsymbol Q} = \sqrt 8 = 2\sqrt 2$. $\sqrt 5$ is $\|\boldsymbol p\|_2$, $8$ forgets the square root.
la-f-norm-10 · level ipotesi · notes
We want to prove the Cauchy–Schwarz inequality $|\boldsymbol p'\,\boldsymbol w| \le \|\boldsymbol p\|_2\,\|\boldsymbol w\|_2$ for every $\boldsymbol p, \boldsymbol w \in \R^n$. Which fact is the proof based on?
  1. the inequality $\|\boldsymbol p\|_\infty \le \|\boldsymbol p\|_2$, applied both to $\boldsymbol p$ and to $\boldsymbol w$
  2. $\boldsymbol u = \alpha\boldsymbol p + \beta\boldsymbol w$ has $\boldsymbol u'\boldsymbol u \ge 0$ for every $\alpha, \beta \in \R$, with well-chosen $\alpha, \beta$
  3. the triangle inequality $\|\boldsymbol p + \boldsymbol w\|_2 \le \|\boldsymbol p\|_2 + \|\boldsymbol w\|_2$, squared
  4. the inequality $\|\boldsymbol p\|_2 \le \|\boldsymbol p\|_1$, applied both to $\boldsymbol p$ and to $\boldsymbol w$
Explanation. $\boldsymbol u'\boldsymbol u = \alpha^2\,\boldsymbol p'\boldsymbol p + 2\alpha\beta\,\boldsymbol p'\boldsymbol w + \beta^2\,\boldsymbol w'\boldsymbol w \ge 0$; with $\alpha = \boldsymbol w'\boldsymbol w$ and $\beta = -\boldsymbol p'\boldsymbol w$ the claim follows. The triangle inequality of the $\ell_2$ norm is in turn proved with Cauchy–Schwarz.
la-f-norm-11 · level ipotesi · notes
Let $\boldsymbol p \in \R^n$. Which step proves the inequality $\|\boldsymbol p\|_1 \le \sqrt n\,\|\boldsymbol p\|_2$?
  1. the inequality $\|\boldsymbol p\|_\infty \le \|\boldsymbol p\|_2$, multiplied by $\sqrt n$
  2. the triangle inequality of the $\ell_1$ norm applied to $\boldsymbol p = \sum_j p_j\boldsymbol e_j$
  3. Cauchy–Schwarz applied to $\boldsymbol 1 = (1, \dots, 1)'$ and to the vector $(|p_1|, \dots, |p_n|)'$
  4. Cauchy–Schwarz applied to $\boldsymbol 1 = (1, \dots, 1)'$ and to $\boldsymbol p$, without absolute values
Explanation. $\|\boldsymbol p\|_1 = \sum_j 1\cdot|p_j| \le \|\boldsymbol 1\|_2\,\sqrt{\sum_j p_j^2} = \sqrt n\,\|\boldsymbol p\|_2$. Without absolute values only $|\sum_j p_j|$ is bounded; with $\|\boldsymbol p\|_1 \le n\|\boldsymbol p\|_\infty$ one would get the factor $n$.
la-f-norm-12 · level ipotesi · notes
The generalized Cauchy–Schwarz inequality is $|\boldsymbol p'\boldsymbol Q\,\boldsymbol w| \le \|\boldsymbol p\|_{\boldsymbol Q}\|\boldsymbol w\|_{\boldsymbol Q}$, with $\|\boldsymbol x\|_{\boldsymbol Q} = \sqrt{\boldsymbol x'\boldsymbol Q\,\boldsymbol x}$. Which assumptions on $\boldsymbol Q \in \R^{n\times n}$ does the proof use?
  1. $\boldsymbol Q$ symmetric and positive definite
  2. $\boldsymbol Q$ diagonal with nonzero diagonal entries
  3. $\boldsymbol Q$ invertible, with eigenvalues of any sign
  4. $\boldsymbol Q$ positive semidefinite, possibly not symmetric
Explanation. Symmetry gives $\boldsymbol w'\boldsymbol Q\,\boldsymbol p = \boldsymbol p'\boldsymbol Q\,\boldsymbol w$; positive definiteness gives $\boldsymbol u'\boldsymbol Q\,\boldsymbol u \ge 0$ for every $\boldsymbol u$ and $\boldsymbol w'\boldsymbol Q\,\boldsymbol w > 0$ for $\boldsymbol w \neq \boldsymbol 0$, and makes $\|\cdot\|_{\boldsymbol Q}$ a norm.
la-f-norm-13 · level facile · notes
What is the Euclidean distance $\|\boldsymbol p - \boldsymbol w\|_2$ between $\boldsymbol p = (1,\, 4)'$ and $\boldsymbol w = (4,\, 1)'$?
  1. $3\sqrt 2$
  2. $6$
  3. $3$
  4. $18$
Explanation. $\boldsymbol p - \boldsymbol w = (-3, 3)'$ and $\sqrt{9 + 9} = \sqrt{18} = 3\sqrt 2$. $6$ is the $\ell_1$ distance, $3$ the $\ell_\infty$ distance.
la-f-norm-14 · level ipotesi · notes
How is the reverse triangle inequality $\big|\|\boldsymbol p\|_2 - \|\boldsymbol w\|_2\big| \le \|\boldsymbol p - \boldsymbol w\|_2$ obtained, for every $\boldsymbol p, \boldsymbol w \in \R^n$?
  1. from the triangle inequality applied only to $\boldsymbol p = (\boldsymbol p - \boldsymbol w) + \boldsymbol w$
  2. from Cauchy–Schwarz applied to the two vectors $\boldsymbol p - \boldsymbol w$ and $\boldsymbol p + \boldsymbol w$
  3. from homogeneity $\|\lambda\boldsymbol p\|_2 = |\lambda|\,\|\boldsymbol p\|_2$ with $\lambda = -1$
  4. from the triangle inequality applied to $\boldsymbol p = (\boldsymbol p - \boldsymbol w) + \boldsymbol w$ and to $\boldsymbol w = (\boldsymbol w - \boldsymbol p) + \boldsymbol p$
Explanation. The first expression gives $\|\boldsymbol p\|_2 - \|\boldsymbol w\|_2 \le \|\boldsymbol p - \boldsymbol w\|_2$, the second $\|\boldsymbol w\|_2 - \|\boldsymbol p\|_2 \le \|\boldsymbol w - \boldsymbol p\|_2 = \|\boldsymbol p - \boldsymbol w\|_2$: together they give the absolute value. Only one of the two is not enough.
la-f-norm-15 · level facile · notes
Let $\|\boldsymbol x\|_{\boldsymbol Q} = \sqrt{\boldsymbol x'\boldsymbol Q\,\boldsymbol x}$ with $\boldsymbol Q = \begin{pmatrix} 4 & 0 \\ 0 & 1 \end{pmatrix}$. The set $\{\boldsymbol x \in \R^2 : \|\boldsymbol x\|_{\boldsymbol Q} \le 1\}$ is an ellipse with axes along the coordinate axes. What are the lengths of the semi-axes?
  1. $\frac{1}{4}$ and $1$
  2. $\frac{1}{2}$ and $1$
  3. $4$ and $1$
  4. $2$ and $1$
Explanation. The semi-axes have length $1/\sqrt{\lambda_i}$, with $\lambda_i$ the eigenvalues of $\boldsymbol Q$: $1/\sqrt 4 = \frac{1}{2}$ and $1/\sqrt 1 = 1$. Indeed $4x_1^2 + x_2^2 \le 1$.
la-f-norm-16 · level teorema · notes
A function $\|\cdot\|: \R^n \rightarrow \R$ is a norm if, for every $\boldsymbol p, \boldsymbol w \in \R^n$ and $\lambda \in \R$, $\|\boldsymbol p\| \ge 0$ with $\|\boldsymbol p\| = 0 \Leftrightarrow \boldsymbol p = \boldsymbol 0$, $\|\lambda\boldsymbol p\| = |\lambda|\,\|\boldsymbol p\|$ and moreover:
  1. $\|\boldsymbol p + \boldsymbol w\| \ge \|\boldsymbol p\| + \|\boldsymbol w\|$
  2. $|\boldsymbol p'\,\boldsymbol w| \le \|\boldsymbol p\|\,\|\boldsymbol w\|$
  3. $\|\boldsymbol p + \boldsymbol w\| \le \|\boldsymbol p\| + \|\boldsymbol w\|$
  4. $\|\boldsymbol p + \boldsymbol w\| = \|\boldsymbol p\| + \|\boldsymbol w\|$
Explanation. The third axiom is the triangle inequality. Equality holds only in special cases (for instance $\boldsymbol w = \boldsymbol p$); Cauchy–Schwarz is a property of the $\ell_2$ norm, not an axiom.
la-f-norm-17 · level facile · notes
The $\ell_\infty$ norm is $\|\boldsymbol p\|_\infty = \max_j |p_j|$. For $\boldsymbol p = (1,\, -2)'$ and $\boldsymbol w = (3,\, 2)'$, what are $\|\boldsymbol p + \boldsymbol w\|_\infty$ and $\|\boldsymbol p\|_\infty + \|\boldsymbol w\|_\infty$?
  1. $4$ and $5$
  2. $4$ and $4$
  3. $5$ and $5$
  4. $3$ and $5$
Explanation. $\boldsymbol p + \boldsymbol w = (4,\, 0)'$, hence $\|\boldsymbol p + \boldsymbol w\|_\infty = 4$, while $\|\boldsymbol p\|_\infty + \|\boldsymbol w\|_\infty = 2 + 3 = 5$: here the triangle inequality is strict.
la-f-norms-k01 · level facile · notes
What are the three properties defining a norm $\|\cdot\|$ on $\R^n$?
  1. Linearity, symmetry, positivity
  2. Additivity, continuity, monotonicity
  3. Commutativity, associativity, distributivity
  4. Positivity, homogeneity, triangle inequality
Explanation. $\|\boldsymbol p\| \ge 0$ with $= 0$ only for $\boldsymbol 0$; $\|\alpha\boldsymbol p\| = |\alpha|\,\|\boldsymbol p\|$; $\|\boldsymbol p + \boldsymbol w\| \le \|\boldsymbol p\| + \|\boldsymbol w\|$.
la-f-norms-k02 · level facile · notes
Is a norm linear, i.e. $\|\boldsymbol p + \boldsymbol w\| = \|\boldsymbol p\| + \|\boldsymbol w\|$ for all $\boldsymbol p, \boldsymbol w$?
  1. No: only $\le$ holds
  2. Yes, for every norm
  3. Yes, but only for the $\ell_1$ norm
  4. Yes, but only in $\R^2$
Explanation. For instance $\|(1,0)' + (-1,0)'\|_1 = 0 < 2$.
la-f-norms-k03 · level facile · notes
The $\ell_1$ norm of $\boldsymbol p \in \R^2$ is $\|\boldsymbol p\|_1 = |p_1| + |p_2|$. How many vectors $\boldsymbol p \in \R^2$ with integer components have $\|\boldsymbol p\|_1 = 1$?
  1. $2$
  2. $1$
  3. $8$
  4. $4$
Explanation. One component must be $\pm 1$ and the other $0$: $(1, 0)'$, $(-1, 0)'$, $(0, 1)'$, $(0, -1)'$, the vertices of the diamond $\|\boldsymbol p\|_1 = 1$. $2$ forgets the vectors with negative components.
la-f-norms-k04 · level facile · notes
Why is the $\ell_1$ norm also called the Manhattan norm?
  1. Because it is the straight-line distance
  2. Because it takes the maximum component
  3. It adds the moves along the axes
  4. Because it is the most used in New York
Explanation. The displacements along each axis are added.
la-f-norms-k05 · level facile · notes
For the norm $\|\boldsymbol p\|_1 = \sum_j |p_j|$, when is $\|\boldsymbol p\|_1 = 0$?
  1. Only for $\boldsymbol p = \boldsymbol 0$
  2. For every $\boldsymbol p$ whose components sum to zero
  3. Never
  4. For vectors with negative components
Explanation. A sum of absolute values is zero only if all are zero.
la-f-norms-k06 · level facile · notes
For $\|\boldsymbol p\|_1 = \sum_j |p_j|$, what is $\|-3\,\boldsymbol p\|_1$ if $\|\boldsymbol p\|_1 = 4$?
  1. $12$
  2. $-12$
  3. $4$
  4. $36$
Explanation. Homogeneity: $|{-3}| \cdot 4$.
la-f-norms-k07 · level facile · notes
For $\|\boldsymbol p\|_1 = \sum_j |p_j|$ with $\boldsymbol p = (1, -2)'$ and $\boldsymbol w = (3, 2)'$, which relation holds?
  1. $\|\boldsymbol p + \boldsymbol w\|_1 = 8 = \|\boldsymbol p\|_1 + \|\boldsymbol w\|_1$
  2. $\|\boldsymbol p + \boldsymbol w\|_1 = 0 \le 8 = \|\boldsymbol p\|_1 + \|\boldsymbol w\|_1$
  3. $\|\boldsymbol p + \boldsymbol w\|_1 = 4 \le 8 = \|\boldsymbol p\|_1 + \|\boldsymbol w\|_1$
  4. $\|\boldsymbol p + \boldsymbol w\|_1 = 4 \le 6 = \|\boldsymbol p\|_1 + \|\boldsymbol w\|_1$
Explanation. $\boldsymbol p + \boldsymbol w = (4, 0)'$, so $\|\boldsymbol p + \boldsymbol w\|_1 = 4$, while $\|\boldsymbol p\|_1 = 3$ and $\|\boldsymbol w\|_1 = 5$: $4 \le 8$, with strict inequality.
la-f-norms-k08 · level ipotesi · notes
The triangle inequality for the $\ell_1$ norm is proved componentwise. Which fact is used?
  1. $|p_j + w_j| \le |p_j| + |w_j|$ for every $j$
  2. The Cauchy–Schwarz inequality
  3. That $\boldsymbol p$ and $\boldsymbol w$ are orthogonal
  4. That the components are positive
Explanation. The triangle inequality for reals is summed over all components.
la-f-norms-k09 · level facile · notes
The Euclidean norm of $\boldsymbol p \in \R^2$ is $\|\boldsymbol p\|_2 = \sqrt{p_1^2 + p_2^2}$. How many vectors $\boldsymbol p \in \R^2$ with integer components have $\|\boldsymbol p\|_2 = 5$?
  1. $4$
  2. $8$
  3. $6$
  4. $12$
Explanation. $p_1^2 + p_2^2 = 25$ with integers: $(\pm 5, 0)$, $(0, \pm 5)$ (there are $4$) and $(\pm 3, \pm 4)$, $(\pm 4, \pm 3)$ (there are $8$): $12$ in all. $4$ considers only the points on the axes.
la-f-norms-k10 · level facile · notes
How is the Euclidean norm expressed through the dot product?
  1. $\|\boldsymbol p\|_2 = \sqrt{\boldsymbol p'\boldsymbol p}$
  2. $\|\boldsymbol p\|_2 = \boldsymbol p'\boldsymbol p$
  3. $\|\boldsymbol p\|_2 = \boldsymbol p\,\boldsymbol p'$
  4. $\|\boldsymbol p\|_2 = \sqrt{\boldsymbol p\,\boldsymbol p'}$
Explanation. $\boldsymbol p'\boldsymbol p = \sum_j p_j^2$ is a scalar; $\boldsymbol p\,\boldsymbol p'$ is a matrix.
la-f-norms-k11 · level facile · notes
For $\boldsymbol p = (1, 2)'$ and $\boldsymbol w = (3, 1)'$, which check of Cauchy–Schwarz $|\boldsymbol p'\boldsymbol w| \le \|\boldsymbol p\|_2\|\boldsymbol w\|_2$ is correct?
  1. $5 \le \sqrt{5}\sqrt{10} = \sqrt{50}$
  2. $5 \le \sqrt{5}\sqrt{10} = 5$
  3. $7 \le \sqrt{5}\sqrt{10} = \sqrt{50}$
  4. $5 \le \sqrt{3}\sqrt{4} = \sqrt{12}$
Explanation. $\boldsymbol p'\boldsymbol w = 3 + 2 = 5$, $\|\boldsymbol p\|_2 = \sqrt 5$, $\|\boldsymbol w\|_2 = \sqrt{10}$ and $\sqrt{50} \approx 7.07 \ge 5$. $\sqrt5\sqrt{10}$ is not $5$; $7$ is not the scalar product; $\sqrt 3$ and $\sqrt 4$ are not the norms.
la-f-norms-k12 · level facile · notes
When does equality hold in the Cauchy–Schwarz inequality $|\boldsymbol p'\boldsymbol w| \le \|\boldsymbol p\|_2\|\boldsymbol w\|_2$?
  1. Never
  2. When they have the same norm
  3. When they are dependent
  4. When they are orthogonal
Explanation. Parallel vectors (or one of them zero).
la-f-norms-k13 · level teorema · notes
What does the Cauchy–Schwarz inequality state in $\R^n$?
  1. $\|\boldsymbol p + \boldsymbol w\|_2 \le \|\boldsymbol p\|_2 + \|\boldsymbol w\|_2$
  2. $|\boldsymbol p'\boldsymbol w| \ge \|\boldsymbol p\|_2\,\|\boldsymbol w\|_2$
  3. $\boldsymbol p'\boldsymbol w = \|\boldsymbol p\|_2\,\|\boldsymbol w\|_2$
  4. $|\boldsymbol p'\boldsymbol w| \le \|\boldsymbol p\|_2\,\|\boldsymbol w\|_2$
Explanation. The second is the triangle inequality, which follows from it.
la-f-norms-k14 · level ipotesi · notes
A proof of Cauchy–Schwarz studies $f(t) = \|\boldsymbol p + t\boldsymbol w\|_2^2 \ge 0$, a quadratic polynomial in $t$. What is then used?
  1. The discriminant of $f$ is $\le 0$
  2. $f$ has two distinct real roots
  3. $f$ is linear
  4. $\boldsymbol p$ and $\boldsymbol w$ are orthogonal
Explanation. $f(t) = \|\boldsymbol w\|^2 t^2 + 2\boldsymbol p'\boldsymbol w\,t + \|\boldsymbol p\|^2 \ge 0$ for every $t$.
la-f-norms-k15 · level facile · notes
For $\|\boldsymbol p\|_2 = \sqrt{\sum_j p_j^2}$, which statement is correct?
  1. $\|\boldsymbol p\|_2 = 0$ for every unit vector
  2. $\|\boldsymbol p\|_2 > 0$ also for $\boldsymbol p = \boldsymbol 0$
  3. $\|\boldsymbol p\|_2 \ge 0$, with equality only for $\boldsymbol p = \boldsymbol 0$
  4. $\|\boldsymbol p\|_2$ can be negative for some $\boldsymbol p$
Explanation. Square root of a sum of squares.
la-f-norms-k16 · level facile · notes
If $\|\boldsymbol p\|_2 = 5$, what is $\|\frac{1}{5}\boldsymbol p\|_2$?
  1. $25$
  2. $1$
  3. $5$
  4. $\frac{1}{25}$
Explanation. Homogeneity: dividing by the norm gives a unit vector.
la-f-norms-k17 · level facile · notes
For the Euclidean norm, which inequality always holds?
  1. $\|\boldsymbol p + \boldsymbol w\|_2 \ge \|\boldsymbol p\|_2 + \|\boldsymbol w\|_2$
  2. $\|\boldsymbol p + \boldsymbol w\|_2^2 = \|\boldsymbol p\|_2^2 + \|\boldsymbol w\|_2^2$
  3. $\|\boldsymbol p\|_2 \le \|\boldsymbol p + \boldsymbol w\|_2$
  4. $\|\boldsymbol p + \boldsymbol w\|_2 \le \|\boldsymbol p\|_2 + \|\boldsymbol w\|_2$
Explanation. The third holds only for orthogonal vectors (Pythagoras).
la-f-norms-k18 · level ipotesi · notes
The triangle inequality for the $\ell_2$ norm is obtained by expanding $\|\boldsymbol p + \boldsymbol w\|_2^2$. Which result is needed?
  1. That $\boldsymbol p$ and $\boldsymbol w$ are positive
  2. Sylvester's criterion
  3. The Cauchy–Schwarz inequality
  4. The triangle inequality for reals only
Explanation. $\|\boldsymbol p\|^2 + 2\boldsymbol p'\boldsymbol w + \|\boldsymbol w\|^2 \le (\|\boldsymbol p\| + \|\boldsymbol w\|)^2$ uses $\boldsymbol p'\boldsymbol w \le \|\boldsymbol p\|\|\boldsymbol w\|$.
la-f-norms-k19 · level facile · notes
For $\boldsymbol p = (3, 0)'$ and $\boldsymbol w = (0, 4)'$, what is $\|\boldsymbol p + \boldsymbol w\|_2$?
  1. $5$
  2. $7$
  3. $25$
  4. $1$
Explanation. $\sqrt{9 + 16} = 5 < 3 + 4$.
la-f-norms-k20 · level teorema · notes
Which reverse triangle inequality holds for the Euclidean norm?
  1. $\big|\|\boldsymbol p\|_2 - \|\boldsymbol w\|_2\big| \le \|\boldsymbol p - \boldsymbol w\|_2$
  2. $\|\boldsymbol p - \boldsymbol w\|_2 \le \big|\|\boldsymbol p\|_2 - \|\boldsymbol w\|_2\big|$
  3. $\|\boldsymbol p - \boldsymbol w\|_2 = \|\boldsymbol p\|_2 - \|\boldsymbol w\|_2$
  4. $\|\boldsymbol p\|_2 \le \|\boldsymbol w\|_2$
Explanation. It follows from the triangle inequality applied twice.
la-f-norms-k21 · level facile · notes
With the generalized $\ell_2$ norm $\|\boldsymbol p\|_{\boldsymbol Q} = \sqrt{\boldsymbol p'\boldsymbol Q\boldsymbol p}$ and $\boldsymbol Q = \mathrm{diag}(4, 9)$, what is $\|(1, 1)'\|_{\boldsymbol Q}$?
  1. $5$
  2. $13$
  3. $\sqrt{2}$
  4. $\sqrt{13}$
Explanation. $\sqrt{4 + 9}$.
la-f-norms-k22 · level ipotesi · notes
For $\|\boldsymbol p\|_{\boldsymbol Q} = \sqrt{\boldsymbol p'\boldsymbol Q\boldsymbol p}$ to be a norm, which assumption on $\boldsymbol Q$ is needed?
  1. $\boldsymbol Q$ symmetric positive definite
  2. $\boldsymbol Q$ with all entries positive
  3. any diagonal matrix $\boldsymbol Q$
  4. any invertible matrix $\boldsymbol Q$
Explanation. $\boldsymbol p'\boldsymbol Q\boldsymbol p > 0$ for $\boldsymbol p \neq \boldsymbol 0$ is needed.
la-f-norms-k23 · level facile · notes
What does the generalized Cauchy–Schwarz inequality state, for symmetric positive definite $\boldsymbol Q$?
  1. $|\boldsymbol p'\boldsymbol Q\boldsymbol w| \le \|\boldsymbol p\|_{\boldsymbol Q}\,\|\boldsymbol w\|_{\boldsymbol Q}$
  2. $|\boldsymbol p'\boldsymbol w| \le \|\boldsymbol p\|_{\boldsymbol Q}\,\|\boldsymbol w\|_{\boldsymbol Q}$
  3. $|\boldsymbol p'\boldsymbol Q\boldsymbol w| \ge \|\boldsymbol p\|_{\boldsymbol Q}\,\|\boldsymbol w\|_{\boldsymbol Q}$
  4. $\boldsymbol p'\boldsymbol Q\boldsymbol w = 0$
Explanation. With $\boldsymbol Q = \boldsymbol I$ we get Cauchy–Schwarz.
la-f-norms-k24 · level facile · notes
With $\boldsymbol Q = \mathrm{diag}(1, 4)$, $\boldsymbol p = (1, 1)'$, $\boldsymbol w = (2, 1)'$, what is $\boldsymbol p'\boldsymbol Q\boldsymbol w$?
  1. $5$
  2. $6$
  3. $3$
  4. $9$
Explanation. $1 \cdot 1 \cdot 2 + 4 \cdot 1 \cdot 1 = 6$.
la-f-norms-k25 · level facile · notes
For symmetric positive definite $\boldsymbol Q$, when is $\|\boldsymbol p\|_{\boldsymbol Q} = 0$?
  1. For every $\boldsymbol p$ in the kernel of $\boldsymbol Q$, even nonzero
  2. Never
  3. For $\boldsymbol p$ with negative components
  4. Only for $\boldsymbol p = \boldsymbol 0$
Explanation. Positive definite: $\boldsymbol p'\boldsymbol Q\boldsymbol p > 0$ if $\boldsymbol p \neq \boldsymbol 0$.
la-f-norms-k26 · level facile · notes
If $\|\boldsymbol p\|_{\boldsymbol Q} = 3$, what is $\|2\boldsymbol p\|_{\boldsymbol Q}$?
  1. $3$
  2. $6$
  3. $12$
  4. $9$
Explanation. $\sqrt{(2\boldsymbol p)'\boldsymbol Q(2\boldsymbol p)} = 2\sqrt{\boldsymbol p'\boldsymbol Q\boldsymbol p}$.
la-f-norms-k27 · level facile · notes
The triangle inequality $\|\boldsymbol p + \boldsymbol w\|_{\boldsymbol Q} \le \|\boldsymbol p\|_{\boldsymbol Q} + \|\boldsymbol w\|_{\boldsymbol Q}$ is proved with:
  1. Sylvester's criterion on $\boldsymbol Q$
  2. Cramer's rule
  3. the LU factorization of $\boldsymbol Q$
  4. Generalized Cauchy–Schwarz
Explanation. As for the Euclidean norm, with $\boldsymbol p'\boldsymbol Q\boldsymbol w$ instead of $\boldsymbol p'\boldsymbol w$.
la-f-norms-k28 · level facile · notes
With $\boldsymbol Q = \boldsymbol I$, the norm $\|\cdot\|_{\boldsymbol Q}$ coincides with:
  1. the Euclidean norm $\|\cdot\|_2$
  2. the norm $\|\cdot\|_1$
  3. the norm $\|\cdot\|_\infty$
  4. the absolute value of the sum of components
Explanation. $\sqrt{\boldsymbol p'\boldsymbol I\boldsymbol p} = \sqrt{\boldsymbol p'\boldsymbol p}$.
la-f-norms-k29 · level facile · notes
The $\ell_\infty$ norm is $\|\boldsymbol p\|_\infty = \max_j |p_j|$. Which vector has the largest $\ell_\infty$ norm?
  1. $(0,\, 0,\, -5)'$
  2. $(3,\, -3,\, 3)'$
  3. $(4,\, 4,\, 4)'$
  4. $(1,\, -2,\, 4)'$
Explanation. The $\ell_\infty$ norms are $5$, $3$, $4$ and $4$. $(4, 4, 4)'$ has the largest sum (and $\ell_1$ norm), but only the component of largest absolute value counts.
la-f-norms-k30 · level facile · notes
Which vectors of $\R^2$ have $\|\boldsymbol p\|_\infty \le 1$?
  1. Those of the diamond $|p_1| + |p_2| \le 1$
  2. Those with $p_1 + p_2 \le 1$
  3. Those of the square $[-1, 1] \times [-1, 1]$
  4. Those of the unit disc
Explanation. Each component at most $1$ in absolute value.
la-f-norms-k31 · level facile · notes
For $\|\boldsymbol p\|_\infty = \max_j |p_j|$, which statement is correct?
  1. $\|\boldsymbol p\|_\infty = 0$ if one component is zero
  2. $\|\boldsymbol p\|_\infty \ge \|\boldsymbol p\|_1$
  3. $\|\boldsymbol p\|_\infty = 0$ only for $\boldsymbol p = \boldsymbol 0$
  4. $\|\boldsymbol p\|_\infty$ can be negative
Explanation. The largest absolute value is zero only if all are.
la-f-norms-k32 · level facile · notes
If $\|\boldsymbol p\|_\infty = 4$, what is $\|-\frac12\boldsymbol p\|_\infty$?
  1. $2$
  2. $-2$
  3. $8$
  4. $4$
Explanation. Homogeneity: $|{-\frac12}| \cdot 4$.
la-f-norms-k33 · level facile · notes
For $\boldsymbol p = (1, -3)'$ and $\boldsymbol w = (2, 3)'$, which check of the triangle inequality for $\|\cdot\|_\infty$ is correct?
  1. $\|\boldsymbol p + \boldsymbol w\|_\infty = 3 \le 3$
  2. $\|\boldsymbol p + \boldsymbol w\|_\infty = 3 \le 6$
  3. $\|\boldsymbol p + \boldsymbol w\|_\infty = 6 \le 6$
  4. $\|\boldsymbol p + \boldsymbol w\|_\infty = 0 \le 6$
Explanation. $\boldsymbol p + \boldsymbol w = (3, 0)'$; $\|\boldsymbol p\|_\infty + \|\boldsymbol w\|_\infty = 3 + 3$.
la-f-norms-k34 · level ipotesi · notes
To prove $\|\boldsymbol p + \boldsymbol w\|_\infty \le \|\boldsymbol p\|_\infty + \|\boldsymbol w\|_\infty$, what is used?
  1. That $\boldsymbol p$ and $\boldsymbol w$ have the same maximum
  2. That the components are positive
  3. $|p_j + w_j| \le |p_j| + |w_j|$ for every $j$
  4. Cauchy–Schwarz
Explanation. Bound each component and then take the maximum.
la-f-norms-k35 · level facile · notes
For $\boldsymbol p = (3, -4)'$, in which order are $\|\boldsymbol p\|_\infty$, $\|\boldsymbol p\|_2$, $\|\boldsymbol p\|_1$?
  1. $5 \le 4 \le 7$
  2. $4 \le 7 \le 5$
  3. $4 \le 5 \le 7$
  4. $7 \le 5 \le 4$
Explanation. $\|\boldsymbol p\|_\infty \le \|\boldsymbol p\|_2 \le \|\boldsymbol p\|_1$ always holds.
la-f-norms-k36 · level teorema · notes
Which chain of inequalities between norms holds for every $\boldsymbol p \in \R^n$?
  1. $\|\boldsymbol p\|_1 = \|\boldsymbol p\|_2 = \|\boldsymbol p\|_\infty$
  2. $\|\boldsymbol p\|_\infty \le \|\boldsymbol p\|_2 \le \|\boldsymbol p\|_1 \le n\,\|\boldsymbol p\|_\infty$
  3. $\|\boldsymbol p\|_1 \le \|\boldsymbol p\|_2 \le \|\boldsymbol p\|_\infty$
  4. $\|\boldsymbol p\|_2 \le \|\boldsymbol p\|_\infty \le \|\boldsymbol p\|_1$
Explanation. The maximum does not exceed the root of the squares, which does not exceed the sum.
la-f-norms-k37 · level facile · notes
For which vector of $\R^3$ do the three norms $\|\cdot\|_1$, $\|\cdot\|_2$, $\|\cdot\|_\infty$ coincide?
  1. $(0, -5, 0)'$
  2. $(1, 1, 1)'$
  3. $(3, 4, 0)'$
  4. $(1, -1, 0)'$
Explanation. With a single nonzero component the three norms equal $|p_j|$.
la-f-norms-k38 · level facile · notes
For $\boldsymbol p = (1, 1, 1, 1)' \in \R^4$, what are $\|\boldsymbol p\|_1$, $\|\boldsymbol p\|_2$, $\|\boldsymbol p\|_\infty$?
  1. $1$, $2$, $4$
  2. $4$, $\sqrt{2}$, $1$
  3. $4$, $2$, $1$
  4. $4$, $4$, $1$
Explanation. $\|\boldsymbol p\|_2 = \sqrt{4} = 2$: here $\|\boldsymbol p\|_1 = n\,\|\boldsymbol p\|_\infty$.
la-f-norms-k39 · level teorema · notes
Which statement about the Euclidean norm is correct?
  1. $\|\boldsymbol p\|_2^2 = \boldsymbol p'\boldsymbol p$
  2. $\|\boldsymbol p\|_2 = \sum_j p_j$
  3. $\|\boldsymbol p\|_2$ depends on the order of components
  4. $\|\boldsymbol p + \boldsymbol w\|_2 = \|\boldsymbol p\|_2 + \|\boldsymbol w\|_2$ always
Explanation. A sum of squares: order does not matter.
la-f-norms-k40 · level teorema · notes
Which statement about the three norms $\ell_1$, $\ell_2$, $\ell_\infty$ is correct?
  1. All three are norms
  2. Only the $\ell_2$ norm satisfies the triangle inequality
  3. The $\ell_\infty$ norm is not homogeneous
  4. The $\ell_1$ norm can vanish on nonzero vectors
Explanation. All three are norms, with different values in general.
la-f-norms-k41 · level ipotesi · notes
To prove $\|\boldsymbol p\|_2 \le \|\boldsymbol p\|_1$, which fact suffices?
  1. Cauchy–Schwarz with $\boldsymbol w = \boldsymbol p$
  2. That $n = 2$, as in the plane
  3. That the components $p_j$ are integers
  4. $\big(\sum_j |p_j|\big)^2 = \sum_j p_j^2 + (\text{cross terms} \ge 0)$
Explanation. Squaring the sum of absolute values gives the squares plus nonnegative terms.
la-f-norms-k42 · level ipotesi · notes
Homogeneity $\|\alpha\boldsymbol p\|_1 = |\alpha|\,\|\boldsymbol p\|_1$ is proved with which property of reals?
  1. $|\alpha\,p_j| = |\alpha|\,|p_j|$
  2. $|\alpha + p_j| \le |\alpha| + |p_j|$
  3. $\alpha\,p_j \ge 0$ for every $j$
  4. $\alpha = 1$ or $\alpha = -1$
Explanation. $|\alpha|$ is factored out of the sum.
la-f-norms-k43 · level ipotesi · notes
The generalized Cauchy–Schwarz inequality $|\boldsymbol p'\boldsymbol Q\boldsymbol w| \le \|\boldsymbol p\|_{\boldsymbol Q}\|\boldsymbol w\|_{\boldsymbol Q}$ requires which assumption on $\boldsymbol Q$?
  1. None: it holds for every $\boldsymbol Q$
  2. $\boldsymbol Q$ symmetric positive definite
  3. $\boldsymbol Q$ upper triangular
  4. $\boldsymbol Q$ with determinant $1$
Explanation. $\boldsymbol p'\boldsymbol Q\boldsymbol w$ must be an inner product.
la-f-norms-k44 · level teorema · notes
For symmetric positive definite $\boldsymbol Q$, which statement is correct?
  1. $\boldsymbol p'\boldsymbol Q\boldsymbol p$ can be negative
  2. $\|\cdot\|_{\boldsymbol Q}$ fails the triangle inequality
  3. $\|\cdot\|_{\boldsymbol Q} = \|\cdot\|_1$
  4. $\boldsymbol p'\boldsymbol Q\boldsymbol w$ is an inner product
Explanation. Symmetry, bilinearity and positivity: it is an inner product.
la-f-norms-k45 · level teorema · notes
Which statement about the norm $\|\boldsymbol p\|_\infty = \max_j |p_j|$ is correct?
  1. It can be negative
  2. It is the largest $|p_j|$ and a norm
  3. It is the sum of absolute values
  4. It fails the triangle inequality
Explanation. It is also called the maximum or Chebyshev norm.
la-f-norms-k46 · level facile · notes
A norm on $\R^2$ must be $\ge 0$, zero only at the zero vector, homogeneous and subadditive. Which function of $\boldsymbol p = (p_1, p_2)'$ is not a norm?
  1. $f(\boldsymbol p) = |p_1|$
  2. $f(\boldsymbol p) = |p_1| + |p_2|$
  3. $f(\boldsymbol p) = \max\{|p_1|, |p_2|\}$
  4. $f(\boldsymbol p) = \sqrt{p_1^2 + p_2^2}$
Explanation. $|p_1|$ is $0$ also for $\boldsymbol p = (0, 1)' \neq \boldsymbol 0$: it violates definiteness. The others are the $\ell_1$, $\ell_\infty$ and $\ell_2$ norms.
la-f-norms-k47 · level facile · notes
Let $\|\cdot\|$ be a norm on $\R^n$ (in particular $\|\lambda\,\boldsymbol p\| = |\lambda|\,\|\boldsymbol p\|$ for every $\lambda \in \R$). What is $\|-\boldsymbol p\|$?
  1. $-\|\boldsymbol p\|$
  2. $0$
  3. $2\,\|\boldsymbol p\|$
  4. $\|\boldsymbol p\|$
Explanation. With $\lambda = -1$: $\|-\boldsymbol p\| = |-1|\,\|\boldsymbol p\| = \|\boldsymbol p\|$. Reversing the direction does not change the length; $-\|\boldsymbol p\|$ would be negative.
la-f-norms-k48 · level facile · notes
The $\ell_1$ norm is $\|\boldsymbol p\|_1 = \sum_j |p_j|$. What is $\|\boldsymbol p - \boldsymbol w\|_1$ for $\boldsymbol p = (2, -1, 4)'$ and $\boldsymbol w = (5, 1, 4)'$?
  1. $3$
  2. $5$
  3. $-5$
  4. $17$
Explanation. $\boldsymbol p - \boldsymbol w = (-3, -2, 0)'$ and $|-3| + |-2| + 0 = 5$. $-5$ forgets the absolute values; $17 = 7 + 10$ adds the norms of the two vectors; $3 = |7 - 10|$ subtracts the norms.
la-f-norms-k49 · level facile · notes
The Euclidean norm is $\|\boldsymbol p\|_2 = \sqrt{\sum_j p_j^2}$. For which $t > 0$ does the vector $(t, t)' \in \R^2$ have $\|(t, t)'\|_2 = 1$?
  1. $t = \sqrt 2$
  2. $t = \frac{1}{\sqrt 2}$
  3. $t = \frac12$
  4. $t = 1$
Explanation. $\sqrt{t^2 + t^2} = \sqrt 2\, t = 1$ gives $t = \frac{1}{\sqrt 2}$. With $t = \frac12$ the $\ell_1$ norm equals $1$, not the $\ell_2$ one.
la-f-norms-k50 · level facile · notes
With the Euclidean norm $\|\boldsymbol p\|_2 = \sqrt{\boldsymbol p'\boldsymbol p}$, what does $\|\boldsymbol p + \boldsymbol w\|_2^2$ equal for $\boldsymbol p, \boldsymbol w \in \R^n$?
  1. $\|\boldsymbol p\|_2^2 + 2\,\boldsymbol p'\boldsymbol w + \|\boldsymbol w\|_2^2$
  2. $\|\boldsymbol p\|_2^2 + \|\boldsymbol w\|_2^2$
  3. $(\|\boldsymbol p\|_2 + \|\boldsymbol w\|_2)^2$
  4. $\|\boldsymbol p\|_2^2 + \boldsymbol p'\boldsymbol w + \|\boldsymbol w\|_2^2$
Explanation. $(\boldsymbol p + \boldsymbol w)'(\boldsymbol p + \boldsymbol w) = \boldsymbol p'\boldsymbol p + 2\,\boldsymbol p'\boldsymbol w + \boldsymbol w'\boldsymbol w$, since $\boldsymbol w'\boldsymbol p = \boldsymbol p'\boldsymbol w$. Without the cross term it holds only for orthogonal vectors.
la-f-norms-k51 · level facile · notes
By the Cauchy–Schwarz inequality, $|\boldsymbol p'\boldsymbol w| \le \|\boldsymbol p\|_2\,\|\boldsymbol w\|_2$. If $\|\boldsymbol p\|_2 = 3$ and $\|\boldsymbol w\|_2 = 2$, which value can the scalar product $\boldsymbol p'\boldsymbol w$ not take?
  1. $7$
  2. $-6$
  3. $0$
  4. $6$
Explanation. It must be $-6 \le \boldsymbol p'\boldsymbol w \le 6$: $7$ is excluded. $\pm 6$ are obtained with parallel vectors, $0$ with orthogonal vectors.
la-f-norms-k52 · level facile · notes
By the reverse triangle inequality, $\big|\|\boldsymbol p\|_2 - \|\boldsymbol w\|_2\big| \le \|\boldsymbol p - \boldsymbol w\|_2$. If $\|\boldsymbol p\|_2 = 5$ and $\|\boldsymbol w\|_2 = 2$, what is the smallest possible value of $\|\boldsymbol p - \boldsymbol w\|_2$?
  1. $3$
  2. $7$
  3. $0$
  4. $\sqrt{21}$
Explanation. $\|\boldsymbol p - \boldsymbol w\|_2 \ge 5 - 2 = 3$, and the value $3$ is reached with $\boldsymbol w$ parallel to $\boldsymbol p$ with the same direction. $7$ is the maximum, not the minimum.
la-f-norms-k53 · level facile · notes
The generalized $\ell_2$ norm is $\|\boldsymbol p\|_{\boldsymbol Q} = \sqrt{\boldsymbol p'\boldsymbol Q\boldsymbol p}$. With $\boldsymbol Q = \begin{pmatrix} 2 & 1 \\ 1 & 2 \end{pmatrix}$ (symmetric positive definite) and $\boldsymbol p = (1, -1)'$, what is $\|\boldsymbol p\|_{\boldsymbol Q}$?
  1. $0$
  2. $\sqrt 2$
  3. $\sqrt 6$
  4. $2$
Explanation. $\boldsymbol Q\boldsymbol p = (1, -1)'$ and $\boldsymbol p'\boldsymbol Q\boldsymbol p = 1 + 1 = 2$, hence $\sqrt 2$. $\sqrt 6$ ignores the signs of the mixed terms $q_{12}\,p_1 p_2 = -1$.
la-f-norms-k54 · level facile · notes
Let $\boldsymbol Q \in \R^{2\times 2}$ be symmetric positive definite and $\|\boldsymbol x\|_{\boldsymbol Q} = \sqrt{\boldsymbol x'\boldsymbol Q\boldsymbol x}$. What is the shape of the set $\{\boldsymbol x \in \R^2 : \|\boldsymbol x\|_{\boldsymbol Q} \le 1\}$?
  1. A half-plane bounded by a line
  2. A filled ellipse centred at the origin
  3. A filled diamond centred at the origin
  4. A square with sides parallel to the axes
Explanation. The axes of the ellipse are given by the eigenvectors of $\boldsymbol Q$, the lengths of the semi-axes by the eigenvalues. The diamond is the $\ell_1$ ball, the square the $\ell_\infty$ one.
la-f-norms-k55 · level facile · notes
The $\ell_\infty$ norm is $\|\boldsymbol p\|_\infty = \max_j |p_j|$. For which $t \in \R$ does the vector $(t, 3, -1)'$ have $\|(t, 3, -1)'\|_\infty = 3$?
  1. $t \le 3$
  2. $-3 \le t \le 3$
  3. Only $t = 3$
  4. Only $t = \pm 3$
Explanation. The maximum of $|t|$, $3$ and $1$ equals $3$ exactly when $|t| \le 3$. It suffices that the component $3$ is the largest in absolute value; $t \le 3$ would allow $t = -5$.
la-f-norms-k56 · level facile · notes
For every $\boldsymbol p \in \R^n$ we have $\|\boldsymbol p\|_\infty \le \|\boldsymbol p\|_1 \le n\,\|\boldsymbol p\|_\infty$ (with $\|\boldsymbol p\|_1 = \sum_j |p_j|$, $\|\boldsymbol p\|_\infty = \max_j |p_j|$). If $\|\boldsymbol p\|_\infty = 2$, what is known about $\|\boldsymbol p\|_1$?
  1. $\|\boldsymbol p\|_1 = 2n$
  2. $0 \le \|\boldsymbol p\|_1 \le 2$
  3. $2 \le \|\boldsymbol p\|_1 \le 2n$
  4. $\|\boldsymbol p\|_1 \le 2$
Explanation. From the chain: $2 \le \|\boldsymbol p\|_1 \le 2n$. The bounds are reached with $\boldsymbol p = (2, 0, \dots, 0)'$ and with $\boldsymbol p = (2, \dots, 2)'$.
la-f-norms-k57 · level facile · notes
With the norm $\|\boldsymbol p\|_1 = \sum_j |p_j|$, for which pair does the equality $\|\boldsymbol p + \boldsymbol w\|_1 = \|\boldsymbol p\|_1 + \|\boldsymbol w\|_1$ hold?
  1. $\boldsymbol p = (1, 2)'$, $\boldsymbol w = (3, 0)'$
  2. $\boldsymbol p = (1, 2)'$, $\boldsymbol w = (-1, 0)'$
  3. $\boldsymbol p = (1, -2)'$, $\boldsymbol w = (0, 3)'$
  4. $\boldsymbol p = (2, 1)'$, $\boldsymbol w = (-2, -1)'$
Explanation. $(1, 2)' + (3, 0)' = (4, 2)'$: $6 = 3 + 3$. Equality holds when no component has opposite signs; the other pairs give $2 < 4$, $2 < 6$, $0 < 6$.
la-f-norms-k58 · level facile · notes
Let $\boldsymbol Q$ be symmetric positive definite, $\|\boldsymbol p\|_{\boldsymbol Q} = \sqrt{\boldsymbol p'\boldsymbol Q\boldsymbol p}$, with $\|\boldsymbol p\|_{\boldsymbol Q} = 2$ and $\|\boldsymbol w\|_{\boldsymbol Q} = 3$. What does the generalized Cauchy–Schwarz inequality guarantee?
  1. $|\boldsymbol p'\boldsymbol Q\boldsymbol w| = 6$
  2. $|\boldsymbol p'\boldsymbol Q\boldsymbol w| \ge 6$
  3. $|\boldsymbol p'\boldsymbol Q\boldsymbol w| \le 6$
  4. $|\boldsymbol p'\boldsymbol Q\boldsymbol w| \le 5$
Explanation. $|\boldsymbol p'\boldsymbol Q\boldsymbol w| \le \|\boldsymbol p\|_{\boldsymbol Q}\,\|\boldsymbol w\|_{\boldsymbol Q} = 2 \cdot 3 = 6$: it is an upper bound (product, not sum), reached only for parallel vectors.
la-f-norms-k59 · level teorema · notes
A norm must satisfy $\|\lambda\,\boldsymbol p\| = |\lambda|\,\|\boldsymbol p\|$. Which statement about the function $f(\boldsymbol p) = \|\boldsymbol p\|_2^2 = \sum_j p_j^2$ on $\R^n$ is correct?
  1. It is not a norm: $f(2\boldsymbol p) = 4 f(\boldsymbol p)$
  2. It is a norm, since $f(\boldsymbol p) \ge 0$
  3. It is a norm, since $f(\boldsymbol 0) = 0$
  4. It is the $\ell_1$ norm of $\boldsymbol p$
Explanation. $f(\lambda\boldsymbol p) = \lambda^2 f(\boldsymbol p)$, not $|\lambda| f(\boldsymbol p)$: homogeneity fails (and so does the triangle inequality, e.g. with $\boldsymbol w = \boldsymbol p \neq \boldsymbol 0$). Positivity and $f(\boldsymbol 0) = 0$ are not enough.
la-f-norms-k60 · level teorema · notes
Let $\|\boldsymbol p\|_1 = \sum_j |p_j|$ and $\|\boldsymbol p\|_\infty = \max_j |p_j|$. For which $\boldsymbol p \in \R^n$ does $\|\boldsymbol p\|_\infty = \|\boldsymbol p\|_1$ hold?
  1. For those with all components equal
  2. For all of them, since both are norms
  3. For those with at most one nonzero component
  4. Only for the zero vector $\boldsymbol p = \boldsymbol 0$
Explanation. $\|\boldsymbol p\|_1 - \|\boldsymbol p\|_\infty$ is the sum of the $|p_j|$ other than the maximum: it is zero exactly when at most one component is nonzero. With equal nonzero components one has $\|\boldsymbol p\|_1 = n\,\|\boldsymbol p\|_\infty$.

Part: Linear systems (64)

6. System of linear equations (64)

la-f-sys-01 · level facile · notes
Let $\boldsymbol A \in \R^{m\times n}$, $\boldsymbol b \in \R^m$ and $(\boldsymbol A | \boldsymbol b)$ the augmented matrix. By the Rouché–Capelli theorem, the system $\boldsymbol A\boldsymbol x = \boldsymbol b$ has no solution if and only if:
  1. $\text{rank}(\boldsymbol A) < n$ and $m \ge n$
  2. $\det(\boldsymbol A) = 0$, with $m = n$
  3. $\text{rank}(\boldsymbol A) < \text{rank}(\boldsymbol A | \boldsymbol b)$
  4. $\text{rank}(\boldsymbol A) = \text{rank}(\boldsymbol A | \boldsymbol b) < n$
Explanation. The system has solutions if and only if the two ranks coincide. $\text{rank}(\boldsymbol A) < n$ or $\det(\boldsymbol A) = 0$ exclude uniqueness, but the system may have infinitely many solutions.
la-f-sys-02 · level facile · notes
A system $\boldsymbol A\boldsymbol x = \boldsymbol b$ with $n = 4$ variables has $\text{rank}(\boldsymbol A) = \text{rank}(\boldsymbol A | \boldsymbol b) = 2$, where $(\boldsymbol A | \boldsymbol b)$ is the augmented matrix. How many solutions does it have?
  1. infinitely many, with $2$ free parameters
  2. infinitely many, with $4$ free parameters
  3. exactly one, since the ranks coincide
  4. none, since the rank is less than $4$
Explanation. The ranks coincide, so it is consistent; they are smaller than $n$, so there are infinitely many solutions with $n - r = 4 - 2 = 2$ free parameters.
la-f-sys-03 · level teorema · notes
Let $\boldsymbol A \in \R^{m\times n}$, $\boldsymbol b \in \R^m$ and $(\boldsymbol A|\boldsymbol b)$ the augmented matrix. Which statement is correct?
  1. $\boldsymbol A\boldsymbol x = \boldsymbol b$ has a unique solution iff $\text{rank}(\boldsymbol A) = \text{rank}(\boldsymbol A|\boldsymbol b) = n$
  2. $\boldsymbol A\boldsymbol x = \boldsymbol b$ has a unique solution iff $\text{rank}(\boldsymbol A) = n$
  3. if $\text{rank}(\boldsymbol A|\boldsymbol b) = n$ the system has a unique solution
  4. if $\text{rank}(\boldsymbol A) < n$ the system has no solution
Explanation. With $m > n$ it can happen that $\text{rank}(\boldsymbol A) = n$ and $\text{rank}(\boldsymbol A|\boldsymbol b) = n+1$: no solution. With $\text{rank}(\boldsymbol A) < n$ the system may have infinitely many solutions.
la-f-sys-04 · level facile · notes
A homogeneous system $\boldsymbol A\boldsymbol x = \boldsymbol 0$:
  1. has solutions only if $\boldsymbol A$ is square
  2. always has the trivial solution $\boldsymbol x = \boldsymbol 0$
  3. may have no solution at all
  4. always has infinitely many distinct solutions
Explanation. $\boldsymbol A\boldsymbol 0 = \boldsymbol 0$ for every $\boldsymbol A$; nontrivial solutions exist if and only if $\text{rank}(\boldsymbol A) < n$.
la-f-sys-05 · level teorema · notes
Let $\boldsymbol A \in \R^{n\times n}$. When does the homogeneous system $\boldsymbol A\boldsymbol x = \boldsymbol 0$ have nontrivial solutions?
  1. if and only if $\det(\boldsymbol A) \neq 0$
  2. if and only if $\boldsymbol A$ is symmetric
  3. never
  4. if and only if $\det(\boldsymbol A) = 0$
Explanation. Nontrivial solutions exist if and only if $\text{rank}(\boldsymbol A) < n$, i.e., for a square matrix, if and only if $\det(\boldsymbol A) = 0$.
la-f-sys-06 · level facile · notes
A homogeneous system with $m = 2$ equations and $n = 3$ variables:
  1. may have no solution
  2. has nontrivial solutions only if $\det(\boldsymbol A) = 0$
  3. always has nontrivial solutions
  4. has only the trivial solution
Explanation. $\text{rank}(\boldsymbol A) \le m = 2 < 3 = n$, hence there are infinitely many solutions with at least one free parameter. The determinant is not defined for a $2\times 3$ matrix.
la-f-sys-07 · level facile · notes
Let $\boldsymbol A \in \R^{m\times m}$ with $\det(\boldsymbol A) \neq 0$ and $\boldsymbol b \in \R^m$. In Cramer's rule, the entry $\tilde x_j$ of the solution of $\boldsymbol A\boldsymbol x = \boldsymbol b$ is:
  1. $\det(\boldsymbol A_j)$, where $\boldsymbol A_j$ is $\boldsymbol A$ with column $j$ replaced by $\boldsymbol b$
  2. $\frac{\det(\boldsymbol A_j)}{\det(\boldsymbol A)}$, where $\boldsymbol A_j$ is $\boldsymbol A$ with column $j$ replaced by $\boldsymbol b$
  3. $\frac{\det(\boldsymbol A_j)}{\det(\boldsymbol A)}$, where $\boldsymbol A_j$ is $\boldsymbol A$ with row $j$ replaced by $\boldsymbol b'$
  4. $\frac{\det(\boldsymbol A)}{\det(\boldsymbol A_j)}$, where $\boldsymbol A_j$ is $\boldsymbol A$ with column $j$ replaced by $\boldsymbol b$
Explanation. Column $j$ (the coefficients of $x_j$) is replaced by $\boldsymbol b$ and the result is divided by $\det(\boldsymbol A)$; without the division the result is right only if $\det(\boldsymbol A) = 1$.
la-f-sys-08 · level facile · notes
By Cramer's rule, what is the first entry $\tilde x_1$ of the solution of the system $-x_1 + x_2 = 2$, $8x_1 + 2x_2 = 19$?
  1. $\frac{7}{2}$
  2. $-\frac{3}{2}$
  3. $\frac{2}{3}$
  4. $\frac{3}{2}$
Explanation. $\det(\boldsymbol A) = (-1)\cdot 2 - 1\cdot 8 = -10$, $\det(\boldsymbol A_1) = 2\cdot 2 - 1\cdot 19 = -15$, hence $\tilde x_1 = \frac{-15}{-10} = \frac{3}{2}$; $\frac{7}{2}$ is $\tilde x_2$.
la-f-sys-09 · level facile · notes
Why is Cramer's rule not used to solve systems $\boldsymbol A\boldsymbol x = \boldsymbol b$ with $\boldsymbol A \in \R^{m\times m}$ and large $m$?
  1. it holds only if $\boldsymbol A$ is symmetric, while Gauss works for every nonsingular $\boldsymbol A$
  2. it holds only for $m \le 3$, because the determinants are computed with the Sarrus rule
  3. it needs $m+1$ determinants of order $m$: about $m!$ operations with Laplace, against $\frac{2}{3}m^3$ for Gauss
  4. it gives only an approximate solution, because it divides by $\det(\boldsymbol A)$, which may be small
Explanation. The formula is exact and holds for every $m$ with $\det(\boldsymbol A) \neq 0$, but it is expensive: with $m = 10$ we compare $10! = 3\,628\,800$ with about $667$ operations.
la-f-sys-10 · level facile · notes
The upper triangular system $\tilde{\boldsymbol A}\boldsymbol x = \tilde{\boldsymbol b}$, with $\tilde{\boldsymbol A} \in \R^{n\times n}$ and $\tilde a_{ii} \neq 0$, is solved by backward substitution, computing $x_n, x_{n-1}, \dots, x_1$. Which formula gives $x_i$?
  1. $x_i = \frac{\tilde b_i - \sum_{j=1}^{i-1}\tilde a_{ij}x_j}{\tilde a_{ii}}$
  2. $x_i = \tilde b_i - \sum_{j=i+1}^{n}\tilde a_{ij}x_j$
  3. $x_i = \frac{\tilde b_i}{\tilde a_{ii}}$
  4. $x_i = \frac{\tilde b_i - \sum_{j=i+1}^{n}\tilde a_{ij}x_j}{\tilde a_{ii}}$
Explanation. We proceed bottom-up: when $x_i$ is computed, $x_{i+1}, \dots, x_n$ are already known. The sum over $j < i$ is that of forward substitution.
la-f-sys-11 · level facile · notes
The solutions of a system $\boldsymbol A\boldsymbol x = \boldsymbol b$ with one free parameter are written $\boldsymbol x = \boldsymbol x_0 + t\,\boldsymbol v$, $t \in \R$. What are $\boldsymbol x_0$ and $\boldsymbol v$?
  1. $\boldsymbol A\boldsymbol x_0 = \boldsymbol b$ and $\boldsymbol v \neq \boldsymbol 0$ with $\boldsymbol A\boldsymbol v = \boldsymbol 0$
  2. $\boldsymbol A\boldsymbol x_0 = \boldsymbol 0$ and $\boldsymbol v \neq \boldsymbol 0$ with $\boldsymbol A\boldsymbol v = \boldsymbol b$
  3. $\boldsymbol A\boldsymbol x_0 = \boldsymbol b$ and $\boldsymbol v \neq \boldsymbol 0$ with $\boldsymbol A\boldsymbol v = \boldsymbol b$
  4. $\boldsymbol x_0 = \boldsymbol 0$ and $\boldsymbol v \neq \boldsymbol 0$ with $\boldsymbol A\boldsymbol v = \boldsymbol b$
Explanation. $\boldsymbol x_0$ is a particular solution (for $t = 0$) and $\boldsymbol v$ solves the homogeneous system: $\boldsymbol A(\boldsymbol x_0 + t\boldsymbol v) = \boldsymbol b + t\,\boldsymbol 0 = \boldsymbol b$.
la-f-sys-12 · level ipotesi · notes
Let $\boldsymbol A\boldsymbol x_0 = \boldsymbol b$ and $\boldsymbol A\boldsymbol v = \boldsymbol 0$. Which property is needed to conclude that $\boldsymbol x_0 + \boldsymbol v$ is also a solution of $\boldsymbol A\boldsymbol x = \boldsymbol b$?
  1. the commutativity of the matrix product, $\boldsymbol A\boldsymbol B = \boldsymbol B\boldsymbol A$
  2. the distributivity of the product over the sum: $\boldsymbol A(\boldsymbol x_0 + \boldsymbol v) = \boldsymbol A\boldsymbol x_0 + \boldsymbol A\boldsymbol v$
  3. Cramer's rule, applied to the system $\boldsymbol A\boldsymbol x = \boldsymbol b$ entry by entry
  4. the invertibility of $\boldsymbol A$, i.e. $\det(\boldsymbol A) \neq 0$, which makes the solution unique
Explanation. $\boldsymbol A(\boldsymbol x_0 + \boldsymbol v) = \boldsymbol A\boldsymbol x_0 + \boldsymbol A\boldsymbol v = \boldsymbol b + \boldsymbol 0 = \boldsymbol b$. $\boldsymbol A$ need not be invertible: indeed, with $\boldsymbol v \neq \boldsymbol 0$ it is not.
la-f-sys-13 · level ipotesi · notes
Let $\boldsymbol A \in \R^{m\times n}$. Which result is needed to prove that $\boldsymbol A\boldsymbol x = \boldsymbol 0$ has nontrivial solutions if and only if $\text{rank}(\boldsymbol A) < n$?
  1. Rouché–Capelli, with $\text{rank}(\boldsymbol A | \boldsymbol 0) = \text{rank}(\boldsymbol A)$
  2. Cramer's rule applied to $\boldsymbol A$
  3. the Cauchy–Schwarz inequality on the rows
  4. the LU factorization without row swaps
Explanation. The system is always consistent (the zero column does not increase the rank); the solution is unique, hence only the trivial one, if and only if the rank is $n$.
la-f-sys-14 · level facile · notes
Forward elimination is applied to the augmented matrix $(\boldsymbol A | \boldsymbol b)$ of a system in $3$ variables; the last row becomes $(0\;\; 0\;\; 0 \mid 1)$. What can be concluded?
  1. the system has no solution
  2. the system has infinitely many solutions
  3. the system has a unique solution with $x_3 = 1$
  4. two columns must be swapped
Explanation. The row corresponds to the equation $0x_1 + 0x_2 + 0x_3 = 1$, which is impossible: $\text{rank}(\boldsymbol A) < \text{rank}(\boldsymbol A|\boldsymbol b)$.
la-f-sys-15 · level facile · notes
Many systems $\boldsymbol A\boldsymbol x = \boldsymbol b$ with the same $\boldsymbol A \in \R^{n\times n}$ and different right-hand sides $\boldsymbol b$ must be solved. What is the advantage of the factorization $\boldsymbol A = \boldsymbol L\boldsymbol U$?
  1. the factorization ($O(n^2)$) is done once; each new $\boldsymbol b$ costs two substitutions ($O(n)$)
  2. the factorization ($O(n^2)$) is redone for each $\boldsymbol b$; the two substitutions cost $O(n^3)$
  3. the factorization ($O(n^3)$) is done once; each new $\boldsymbol b$ costs an inversion ($O(n^3)$)
  4. the factorization ($O(n^3)$) is done once; each new $\boldsymbol b$ costs two substitutions ($O(n^2)$)
Explanation. The factorization takes about $\frac{2}{3}n^3$ operations and does not depend on $\boldsymbol b$; for each $\boldsymbol b$ forward and backward substitution are enough, each $O(n^2)$.
la-f-sys-16 · level ipotesi · notes
Let $\boldsymbol A = \boldsymbol L\boldsymbol U$. If $\boldsymbol y$ solves $\boldsymbol L\boldsymbol y = \boldsymbol b$ and $\boldsymbol x$ solves $\boldsymbol U\boldsymbol x = \boldsymbol y$, which property guarantees that $\boldsymbol A\boldsymbol x = \boldsymbol b$?
  1. commutativity: $(\boldsymbol L\boldsymbol U)\boldsymbol x = (\boldsymbol U\boldsymbol L)\boldsymbol x = \boldsymbol U\boldsymbol y = \boldsymbol b$
  2. the symmetry of $\boldsymbol A$, which makes $\boldsymbol U = \boldsymbol L'$ and $\boldsymbol x = \boldsymbol y$
  3. the fact that $\det(\boldsymbol L) = 1$, which makes $\boldsymbol L\boldsymbol y = \boldsymbol y$
  4. associativity: $(\boldsymbol L\boldsymbol U)\boldsymbol x = \boldsymbol L(\boldsymbol U\boldsymbol x) = \boldsymbol L\boldsymbol y = \boldsymbol b$
Explanation. It is enough to group the factors differently: $\boldsymbol A\boldsymbol x = (\boldsymbol L\boldsymbol U)\boldsymbol x = \boldsymbol L(\boldsymbol U\boldsymbol x) = \boldsymbol L\boldsymbol y = \boldsymbol b$. The matrix product is not commutative and $\det(\boldsymbol L) = 1$ does not mean $\boldsymbol L = \boldsymbol I$.
la-f-sys-17 · level facile · notes
A system $\boldsymbol A\boldsymbol x = \boldsymbol b$ with $\boldsymbol A \in \R^{m\times n}$ and $m < n$ (fewer equations than variables):
  1. always has a unique solution
  2. never has solutions
  3. has a unique solution if $\det(\boldsymbol A) \neq 0$
  4. cannot have a unique solution
Explanation. $\text{rank}(\boldsymbol A) \le m < n$: if it is consistent it has infinitely many solutions, otherwise none. Uniqueness is possible only with $m \ge n$.
la-f-sys-18 · level facile · notes
$\boldsymbol A\boldsymbol x = \boldsymbol b$ is solved by Gaussian elimination (forward elimination, then backward substitution). What are the row operations of forward elimination applied to?
  1. the whole augmented matrix $(\boldsymbol A | \boldsymbol b)$, right-hand side column included
  2. only the matrix $\boldsymbol A$: the vector $\boldsymbol b$ is unchanged until the end
  3. only the vector $\boldsymbol b$: the matrix $\boldsymbol A$ is used to choose the multipliers
  4. the columns of $\boldsymbol A$, swapping variables and leaving $\boldsymbol b$ unchanged
Explanation. Each row operation turns an equation into an equivalent one, so it must be applied to both sides: one works on the augmented matrix and gets a triangular system $\tilde{\boldsymbol A}\boldsymbol x = \tilde{\boldsymbol b}$ with the same solutions.
la-f-systems-k01 · level facile · notes
A system $\boldsymbol A\boldsymbol x = \boldsymbol b$ with $\boldsymbol A \in \R^{3 \times 5}$ has how many equations and unknowns?
  1. $5$ equations and $3$ unknowns
  2. $3$ equations and $15$ unknowns
  3. $8$ equations and $5$ unknowns
  4. $3$ equations and $5$ unknowns
Explanation. Rows = equations, columns = unknowns.
la-f-systems-k02 · level facile · notes
How many outcomes are possible for a linear system $\boldsymbol A\boldsymbol x = \boldsymbol b$?
  1. Always infinitely many
  2. None, one or infinitely many
  3. Only one or none
  4. Exactly two solutions or none
Explanation. Two distinct solutions generate infinitely many (the line through them).
la-f-systems-k03 · level facile · notes
In Gaussian elimination, on which matrix does one operate?
  1. On $\boldsymbol A^{-1}$ and then on $\boldsymbol b$
  2. On the matrix $(\boldsymbol A \,|\, \boldsymbol b)$
  3. Only on $\boldsymbol A$, then $\boldsymbol b$ is corrected
  4. On the transpose $\boldsymbol A'$
Explanation. Row operations must be applied to the right-hand sides too.
la-f-systems-k04 · level facile · notes
After forward elimination the system is $x_1 + x_2 = 5$, $2x_2 = 4$. Which solution does back substitution give?
  1. $(2, 3)$
  2. $(5, 2)$
  3. $(1, 4)$
  4. $(3, 2)$
Explanation. $x_2 = 2$, then $x_1 = 5 - 2 = 3$.
la-f-systems-k05 · level facile · notes
In Gaussian elimination on $\begin{pmatrix} 2 & 1 & | & 3 \\ 6 & 4 & | & 10 \end{pmatrix}$, which operation zeroes the entry in position $(2,1)$?
  1. $R_2 \leftarrow 3R_2 - R_1$
  2. $R_1 \leftarrow R_1 - 3R_2$
  3. $R_2 \leftarrow R_2 - 3R_1$
  4. $R_2 \leftarrow R_2 + 3R_1$
Explanation. Multiplier $6/2 = 3$.
la-f-systems-k06 · level facile · notes
After forward elimination the augmented matrix of a system in $3$ unknowns is $\begin{pmatrix} 1 & 2 & 1 & | & 3 \\ 0 & 1 & -1 & | & 2 \\ 0 & 0 & 0 & | & 0 \end{pmatrix}$. How many solutions does the system have?
  1. Infinitely many, with $1$ free parameter
  2. None: there is a zero row
  3. Exactly one, since $\boldsymbol A$ is $3 \times 3$
  4. Infinitely many, with $2$ free parameters
Explanation. There are no rows $(0 \; 0 \; 0 \,|\, c)$ with $c \neq 0$ and both ranks are $2 < 3$: infinitely many solutions with $3 - 2 = 1$ free parameter ($x_3$). The zero row does not make the system inconsistent.
la-f-systems-k07 · level facile · notes
An echelon form of $(\boldsymbol A|\boldsymbol b)$, with unknowns $x_1, \dots, x_4$, has pivots in columns $1$ and $3$ and no row $(0 \cdots 0 \,|\, c)$ with $c \neq 0$. Which unknowns are free parameters?
  1. Only $x_4$, the last one
  2. None of them
  3. $x_2$ and $x_4$
  4. $x_1$ and $x_3$
Explanation. The unknowns of the pivot columns ($x_1$, $x_3$) are found by back substitution; the other $4 - 2 = 2$, i.e. $x_2$ and $x_4$, are free.
la-f-systems-k08 · level teorema · notes
What does the Rouché–Capelli theorem state for $\boldsymbol A\boldsymbol x = \boldsymbol b$ with $n$ unknowns?
  1. It always has infinitely many solutions if $m < n$
  2. Consistent iff $\mathrm{rank}(\boldsymbol A) = \mathrm{rank}(\boldsymbol A|\boldsymbol b)$
  3. It has solutions iff $\boldsymbol A$ is square
  4. It has solutions iff $\det(\boldsymbol A) \neq 0$
Explanation. Otherwise the solutions depend on $n - \mathrm{rank}(\boldsymbol A)$ parameters.
la-f-systems-k09 · level teorema · notes
Which statement about a system with more unknowns than equations ($m < n$) is correct?
  1. It is always inconsistent
  2. It always has a unique solution
  3. It cannot have a unique solution
  4. It always has infinitely many solutions
Explanation. $\mathrm{rank}(\boldsymbol A) \le m < n$: if consistent, infinitely many solutions; it may also be inconsistent.
la-f-systems-k10 · level ipotesi · notes
To conclude that $\boldsymbol A\boldsymbol x = \boldsymbol b$ with $\boldsymbol A \in \R^{n \times n}$ has a unique solution for every $\boldsymbol b$, which assumption suffices?
  1. $\det(\boldsymbol A) \neq 0$
  2. $\boldsymbol b \neq \boldsymbol 0$
  3. $\boldsymbol A$ symmetric
  4. $\boldsymbol A$ with positive entries
Explanation. Rank $n$ for $\boldsymbol A$ and $(\boldsymbol A|\boldsymbol b)$: unique solution $\boldsymbol A^{-1}\boldsymbol b$.
la-f-systems-k11 · level facile · notes
Which system is homogeneous?
  1. $x_1 = 2$, $x_2 = 0$
  2. $x_1 + x_2 = 1$, $x_1 - x_2 = 0$
  3. $x_1 - 2x_2 = 0$, $3x_1 + x_2 = 0$
  4. $x_1 - 2x_2 = 1$, $3x_1 + x_2 = 0$
Explanation. All right-hand sides are zero: $\boldsymbol b = \boldsymbol 0$.
la-f-systems-k12 · level facile · notes
The homogeneous system $\boldsymbol A\boldsymbol x = \boldsymbol 0$ has $\boldsymbol A \in \R^{4\times 6}$ and $\mathrm{rank}(\boldsymbol A) = 3$. How many free parameters do its solutions have?
  1. $2$
  2. $0$
  3. $3$
  4. $1$
Explanation. The solutions have $n - \mathrm{rank}(\boldsymbol A) = 6 - 3 = 3$ free parameters ($n$: number of unknowns). $1 = 4 - 3$ uses the number of equations.
la-f-systems-k13 · level teorema · notes
Which statement about homogeneous systems $\boldsymbol A\boldsymbol x = \boldsymbol 0$ with $\boldsymbol A \in \R^{m \times n}$ is correct?
  1. They have nontrivial solutions iff $\mathrm{rank}(\boldsymbol A) < n$
  2. They always have only the trivial solution
  3. They have nontrivial solutions iff $m = n$
  4. They never have nontrivial solutions if $m \ge n$
Explanation. With rank $n$ the solution is unique, hence the zero one.
la-f-systems-k14 · level ipotesi · notes
To prove that the solutions of $\boldsymbol A\boldsymbol x = \boldsymbol 0$ form a set closed under addition and scalar multiplication, what is used?
  1. That $\boldsymbol A$ is square ($m = n$)
  2. That the solutions are positive
  3. The linearity of the product $\boldsymbol A\boldsymbol x$
  4. That $\boldsymbol A$ is invertible
Explanation. Combinations of solutions still give $\boldsymbol 0$; with $\boldsymbol b \neq \boldsymbol 0$ it fails.
la-f-systems-k15 · level facile · notes
The homogeneous system $x_1 + 2x_2 = 0$, $2x_1 + 4x_2 = 0$ has:
  1. exactly two solutions
  2. infinitely many solutions $(-2t, t)$
  3. only the zero solution
  4. no solution, it is inconsistent
Explanation. The equations are proportional: rank $1 < 2$.
la-f-systems-k16 · level facile · notes
With $\boldsymbol A = \boldsymbol L\boldsymbol U$, $\boldsymbol L = \begin{pmatrix} 1 & 0 \\ 2 & 1 \end{pmatrix}$ and $\boldsymbol b = (3, 8)'$, what is $\boldsymbol y$ in $\boldsymbol L\boldsymbol y = \boldsymbol b$?
  1. $(2, 3)'$
  2. $(3, 2)'$
  3. $(3, 8)'$
  4. $(3, 14)'$
Explanation. Forward substitution: $y_1 = 3$, $y_2 = 8 - 2 \cdot 3 = 2$.
la-f-systems-k17 · level ipotesi · notes
Why is the LU factorization convenient when solving many systems $\boldsymbol A\boldsymbol x = \boldsymbol b_k$ with the same $\boldsymbol A$?
  1. Because it holds only for $\boldsymbol b = \boldsymbol 0$
  2. One factorizes only once
  3. Because it makes $\boldsymbol A$ symmetric
  4. Because it avoids elimination entirely
Explanation. The cost of the factorization is amortized.
la-f-systems-k18 · level facile · notes
With Cramer's rule, what is $x_1$ in the system $2x_1 + x_2 = 5$, $x_1 - x_2 = 1$?
  1. $1$
  2. $-2$
  3. $3$
  4. $2$
Explanation. $\det\boldsymbol A = -3$, $\det\boldsymbol A_1 = \det\begin{pmatrix} 5 & 1 \\ 1 & -1 \end{pmatrix} = -6$: $x_1 = 2$.
la-f-systems-k19 · level facile · notes
In Cramer's rule, how is the matrix $\boldsymbol A_2$ built?
  1. By replacing the second row of $\boldsymbol A$ with $\boldsymbol b'$
  2. By deleting row and column $2$
  3. By multiplying the second column by $\boldsymbol b$
  4. By replacing the second column of $\boldsymbol A$ with $\boldsymbol b$
Explanation. $x_j = \det(\boldsymbol A_j)/\det(\boldsymbol A)$.
la-f-systems-k20 · level facile · notes
For a $3 \times 3$ system with $\det(\boldsymbol A) = 4$ and $\det(\boldsymbol A_3) = -8$, what is $x_3$?
  1. $-\frac12$
  2. $-2$
  3. $2$
  4. $-32$
Explanation. $x_3 = \det(\boldsymbol A_3)/\det(\boldsymbol A)$.
la-f-systems-k21 · level facile · notes
To apply Cramer's rule to a system of three equations in three unknowns, how many $3 \times 3$ determinants are needed?
  1. $3$
  2. $1$
  3. $9$
  4. $4$
Explanation. $\det(\boldsymbol A)$ and $\det(\boldsymbol A_1), \det(\boldsymbol A_2), \det(\boldsymbol A_3)$.
la-f-systems-k22 · level facile · notes
With Cramer's rule for the $3 \times 3$ system $x_1 = 1$, $x_2 = 2$, $x_1 + x_2 + x_3 = 6$, what is $\det(\boldsymbol A)$?
  1. $3$
  2. $6$
  3. $1$
  4. $0$
Explanation. $\boldsymbol A$ is lower triangular with diagonal $(1, 1, 1)$.
la-f-systems-k23 · level facile · notes
Why is Cramer's rule not used for large systems?
  1. Because it holds only for $m = 2$
  2. Because it requires $\boldsymbol b = \boldsymbol 0$
  3. It costs like $m!$ with Laplace
  4. Because it does not give the exact solution
Explanation. Gaussian elimination instead costs about $m^3$ operations.
la-f-systems-k24 · level facile · notes
Which method is preferable to solve a $1000 \times 1000$ system with a nonsingular matrix?
  1. Cramer's rule with Laplace expansion
  2. Enumerating all possible solutions
  3. Computing the adjugate of $\boldsymbol A$ and then $\boldsymbol A^{-1}$
  4. Gaussian elimination (or LU factorization)
Explanation. Polynomial cost against factorial cost.
la-f-systems-k25 · level teorema · notes
Which statement about Cramer's rule is correct?
  1. $x_j = \det(\boldsymbol A_j)/\det(\boldsymbol A)$ if $\det(\boldsymbol A) \neq 0$
  2. It holds for every system, even rectangular
  3. It holds also with $\det(\boldsymbol A) = 0$
  4. It gives $x_j = \det(\boldsymbol A)/\det(\boldsymbol A_j)$
Explanation. A unique solution and division by $\det(\boldsymbol A)$ are needed.
la-f-systems-k26 · level ipotesi · notes
Cramer's rule is proved by writing $\boldsymbol x = \boldsymbol A^{-1}\boldsymbol b$ with the inverse via the adjugate. Which assumption is needed?
  1. $\boldsymbol A$ symmetric
  2. $m = 2$
  3. $\det(\boldsymbol A) \neq 0$
  4. $\boldsymbol b > \boldsymbol 0$
Explanation. $\boldsymbol A^{-1} = \mathrm{adj}(\boldsymbol A)/\det(\boldsymbol A)$ requires a nonzero determinant.
la-f-systems-k27 · level teorema · notes
Which statement about Gaussian elimination is correct?
  1. It changes the solutions but not their number
  2. It works only for square matrices
  3. It requires the right-hand side $\boldsymbol b = \boldsymbol 0$
  4. Row operations do not change the solutions
Explanation. Each operation is invertible, so the system stays equivalent.
la-f-systems-k28 · level ipotesi · notes
Back substitution on an $n \times n$ upper triangular system gives a unique solution under which assumption?
  1. That the right-hand side is $\boldsymbol b \neq \boldsymbol 0$
  2. That the size is $n \le 3$
  3. All diagonal entries are nonzero
  4. All entries of the matrix are positive
Explanation. Each diagonal entry is a divisor.
la-f-systems-k29 · level teorema · notes
Which statement about the LU method for $\boldsymbol A\boldsymbol x = \boldsymbol b$ is correct?
  1. Solve only $\boldsymbol L\boldsymbol x = \boldsymbol b$, forward, without $\boldsymbol U$
  2. Solve $\boldsymbol L\boldsymbol y = \boldsymbol b$ forward and then $\boldsymbol U\boldsymbol x = \boldsymbol y$ backward
  3. Solve $\boldsymbol U\boldsymbol y = \boldsymbol b$ and then $\boldsymbol L\boldsymbol x = \boldsymbol y$, both forward
  4. Compute $\boldsymbol x = \boldsymbol L^{-1}\boldsymbol U^{-1}\boldsymbol b$ with the inverses
Explanation. $\boldsymbol A\boldsymbol x = \boldsymbol L(\boldsymbol U\boldsymbol x) = \boldsymbol b$.
la-f-systems-k30 · level teorema · notes
Which statement about the solutions of $\boldsymbol A\boldsymbol x = \boldsymbol b$ is correct?
  1. Twice a solution is a solution
  2. They are $\boldsymbol x_0 + \boldsymbol h$ with $\boldsymbol A\boldsymbol h = \boldsymbol 0$
  3. The solutions always form a subspace
  4. The sum of two solutions is a solution
Explanation. A particular solution plus the solutions of the associated homogeneous system.
la-f-systems-k31 · level ipotesi · notes
To prove that a system with two distinct solutions has infinitely many, what is used?
  1. That the solutions are integers
  2. $\boldsymbol x_1 + t(\boldsymbol x_2 - \boldsymbol x_1)$ is a solution
  3. That $\boldsymbol A$ is square and invertible
  4. That the right-hand side is $\boldsymbol b = \boldsymbol 0$
Explanation. $\boldsymbol A(\boldsymbol x_2 - \boldsymbol x_1) = \boldsymbol 0$.
la-f-systems-k32 · level facile · notes
$\boldsymbol v = (1, 2, -1)'$ and $\boldsymbol w = (0, 1, 1)'$ solve the homogeneous system $\boldsymbol A\boldsymbol x = \boldsymbol 0$, with $\boldsymbol A \in \R^{2\times 3}$. Which vector surely solves it?
  1. $(2,\, 1,\, -5)'$
  2. $(2,\, 2,\, -1)'$
  3. $(1,\, 1,\, 1)'$
  4. $(0,\, 0,\, 1)'$
Explanation. $(2, 1, -5)' = 2\boldsymbol v - 3\boldsymbol w$ and $\boldsymbol A(2\boldsymbol v - 3\boldsymbol w) = 2\cdot\boldsymbol 0 - 3\cdot\boldsymbol 0 = \boldsymbol 0$. The others are not linear combinations of $\boldsymbol v$ and $\boldsymbol w$.
la-f-systems-k33 · level teorema · notes
Which statement about a square homogeneous system $\boldsymbol A\boldsymbol x = \boldsymbol 0$ with $\boldsymbol A \in \R^{n \times n}$ is correct?
  1. It has only the zero solution iff $\det(\boldsymbol A) \neq 0$
  2. It always has nonzero solutions
  3. It has no solution if $\det(\boldsymbol A) = 0$
  4. It has nonzero solutions iff $\boldsymbol A$ is symmetric
Explanation. Rank $n$ iff nonzero determinant.
la-f-systems-k34 · level ipotesi · notes
To conclude that the homogeneous system $\boldsymbol A\boldsymbol x = \boldsymbol 0$ with $\boldsymbol A \in \R^{3 \times 3}$ and $\det(\boldsymbol A) = 0$ has infinitely many solutions, what is used?
  1. That $\boldsymbol A$ is upper triangular
  2. That the right-hand side is $\boldsymbol b \neq \boldsymbol 0$
  3. Cramer's rule on $\boldsymbol A$
  4. Rouché–Capelli with rank $< 3$
Explanation. Consistent because of the zero solution, with $3 - \mathrm{rank}(\boldsymbol A) \ge 1$ parameters.
la-f-systems-k35 · level facile · notes
Cramer's rule for $3x_1 + x_2 = 7$, $x_1 + 2x_2 = 4$ ($\boldsymbol A_j$: $\boldsymbol A$ with column $j$ replaced by $\boldsymbol b$). What are $\det(\boldsymbol A)$ and $\det(\boldsymbol A_2)$?
  1. $5$ and $10$
  2. $7$ and $5$
  3. $5$ and $-5$
  4. $5$ and $5$
Explanation. $\det(\boldsymbol A) = 3 \cdot 2 - 1 \cdot 1 = 5$, $\det(\boldsymbol A_2) = 3 \cdot 4 - 7 \cdot 1 = 5$, so $x_2 = 1$ (and $x_1 = 2$). $10$ is $\det(\boldsymbol A_1)$.
la-f-systems-k36 · level facile · notes
Cramer's rule $\tilde x_j = \det(\boldsymbol A_j)/\det(\boldsymbol A)$ holds if $\det(\boldsymbol A) \neq 0$. What happens if it is applied to the system $x_1 + 2x_2 = 3$, $2x_1 + 4x_2 = 5$?
  1. It gives $x_1 = 1$ and $x_2 = 1$
  2. It does not apply: $\det(\boldsymbol A) = 0$
  3. It gives $x_1 = 3$ and $x_2 = 0$
  4. It gives $x_1 = x_2 = 0$
Explanation. $\det(\boldsymbol A) = 1 \cdot 4 - 2 \cdot 2 = 0$: the formula divides by zero. (The system is in fact inconsistent: the second equation would give $2 \cdot 3 = 5$.)
la-f-systems-k37 · level facile · notes
In Cramer's rule $\boldsymbol A_j$ is $\boldsymbol A$ with column $j$ replaced by $\boldsymbol b$. For the system $x_1 + x_2 = 1$, $x_2 + x_3 = 2$, $x_1 + x_3 = 3$, which matrix is $\boldsymbol A_3$?
  1. $\begin{pmatrix} 1 & 1 & 0 \\ 0 & 1 & 1 \\ 1 & 2 & 3 \end{pmatrix}$
  2. $\begin{pmatrix} 1 & 1 & 0 \\ 2 & 1 & 1 \\ 3 & 0 & 1 \end{pmatrix}$
  3. $\begin{pmatrix} 1 & 1 & 0 \\ 0 & 1 & 1 \\ 1 & 0 & 1 \end{pmatrix}$
  4. $\begin{pmatrix} 1 & 1 & 1 \\ 0 & 1 & 2 \\ 1 & 0 & 3 \end{pmatrix}$
Explanation. $\boldsymbol A = \begin{pmatrix} 1 & 1 & 0 \\ 0 & 1 & 1 \\ 1 & 0 & 1 \end{pmatrix}$ and $\boldsymbol b = (1, 2, 3)'$ takes the place of the third column. Replacing the third row is a mistake; the third option is $\boldsymbol A_1$.
la-f-systems-k38 · level facile · notes
For a system of three equations in three unknowns one finds $\det(\boldsymbol A) = 0$ and $\det(\boldsymbol A_1) = 5$ ($\boldsymbol A_1$: first column replaced by $\boldsymbol b$). What can be said with Cramer's rule?
  1. It does not apply: $\det(\boldsymbol A) = 0$
  2. It gives $x_1 = 0$, like $\det(\boldsymbol A)$
  3. It gives $x_1 = 5$, like $\det(\boldsymbol A_1)$
  4. It gives $x_1 = \frac15$, the inverse of $5$
Explanation. The formula $\tilde x_1 = \det(\boldsymbol A_1)/\det(\boldsymbol A)$ requires $\det(\boldsymbol A) \neq 0$; here it gives no value. $\frac15$ inverts the ratio.
la-f-systems-k39 · level facile · notes
For a system of $m$ equations in $m$ unknowns, how does the number of operations of Gaussian elimination grow, roughly, as $m$ grows?
  1. Like $2^m$
  2. Like $m$
  3. Like $m^3$
  4. Like $m!$
Explanation. Gaussian elimination needs about $\frac23 m^3$ operations. $m!$ is the growth of the determinant with the Laplace expansion, used by Cramer's rule.
la-f-systems-k40 · level facile · notes
Even computing every determinant with Gaussian elimination, why does Cramer's rule for an $m \times m$ system remain more expensive than solving the system with Gauss?
  1. It needs $m!$ eliminations, one per permutation
  2. It needs $m + 1$ eliminations instead of one
  3. It needs to invert $\boldsymbol A$ twice
  4. It works only in exact arithmetic
Explanation. It needs $\det(\boldsymbol A), \det(\boldsymbol A_1), \dots, \det(\boldsymbol A_m)$: $m + 1$ determinants, each costing as much as one elimination, while Gauss on the system uses only one.
la-f-systems-k41 · level facile · notes
A system $\boldsymbol A\boldsymbol x = \boldsymbol b$ with $\boldsymbol A \in \R^{4\times 3}$ has $\mathrm{rank}(\boldsymbol A) = 3$ and $\mathrm{rank}(\boldsymbol A|\boldsymbol b) = 4$ ($(\boldsymbol A|\boldsymbol b)$: augmented matrix). How many solutions does it have?
  1. Exactly one
  2. Infinitely many
  3. Exactly four
  4. None
Explanation. By the Rouché–Capelli theorem, $\mathrm{rank}(\boldsymbol A) < \mathrm{rank}(\boldsymbol A|\boldsymbol b)$ means an inconsistent system. Full rank of $\boldsymbol A$ is not enough.
la-f-systems-k42 · level facile · notes
Let $(\boldsymbol A|\boldsymbol b)$ be the augmented matrix of a system, obtained by appending the column $\boldsymbol b$ to $\boldsymbol A$. If $\mathrm{rank}(\boldsymbol A) = r$, which values can $\mathrm{rank}(\boldsymbol A|\boldsymbol b)$ take?
  1. Only $r$
  2. $r$ or $r - 1$
  3. Any value between $r$ and $m$
  4. $r$ or $r + 1$
Explanation. Appending a column does not decrease the rank and increases it by at most $1$: $r \le \mathrm{rank}(\boldsymbol A|\boldsymbol b) \le r + 1$. This is why the three Rouché–Capelli cases cover everything.
la-f-systems-k43 · level facile · notes
After forward elimination one gets the triangular system $x_1 - x_2 + 2x_3 = 3$, $x_2 + x_3 = 4$, $2x_3 = 2$. With back substitution, what is $x_1$?
  1. $8$
  2. $4$
  3. $-2$
  4. $2$
Explanation. $x_3 = 1$, then $x_2 = 4 - 1 = 3$, finally $x_1 = 3 + x_2 - 2x_3 = 3 + 3 - 2 = 4$. $-2$ gets the sign of $x_2$ wrong ($3 - 3 - 2$).
la-f-systems-k44 · level facile · notes
At the end of forward elimination, $(\boldsymbol A|\boldsymbol b)$ is in row echelon form. How are $\mathrm{rank}(\boldsymbol A)$ and $\mathrm{rank}(\boldsymbol A|\boldsymbol b)$ read off?
  1. By counting the pivots equal to $1$
  2. By counting the positive diagonal entries
  3. By adding up the pivot values
  4. By counting the nonzero rows
Explanation. The rank of an echelon matrix is the number of its nonzero rows (of $\boldsymbol A$ and of $(\boldsymbol A|\boldsymbol b)$). The pivots need not equal $1$ nor be positive.
la-f-systems-k45 · level facile · notes
LU method: once $\boldsymbol y$ is known from $\boldsymbol L\boldsymbol y = \boldsymbol b$, one solves $\boldsymbol U\boldsymbol x = \boldsymbol y$. With $\boldsymbol U = \begin{pmatrix} 2 & 1 \\ 0 & 3 \end{pmatrix}$ and $\boldsymbol y = (5, 6)'$, what is $\boldsymbol x$?
  1. $(3,\, 2)'$
  2. $(\frac32,\, 2)'$
  3. $(\frac52,\, 2)'$
  4. $(2,\, \frac32)'$
Explanation. Backward: $x_2 = \frac63 = 2$, then $2x_1 + 2 = 5$, i.e. $x_1 = \frac32$. $(\frac52, 2)'$ forgets the term $u_{12}\,x_2$.
la-f-systems-k46 · level facile · notes
Forward elimination on the augmented matrix $\begin{pmatrix} 1 & 2 & | & 4 \\ 3 & 5 & | & 9 \end{pmatrix}$ ($R_i$: row $i$). Which row is obtained with $R_2 \leftarrow R_2 - 3R_1$?
  1. $(0 \;\; {-1} \;|\; 9)$
  2. $(0 \;\; 11 \;|\; 21)$
  3. $(0 \;\; {-1} \;|\; {-3})$
  4. $(0 \;\; 1 \;|\; 3)$
Explanation. $(3, 5 \,|\, 9) - 3\,(1, 2 \,|\, 4) = (0, -1 \,|\, -3)$. The operation must be applied to the right-hand side too; $(0, 11 \,|\, 21)$ adds instead of subtracting.

Part: Further topics (91)

A.1. Absolute value (45)

la-f-abs-01 · level facile · notes
For $\varepsilon > 0$, what is $|a| < \varepsilon$ equivalent to?
  1. $0 < a < \varepsilon$
  2. $-\varepsilon < a < \varepsilon$
  3. $a < \varepsilon$
  4. $a > -\varepsilon$ or $a < \varepsilon$
Explanation. It follows from the definition: $|a| < \varepsilon$ holds both for $a \ge 0$ with $a < \varepsilon$ and for $a < 0$ with $-a < \varepsilon$. Both inequalities are needed, together.
la-f-abs-02 · level teorema · notes
Which inequality holds for every $b, c \in \R$?
  1. $|b + c| = |b| + |c|$
  2. $|b - c| \le |b| - |c|$
  3. $|b + c| \le |b| + |c|$
  4. $|b + c| \ge |b| + |c|$
Explanation. It is the triangle inequality; equality holds only if $b$ and $c$ have the same sign (or one of them is zero). With $b = 1$, $c = -1$: $0 \le 2$.
la-f-abs-03 · level teorema · notes
Which inequality (reverse triangle inequality) holds for every $g, h \in \R$?
  1. $|g - h| \le \big|\,|g| - |h|\,\big|$
  2. $|g| - |h| \ge |g - h|$
  3. $\big|\,|g| - |h|\,\big| \ge |g + h|$
  4. $\big|\,|g| - |h|\,\big| \le |g - h|$
Explanation. The difference of the absolute values does not exceed the absolute value of the difference. With $g = 1$, $h = -1$: $0 \le 2$, while the second one would give $2 \le 0$.
la-f-abs-04 · level ipotesi · notes
How is the triangle inequality $|b + c| \le |b| + |c|$ proved for every $b, c \in \R$?
  1. start from the reverse triangle inequality $\big|\,|b| - |c|\,\big| \le |b - c|$ and replace $c$ with $-c$
  2. multiply $-|b| \le b \le |b|$ and $-|c| \le c \le |c|$, then use $|b\,c| = |b|\,|c|$
  3. square both sides and use $(b + c)^2 = b^2 + c^2$, then take the square root
  4. add $-|b| \le b \le |b|$ and $-|c| \le c \le |c|$, then use $|a| \le \varepsilon \Leftrightarrow -\varepsilon \le a \le \varepsilon$
Explanation. Adding member to member: $-(|b| + |c|) \le b + c \le |b| + |c|$; with $\varepsilon = |b| + |c| \ge 0$ and $a = b + c$ the claim follows. The reverse triangle inequality is derived from the triangle inequality, not conversely, and it gives a lower bound anyway.
la-f-abs-05 · level ipotesi · notes
Which steps prove the reverse triangle inequality $\big|\,|g| - |h|\,\big| \le |g - h|$, for every $g, h \in \R$?
  1. $|g| - |h| \le |g - h|$ (triangle inequality with $b = g - h$, $c = h$), the same with $g$ and $h$ swapped, then $|a| \le \varepsilon \Leftrightarrow -\varepsilon \le a \le \varepsilon$
  2. $|g| - |h| \le |g - h|$ (triangle inequality with $b = g - h$, $c = h$), which is enough alone because $|g| - |h| \ge 0$ always
  3. $|g\,h| = |g|\,|h|$ with $h$ replaced by $-h$, then $|a| \le \varepsilon \Leftrightarrow -\varepsilon \le a \le \varepsilon$ with $\varepsilon = |g - h|$
  4. the triangle inequality with $b = g$, $c = h$, i.e. $|g + h| \le |g| + |h|$, then replace $h$ with $|h|$
Explanation. The triangle inequality with $b = g-h$, $c = h$ gives $|g| - |h| \le |g-h|$; swapping $g$ and $h$, $|h| - |g| \le |g-h|$. Hence $-|g-h| \le |g| - |h| \le |g-h|$ and we conclude with $\varepsilon = |g-h|$. It is not true that $|g| - |h| \ge 0$ always.
la-f-abs-06 · level facile · notes
Which $x \in \R$ satisfy $|x - 2| \le 3$?
  1. $x \le 5$
  2. $-5 \le x \le 1$
  3. $x \le -1$ or $x \ge 5$
  4. $-1 \le x \le 5$
Explanation. $|x - 2| \le 3 \Leftrightarrow -3 \le x - 2 \le 3 \Leftrightarrow -1 \le x \le 5$. The last one is the solution of $|x - 2| \ge 3$.
la-f-abs-07 · level facile · notes
The absolute value is $|a| = a$ if $a \ge 0$ and $|a| = -a$ if $a < 0$. What is $|-7| - |3 - 5|$?
  1. $5$
  2. $9$
  3. $-9$
  4. $-5$
Explanation. $|-7| = 7$ and $|3 - 5| = |-2| = 2$, hence $7 - 2 = 5$. Writing $|3 - 5|$ as $-2$ would give $9$.
la-f-abs-08 · level facile · notes
Using $|a| < \varepsilon \Leftrightarrow -\varepsilon < a < \varepsilon$ (for $\varepsilon > 0$), which $x \in \R$ satisfy $|2x - 1| < 5$?
  1. $x < -2$ or $x > 3$
  2. $-3 < x < 2$
  3. $-2 < x < 3$
  4. $-4 < x < 6$
Explanation. $-5 < 2x - 1 < 5$, i.e. $-4 < 2x < 6$, i.e. $-2 < x < 3$. The set $x < -2$ or $x > 3$ is the one of $|2x - 1| > 5$.
la-f-abs-09 · level teorema · notes
Which inequality, a form of the triangle inequality, holds for every $d, e, f \in \R$?
  1. $|d - e| \ge |d - f| + |e - f|$
  2. $|d + e| \le |d - f| + |e - f|$
  3. $|d - e| \le |d - f| + |e - f|$
  4. $|d - e| \le |d - f| - |e - f|$
Explanation. Set $b = d - f$, $c = f - e$ in $|b + c| \le |b| + |c|$ and use $|f - e| = |e - f|$: the distance between $d$ and $e$ does not exceed the sum of the distances from a third point $f$.
la-f-abs-10 · level facile · notes
Let $b_1 = 3$, $b_2 = -5$, $b_3 = 1$. What are $\big|\sum_{i=1}^{3} b_i\big|$ and $\sum_{i=1}^{3} |b_i|$?
  1. $1$ and $9$
  2. $9$ and $9$
  3. $-1$ and $9$
  4. $1$ and $1$
Explanation. $|3 - 5 + 1| = |-1| = 1$ and $3 + 5 + 1 = 9$: as the generalized triangle inequality states, $\big|\sum_i b_i\big| \le \sum_i |b_i|$, here strictly.
la-f-abs-11 · level facile · notes
Which equality on the absolute value holds for every $b, c \in \R$?
  1. $|b - c| = |b| - |c|$
  2. $|-b| = -|b|$
  3. $|b\,c| = |b|\,|c|$
  4. $|b + c| = |b| + |c|$
Explanation. The absolute value is multiplicative. For the sum only the inequality $|b + c| \le |b| + |c|$ holds (for instance $b = 1$, $c = -1$), and $|-b| = |b|$.
la-f-abs-12 · level facile · notes
The absolute value is $|a| = a$ if $a \ge 0$ and $|a| = -a$ if $a < 0$. Which is the set of $x \in \R$ with $|x| = -x$?
  1. only $x = 0$
  2. no $x$
  3. $x \le 0$
  4. $x \ge 0$
Explanation. For $x < 0$ we have $|x| = -x$ by definition, and for $x = 0$ both sides are $0$; for $x > 0$ instead $|x| = x \neq -x$.
la-f-abs-k01 · level facile · notes
The absolute value is $|a| = a$ if $a \ge 0$ and $|a| = -a$ if $a < 0$. If $|a| = 3$, which values can the real $a$ take?
  1. Only the value $a = 3$
  2. Only the value $a = -3$
  3. Every $a$ with $-3 \le a \le 3$
  4. $a = 3$ or $a = -3$
Explanation. $|a| = 3$ holds for $a = 3$ (case $a \ge 0$) and for $a = -3$ (case $a < 0$, with $-a = 3$). The values in between have $|a| < 3$.
la-f-abs-k02 · level facile · notes
How is the absolute value $|x|$ of a real $x$ defined?
  1. $x^2$ for every $x$
  2. $\sqrt{x}$ if $x \ge 0$, $0$ otherwise
  3. $x$ if $x \ge 0$, $-x$ if $x < 0$
  4. $x$ if $x \le 0$, $-x$ if $x > 0$
Explanation. The absolute value changes the sign of negatives.
la-f-abs-k03 · level facile · notes
The absolute value is $|a| = a$ if $a \ge 0$ and $|a| = -a$ if $a < 0$. For which $x \in \R$ does $|x| \le x$ hold?
  1. $x \le 0$
  2. $x \ge 0$
  3. For every $x \in \R$
  4. For no $x$
Explanation. For $x \ge 0$ we have $|x| = x$; for $x < 0$ we have $|x| = -x > x$. So it holds exactly for $x \ge 0$ (and always $|x| \ge x$).
la-f-abs-k04 · level facile · notes
For which $x$ does $|x| > 4$ hold?
  1. $x > -4$
  2. $x < -4$ or $x > 4$
  3. $-4 < x < 4$
  4. $x > 4$
Explanation. Distance from $0$ greater than $4$: two half-lines.
la-f-abs-k05 · level facile · notes
What is $\sqrt{x^2}$ for a real $x$?
  1. $x^2$
  2. $|x|$
  3. $x$
  4. $-x$
Explanation. The square root is nonnegative.
la-f-abs-k06 · level facile · notes
What is $|{-2}| \cdot |3| - |{-6}|$?
  1. $0$
  2. $-12$
  3. $12$
  4. $6$
Explanation. $2 \cdot 3 - 6 = 0$.
la-f-abs-k07 · level facile · notes
With $x = 5$ and $y = -3$, which relation holds between $|x + y|$ and $|x| + |y|$?
  1. $2 < 8$
  2. $2 = 2$
  3. $8 < 2$
  4. $8 = 8$
Explanation. $|x + y| = 2$, $|x| + |y| = 8$: strict inequality for opposite signs.
la-f-abs-k08 · level facile · notes
When does the equality $|x + y| = |x| + |y|$ hold?
  1. Never
  2. When $x y \ge 0$
  3. Only when $x = y$
  4. Always
Explanation. With the same sign no term compensates the other.
la-f-abs-k09 · level facile · notes
With $x = 7$ and $y = 2$, what are $\big||x| - |y|\big|$ and $|x - y|$?
  1. $9$ and $5$
  2. $9$ and $9$
  3. $5$ and $5$
  4. $5$ and $9$
Explanation. Same sign: the reverse triangle inequality holds with equality.
la-f-abs-k10 · level facile · notes
Which statement about $|x - y|$ for two reals $x, y$ is correct?
  1. It always equals $|x| - |y|$
  2. It can be a negative number
  3. It always equals $x - y$
  4. The distance between $x$ and $y$
Explanation. The absolute value of the difference measures distance.
la-f-abs-k11 · level teorema · notes
What does the triangle inequality state for reals?
  1. $|x \cdot y| \le |x| + |y|$ for all $x, y$
  2. $|x + y| \le |x| + |y|$ for all $x, y$
  3. $|x + y| \ge |x| + |y|$ for all $x, y$
  4. $|x + y| = |x| + |y|$ for all $x, y$
Explanation. The absolute value of a sum does not exceed the sum of absolute values.
la-f-abs-k12 · level teorema · notes
What does the reverse triangle inequality state?
  1. $|x| - |y| \ge |x + y|$
  2. $\big||x| - |y|\big| \le |x - y|$
  3. $|x - y| \le \big||x| - |y|\big|$
  4. $|x - y| = |x| - |y|$
Explanation. Apply the triangle inequality to $x = (x - y) + y$ and to $y = (y - x) + x$.
la-f-abs-k13 · level teorema · notes
Which statement about the absolute value is correct?
  1. $|x| = x$ for every $x \in \R$
  2. $|x\,y| = |x|\,|y|$ for all $x, y$
  3. $|x + y| = |x| + |y|$ for all $x, y$
  4. $|{-x}| = -|x|$ for every $x$
Explanation. The absolute value is multiplicative, but not additive.
la-f-abs-k14 · level ipotesi · notes
A proof of the triangle inequality adds $-|x| \le x \le |x|$ and $-|y| \le y \le |y|$. What is needed to conclude?
  1. That $x$ and $y$ are positive
  2. That $x$ and $y$ are equal
  3. That $|x + y| = x + y$ always
  4. That $-a \le t \le a$ means $|t| \le a$
Explanation. We get $-(|x| + |y|) \le x + y \le |x| + |y|$.
la-f-abs-k15 · level ipotesi · notes
To prove the reverse triangle inequality $\big||x| - |y|\big| \le |x - y|$, what is used?
  1. Triangle inequality, twice
  2. That $x \ge y$
  3. The definition of the $\ell_2$ norm
  4. That $|x - y| = |x| - |y|$
Explanation. $|x| \le |x - y| + |y|$ and $|y| \le |y - x| + |x|$.
la-f-abs-k16 · level ipotesi · notes
To solve $|x - 1| = 2x$, which remark is needed before splitting into cases?
  1. None: square without conditions
  2. The right-hand side must be $\ge 0$, so $x \ge 0$
  3. $x$ must be an integer number
  4. $x - 1$ must be positive, so $x > 1$
Explanation. An absolute value is never negative; then $x = \frac13$.
la-f-abs-k17 · level facile · notes
Using $|a| \le \varepsilon \Leftrightarrow -\varepsilon \le a \le \varepsilon$, which $x \in \R$ satisfy $|x - 1| \ge 2$?
  1. $-1 \le x \le 3$
  2. $x \le -3$ or $x \ge 1$
  3. $x \le -2$ or $x \ge 2$
  4. $x \le -1$ or $x \ge 3$
Explanation. $|x - 1| \ge 2$ is the negation of $-2 < x - 1 < 2$, i.e. of $-1 < x < 3$: the two half-lines $x \le -1$ and $x \ge 3$ remain. $x \le -3$ or $x \ge 1$ gets the sign of $-1$ wrong.
la-f-abs-k18 · level facile · notes
The absolute value of a real number is always $\ge 0$. Which $x \in \R$ satisfy $|x| \le -1$?
  1. $-1 \le x \le 1$
  2. $x \le -1$
  3. $x \ge 1$
  4. No $x$
Explanation. $|x| \ge 0 > -1$ for every $x$: the inequality has no solution. The rule $-\varepsilon \le x \le \varepsilon$ holds only for $\varepsilon \ge 0$.
la-f-abs-k19 · level facile · notes
Which $x \in \R$ satisfy $|2x + 4| \le 0$?
  1. Only $x = -2$
  2. No $x \in \R$
  3. Every $x \le -2$
  4. Every $x \ge -2$
Explanation. An absolute value is $\ge 0$, so $|2x + 4| \le 0$ is equivalent to $2x + 4 = 0$, i.e. $x = -2$.
la-f-abs-k20 · level facile · notes
The absolute value is $|a| = a$ if $a \ge 0$ and $|a| = -a$ if $a < 0$. What is $|\pi - 4|$?
  1. $\pi + 4$
  2. $-\pi - 4$
  3. $4 - \pi$
  4. $\pi - 4$
Explanation. $\pi \approx 3.14 < 4$, so $\pi - 4 < 0$ and $|\pi - 4| = -(\pi - 4) = 4 - \pi$. $\pi - 4$ is negative and cannot be an absolute value.
la-f-abs-k21 · level facile · notes
The absolute value is $|a| = a$ if $a \ge 0$ and $|a| = -a$ if $a < 0$. For $x < 2$, what does $|x - 2| + x$ equal?
  1. $2 - 2x$
  2. $2$
  3. $2x - 2$
  4. $-2$
Explanation. For $x < 2$ we have $x - 2 < 0$, so $|x - 2| = 2 - x$ and the sum is $2 - x + x = 2$. $2x - 2$ uses $|x - 2| = x - 2$, valid only for $x \ge 2$.
la-f-abs-k22 · level facile · notes
What are the real solutions of the equation $|x - 5| = 3$?
  1. $x = -8$ and $x = -2$
  2. $x = 2$ and $x = 8$
  3. Only $x = 8$
  4. $x = -2$ and $x = 8$
Explanation. $x - 5 = 3$ or $x - 5 = -3$, i.e. $x = 8$ or $x = 2$: the points at distance $3$ from $5$. «Only $8$» forgets the negative case.
la-f-abs-k23 · level facile · notes
$|x - a|$ is the distance between the reals $x$ and $a$. For which $x \in \R$ does $|x - 1| = |x + 3|$ hold?
  1. $x = 2$
  2. $x = -1$
  3. $x = 1$
  4. $x = -3$
Explanation. $x$ is equidistant from $1$ and $-3$: it is the midpoint $\frac{1 + (-3)}{2} = -1$. Check: $|-2| = |2| = 2$.
la-f-abs-k24 · level facile · notes
For any two reals $x$ and $y$, what is $|x - y| - |y - x|$?
  1. $0$
  2. $2\,|x - y|$
  3. $2\,(x - y)$
  4. $-2\,|x - y|$
Explanation. $y - x = -(x - y)$ and $|-b| = |b|$ for every real $b$, so the two absolute values coincide and the difference is $0$.
la-f-abs-k25 · level facile · notes
By the triangle inequality with $k$ terms, $\big|\sum_{i=1}^{k} b_i\big| \le \sum_{i=1}^{k} |b_i|$. If $|b_i| \le 2$ for $i = 1, \dots, 5$, what is the largest possible value of $\big|\sum_{i=1}^{5} b_i\big|$?
  1. $32$
  2. $5$
  3. $10$
  4. $2$
Explanation. $\big|\sum_i b_i\big| \le \sum_i |b_i| \le 5 \cdot 2 = 10$, and the value $10$ is reached with $b_i = 2$ for every $i$. $32 = 2^5$ multiplies instead of adding.
la-f-abs-k26 · level facile · notes
By the triangle inequality, $|d - e| \le |d - f| + |e - f|$ (for all $d, e, f \in \R$). Knowing that $|d - f| \le 3$ and $|e - f| \le 4$, what can be concluded about $|d - e|$?
  1. $|d - e| \ge 7$
  2. $|d - e| = 7$
  3. $|d - e| \le 7$
  4. $|d - e| \le 1$
Explanation. $|d - e| \le |d - f| + |e - f| \le 3 + 4 = 7$: the distance between $d$ and $e$ is at most the sum of the distances from $f$. One cannot say it equals $7$ or more.
la-f-abs-k27 · level facile · notes
In the triangle inequality $|b + c| \le |b| + |c|$ (for all $b, c \in \R$) we set $b = g - h$ and $c = h$. Which inequality is obtained?
  1. $|g| \le |g - h| + |h|$
  2. $|g - h| \le |g| - |h|$
  3. $|g| + |h| \le |g - h|$
  4. $|g + h| \le |g| - |h|$
Explanation. $b + c = g - h + h = g$, so $|g| \le |g - h| + |h|$, i.e. $|g| - |h| \le |g - h|$. The others reverse the direction or the signs.
la-f-abs-k28 · level facile · notes
By the reverse triangle inequality, $\big||g| - |h|\big| \le |g - h|$ for all $g, h \in \R$. Knowing that $|g - h| \le 1$ and $|h| = 5$, which interval surely contains $|g|$?
  1. $4 \le |g| \le 6$
  2. $|g| \le 1$
  3. $5 \le |g| \le 6$
  4. $0 \le |g| \le 5$
Explanation. $\big||g| - 5\big| \le |g - h| \le 1$ gives $-1 \le |g| - 5 \le 1$, i.e. $4 \le |g| \le 6$. For instance $g = 4$, $h = 5$ gives $|g| = 4$.
la-f-abs-k29 · level facile · notes
The absolute value is $|a| = a$ if $a \ge 0$ and $|a| = -a$ if $a < 0$. Which expression equals $|x|$ for every $x \in \R$?
  1. $\max\{x, -x\}$
  2. $\min\{x, -x\}$
  3. $\max\{x, 0\}$
  4. $-x$
Explanation. Of $x$ and $-x$ one is $\ge 0$: the larger of the two is $|x|$. $\max\{x, 0\}$ equals $0$ for $x < 0$, instead of $-x$.
la-f-abs-k30 · level facile · notes
How many integers $x$ satisfy $|x| < 3$?
  1. $7$
  2. $5$
  3. $6$
  4. $3$
Explanation. $|x| < 3$ is equivalent to $-3 < x < 3$: the integers are $-2, -1, 0, 1, 2$, that is $5$. $7$ also includes $\pm 3$ (non-strict inequality).
la-f-abs-k31 · level facile · notes
$|x - a|$ is the distance between the reals $x$ and $a$. Which inequality describes the reals $x$ at distance less than $2$ from the number $-1$?
  1. $|x| + 1 < 2$
  2. $|x + 1| < 2$
  3. $|x - 1| < 2$
  4. $|x + 2| < 1$
Explanation. The distance from $-1$ is $|x - (-1)| = |x + 1|$. $|x - 1|$ measures the distance from $+1$; $|x + 2| < 1$ swaps centre and radius.
la-f-abs-k32 · level ipotesi · notes
The rule $|a| < \varepsilon \Leftrightarrow -\varepsilon < a < \varepsilon$ holds for $\varepsilon > 0$. A student solves $|x - 3| < -2$ by writing $2 < x - 3 < -2$. What is wrong?
  1. The rule requires $\varepsilon > 0$
  2. The directions had to be reversed
  3. Both sides had to be squared
  4. Nothing: one gets $5 < x < 1$
Explanation. With $\varepsilon = -2 < 0$ the rule does not apply: $|x - 3| \ge 0 > -2$, so the inequality has no solution.
la-f-abs-k33 · level ipotesi · notes
To derive $|d - e| \le |d - f| + |e - f|$ from the triangle inequality $|b + c| \le |b| + |c|$, which substitution is used (with which fact)?
  1. $b = d - e$, $c = f$, and $|b\,c| = |b|\,|c|$
  2. $b = d + f$, $c = e + f$, and nothing else
  3. $b = d - f$, $c = f - e$, and $|f - e| = |e - f|$
  4. $b = d$, $c = -e$, and $|{-e}| = e$
Explanation. With $b = d - f$ and $c = f - e$ we get $b + c = d - e$, so $|d - e| \le |d - f| + |f - e|$, and finally $|f - e| = |e - f|$.

A.2. Modular arithmetic (46)

la-f-mod-01 · level facile · notes
In the Euclidean division of $n = -7$ by $m = 3$ (with $n = q\,m + r$, $0 \le r < |m|$), what are $q$ and $r$?
  1. $q = -3$, $r = 2$
  2. $q = -2$, $r = -1$
  3. $q = 2$, $r = -1$
  4. $q = -2$, $r = 1$
Explanation. $-7 = (-3)\cdot 3 + 2$ with $0 \le 2 < 3$. With $q = -2$ the remainder would be $-1$, negative: not the standard convention.
la-f-mod-02 · level facile · notes
$n \equiv k \pmod{m}$ means that $n$ and $k$ have the same remainder in Euclid's division by $m$. Which congruence is true?
  1. $23 \equiv 13 \pmod{6}$
  2. $23 \equiv 13 \pmod{5}$
  3. $23 \equiv 13 \pmod{3}$
  4. $23 \equiv 13 \pmod{4}$
Explanation. $23 - 13 = 10$, divisible by $5$ but not by $3$, $4$ or $6$; indeed $23$ and $13$ both have remainder $3$ in the division by $5$.
la-f-mod-03 · level teorema · notes
Which statement of Euclid's division is correct (for integers $n, m$ with $m \neq 0$)?
  1. there exist unique integers $q, r$ with $n = q\,m + r$ and $0 \le r < |m|$
  2. there exist unique integers $q, r$ with $n = q\,m + r$ and $0 \le r \le |m|$
  3. there exist unique integers $q, r$ with $n = q\,m + r$ and $|r| < |m|$
  4. there exist integers $q, r$ with $n = q\,m + r$ and $0 \le r < |m|$, but they are not unique
Explanation. With $0 \le r \le |m|$ or $|r| < |m|$ uniqueness is lost: for instance $6 = 2\cdot 3 + 0 = 1\cdot 3 + 3$ and $7 = 2\cdot 3 + 1 = 3\cdot 3 - 2$.
la-f-mod-04 · level facile · notes
When does $n \equiv k \pmod{m}$ hold?
  1. when $n$ mod $k = m$
  2. when $m$ divides $n\,k$
  3. when $m$ divides $n - k$
  4. when $n - k$ divides $m$
Explanation. $n$ and $k$ are congruent modulo $m$ if they have the same remainder in the division by $m$, i.e. if $n - k = q\,m$ for some integer $q$.
la-f-mod-05 · level ipotesi · notes
Euclid's division: for integers $n$, $m \neq 0$ there exist integers $q, r$ with $n = q\,m + r$ and $0 \le r < |m|$. In the proof of existence, which result guarantees that the remainder $r$ exists?
  1. the uniqueness of $q$ and $r$, proved before existence
  2. well-ordering: the nonempty set $S = \{n - km \ge 0 : k \in \Z\}$ has a smallest element
  3. the pigeonhole principle applied to the possible remainders $0, 1, \dots, |m| - 1$
  4. the triangle inequality $|n - km| \le |n| + |k|\,|m|$ for every $k \in \Z$
Explanation. $r$ is the minimum of $S$; if $r \ge |m|$, also $r - |m|$ would be in $S$, contradicting minimality: hence $0 \le r < |m|$. Uniqueness is proved separately and does not give existence.
la-f-mod-06 · level ipotesi · notes
To prove uniqueness in Euclid's division one assumes $n = q_1 m + r_1 = q_2 m + r_2$ with $0 \le r_1, r_2 < |m|$ ($m \neq 0$). Which argument concludes the proof?
  1. $|r_2 - r_1| \le |r_1| + |r_2| < 2|m|$, by the triangle inequality
  2. $m$ is prime, hence it divides $q_1 - q_2$ or $r_2 - r_1$
  3. $r_2 - r_1 = (q_1 - q_2)\,m$ is a multiple of $m$ and $|r_2 - r_1| < |m|$: it is $0$
  4. $r_1$ and $r_2$ are both the minimum of the same set, by well-ordering
Explanation. The only multiple of $m$ with absolute value smaller than $|m|$ is $0$: hence $r_1 = r_2$ and then $q_1 = q_2$. The bound $< 2|m|$ is not enough, and $m$ need not be prime.
la-f-mod-07 · level facile · notes
An integer $m$ is a factor of the integer $n$ if:
  1. there exists an integer $q$ with $n = q\cdot m$
  2. there exists an integer $q$ with $m = q\cdot n$
  3. the remainder of $n$ divided by $m$ is $1$
  4. $m$ is an integer less than $n$
Explanation. $m$ is a factor of $n$ exactly when $n$ is a multiple of $m$: $n = q\cdot m$ with $q$ an integer; then $n$ is divisible by $m$.
la-f-mod-08 · level facile · notes
$n \text{ mod } m$ is the remainder $r$ of Euclid's division $n = q\,m + r$, with $q$ an integer and $0 \le r < |m|$. What is $-17 \text{ mod } 5$?
  1. $-3$
  2. $3$
  3. $2$
  4. $-2$
Explanation. $-17 = (-4)\cdot 5 + 3$ with $0 \le 3 < 5$. The value $-2$ comes from $-17 = (-3)\cdot 5 - 2$, which has a negative remainder; $2$ is the remainder of $17$.
la-f-mod-09 · level facile · notes
An integer $n$ is a multiple of the integer $m$ if there exists an integer $q$ with $n = q\cdot m$. Which of these numbers is a multiple of $7$?
  1. $17$
  2. $27$
  3. $50$
  4. $-21$
Explanation. $-21 = (-3)\cdot 7$ with $q = -3$ an integer. The others give remainders $3$, $6$ and $1$ in the division by $7$.
la-f-mod-10 · level facile · notes
Let $n, m$ be integers with $m \neq 0$ and let $n \text{ mod } m$ be the remainder of Euclid's division of $n$ by $m$. Which relation always holds?
  1. $0 \le n \text{ mod } m < |m|$
  2. $-|m| < n \text{ mod } m < |m|$
  3. $0 \le n \text{ mod } m \le |m|$
  4. $0 < n \text{ mod } m < |m|$
Explanation. The remainder of Euclid's division satisfies $0 \le r < |m|$: it is non-negative (also for $n < 0$), it can be $0$ (when $m$ divides $n$) and it does not reach $|m|$.
la-f-mod-11 · level facile · notes
In Euclid's division of $n = 17$ by $m = -5$ (with $n = q\,m + r$, $q$ an integer and $0 \le r < |m|$), what are $q$ and $r$?
  1. $q = -3$, $r = -2$
  2. $q = -3$, $r = 2$
  3. $q = 3$, $r = 2$
  4. $q = -4$, $r = -3$
Explanation. $(-3)\cdot(-5) + 2 = 17$ with $0 \le 2 < 5$. With $q = 3$ we would get $3\cdot(-5) + 2 = -13$; $r = -3$ and $r = -2$ are negative.
la-f-mod-12 · level facile · notes
Two natural numbers $n$ and $k$ are congruent modulo $m \ge 1$, $n \equiv k \pmod{m}$, if $n \text{ mod } m = k \text{ mod } m$. Which number is congruent to $38$ modulo $7$?
  1. $4$
  2. $10$
  3. $12$
  4. $5$
Explanation. $38 = 5\cdot 7 + 3$ and $10 = 1\cdot 7 + 3$: same remainder $3$, i.e. $7$ divides $38 - 10 = 28$. $12$, $5$ and $4$ give remainders $5$, $5$ and $4$.
la-f-mod-k01 · level facile · notes
In Euclidean division $n = q\,m + r$ with $0 \le r < |m|$, what are $q$ and $r$ for $n = 47$, $m = 6$?
  1. $q = 7$, $r = 5$
  2. $q = 8$, $r = -1$
  3. $q = 6$, $r = 11$
  4. $q = 7$, $r = 6$
Explanation. $47 = 7 \cdot 6 + 5$ with $0 \le 5 < 6$.
la-f-mod-k02 · level facile · notes
Euclid's division of $n$ by $m \neq 0$ is $n = q\,m + r$ with $q, r$ integers and $0 \le r < |m|$. Why is $-13 = (-3)\cdot 4 - 1$ not Euclid's division of $-13$ by $4$?
  1. The quotient $-3$ is negative
  2. $4$ does not divide $-13$
  3. The remainder exceeds the quotient
  4. The remainder $-1$ is negative
Explanation. The remainder must satisfy $0 \le r < 4$: the right expression is $-13 = (-4)\cdot 4 + 3$. The quotient can be negative, and the remainder is not compared with the quotient.
la-f-mod-k03 · level facile · notes
An integer is a multiple of $m$ if it can be written as $q\cdot m$ with $q$ an integer. If $n$ and $k$ are multiples of $m$, which number is surely a multiple of $m$?
  1. $3n - 2k$
  2. $n + 1$
  3. $n + m + 1$
  4. $n\,k + 1$
Explanation. With $n = q_1 m$ and $k = q_2 m$ we get $3n - 2k = (3q_1 - 2q_2)\,m$. Adding $1$ breaks divisibility (for $m \ge 2$).
la-f-mod-k04 · level facile · notes
How many positive divisors does $12$ have?
  1. $6$
  2. $4$
  3. $5$
  4. $12$
Explanation. $1, 2, 3, 4, 6, 12$.
la-f-mod-k05 · level facile · notes
What is $29 \bmod 8$ (remainder of Euclidean division)?
  1. $4$
  2. $21$
  3. $5$
  4. $3$
Explanation. $29 = 3 \cdot 8 + 5$.
la-f-mod-k06 · level facile · notes
What is $(17 + 25) \bmod 6$?
  1. $2$
  2. $42$
  3. $0$
  4. $6$
Explanation. $42 = 7 \cdot 6$; or $5 + 1 = 6 \equiv 0$.
la-f-mod-k07 · level facile · notes
What is $(7 \cdot 8) \bmod 5$?
  1. $1$
  2. $4$
  3. $6$
  4. $3$
Explanation. $56 = 11 \cdot 5 + 1$; or $2 \cdot 3 = 6 \equiv 1$.
la-f-mod-k08 · level facile · notes
Which weekday will it be in $100$ days, if today is Monday?
  1. Wednesday
  2. Tuesday
  3. Monday
  4. Thursday
Explanation. $100 \bmod 7 = 2$: two days after Monday.
la-f-mod-k09 · level facile · notes
Which congruence is false?
  1. $15 \equiv 1 \pmod{7}$
  2. $15 \equiv 3 \pmod{4}$
  3. $15 \equiv 4 \pmod{5}$
  4. $15 \equiv 0 \pmod{5}$
Explanation. $15 - 4 = 11$ is not a multiple of $5$.
la-f-mod-k10 · level facile · notes
In Euclidean division by $m = 9$, which values can the remainder $r$ take?
  1. $0, 1, \dots, 9$
  2. $0, 1, \dots, 8$
  3. $1, 2, \dots, 9$
  4. $-8, \dots, 8$
Explanation. $0 \le r < |m| = 9$.
la-f-mod-k11 · level teorema · notes
What does the Euclidean division lemma state, for integers $n$ and $m \neq 0$?
  1. $m$ always divides $n$, i.e. $n = q\,m$
  2. There is a unique integer $q$ with $n = q\,m$
  3. Unique $q, r$ exist with $n = q\,m + r$, $0 \le r < |m|$
  4. There exist integers $q, r$ with $n = q\,m + r$, not unique
Explanation. Existence and uniqueness of quotient and remainder.
la-f-mod-k12 · level teorema · notes
Which statement about congruences modulo $m$ is correct?
  1. $a \equiv b$ implies $a = b$
  2. Congruence is not transitive
  3. Sums and products respect $\equiv$
  4. If $a c \equiv b c$, then always $a \equiv b$
Explanation. Sums and products are compatible; cancellation needs assumptions on $c$.
la-f-mod-k13 · level teorema · notes
Which statement about divisors and multiples is correct?
  1. $d$ divides $n$ if and only if $n$ is a multiple of $d$
  2. Every integer has exactly two divisors
  3. $0$ is not a multiple of any integer
  4. If $d$ divides $n$ then $d \le n$, always
Explanation. Divisor and multiple are two sides of the same relation $n = k\,d$.
la-f-mod-k14 · level ipotesi · notes
In the proof of uniqueness of $q$ and $r$ in Euclidean division, from $q m + r = q' m + r'$ we get $|r - r'| = |q - q'|\,|m|$. What is needed to conclude?
  1. That $m$ is prime
  2. That $n$ is positive
  3. That $q = q' + 1$
  4. That $|r - r'| < |m|$
Explanation. A multiple of $|m|$ smaller than $|m|$ in absolute value is $0$.
la-f-mod-k15 · level ipotesi · notes
To prove that $a \equiv b \pmod{m}$ and $c \equiv d \pmod{m}$ imply $a + c \equiv b + d \pmod{m}$, what is used?
  1. That $a = b$
  2. A sum of multiples of $m$
  3. That $m$ is prime
  4. That $a, b, c, d$ are positive
Explanation. The sum of two multiples of $m$ is a multiple of $m$.
la-f-mod-k16 · level ipotesi · notes
To conclude that $3$ divides $n^3 - n$ for every integer $n$, which fact suffices?
  1. $n^3 - n = (n-1)\,n\,(n+1)$
  2. That $n$ is an odd number
  3. That $n^3 - n$ is even
  4. That $n$ is a prime number
Explanation. Among three consecutive integers one is a multiple of $3$.
la-f-mod-k17 · level facile · notes
$n \text{ mod } m$ is the remainder $r$ of Euclid's division $n = q\,m + r$, with $q$ an integer and $0 \le r < |m|$. If $n \text{ mod } 5 = 3$, what is $(n + 4) \text{ mod } 5$?
  1. $4$
  2. $3$
  3. $2$
  4. $7$
Explanation. $n = 5q + 3$, so $n + 4 = 5q + 7 = 5(q + 1) + 2$ with $0 \le 2 < 5$. $7$ is not a remainder modulo $5$ (it must be $< 5$).
la-f-mod-k18 · level facile · notes
$n \text{ mod } m$ is the remainder $r$ of Euclid's division $n = q\,m + r$, with $q$ an integer and $0 \le r < |m|$. What is $-1 \text{ mod } 6$?
  1. $0$
  2. $5$
  3. $-1$
  4. $1$
Explanation. $-1 = (-1) \cdot 6 + 5$ with $0 \le 5 < 6$. $-1$ is not allowed as a remainder (it must be $\ge 0$); $1$ is the remainder of $+1$.
la-f-mod-k19 · level facile · notes
$n \text{ mod } m$ is the remainder $r$ of Euclid's division $n = q\,m + r$, with $q$ an integer and $0 \le r < |m|$. For integers $0 \le n < m$, what is $n \text{ mod } m$?
  1. $0$
  2. $m - n$
  3. $m$
  4. $n$
Explanation. $n = 0 \cdot m + n$ with $0 \le n < m$: quotient $0$ and remainder $n$. The remainder can never equal $m$.
la-f-mod-k20 · level facile · notes
$n \text{ mod } m$ is the remainder $r$ of Euclid's division $n = q\,m + r$, with $q$ an integer and $0 \le r < |m|$. What is $n \text{ mod } 1$ for every integer $n$?
  1. $n$
  2. $-n$
  3. $0$
  4. $1$
Explanation. With $m = 1$ the remainder must satisfy $0 \le r < 1$, so $r = 0$ (and $q = n$): every integer is a multiple of $1$.
la-f-mod-k21 · level facile · notes
The last digit (in base $10$) of a natural number $n$ is $n \text{ mod } 10$, and the remainder of a product is the remainder of the product of the remainders. What is the last digit of $49 \cdot 13$?
  1. $2$
  2. $7$
  3. $3$
  4. $9$
Explanation. $49 \text{ mod } 10 = 9$ and $13 \text{ mod } 10 = 3$; $9 \cdot 3 = 27$ has remainder $7$. Indeed $49 \cdot 13 = 637$.
la-f-mod-k22 · level facile · notes
$n \text{ mod } m$ is the remainder of Euclid's division of $n$ by $m$ ($0 \le$ remainder $< |m|$). An integer $n$ is even if and only if:
  1. $n \text{ mod } 2 = 0$
  2. $n \text{ mod } 2 = 1$
  3. $2 \text{ mod } n = 0$
  4. $n \text{ mod } 4 = 2$
Explanation. $n$ is even when $n = 2q$, i.e. when the remainder of the division by $2$ is $0$. $n \text{ mod } 4 = 2$ describes only some even numbers (not $4$ or $8$).
la-f-mod-k23 · level facile · notes
An integer $n$ is a multiple of the integer $m$ if $n = q\cdot m$ for some integer $q$. How many multiples of $7$ are there between $1$ and $100$ (both included)?
  1. $13$
  2. $7$
  3. $14$
  4. $15$
Explanation. They are $7 \cdot 1, \dots, 7 \cdot 14 = 98$, since $7 \cdot 15 = 105 > 100$: $14$ in all (the quotient of $100$ by $7$).
la-f-mod-k24 · level facile · notes
An integer $n$ is a multiple of the integer $m$ if $n = q\cdot m$ for some integer $q$. Which statement about the number $0$ is correct?
  1. $0$ is a multiple of every integer $m$
  2. $0$ is a multiple of no integer
  3. $0$ is a multiple of $0$ only
  4. $0$ is a multiple of $1$ only
Explanation. $0 = 0 \cdot m$ for every integer $m$: it suffices to choose $q = 0$ in the definition.
la-f-mod-k25 · level facile · notes
An integer $m$ is a divisor of the integer $n$ if $n = q\cdot m$ for some integer $q$. If $m$ divides $n$ and $n \neq 0$, which statement is always true?
  1. $m > 0$
  2. $n \text{ mod } m = 1$
  3. $|m| \le |n|$
  4. $m \le n$
Explanation. From $n = q\,m$ with $n \neq 0$ it follows that $q \neq 0$, so $|q| \ge 1$ and $|n| = |q|\,|m| \ge |m|$. $m \le n$ fails for $m = 3$, $n = -3$; $m = -3$ divides $6$.
la-f-mod-k26 · level facile · notes
An integer $m$ is a divisor of the integer $n$ if $n = q\cdot m$ for some integer $q$. Which of the following integers is not a divisor of $42$?
  1. $14$
  2. $4$
  3. $-6$
  4. $7$
Explanation. $42 = (-7)\cdot(-6) = 6 \cdot 7 = 3 \cdot 14$, while $42 = 10 \cdot 4 + 2$ has remainder $2$. Negative integers can be divisors too.
la-f-mod-k27 · level facile · notes
$n \text{ mod } m$ is the remainder of Euclid's division of $n$ by $m$; the remainder of a product is the remainder of the product of the remainders. What is $2^{10} \text{ mod } 3$?
  1. $2$
  2. $0$
  3. $10$
  4. $1$
Explanation. $2^2 = 4$ has remainder $1$ modulo $3$, so $2^{10} = (2^2)^5$ has remainder $1^5 = 1$. Indeed $1024 = 341 \cdot 3 + 1$.
la-f-mod-k28 · level facile · notes
$n \text{ mod } m$ is the remainder $r$ of Euclid's division $n = q\,m + r$, with $0 \le r < |m|$. If $n \text{ mod } 6 = 4$, what is $n \text{ mod } 3$?
  1. $4$
  2. $2$
  3. $0$
  4. $1$
Explanation. $n = 6q + 4 = 3(2q + 1) + 1$, with $0 \le 1 < 3$: the remainder modulo $3$ is $1$. $4$ cannot be a remainder modulo $3$.
la-f-mod-k29 · level facile · notes
$a \equiv b \pmod{m}$ means that $a$ and $b$ have the same remainder in the division by $m$. If $a \equiv 2 \pmod{7}$ and $b \equiv 6 \pmod{7}$, what is $(a + b) \text{ mod } 7$?
  1. $8$
  2. $4$
  3. $5$
  4. $1$
Explanation. $a + b \equiv 2 + 6 = 8 \equiv 1 \pmod{7}$. $8$ is not a remainder modulo $7$ (it must be $< 7$); $5 = 12 \text{ mod } 7$ comes from the product.
la-f-mod-k30 · level facile · notes
Euclid's division of $n$ by $m \neq 0$ writes $n = q\,m + r$ with $q, r$ integers and $0 \le r < |m|$. Which expression is Euclid's division of $58$ by $7$?
  1. $58 = 9 \cdot 7 - 5$
  2. $58 = 7 \cdot 7 + 9$
  3. $58 = 8 \cdot 7 + 3$
  4. $58 = 8 \cdot 7 + 2$
Explanation. $8 \cdot 7 + 2 = 58$ with $0 \le 2 < 7$. $9 \cdot 7 - 5$ has a negative remainder, $7 \cdot 7 + 9$ has remainder $9 \ge 7$, $8 \cdot 7 + 3 = 59$.
la-f-mod-k31 · level facile · notes
In Euclid's division $n = q\,m + r$ (with $m \neq 0$ and $0 \le r < |m|$), what are $n$, $m$, $q$ and $r$ called, in this order?
  1. Quotient, divisor, dividend, remainder
  2. Dividend, divisor, quotient, remainder
  3. Divisor, dividend, quotient, remainder
  4. Dividend, quotient, divisor, remainder
Explanation. $n$ is the number being divided (dividend), $m$ the number it is divided by (divisor), $q$ the quotient and $r$ the remainder.
la-f-mod-k32 · level facile · notes
$n \text{ mod } m$ is the remainder of Euclid's division of $n$ by $m \neq 0$ ($0 \le$ remainder $< |m|$). If $n \text{ mod } m = 0$, what can be concluded?
  1. $n$ is a divisor of $m$
  2. $n$ is equal to zero
  3. $n$ is less than $m$
  4. $m$ is a divisor of $n$
Explanation. Remainder $0$ means $n = q\,m$ with $q$ an integer: $m$ divides $n$ ($n$ is a multiple of $m$). For instance $12 \text{ mod } 4 = 0$ with $n = 12 \neq 0$.
la-f-mod-k33 · level ipotesi · notes
Euclid's division lemma ($n = q\,m + r$ with $q, r$ integers and $0 \le r < |m|$) requires $m \neq 0$. What goes wrong with $m = 0$?
  1. Nothing: the lemma holds anyway
  2. No remainder satisfies $0 \le r < 0$
  3. The quotient exists but is not unique
  4. One always has $r = n$, which is fine
Explanation. With $m = 0$ the condition becomes $0 \le r < |0| = 0$, which no integer satisfies: there is no admissible remainder.
la-f-mod-k34 · level ipotesi · notes
We want to prove that «$m$ divides $n - k$» implies $n \text{ mod } m = k \text{ mod } m$ (same remainder in Euclid's division, $0 \le r < |m|$). Which property of Euclid's division is needed?
  1. That $n - k$ is less than $m$
  2. The uniqueness of the remainder
  3. That $m$ is a prime number
  4. That $n$ and $k$ are positive
Explanation. From $k = q\,m + r$ and $n - k = t\,m$ it follows that $n = (q + t)\,m + r$ with the same $r$; by uniqueness, $r$ is exactly the remainder of $n$.

Generated questions (54)

Each generator builds a new instance, with different numbers, at every start: a few examples here.

1. Sums (4)

Example 1 · la-g-sum · level facile · notes
What is $\sum_{j=3}^{11} (4j+4)$?
  1. $288$
  2. $284$
  3. $308$
  4. $256$
Explanation. The sum has $11 - 3 + 1 = 9$ terms: $4\sum_{j=3}^{11} j + 9\cdot 4$, with $\sum_{j=3}^{11} j = \frac{11\cdot 12}{2} - \frac{2\cdot 3}{2} = 63$. Result: $288$.
Example 2 · la-g-sum · level facile · notes
What is $\sum_{j=3}^{13} (4j+2)$?
  1. $374$
  2. $372$
  3. $390$
  4. $354$
Explanation. The sum has $13 - 3 + 1 = 11$ terms: $4\sum_{j=3}^{13} j + 11\cdot 2$, with $\sum_{j=3}^{13} j = \frac{13\cdot 14}{2} - \frac{2\cdot 3}{2} = 88$. Result: $374$.
Example 1 · la-g-sum-odd · level media · notes
What is $\sum_{j=5}^{13} (2j-1)$, i.e. the sum of the odd numbers from $9$ to $25$?
  1. $153$
  2. $144$
  3. $81$
  4. $169$
Explanation. By decomposition, $\sum_{j=5}^{13} (2j-1) = \sum_{j=1}^{13} (2j-1) - \sum_{j=1}^{4} (2j-1)$, and the sum of the first $m$ odd numbers is $m^2$: $13^2 - 4^2 = 153$. Subtracting $5^2$ instead of $4^2$ also drops the term $j = 5$.
Example 2 · la-g-sum-odd · level media · notes
What is $\sum_{j=4}^{15} (2j-1)$, i.e. the sum of the odd numbers from $7$ to $29$?
  1. $216$
  2. $209$
  3. $144$
  4. $225$
Explanation. By decomposition, $\sum_{j=4}^{15} (2j-1) = \sum_{j=1}^{15} (2j-1) - \sum_{j=1}^{3} (2j-1)$, and the sum of the first $m$ odd numbers is $m^2$: $15^2 - 3^2 = 216$. Subtracting $4^2$ instead of $3^2$ also drops the term $j = 4$.
Example 1 · la-g-sum-def · level facile · notes
What is $\sum_{j=3}^{8} (3j + 4)$?
  1. $123$
  2. $95$
  3. $110$
  4. $140$
Explanation. Add the $6$ terms from $j = 3$ to $j = 8$ included: $123$.
Example 2 · la-g-sum-def · level facile · notes
What is $\sum_{j=2}^{9} (-j - 4)$?
  1. $-76$
  2. $-63$
  3. $-70$
  4. $-81$
Explanation. Add the $8$ terms from $j = 2$ to $j = 9$ included: $-76$.
Example 1 · la-g-sum-doppia · level complessa · notes
What is the double sum $\sum_{i=1}^{7} \sum_{j=1}^{i} j$?
  1. $84$
  2. $196$
  3. $28$
  4. $56$
Explanation. The inner sum equals $\frac{i(i+1)}{2}$; summing over $i = 1, \dots, 7$ gives $\frac{n(n+1)(n+2)}{6} = 84$.
Example 2 · la-g-sum-doppia · level complessa · notes
What is the double sum $\sum_{i=1}^{6} \sum_{j=1}^{i} j$?
  1. $56$
  2. $126$
  3. $21$
  4. $35$
Explanation. The inner sum equals $\frac{i(i+1)}{2}$; summing over $i = 1, \dots, 6$ gives $\frac{n(n+1)(n+2)}{6} = 56$.

2. Products (3)

Example 1 · la-g-products · level facile · notes
We know that $\prod_{j=1}^{4} a_j = 6$. What is $\prod_{j=1}^{4} (-2\, a_j)$?
  1. $96$
  2. $-12$
  3. $-48$
  4. $-192$
Explanation. The constant appears in each of the $n = 4$ factors: $\prod_{j=1}^{n} (c\, a_j) = c^n \prod_{j=1}^{n} a_j = (-2)^{4}\cdot 6 = 96$.
Example 2 · la-g-products · level facile · notes
The factorial is $n! = \prod_{j=1}^{n} j$. What is $\dfrac{11!}{9!}$?
  1. $110$
  2. $990$
  3. $11$
  4. $121$
Explanation. $\frac{n!}{(n-k)!} = \prod_{j=n-k+1}^{n} j$ is the product of $k = 2$ factors, from $n = 11$ decreasing by one: result $110$.
Example 1 · la-g-prod-cj · level facile · notes
What is the product $\prod_{j=1}^{4} (-2\, j)$?
  1. $384$
  2. $-48$
  3. $96$
  4. $64$
Explanation. The constant appears in each of the $4$ factors: $\prod_{j=1}^{4} (-2\, j) = (-2)^{4} \prod_{j=1}^{4} j = (-2)^{4}\cdot 4! = 16\cdot 24 = 384$. Taking $-2$ out only once is the typical mistake (it holds for sums).
Example 2 · la-g-prod-cj · level facile · notes
What is the product $\prod_{j=1}^{4} (-3\, j)$?
  1. $1944$
  2. $-72$
  3. $486$
  4. $324$
Explanation. The constant appears in each of the $4$ factors: $\prod_{j=1}^{4} (-3\, j) = (-3)^{4} \prod_{j=1}^{4} j = (-3)^{4}\cdot 4! = 81\cdot 24 = 1944$. Taking $-3$ out only once is the typical mistake (it holds for sums).
Example 1 · la-g-prod-telescopica · level media · notes
What is the product $\prod_{j=1}^{19} \frac{j + 2}{j + 1}$?
  1. $\frac{21}{2}$
  2. $21$
  3. $\frac{19}{2}$
  4. $10$
Explanation. Telescoping: each numerator cancels the next denominator; $\frac{21}{2}$ remains.
Example 2 · la-g-prod-telescopica · level media · notes
What is the product $\prod_{j=1}^{14} \frac{j + 3}{j + 2}$?
  1. $\frac{17}{3}$
  2. $17$
  3. $\frac{14}{3}$
  4. $\frac{16}{3}$
Explanation. Telescoping: each numerator cancels the next denominator; $\frac{17}{3}$ remains.

3. Vectors (5)

Example 1 · la-g-vec-comb · level facile · notes
Given the column vectors $\boldsymbol p = (4,\, -4,\, 4)'$ and $\boldsymbol w = (-3,\, -2,\, -4)'$ of $\R^3$ (the prime $'$ denotes the transpose), what is the linear combination $2\boldsymbol p-\boldsymbol w$?
  1. $(11,\, -6,\, 12)'$
  2. $(5,\, -10,\, 4)'$
  3. $(14,\, -4,\, 16)'$
  4. $(-10,\, 0,\, -12)'$
Explanation. Multiply each entry by its scalar and add the corresponding entries: $2\boldsymbol p-\boldsymbol w = (11,\, -6,\, 12)'$. Watch the sign of the second coefficient: each scalar multiplies only its own vector.
Example 2 · la-g-vec-comb · level facile · notes
Given the column vectors $\boldsymbol p = (-1,\, 4,\, -1)'$ and $\boldsymbol w = (-4,\, -1,\, 4)'$ of $\R^3$ (the prime $'$ denotes the transpose), what is the linear combination $-3\boldsymbol p-2\boldsymbol w$?
  1. $(11,\, -10,\, -5)'$
  2. $(-5,\, -14,\, 11)'$
  3. $(-21,\, -18,\, 27)'$
  4. $(14,\, -5,\, -10)'$
Explanation. Multiply each entry by its scalar and add the corresponding entries: $-3\boldsymbol p-2\boldsymbol w = (11,\, -10,\, -5)'$. Watch the sign of the second coefficient: each scalar multiplies only its own vector.
Example 1 · la-g-scalar-product · level facile · notes
Compute the scalar product $\boldsymbol p'\,\boldsymbol w$ of the column vectors $\boldsymbol p = (1,\, 4,\, 3,\, 1)'$ and $\boldsymbol w = (3,\, -4,\, 1,\, 4)'$ (the prime $'$ denotes the transpose).
  1. $-6$
  2. $26$
  3. $-1$
  4. $13$
Explanation. $\boldsymbol p'\,\boldsymbol w = \sum_{j=1}^{4} p_j w_j = -6$: multiply the entries with the same index (with their signs) and add the products.
Example 2 · la-g-scalar-product · level facile · notes
Compute the scalar product $\boldsymbol p'\,\boldsymbol w$ of the column vectors $\boldsymbol p = (5,\, 2,\, 3,\, 5)'$ and $\boldsymbol w = (3,\, 4,\, -4,\, 5)'$ (the prime $'$ denotes the transpose).
  1. $36$
  2. $60$
  3. $44$
  4. $23$
Explanation. $\boldsymbol p'\,\boldsymbol w = \sum_{j=1}^{4} p_j w_j = 36$: multiply the entries with the same index (with their signs) and add the products.
Example 1 · la-g-lindep-k · level facile · notes
For which value of the real parameter $k$ are the column vectors $\boldsymbol v_1 = (-2,\, 2,\, 1)'$, $\boldsymbol v_2 = (3,\, 0,\, 3)'$, $\boldsymbol v_3 = (4,\, 2,\, k)'$ linearly dependent?
  1. $k = 7$
  2. $k = -7$
  3. $k = -5$
  4. $k = 5$
Explanation. From the first two entries, $\boldsymbol v_3 = \boldsymbol v_1+2\boldsymbol v_2$ is the only possible combination; the third entry gives $k = 7$. For the other values the determinant of the matrix with columns $\boldsymbol v_1, \boldsymbol v_2, \boldsymbol v_3$ is nonzero.
Example 2 · la-g-lindep-k · level facile · notes
For which value of the real parameter $k$ are the column vectors $\boldsymbol v_1 = (-3,\, 2,\, -1)'$, $\boldsymbol v_2 = (-3,\, -2,\, 3)'$, $\boldsymbol v_3 = (-9,\, 2,\, k)'$ linearly dependent?
  1. $k = 1$
  2. $k = -1$
  3. $k = -5$
  4. $k = 5$
Explanation. From the first two entries, $\boldsymbol v_3 = 2\boldsymbol v_1+\boldsymbol v_2$ is the only possible combination; the third entry gives $k = 1$. For the other values the determinant of the matrix with columns $\boldsymbol v_1, \boldsymbol v_2, \boldsymbol v_3$ is nonzero.
Example 1 · la-g-coord2 · level facile · notes
The column vectors (the prime $'$ denotes the transpose) $\boldsymbol v_1 = (0,\, 1)'$ and $\boldsymbol v_2 = (2,\, 3)'$ form a basis of $\R^2$. What are the coordinates $(\lambda_1, \lambda_2)$ of $\boldsymbol x = (4,\, 3)'$, i.e. $\boldsymbol x = \lambda_1 \boldsymbol v_1 + \lambda_2 \boldsymbol v_2$?
  1. $(-3,\, 2)$
  2. $(2,\, -3)$
  3. $(4,\, 3)$
  4. $(-3,\, -2)$
Explanation. Solve $\lambda_1 \boldsymbol v_1 + \lambda_2 \boldsymbol v_2 = \boldsymbol x$ (the basis vectors are the columns): $\lambda_1 = -3$, $\lambda_2 = 2$. The coordinates are unique because $\boldsymbol v_1, \boldsymbol v_2$ are linearly independent.
Example 2 · la-g-coord2 · level facile · notes
The column vectors (the prime $'$ denotes the transpose) $\boldsymbol v_1 = (-1,\, 2)'$ and $\boldsymbol v_2 = (-1,\, -3)'$ form a basis of $\R^2$. What are the coordinates $(\lambda_1, \lambda_2)$ of $\boldsymbol x = (-2,\, -11)'$, i.e. $\boldsymbol x = \lambda_1 \boldsymbol v_1 + \lambda_2 \boldsymbol v_2$?
  1. $(-1,\, 3)$
  2. $(3,\, -1)$
  3. $(-2,\, -11)$
  4. $(-1,\, -3)$
Explanation. Solve $\lambda_1 \boldsymbol v_1 + \lambda_2 \boldsymbol v_2 = \boldsymbol x$ (the basis vectors are the columns): $\lambda_1 = -1$, $\lambda_2 = 3$. The coordinates are unique because $\boldsymbol v_1, \boldsymbol v_2$ are linearly independent.
Example 1 · la-g-coord3 · level media · notes
The column vectors (the prime $'$ denotes the transpose) $\boldsymbol v_1 = (-1,\, 0,\, 0)'$, $\boldsymbol v_2 = (-2,\, -1,\, -1)'$, $\boldsymbol v_3 = (2,\, 1,\, 0)'$ form a basis of $\R^3$. What are the coordinates $(\lambda_1, \lambda_2, \lambda_3)$ of $\boldsymbol x = (-6,\, -4,\, -3)'$ with respect to this basis, that is $\boldsymbol x = \lambda_1\boldsymbol v_1 + \lambda_2\boldsymbol v_2 + \lambda_3\boldsymbol v_3$?
  1. $(-2,\, 3,\, -1)$
  2. $(-6,\, -4,\, -3)$
  3. $(6,\, -15,\, 7)$
  4. $(-1,\, 3,\, -2)$
Explanation. Solve $\lambda_1 \boldsymbol v_1 + \lambda_2 \boldsymbol v_2 + \lambda_3 \boldsymbol v_3 = \boldsymbol x$, a system whose matrix has the basis vectors as columns (not as rows): $(\lambda_1, \lambda_2, \lambda_3) = (-2,\, 3,\, -1)$. Check: $-2\boldsymbol v_1+3\boldsymbol v_2-\boldsymbol v_3 = \boldsymbol x$.
Example 2 · la-g-coord3 · level media · notes
The column vectors (the prime $'$ denotes the transpose) $\boldsymbol v_1 = (-1,\, -1,\, 2)'$, $\boldsymbol v_2 = (1,\, 2,\, 0)'$, $\boldsymbol v_3 = (1,\, 2,\, -1)'$ form a basis of $\R^3$. What are the coordinates $(\lambda_1, \lambda_2, \lambda_3)$ of $\boldsymbol x = (-1,\, -4,\, -3)'$ with respect to this basis, that is $\boldsymbol x = \lambda_1\boldsymbol v_1 + \lambda_2\boldsymbol v_2 + \lambda_3\boldsymbol v_3$?
  1. $(-2,\, -2,\, -1)$
  2. $(-1,\, -4,\, -3)$
  3. $(2,\, -3,\, -1)$
  4. $(-1,\, -2,\, -2)$
Explanation. Solve $\lambda_1 \boldsymbol v_1 + \lambda_2 \boldsymbol v_2 + \lambda_3 \boldsymbol v_3 = \boldsymbol x$, a system whose matrix has the basis vectors as columns (not as rows): $(\lambda_1, \lambda_2, \lambda_3) = (-2,\, -2,\, -1)$. Check: $-2\boldsymbol v_1-2\boldsymbol v_2-\boldsymbol v_3 = \boldsymbol x$.

4.1. Matrices (6)

Example 1 · la-g-mat-product · level facile · notes
Let $\boldsymbol A = \begin{pmatrix} 1 & 1 \\ 3 & 3 \end{pmatrix}$ and $\boldsymbol B = \begin{pmatrix} -3 & 3 \\ 1 & 1 \end{pmatrix}$. What is $\boldsymbol A\boldsymbol B$?
  1. $\begin{pmatrix} -2 & 4 \\ -6 & 12 \end{pmatrix}$
  2. $\begin{pmatrix} 6 & 6 \\ 4 & 4 \end{pmatrix}$
  3. $\begin{pmatrix} -3 & 3 \\ 3 & 3 \end{pmatrix}$
  4. $\begin{pmatrix} 0 & 2 \\ 0 & 6 \end{pmatrix}$
Explanation. Entry $(i,k)$ of $\boldsymbol A\boldsymbol B$ is the scalar product of row $i$ of $\boldsymbol A$ and column $k$ of $\boldsymbol B$: $\boldsymbol A\boldsymbol B = \begin{pmatrix} -2 & 4 \\ -6 & 12 \end{pmatrix}$. The product is not commutative: $\boldsymbol B\boldsymbol A$ is in general different.
Example 2 · la-g-mat-product · level facile · notes
Let $\boldsymbol A = \begin{pmatrix} 4 & 3 \\ 2 & 3 \end{pmatrix}$ and $\boldsymbol B = \begin{pmatrix} 3 & -2 \\ 4 & 4 \end{pmatrix}$. What is $\boldsymbol A\boldsymbol B$?
  1. $\begin{pmatrix} 24 & 4 \\ 18 & 8 \end{pmatrix}$
  2. $\begin{pmatrix} 8 & 3 \\ 24 & 24 \end{pmatrix}$
  3. $\begin{pmatrix} 12 & -6 \\ 8 & 12 \end{pmatrix}$
  4. $\begin{pmatrix} 6 & 28 \\ 0 & 20 \end{pmatrix}$
Explanation. Entry $(i,k)$ of $\boldsymbol A\boldsymbol B$ is the scalar product of row $i$ of $\boldsymbol A$ and column $k$ of $\boldsymbol B$: $\boldsymbol A\boldsymbol B = \begin{pmatrix} 24 & 4 \\ 18 & 8 \end{pmatrix}$. The product is not commutative: $\boldsymbol B\boldsymbol A$ is in general different.
Example 1 · la-g-det2 · level facile · notes
What is $\det(\boldsymbol A)$ for $\boldsymbol A = \begin{pmatrix} 1 & 2 \\ 5 & 6 \end{pmatrix}$?
  1. $-4$
  2. $16$
  3. $4$
  4. $-28$
Explanation. For a $2\times 2$ matrix, $\det(\boldsymbol A) = ad - bc = 1\cdot6 - 2\cdot5 = -4$.
Example 2 · la-g-det2 · level facile · notes
What is $\det(\boldsymbol A)$ for $\boldsymbol A = \begin{pmatrix} -1 & 6 \\ 5 & 3 \end{pmatrix}$?
  1. $-33$
  2. $27$
  3. $33$
  4. $-21$
Explanation. For a $2\times 2$ matrix, $\det(\boldsymbol A) = ad - bc = -1\cdot3 - 6\cdot5 = -33$.
Example 1 · la-g-det3 · level facile · notes
What is $\det(\boldsymbol A)$ for $\boldsymbol A = \begin{pmatrix} 1 & 1 & 3 \\ 3 & -3 & 3 \\ 1 & 1 & 4 \end{pmatrix}$?
  1. $-6$
  2. $6$
  3. $12$
  4. $-3$
Explanation. By the Sarrus rule: $aei + bfg + cdh - ceg - bdi - afh = -6$ (or by Laplace expansion, with the signs $(-1)^{i+j}$ of the cofactors).
Example 2 · la-g-det3 · level facile · notes
What is $\det(\boldsymbol A)$ for $\boldsymbol A = \begin{pmatrix} 0 & 3 & -1 \\ -3 & 0 & 3 \\ 3 & 2 & 4 \end{pmatrix}$?
  1. $69$
  2. $-3$
  3. $-57$
  4. $0$
Explanation. By the Sarrus rule: $aei + bfg + cdh - ceg - bdi - afh = 69$ (or by Laplace expansion, with the signs $(-1)^{i+j}$ of the cofactors).
Example 1 · la-g-rank · level facile · notes
What is the rank of $\boldsymbol A = \begin{pmatrix} -6 & -2 & 0 & -6 \\ -3 & -1 & 0 & -3 \\ 6 & 2 & 0 & 6 \end{pmatrix}$?
  1. $\mathrm{rank}(\boldsymbol A) = 1$
  2. $\mathrm{rank}(\boldsymbol A) = 2$
  3. $\mathrm{rank}(\boldsymbol A) = 3$
  4. $\mathrm{rank}(\boldsymbol A) = 4$
Explanation. Gaussian elimination gives a row echelon form with 1 nonzero row, hence $\mathrm{rank}(\boldsymbol A) = 1$. In any case $\mathrm{rank}(\boldsymbol A) \le \min\{3,4\} = 3$.
Example 2 · la-g-rank · level facile · notes
What is the rank of $\boldsymbol A = \begin{pmatrix} 2 & -1 & -3 & -1 \\ 3 & 2 & 1 & 3 \\ 5 & 1 & -2 & 2 \end{pmatrix}$?
  1. $\mathrm{rank}(\boldsymbol A) = 1$
  2. $\mathrm{rank}(\boldsymbol A) = 2$
  3. $\mathrm{rank}(\boldsymbol A) = 3$
  4. $\mathrm{rank}(\boldsymbol A) = 4$
Explanation. Gaussian elimination gives a row echelon form with 2 nonzero rows, hence $\mathrm{rank}(\boldsymbol A) = 2$. In any case $\mathrm{rank}(\boldsymbol A) \le \min\{3,4\} = 3$.
Example 1 · la-g-laplace4 · level media · notes
Compute $\det(\boldsymbol A)$ for $\boldsymbol A = \begin{pmatrix} 1 & 2 & 0 & 0 \\ 3 & -2 & 2 & 1 \\ 1 & 3 & -2 & 3 \\ -1 & -1 & -2 & -2 \end{pmatrix}$ by Laplace expansion along the first row (cofactor of $a_{ij}$: $(-1)^{i+j}$ times the determinant of the submatrix without row $i$ and column $j$).
  1. $-70$
  2. $26$
  3. $-22$
  4. $70$
Explanation. Only $a_{11} = 1$ and $a_{12} = 2$ are nonzero: $\det(\boldsymbol A) = a_{11}\det(\boldsymbol A_{11}) - a_{12}\det(\boldsymbol A_{12}) = 1\cdot (-22) - 2\cdot 24 = -70$. The sign of the $(1,2)$ cofactor is $(-1)^{1+2} = -1$: forgetting it gives $26$.
Example 2 · la-g-laplace4 · level media · notes
Compute $\det(\boldsymbol A)$ for $\boldsymbol A = \begin{pmatrix} -1 & 2 & 0 & 0 \\ -1 & -2 & 0 & 3 \\ 2 & 1 & 3 & 2 \\ 1 & 3 & 2 & -2 \end{pmatrix}$ by Laplace expansion along the first row (cofactor of $a_{ij}$: $(-1)^{i+j}$ times the determinant of the submatrix without row $i$ and column $j$).
  1. $-25$
  2. $27$
  3. $1$
  4. $25$
Explanation. Only $a_{11} = -1$ and $a_{12} = 2$ are nonzero: $\det(\boldsymbol A) = a_{11}\det(\boldsymbol A_{11}) - a_{12}\det(\boldsymbol A_{12}) = -1\cdot (-1) - 2\cdot 13 = -25$. The sign of the $(1,2)$ cofactor is $(-1)^{1+2} = -1$: forgetting it gives $27$.
Example 1 · la-g-mat-potenza · level complessa · notes
What is $\boldsymbol A^3 = \boldsymbol A\boldsymbol A\boldsymbol A$ for $\boldsymbol A = \begin{pmatrix} 3 & -3 \\ 0 & 2 \end{pmatrix}$?
  1. $\begin{pmatrix} 27 & -57 \\ 0 & 8 \end{pmatrix}$
  2. $\begin{pmatrix} 27 & -9 \\ 0 & 8 \end{pmatrix}$
  3. $\begin{pmatrix} 27 & -27 \\ 0 & 8 \end{pmatrix}$
  4. $\begin{pmatrix} 27 & -15 \\ 0 & 8 \end{pmatrix}$
Explanation. $\boldsymbol A^2 = \begin{pmatrix} 9 & -15 \\ 0 & 4 \end{pmatrix}$ and $\boldsymbol A^3 = \boldsymbol A^2\boldsymbol A$; the off-diagonal entry is neither $b^3$ nor $3b$.
Example 2 · la-g-mat-potenza · level complessa · notes
What is $\boldsymbol A^3 = \boldsymbol A\boldsymbol A\boldsymbol A$ for $\boldsymbol A = \begin{pmatrix} 3 & 2 \\ 0 & -2 \end{pmatrix}$?
  1. $\begin{pmatrix} 27 & 14 \\ 0 & -8 \end{pmatrix}$
  2. $\begin{pmatrix} 27 & 6 \\ 0 & -8 \end{pmatrix}$
  3. $\begin{pmatrix} 27 & 8 \\ 0 & -8 \end{pmatrix}$
  4. $\begin{pmatrix} 27 & 2 \\ 0 & -8 \end{pmatrix}$
Explanation. $\boldsymbol A^2 = \begin{pmatrix} 9 & 2 \\ 0 & 4 \end{pmatrix}$ and $\boldsymbol A^3 = \boldsymbol A^2\boldsymbol A$; the off-diagonal entry is neither $b^3$ nor $3b$.

4.2. Matrix operations (3)

Example 1 · la-g-elem-det · level facile · notes
Let $\boldsymbol A \in \R^{3\times 3}$ with $\det(\boldsymbol A) = 2$. Denoting by $R_i$ row $i$, the elementary operations $R_3 \leftarrow -2R_3$, $R_2 \leftrightarrow R_1$, $R_1 \leftarrow R_1 - 3R_3$ are applied in this order. What is the determinant of the resulting matrix?
  1. $4$
  2. $-4$
  3. $-2$
  4. $-12$
Explanation. The swap changes the sign, multiplying a row by $-2$ multiplies the determinant by $-2$, adding a multiple of another row does not change it: $(-1)\cdot (-2)\cdot 2 = 4$.
Example 2 · la-g-elem-det · level facile · notes
Let $\boldsymbol A \in \R^{3\times 3}$ with $\det(\boldsymbol A) = -3$. Denoting by $R_i$ row $i$, the elementary operations $R_2 \leftrightarrow R_3$, $R_3 \leftarrow -3R_3$, $R_1 \leftarrow R_1 + 3R_2$ are applied in this order. What is the determinant of the resulting matrix?
  1. $-9$
  2. $9$
  3. $3$
  4. $-27$
Explanation. The swap changes the sign, multiplying a row by $-3$ multiplies the determinant by $-3$, adding a multiple of another row does not change it: $(-1)\cdot (-3)\cdot (-3) = -9$.
Example 1 · la-g-pivot-step · level media · notes
Let $\boldsymbol A = \begin{pmatrix} 1 & -4 & 3 \\ 1 & 1 & 1 \\ -2 & 3 & -4 \end{pmatrix}$ and let $R_i$ be row $i$. The first step of Gaussian elimination with partial pivoting is performed: the entry of the first column with the largest absolute value is brought to position $(1,1)$ by a row swap, then the entries below it are cancelled. Which matrix is obtained?
  1. $\begin{pmatrix} -2 & 3 & -4 \\ 0 & \frac{5}{2} & -1 \\ 0 & -\frac{5}{2} & 1 \end{pmatrix}$
  2. $\begin{pmatrix} 1 & -4 & 3 \\ 0 & 5 & -2 \\ 0 & -5 & 2 \end{pmatrix}$
  3. $\begin{pmatrix} -2 & 3 & -4 \\ 2 & -\frac{1}{2} & 3 \\ 2 & -\frac{11}{2} & 5 \end{pmatrix}$
  4. $\begin{pmatrix} -2 & 3 & -4 \\ 1 & 1 & 1 \\ 1 & -4 & 3 \end{pmatrix}$
Explanation. The largest absolute value in the first column is $|-2|$, in row $3$: swap $R_1 \leftrightarrow R_3$, then $R_k \leftarrow R_k - \frac{a_{k1}}{a_{11}} R_1$ for $k = 2, 3$ (with pivot $-2$). We get $\begin{pmatrix} -2 & 3 & -4 \\ 0 & \frac{5}{2} & -1 \\ 0 & -\frac{5}{2} & 1 \end{pmatrix}$. Without the swap the pivot would be $1$; with the wrong sign of the multiplier the first column is not cancelled.
Example 2 · la-g-pivot-step · level media · notes
Let $\boldsymbol A = \begin{pmatrix} -1 & -1 & 3 \\ -1 & 3 & 1 \\ 2 & 4 & 2 \end{pmatrix}$ and let $R_i$ be row $i$. The first step of Gaussian elimination with partial pivoting is performed: the entry of the first column with the largest absolute value is brought to position $(1,1)$ by a row swap, then the entries below it are cancelled. Which matrix is obtained?
  1. $\begin{pmatrix} 2 & 4 & 2 \\ 0 & 5 & 2 \\ 0 & 1 & 4 \end{pmatrix}$
  2. $\begin{pmatrix} -1 & -1 & 3 \\ 0 & 4 & -2 \\ 0 & 2 & 8 \end{pmatrix}$
  3. $\begin{pmatrix} 2 & 4 & 2 \\ -2 & 1 & 0 \\ -2 & -3 & 2 \end{pmatrix}$
  4. $\begin{pmatrix} 2 & 4 & 2 \\ -1 & 3 & 1 \\ -1 & -1 & 3 \end{pmatrix}$
Explanation. The largest absolute value in the first column is $|2|$, in row $3$: swap $R_1 \leftrightarrow R_3$, then $R_k \leftarrow R_k - \frac{a_{k1}}{a_{11}} R_1$ for $k = 2, 3$ (with pivot $2$). We get $\begin{pmatrix} 2 & 4 & 2 \\ 0 & 5 & 2 \\ 0 & 1 & 4 \end{pmatrix}$. Without the swap the pivot would be $-1$; with the wrong sign of the multiplier the first column is not cancelled.
Example 1 · la-g-det4 · level complessa · notes
Compute $\det(\boldsymbol A)$ for $\boldsymbol A = \begin{pmatrix} 1 & 0 & 1 & 1 \\ 1 & 1 & 3 & -1 \\ 1 & 2 & 2 & 1 \\ 0 & -1 & 0 & -1 \end{pmatrix}$ (for instance by reducing $\boldsymbol A$ to triangular form with Gaussian elimination).
  1. $1$
  2. $-1$
  3. $-2$
  4. $2$
Explanation. Adding multiples of rows does not change the determinant, each swap changes its sign. Swapping $R_2 \leftrightarrow R_4$ and then eliminating without further swaps we reach the triangular form with diagonal $1,\ -1,\ 1,\ 1$: $\det(\boldsymbol A) = -(1\cdot (-1)\cdot 1\cdot 1) = 1$. The product of the diagonal of $\boldsymbol A$ gives the determinant only for triangular matrices.
Example 2 · la-g-det4 · level complessa · notes
Compute $\det(\boldsymbol A)$ for $\boldsymbol A = \begin{pmatrix} 2 & 1 & 2 & 1 \\ -2 & 1 & -4 & 1 \\ -4 & -4 & 4 & 3 \\ 4 & 0 & 9 & 2 \end{pmatrix}$ (for instance by reducing $\boldsymbol A$ to triangular form with Gaussian elimination).
  1. $-36$
  2. $36$
  3. $16$
  4. $-16$
Explanation. Adding multiples of rows does not change the determinant, each swap changes its sign. Swapping $R_3 \leftrightarrow R_4$ and then eliminating without further swaps we reach the triangular form with diagonal $2,\ 2,\ 3,\ 3$: $\det(\boldsymbol A) = -(2\cdot 2\cdot 3\cdot 3) = -36$. The product of the diagonal of $\boldsymbol A$ gives the determinant only for triangular matrices.

4.3. Inversion of matrices (2)

Example 1 · la-g-inv2 · level facile · notes
Let $\boldsymbol A = \begin{pmatrix} 1 & 1 \\ 3 & 4 \end{pmatrix}$. What is $\boldsymbol A^{-1}$?
  1. $\begin{pmatrix} 4 & -1 \\ -3 & 1 \end{pmatrix}$
  2. $\begin{pmatrix} 1 & -1 \\ -3 & 4 \end{pmatrix}$
  3. $\begin{pmatrix} 4 & 1 \\ 3 & 1 \end{pmatrix}$
  4. $\begin{pmatrix} 4 & -3 \\ -1 & 1 \end{pmatrix}$
Explanation. $\det(\boldsymbol A) = 1\neq 0$; swap the two diagonal entries, change the sign of the two off-diagonal entries and divide by the determinant: $\boldsymbol A^{-1} = \begin{pmatrix} 4 & -1 \\ -3 & 1 \end{pmatrix}$.
Example 2 · la-g-inv2 · level facile · notes
Let $\boldsymbol A = \begin{pmatrix} -2 & -3 \\ 1 & 3 \end{pmatrix}$. What is $\boldsymbol A^{-1}$?
  1. $\begin{pmatrix} -1 & -1 \\ \frac{1}{3} & \frac{2}{3} \end{pmatrix}$
  2. $\begin{pmatrix} \frac{2}{3} & -1 \\ \frac{1}{3} & -1 \end{pmatrix}$
  3. $\begin{pmatrix} -1 & 1 \\ -\frac{1}{3} & \frac{2}{3} \end{pmatrix}$
  4. $\begin{pmatrix} -1 & \frac{1}{3} \\ -1 & \frac{2}{3} \end{pmatrix}$
Explanation. $\det(\boldsymbol A) = -3\neq 0$; swap the two diagonal entries, change the sign of the two off-diagonal entries and divide by the determinant: $\boldsymbol A^{-1} = \frac{1}{-3}\begin{pmatrix} 3 & 3 \\ -1 & -2 \end{pmatrix}$.
Example 1 · la-g-gj-inverse3 · level complessa · notes
With the Gauss–Jordan method, $(\boldsymbol A \mid \boldsymbol I)$ is transformed into $(\boldsymbol I \mid \boldsymbol B)$, where $\boldsymbol A = \begin{pmatrix} 1 & 0 & 1 \\ 1 & 2 & -1 \\ 1 & 4 & -1 \end{pmatrix}$. Which is $\boldsymbol B = \boldsymbol A^{-1}$?
  1. $\begin{pmatrix} \frac{1}{2} & 1 & -\frac{1}{2} \\ 0 & -\frac{1}{2} & \frac{1}{2} \\ \frac{1}{2} & -1 & \frac{1}{2} \end{pmatrix}$
  2. $\begin{pmatrix} \frac{1}{2} & 0 & \frac{1}{2} \\ 1 & -\frac{1}{2} & -1 \\ -\frac{1}{2} & \frac{1}{2} & \frac{1}{2} \end{pmatrix}$
  3. $\begin{pmatrix} \frac{1}{2} & -1 & -\frac{1}{2} \\ 0 & -\frac{1}{2} & -\frac{1}{2} \\ \frac{1}{2} & 1 & \frac{1}{2} \end{pmatrix}$
  4. $\begin{pmatrix} -\frac{1}{2} & -1 & \frac{1}{2} \\ 0 & \frac{1}{2} & -\frac{1}{2} \\ -\frac{1}{2} & 1 & -\frac{1}{2} \end{pmatrix}$
Explanation. $\det(\boldsymbol A) = 4$ and $\boldsymbol A^{-1} = \begin{pmatrix} \frac{1}{2} & 1 & -\frac{1}{2} \\ 0 & -\frac{1}{2} & \frac{1}{2} \\ \frac{1}{2} & -1 & \frac{1}{2} \end{pmatrix}$. Check: $\boldsymbol A\boldsymbol A^{-1} = \boldsymbol I$. With the adjugate: $\boldsymbol A^{-1} = \frac{1}{\det(\boldsymbol A)}\boldsymbol C'$, cofactors with the sign $(-1)^{i+j}$, transposed; forgetting the sign or the transposition gives the other answers.
Example 2 · la-g-gj-inverse3 · level complessa · notes
With the Gauss–Jordan method, $(\boldsymbol A \mid \boldsymbol I)$ is transformed into $(\boldsymbol I \mid \boldsymbol B)$, where $\boldsymbol A = \begin{pmatrix} -1 & 2 & -1 \\ -1 & 3 & -2 \\ -1 & 4 & -1 \end{pmatrix}$. Which is $\boldsymbol B = \boldsymbol A^{-1}$?
  1. $\begin{pmatrix} -\frac{5}{2} & 1 & \frac{1}{2} \\ -\frac{1}{2} & 0 & \frac{1}{2} \\ \frac{1}{2} & -1 & \frac{1}{2} \end{pmatrix}$
  2. $\begin{pmatrix} -\frac{5}{2} & -\frac{1}{2} & \frac{1}{2} \\ 1 & 0 & -1 \\ \frac{1}{2} & \frac{1}{2} & \frac{1}{2} \end{pmatrix}$
  3. $\begin{pmatrix} -\frac{5}{2} & -1 & \frac{1}{2} \\ \frac{1}{2} & 0 & -\frac{1}{2} \\ \frac{1}{2} & 1 & \frac{1}{2} \end{pmatrix}$
  4. $\begin{pmatrix} \frac{5}{2} & -1 & -\frac{1}{2} \\ \frac{1}{2} & 0 & -\frac{1}{2} \\ -\frac{1}{2} & 1 & -\frac{1}{2} \end{pmatrix}$
Explanation. $\det(\boldsymbol A) = -2$ and $\boldsymbol A^{-1} = \begin{pmatrix} -\frac{5}{2} & 1 & \frac{1}{2} \\ -\frac{1}{2} & 0 & \frac{1}{2} \\ \frac{1}{2} & -1 & \frac{1}{2} \end{pmatrix}$. Check: $\boldsymbol A\boldsymbol A^{-1} = \boldsymbol I$. With the adjugate: $\boldsymbol A^{-1} = \frac{1}{\det(\boldsymbol A)}\boldsymbol C'$, cofactors with the sign $(-1)^{i+j}$, transposed; forgetting the sign or the transposition gives the other answers.

4.4. Factorization of matrices (2)

Example 1 · la-g-lu3 · level media · notes
Compute the factorization $\boldsymbol A = \boldsymbol L\boldsymbol U$ of $\boldsymbol A = \begin{pmatrix} 1 & -3 & -1 \\ 3 & -10 & -6 \\ -2 & 8 & 7 \end{pmatrix}$ by Gaussian elimination without row swaps ($\boldsymbol L$ lower triangular with ones on the diagonal, $\boldsymbol U$ upper triangular). Which is the matrix $\boldsymbol L$?
  1. $\boldsymbol L = \begin{pmatrix} 1 & 0 & 0 \\ 3 & 1 & 0 \\ -2 & -2 & 1 \end{pmatrix}$
  2. $\boldsymbol L = \begin{pmatrix} 1 & 0 & 0 \\ -3 & 1 & 0 \\ 2 & 2 & 1 \end{pmatrix}$
  3. $\boldsymbol L = \begin{pmatrix} 1 & 0 & 0 \\ 3 & 1 & 0 \\ -2 & -\frac{4}{5} & 1 \end{pmatrix}$
  4. $\boldsymbol L = \begin{pmatrix} 1 & 0 & 0 \\ -2 & 1 & 0 \\ 3 & -2 & 1 \end{pmatrix}$
Explanation. The multipliers of the steps $R_i \leftarrow R_i - \ell_{ij} R_j$ go in position $(i,j)$ of $\boldsymbol L$, with their sign; $\ell_{32}$ is computed on the matrix already updated by the first step. We get $\boldsymbol U = \begin{pmatrix} 1 & -3 & -1 \\ 0 & -1 & -3 \\ 0 & 0 & -1 \end{pmatrix}$ and $\boldsymbol L\boldsymbol U = \boldsymbol A$.
Example 2 · la-g-lu3 · level media · notes
Compute the factorization $\boldsymbol A = \boldsymbol L\boldsymbol U$ of $\boldsymbol A = \begin{pmatrix} 1 & -1 & 3 \\ -1 & -1 & -2 \\ 2 & 0 & 8 \end{pmatrix}$ by Gaussian elimination without row swaps ($\boldsymbol L$ lower triangular with ones on the diagonal, $\boldsymbol U$ upper triangular). Which is the matrix $\boldsymbol L$?
  1. $\boldsymbol L = \begin{pmatrix} 1 & 0 & 0 \\ -1 & 1 & 0 \\ 2 & -1 & 1 \end{pmatrix}$
  2. $\boldsymbol L = \begin{pmatrix} 1 & 0 & 0 \\ 1 & 1 & 0 \\ -2 & 1 & 1 \end{pmatrix}$
  3. $\boldsymbol L = \begin{pmatrix} 1 & 0 & 0 \\ -1 & 1 & 0 \\ 2 & 0 & 1 \end{pmatrix}$
  4. $\boldsymbol L = \begin{pmatrix} 1 & 0 & 0 \\ 2 & 1 & 0 \\ -1 & -1 & 1 \end{pmatrix}$
Explanation. The multipliers of the steps $R_i \leftarrow R_i - \ell_{ij} R_j$ go in position $(i,j)$ of $\boldsymbol L$, with their sign; $\ell_{32}$ is computed on the matrix already updated by the first step. We get $\boldsymbol U = \begin{pmatrix} 1 & -1 & 3 \\ 0 & -2 & 1 \\ 0 & 0 & 3 \end{pmatrix}$ and $\boldsymbol L\boldsymbol U = \boldsymbol A$.
Example 1 · la-g-plu3 · level complessa · notes
The factorization $\boldsymbol P\boldsymbol A = \boldsymbol L\boldsymbol U$ of $\boldsymbol A = \begin{pmatrix} -1 & 1 & 2 \\ -3 & 3 & 8 \\ 2 & -1 & -3 \end{pmatrix}$ is computed by Gaussian elimination ($\boldsymbol P$ a permutation matrix, $\boldsymbol L$ lower triangular with ones on the diagonal, $\boldsymbol U$ upper triangular), swapping two rows only when the pivot is zero; it turns out that $\boldsymbol P = \begin{pmatrix} 1 & 0 & 0 \\ 0 & 0 & 1 \\ 0 & 1 & 0 \end{pmatrix}$. What are $\boldsymbol L$ and $\det(\boldsymbol A)$?
  1. $\boldsymbol L = \begin{pmatrix} 1 & 0 & 0 \\ -2 & 1 & 0 \\ 3 & 0 & 1 \end{pmatrix}$, $\det(\boldsymbol A) = 2$
  2. $\boldsymbol L = \begin{pmatrix} 1 & 0 & 0 \\ 3 & 1 & 0 \\ -2 & 0 & 1 \end{pmatrix}$, $\det(\boldsymbol A) = 2$
  3. $\boldsymbol L = \begin{pmatrix} 1 & 0 & 0 \\ -2 & 1 & 0 \\ 3 & 0 & 1 \end{pmatrix}$, $\det(\boldsymbol A) = -2$
  4. $\boldsymbol L = \begin{pmatrix} 1 & 0 & 0 \\ 3 & 1 & 0 \\ -2 & 0 & 1 \end{pmatrix}$, $\det(\boldsymbol A) = -2$
Explanation. First step: $\ell_{21} = 3$, $\ell_{31} = -2$; position $(2,2)$ becomes zero and $R_2 \leftrightarrow R_3$ is performed, swapping also the multipliers already computed; then $\ell_{32} = 0$. We get $\boldsymbol U = \begin{pmatrix} -1 & 1 & 2 \\ 0 & 1 & 1 \\ 0 & 0 & 2 \end{pmatrix}$ and, with $s = 1$ swap, $\det(\boldsymbol A) = (-1)^1 \prod_i u_{ii} = 2$.
Example 2 · la-g-plu3 · level complessa · notes
The factorization $\boldsymbol P\boldsymbol A = \boldsymbol L\boldsymbol U$ of $\boldsymbol A = \begin{pmatrix} 2 & 2 & -1 \\ -4 & -4 & 4 \\ 6 & 7 & 0 \end{pmatrix}$ is computed by Gaussian elimination ($\boldsymbol P$ a permutation matrix, $\boldsymbol L$ lower triangular with ones on the diagonal, $\boldsymbol U$ upper triangular), swapping two rows only when the pivot is zero; it turns out that $\boldsymbol P = \begin{pmatrix} 1 & 0 & 0 \\ 0 & 0 & 1 \\ 0 & 1 & 0 \end{pmatrix}$. What are $\boldsymbol L$ and $\det(\boldsymbol A)$?
  1. $\boldsymbol L = \begin{pmatrix} 1 & 0 & 0 \\ 3 & 1 & 0 \\ -2 & 0 & 1 \end{pmatrix}$, $\det(\boldsymbol A) = -4$
  2. $\boldsymbol L = \begin{pmatrix} 1 & 0 & 0 \\ -2 & 1 & 0 \\ 3 & 0 & 1 \end{pmatrix}$, $\det(\boldsymbol A) = -4$
  3. $\boldsymbol L = \begin{pmatrix} 1 & 0 & 0 \\ 3 & 1 & 0 \\ -2 & 0 & 1 \end{pmatrix}$, $\det(\boldsymbol A) = 4$
  4. $\boldsymbol L = \begin{pmatrix} 1 & 0 & 0 \\ -2 & 1 & 0 \\ 3 & 0 & 1 \end{pmatrix}$, $\det(\boldsymbol A) = 4$
Explanation. First step: $\ell_{21} = -2$, $\ell_{31} = 3$; position $(2,2)$ becomes zero and $R_2 \leftrightarrow R_3$ is performed, swapping also the multipliers already computed; then $\ell_{32} = 0$. We get $\boldsymbol U = \begin{pmatrix} 2 & 2 & -1 \\ 0 & 1 & 3 \\ 0 & 0 & 2 \end{pmatrix}$ and, with $s = 1$ swap, $\det(\boldsymbol A) = (-1)^1 \prod_i u_{ii} = -4$.

4.5. Eigenvalues and eigenvectors (5)

Example 1 · la-g-eig2 · level facile · notes
What are the eigenvalues of $\boldsymbol Q = \begin{pmatrix} 2 & -5 \\ 3 & -6 \end{pmatrix}$, i.e. the roots of $\det(\boldsymbol Q - \lambda\boldsymbol I) = 0$?
  1. $-3$ and $-1$
  2. $-6$ and $2$
  3. $1$ and $3$
  4. $-3$ and $1$
Explanation. $\det(\boldsymbol Q - \lambda\boldsymbol I) = \lambda^2+4\lambda+3 = (\lambda+3)(\lambda+1)$. Check: the eigenvalues add up to the trace and multiply to the determinant. The diagonal entries are the eigenvalues only for triangular matrices.
Example 2 · la-g-eig2 · level facile · notes
What are the eigenvalues of $\boldsymbol Q = \begin{pmatrix} 4 & -1 \\ -1 & 4 \end{pmatrix}$, i.e. the roots of $\det(\boldsymbol Q - \lambda\boldsymbol I) = 0$?
  1. $3$ and $5$
  2. $4$ and $4$
  3. $-5$ and $-3$
  4. $-5$ and $3$
Explanation. $\det(\boldsymbol Q - \lambda\boldsymbol I) = \lambda^2-8\lambda+15 = (\lambda-3)(\lambda-5)$. Check: the eigenvalues add up to the trace and multiply to the determinant. The diagonal entries are the eigenvalues only for triangular matrices.
Example 1 · la-g-definite2 · level facile · notes
How is the symmetric matrix $\boldsymbol Q = \begin{pmatrix} 1 & 3 \\ 3 & 5 \end{pmatrix}$ classified according to the sign of the quadratic form $\boldsymbol x'\boldsymbol Q\,\boldsymbol x$?
  1. positive definite
  2. negative definite
  3. indefinite
  4. positive semidefinite but not positive definite
Explanation. $\Delta_1 = 1$, $\Delta_2 = \det(\boldsymbol Q) = -4$. Hence $\boldsymbol Q$ is indefinite (Sylvester's criterion; equivalently, by the signs of the eigenvalues).
Example 2 · la-g-definite2 · level facile · notes
How is the symmetric matrix $\boldsymbol Q = \begin{pmatrix} -5 & -2 \\ -2 & -3 \end{pmatrix}$ classified according to the sign of the quadratic form $\boldsymbol x'\boldsymbol Q\,\boldsymbol x$?
  1. positive definite
  2. negative definite
  3. indefinite
  4. positive semidefinite but not positive definite
Explanation. $\Delta_1 = -5$, $\Delta_2 = \det(\boldsymbol Q) = 11$. Hence $\boldsymbol Q$ is negative definite (Sylvester's criterion; equivalently, by the signs of the eigenvalues).
Example 1 · la-g-eigvec2 · level media · notes
The eigenvalues of $\boldsymbol Q = \begin{pmatrix} 2 & -5 \\ 3 & -6 \end{pmatrix}$ are $-3$ and $-1$. Which column vector ($'$: transpose) is an eigenvector associated with the eigenvalue $\lambda = -1$?
  1. $\boldsymbol v = (5,\, 3)'$
  2. $\boldsymbol v = (1,\, 1)'$
  3. $\boldsymbol v = (3,\, 5)'$
  4. $\boldsymbol v = (1,\, -1)'$
Explanation. The eigenvectors are the nonzero solutions of $(\boldsymbol Q - (-1)\boldsymbol I)\boldsymbol v = \boldsymbol 0$, with $\boldsymbol Q - (-1)\boldsymbol I = \begin{pmatrix} 3 & -5 \\ 3 & -5 \end{pmatrix}$: for example $\boldsymbol v = (5,\, 3)'$. Check: $\boldsymbol Q\boldsymbol v = -1\,\boldsymbol v$.
Example 2 · la-g-eigvec2 · level media · notes
The eigenvalues of $\boldsymbol Q = \begin{pmatrix} 2 & -4 \\ -1 & -1 \end{pmatrix}$ are $-2$ and $3$. Which column vector ($'$: transpose) is an eigenvector associated with the eigenvalue $\lambda = 3$?
  1. $\boldsymbol v = (4,\, -1)'$
  2. $\boldsymbol v = (1,\, 1)'$
  3. $\boldsymbol v = (1,\, -4)'$
  4. $\boldsymbol v = (1,\, -1)'$
Explanation. The eigenvectors are the nonzero solutions of $(\boldsymbol Q - 3\boldsymbol I)\boldsymbol v = \boldsymbol 0$, with $\boldsymbol Q - 3\boldsymbol I = \begin{pmatrix} -1 & -4 \\ -1 & -4 \end{pmatrix}$: for example $\boldsymbol v = (4,\, -1)'$. Check: $\boldsymbol Q\boldsymbol v = 3\,\boldsymbol v$.
Example 1 · la-g-sylvester3 · level media · notes
Compute the leading principal minors $\Delta_1, \Delta_2, \Delta_3$ ($\Delta_k$: determinant of the first $k$ rows and columns) of the symmetric matrix $\boldsymbol Q = \begin{pmatrix} -2 & 1 & -1 \\ 1 & -6 & 0 \\ -1 & 0 & -2 \end{pmatrix}$ and classify it with Sylvester's criterion.
  1. $(\Delta_1, \Delta_2, \Delta_3) = (-2,\, 11,\, -16)$: negative definite
  2. $(\Delta_1, \Delta_2, \Delta_3) = (-2,\, 13,\, -16)$: negative definite
  3. $(\Delta_1, \Delta_2, \Delta_3) = (-2,\, 11,\, -20)$: negative definite
  4. $(\Delta_1, \Delta_2, \Delta_3) = (-2,\, 12,\, -16)$: negative definite
Explanation. $\Delta_1 = q_{11} = -2$, $\Delta_2 = q_{11}q_{22} - q_{12}^2 = 11$, $\Delta_3 = \det(\boldsymbol Q) = -16$ (leading minors: first $k$ rows and columns). Hence $\boldsymbol Q$ is negative definite.
Example 2 · la-g-sylvester3 · level media · notes
Compute the leading principal minors $\Delta_1, \Delta_2, \Delta_3$ ($\Delta_k$: determinant of the first $k$ rows and columns) of the symmetric matrix $\boldsymbol Q = \begin{pmatrix} -4 & 2 & 2 \\ 2 & -6 & -5 \\ 2 & -5 & -6 \end{pmatrix}$ and classify it with Sylvester's criterion.
  1. $(\Delta_1, \Delta_2, \Delta_3) = (-4,\, 20,\, -36)$: negative definite
  2. $(\Delta_1, \Delta_2, \Delta_3) = (-4,\, 28,\, -36)$: negative definite
  3. $(\Delta_1, \Delta_2, \Delta_3) = (-4,\, 20,\, -44)$: negative definite
  4. $(\Delta_1, \Delta_2, \Delta_3) = (-6,\, 11,\, -36)$: negative definite
Explanation. $\Delta_1 = q_{11} = -4$, $\Delta_2 = q_{11}q_{22} - q_{12}^2 = 20$, $\Delta_3 = \det(\boldsymbol Q) = -36$ (leading minors: first $k$ rows and columns). Hence $\boldsymbol Q$ is negative definite.
Example 1 · la-g-eig-blocchi · level complessa · notes
What are the eigenvalues of $\boldsymbol A = \begin{pmatrix} -2 & 1 & 0 \\ 6 & 3 & 0 \\ -3 & -1 & -2 \end{pmatrix}$?
  1. $-3,\; -2,\; 4$
  2. $-2,\; -2,\; 3$
  3. $-3,\; -3,\; 4$
  4. $-4,\; -2,\; 3$
Explanation. Expanding $\det(\boldsymbol A - \lambda\boldsymbol I)$ along the third column: $(-2 - \lambda)\,[(-2 - \lambda)(3 - \lambda) - (1)(6)]$; the $2 \times 2$ block has trace $1$ and determinant $-12$.
Example 2 · la-g-eig-blocchi · level complessa · notes
What are the eigenvalues of $\boldsymbol A = \begin{pmatrix} -3 & -1 & 0 \\ 18 & 6 & 0 \\ 3 & 2 & -1 \end{pmatrix}$?
  1. $-1,\; 0,\; 3$
  2. $-3,\; -1,\; 6$
  3. $0,\; 3,\; 3$
  4. $-3,\; -1,\; 0$
Explanation. Expanding $\det(\boldsymbol A - \lambda\boldsymbol I)$ along the third column: $(-1 - \lambda)\,[(-3 - \lambda)(6 - \lambda) - (-1)(18)]$; the $2 \times 2$ block has trace $3$ and determinant $0$.

5. Norms (7)

Example 1 · la-g-norms · level facile · notes
Let $\boldsymbol p = (-6,\, 12,\, -4)'$ (a column vector). What is the Euclidean ($\ell_2$) norm (square root of the sum of the squared entries) $\|\boldsymbol p\|_2$?
  1. $14$
  2. $22$
  3. $12$
  4. $196$
Explanation. $\|\boldsymbol p\|_1 = 22$ (sum of the absolute values), $\|\boldsymbol p\|_2 = \sqrt{196} = 14$, $\|\boldsymbol p\|_\infty = 12$ (largest absolute value). Indeed $\|\boldsymbol p\|_\infty \le \|\boldsymbol p\|_2 \le \|\boldsymbol p\|_1$.
Example 2 · la-g-norms · level facile · notes
Let $\boldsymbol p = (-4,\, 1,\, 8)'$ (a column vector). What is the Euclidean ($\ell_2$) norm (square root of the sum of the squared entries) $\|\boldsymbol p\|_2$?
  1. $9$
  2. $13$
  3. $8$
  4. $81$
Explanation. $\|\boldsymbol p\|_1 = 13$ (sum of the absolute values), $\|\boldsymbol p\|_2 = \sqrt{81} = 9$, $\|\boldsymbol p\|_\infty = 8$ (largest absolute value). Indeed $\|\boldsymbol p\|_\infty \le \|\boldsymbol p\|_2 \le \|\boldsymbol p\|_1$.
Example 1 · la-g-norm-q · level media · notes
Let $\boldsymbol Q = \begin{pmatrix} 4 & 1 & -1 \\ 1 & 4 & 1 \\ -1 & 1 & 5 \end{pmatrix}$ (symmetric positive definite) and let $\|\boldsymbol p\|_{\boldsymbol Q} = \sqrt{\boldsymbol p'\boldsymbol Q\,\boldsymbol p}$ be the generalized $\ell_2$ norm. What is $\|\boldsymbol p\|_{\boldsymbol Q}$ for $\boldsymbol p = (-2,\, 2,\, -2)'$?
  1. $\sqrt{28}$
  2. $\sqrt{40}$
  3. $\sqrt{52}$
  4. $\sqrt{76}$
Explanation. $\boldsymbol p'\boldsymbol Q\,\boldsymbol p = \sum_i q_{ii}p_i^2 + 2\sum_{i<j} q_{ij}p_ip_j = 52 + 2\cdot (-12) = 28$, hence $\|\boldsymbol p\|_{\boldsymbol Q} = \sqrt{28}$. Each off-diagonal term appears twice ($q_{ij} = q_{ji}$).
Example 2 · la-g-norm-q · level media · notes
Let $\boldsymbol Q = \begin{pmatrix} 5 & 1 & 0 \\ 1 & 3 & 1 \\ 0 & 1 & 5 \end{pmatrix}$ (symmetric positive definite) and let $\|\boldsymbol p\|_{\boldsymbol Q} = \sqrt{\boldsymbol p'\boldsymbol Q\,\boldsymbol p}$ be the generalized $\ell_2$ norm. What is $\|\boldsymbol p\|_{\boldsymbol Q}$ for $\boldsymbol p = (2,\, 1,\, 1)'$?
  1. $\sqrt{34}$
  2. $\sqrt{31}$
  3. $\sqrt{28}$
  4. $\sqrt{22}$
Explanation. $\boldsymbol p'\boldsymbol Q\,\boldsymbol p = \sum_i q_{ii}p_i^2 + 2\sum_{i<j} q_{ij}p_ip_j = 28 + 2\cdot 3 = 34$, hence $\|\boldsymbol p\|_{\boldsymbol Q} = \sqrt{34}$. Each off-diagonal term appears twice ($q_{ij} = q_{ji}$).
Example 1 · la-g-norm-l1-dist · level facile · notes
With the norm $\|\boldsymbol p\|_1 = \sum_j |p_j|$, what is the distance $\|\boldsymbol p - \boldsymbol w\|_1$ between $\boldsymbol p = (1,\, 1,\, 4)'$ and $\boldsymbol w = (5,\, -5,\, 4)'$?
  1. $10$
  2. $-8$
  3. $18$
  4. $2$
Explanation. $\boldsymbol p - \boldsymbol w = (-4,\, 6,\, 0)'$ and the absolute values are added: $10$.
Example 2 · la-g-norm-l1-dist · level facile · notes
With the norm $\|\boldsymbol p\|_1 = \sum_j |p_j|$, what is the distance $\|\boldsymbol p - \boldsymbol w\|_1$ between $\boldsymbol p = (-2,\, 4,\, -2)'$ and $\boldsymbol w = (-5,\, -1,\, 5)'$?
  1. $15$
  2. $-3$
  3. $13$
  4. $1$
Explanation. $\boldsymbol p - \boldsymbol w = (3,\, 5,\, -7)'$ and the absolute values are added: $15$.
Example 1 · la-g-norm-linf-dist · level facile · notes
With the norm $\|\boldsymbol p\|_\infty = \max_j |p_j|$, what is $\|\boldsymbol p - \boldsymbol w\|_\infty$ for $\boldsymbol p = (1,\, 1,\, 4)'$ and $\boldsymbol w = (5,\, -6,\, 5)'$?
  1. $7$
  2. $2$
  3. $-4$
  4. $12$
Explanation. $\boldsymbol p - \boldsymbol w = (-4,\, 7,\, -1)'$: the largest absolute value is $7$.
Example 2 · la-g-norm-linf-dist · level facile · notes
With the norm $\|\boldsymbol p\|_\infty = \max_j |p_j|$, what is $\|\boldsymbol p - \boldsymbol w\|_\infty$ for $\boldsymbol p = (-2,\, 5,\, -3)'$ and $\boldsymbol w = (-6,\, -2,\, 5)'$?
  1. $8$
  2. $1$
  3. $7$
  4. $19$
Explanation. $\boldsymbol p - \boldsymbol w = (4,\, 7,\, -8)'$: the largest absolute value is $8$.
Example 1 · la-g-norm-unit · level facile · notes
For $\boldsymbol p = (2,\, -9,\, 6)'$ and the Euclidean norm $\|\boldsymbol p\|_2 = \sqrt{\sum_j p_j^2}$, which $\alpha > 0$ makes $\|\alpha\boldsymbol p\|_2 = 1$?
  1. $\alpha = \frac{1}{11}$
  2. $\alpha = \frac{1}{17}$
  3. $\alpha = \frac{1}{9}$
  4. $\alpha = \frac{1}{121}$
Explanation. $\|\boldsymbol p\|_2 = 11$ and by homogeneity $\alpha = 1/\|\boldsymbol p\|_2$.
Example 2 · la-g-norm-unit · level facile · notes
For $\boldsymbol p = (-4,\, -4,\, 7)'$ and the Euclidean norm $\|\boldsymbol p\|_2 = \sqrt{\sum_j p_j^2}$, which $\alpha > 0$ makes $\|\alpha\boldsymbol p\|_2 = 1$?
  1. $\alpha = \frac{1}{9}$
  2. $\alpha = \frac{1}{15}$
  3. $\alpha = \frac{1}{7}$
  4. $\alpha = \frac{1}{81}$
Explanation. $\|\boldsymbol p\|_2 = 9$ and by homogeneity $\alpha = 1/\|\boldsymbol p\|_2$.
Example 1 · la-g-norm-tre · level media · notes
For $\boldsymbol p = (2,\, -9,\, 6)'$, with $\|\boldsymbol p\|_1 = \sum_j |p_j|$, $\|\boldsymbol p\|_2 = \sqrt{\sum_j p_j^2}$ and $\|\boldsymbol p\|_\infty = \max_j |p_j|$, what are the three norms?
  1. $\|\boldsymbol p\|_1 = 17$, $\|\boldsymbol p\|_2 = 11$, $\|\boldsymbol p\|_\infty = 9$
  2. $\|\boldsymbol p\|_1 = 11$, $\|\boldsymbol p\|_2 = 17$, $\|\boldsymbol p\|_\infty = 9$
  3. $\|\boldsymbol p\|_1 = 17$, $\|\boldsymbol p\|_2 = 9$, $\|\boldsymbol p\|_\infty = 11$
  4. $\|\boldsymbol p\|_1 = 1$, $\|\boldsymbol p\|_2 = 11$, $\|\boldsymbol p\|_\infty = 9$
Explanation. $17 \ge 11 \ge 9$, as predicted by $\|\boldsymbol p\|_\infty \le \|\boldsymbol p\|_2 \le \|\boldsymbol p\|_1$.
Example 2 · la-g-norm-tre · level media · notes
For $\boldsymbol p = (-4,\, -4,\, 7)'$, with $\|\boldsymbol p\|_1 = \sum_j |p_j|$, $\|\boldsymbol p\|_2 = \sqrt{\sum_j p_j^2}$ and $\|\boldsymbol p\|_\infty = \max_j |p_j|$, what are the three norms?
  1. $\|\boldsymbol p\|_1 = 15$, $\|\boldsymbol p\|_2 = 9$, $\|\boldsymbol p\|_\infty = 7$
  2. $\|\boldsymbol p\|_1 = 9$, $\|\boldsymbol p\|_2 = 15$, $\|\boldsymbol p\|_\infty = 7$
  3. $\|\boldsymbol p\|_1 = 15$, $\|\boldsymbol p\|_2 = 7$, $\|\boldsymbol p\|_\infty = 9$
  4. $\|\boldsymbol p\|_1 = 1$, $\|\boldsymbol p\|_2 = 9$, $\|\boldsymbol p\|_\infty = 7$
Explanation. $15 \ge 9 \ge 7$, as predicted by $\|\boldsymbol p\|_\infty \le \|\boldsymbol p\|_2 \le \|\boldsymbol p\|_1$.
Example 1 · la-g-norm-palle · level complessa · notes
In $\R^2$ the balls of radius $7$ centred at the origin are $\{\boldsymbol x : \|\boldsymbol x\| \le 7\}$ for the norms $\ell_1$ ($|x_1| + |x_2|$), $\ell_2$ ($\sqrt{x_1^2 + x_2^2}$) and $\ell_\infty$ ($\max\{|x_1|, |x_2|\}$). To which balls does the point $\boldsymbol x = (1,\, 4)'$ belong?
  1. to all three balls
  2. only to the $\ell_2$ and $\ell_\infty$ balls
  3. only to the $\ell_\infty$ ball
  4. to none of the three balls
Explanation. $\|\boldsymbol x\|_1 = 5$, $\|\boldsymbol x\|_2^2 = 17$ (to compare with $49$), $\|\boldsymbol x\|_\infty = 4$. The balls are nested: $\ell_1 \subseteq \ell_2 \subseteq \ell_\infty$.
Example 2 · la-g-norm-palle · level complessa · notes
In $\R^2$ the balls of radius $8$ centred at the origin are $\{\boldsymbol x : \|\boldsymbol x\| \le 8\}$ for the norms $\ell_1$ ($|x_1| + |x_2|$), $\ell_2$ ($\sqrt{x_1^2 + x_2^2}$) and $\ell_\infty$ ($\max\{|x_1|, |x_2|\}$). To which balls does the point $\boldsymbol x = (3,\, 7)'$ belong?
  1. only to the $\ell_2$ and $\ell_\infty$ balls
  2. to all three balls
  3. only to the $\ell_\infty$ ball
  4. to none of the three balls
Explanation. $\|\boldsymbol x\|_1 = 10$, $\|\boldsymbol x\|_2^2 = 58$ (to compare with $64$), $\|\boldsymbol x\|_\infty = 7$. The balls are nested: $\ell_1 \subseteq \ell_2 \subseteq \ell_\infty$.

6. System of linear equations (9)

Example 1 · la-g-cramer2 · level facile · notes
By Cramer's rule, what is the entry $\tilde x_2$ (value of $x_2$) of the solution of the system $\begin{cases} x_1+x_2 = -7 \\ 3x_1+4x_2 = 6 \end{cases}$?
  1. $27$
  2. $13$
  3. $-34$
  4. $\frac{1}{27}$
Explanation. $\det(\boldsymbol A) = 1$ and $\boldsymbol A_2$ is obtained by replacing column $2$ (not the row) with $\boldsymbol b$: $\det(\boldsymbol A_2) = 27$, hence $\tilde x_2 = 27$.
Example 2 · la-g-cramer2 · level facile · notes
By Cramer's rule, what is the entry $\tilde x_2$ (value of $x_2$) of the solution of the system $\begin{cases} -x_1+4x_2 = -2 \\ -x_1-4x_2 = 7 \end{cases}$?
  1. $-\frac{9}{8}$
  2. $\frac{1}{8}$
  3. $-\frac{5}{2}$
  4. $-\frac{8}{9}$
Explanation. $\det(\boldsymbol A) = 8$ and $\boldsymbol A_2$ is obtained by replacing column $2$ (not the row) with $\boldsymbol b$: $\det(\boldsymbol A_2) = -9$, hence $\tilde x_2 = -\frac{9}{8}$.
Example 1 · la-g-rouche · level facile · notes
How many solutions does the system $\begin{cases} 2x_1+2x_2+3x_3 = -3 \\ 4x_1+6x_2+7x_3 = -5 \\ -4x_1-4x_3 = 8 \end{cases}$ have?
  1. exactly one solution
  2. no solution
  3. infinitely many solutions, with $1$ free parameter
  4. infinitely many solutions, with $2$ free parameters
Explanation. Gaussian elimination on the augmented matrix $(\boldsymbol A | \boldsymbol b)$ gives $\text{rank}(\boldsymbol A) = 2$ and $\text{rank}(\boldsymbol A | \boldsymbol b) = 2$, with $n = 3$: by the Rouché–Capelli theorem the system has infinitely many solutions, with $1$ free parameter.
Example 2 · la-g-rouche · level facile · notes
How many solutions does the system $\begin{cases} -x_1-x_2-3x_3 = -1 \\ -x_1+x_2-x_3 = 0 \\ -x_1+3x_2+x_3 = 4 \end{cases}$ have?
  1. exactly one solution
  2. no solution
  3. infinitely many solutions, with $1$ free parameter
  4. infinitely many solutions, with $2$ free parameters
Explanation. Gaussian elimination on the augmented matrix $(\boldsymbol A | \boldsymbol b)$ gives $\text{rank}(\boldsymbol A) = 2$ and $\text{rank}(\boldsymbol A | \boldsymbol b) = 3$, with $n = 3$: by the Rouché–Capelli theorem the system has no solution.
Example 1 · la-g-gauss-solve · level media · notes
Solve with Gaussian elimination (forward elimination and backward substitution) the system $\begin{cases} 2x_1+x_2+2x_3 = -7 \\ 2x_1-x_2 = -9 \\ 2x_1-3x_2-4x_3 = -7 \end{cases}$.
  1. $\boldsymbol x = (-3,\, 3,\, -2)'$
  2. $\boldsymbol x = (-\frac{15}{2},\, 1,\, \frac{7}{2})'$
  3. $\boldsymbol x = (-2,\, 3,\, -3)'$
  4. $\boldsymbol x = (-5,\, -1,\, 2)'$
Explanation. Forward elimination, applied to the whole augmented matrix (including the right-hand side column), gives the triangular system $\begin{cases} 2x_1+x_2+2x_3 = -7 \\ -2x_2-2x_3 = -2 \\ -2x_3 = 4 \end{cases}$; backward substitution gives $\boldsymbol x = (-3,\, 3,\, -2)'$. Check: $\boldsymbol A\boldsymbol x = \boldsymbol b$.
Example 2 · la-g-gauss-solve · level media · notes
Solve with Gaussian elimination (forward elimination and backward substitution) the system $\begin{cases} -x_1+3x_2-x_3 = -2 \\ -x_1+4x_2-x_3 = -1 \\ -x_1+5x_2-3x_3 = -6 \end{cases}$.
  1. $\boldsymbol x = (2,\, 1,\, 3)'$
  2. $\boldsymbol x = (-4,\, -1,\, 3)'$
  3. $\boldsymbol x = (3,\, 1,\, 2)'$
  4. $\boldsymbol x = (8,\, 1,\, -3)'$
Explanation. Forward elimination, applied to the whole augmented matrix (including the right-hand side column), gives the triangular system $\begin{cases} -x_1+3x_2-x_3 = -2 \\ x_2 = 1 \\ -2x_3 = -6 \end{cases}$; backward substitution gives $\boldsymbol x = (2,\, 1,\, 3)'$. Check: $\boldsymbol A\boldsymbol x = \boldsymbol b$.
Example 1 · la-g-param · level media · notes
The system $\begin{cases} x_1+x_3 = 1 \\ 2x_1+x_2+4x_3 = 3 \\ -2x_1+2x_2+2x_3 = 0 \end{cases}$ has infinitely many solutions. Setting $x_3 = t$, which description of the solution set is correct?
  1. $\boldsymbol x = (1,\, 1,\, 0)' + t\,(-1,\, -2,\, 1)'$, $t \in \R$
  2. $\boldsymbol x = (1,\, 1,\, 0)' + t\,(-1,\, 2,\, 1)'$, $t \in \R$
  3. $\boldsymbol x = (1,\, 3,\, 0)' + t\,(-1,\, -2,\, 1)'$, $t \in \R$
  4. $\boldsymbol x = (1,\, 1,\, 0)' + t\,(1,\, -2,\, 1)'$, $t \in \R$
Explanation. Elimination gives $x_1+x_3 = 1$, $x_2+2x_3 = 1$ and a zero row: $\text{rank}(\boldsymbol A) = \text{rank}(\boldsymbol A|\boldsymbol b) = 2 < 3$. With $x_3 = t$: $\boldsymbol x_0 = (1,\, 1,\, 0)'$ (for $t = 0$) and $\boldsymbol v = (-1,\, -2,\, 1)'$ with $\boldsymbol A\boldsymbol v = \boldsymbol 0$.
Example 2 · la-g-param · level media · notes
The system $\begin{cases} x_1-x_2+2x_3 = 1 \\ -2x_1+3x_2-5x_3 = -1 \\ -x_1+3x_2-4x_3 = 1 \end{cases}$ has infinitely many solutions. Setting $x_3 = t$, which description of the solution set is correct?
  1. $\boldsymbol x = (2,\, 1,\, 0)' + t\,(-1,\, 1,\, 1)'$, $t \in \R$
  2. $\boldsymbol x = (2,\, 1,\, 0)' + t\,(-1,\, -1,\, 1)'$, $t \in \R$
  3. $\boldsymbol x = (0,\, -1,\, 0)' + t\,(-1,\, 1,\, 1)'$, $t \in \R$
  4. $\boldsymbol x = (2,\, 1,\, 0)' + t\,(1,\, 1,\, 1)'$, $t \in \R$
Explanation. Elimination gives $x_1-x_2+2x_3 = 1$, $x_2-x_3 = 1$ and a zero row: $\text{rank}(\boldsymbol A) = \text{rank}(\boldsymbol A|\boldsymbol b) = 2 < 3$. With $x_3 = t$: $\boldsymbol x_0 = (2,\, 1,\, 0)'$ (for $t = 0$) and $\boldsymbol v = (-1,\, 1,\, 1)'$ with $\boldsymbol A\boldsymbol v = \boldsymbol 0$.
Example 1 · la-g-rouche-k · level complessa · notes
Depending on the real parameter $k$, how many solutions does the system $\begin{cases} x_1+x_2+2x_3 = 3 \\ x_1+2x_2+5x_3 = 4 \\ 2x_1 + (k+2)\,x_3 = k+8 \end{cases}$ have?
  1. exactly one solution if $k \neq -4$; infinitely many solutions (one free parameter) if $k = -4$
  2. exactly one solution if $k \neq -4$; no solution if $k = -4$
  3. exactly one solution if $k \neq 4$; infinitely many solutions (one free parameter) if $k = 4$
  4. exactly one solution for every $k \in \R$
Explanation. Gaussian elimination turns the last row into $(0\;\; 0\;\; k+4 \mid k+4)$. If $k \neq -4$: $\text{rank}(\boldsymbol A) = \text{rank}(\boldsymbol A|\boldsymbol b) = 3$, a unique solution. If $k = -4$: $\text{rank}(\boldsymbol A) = \text{rank}(\boldsymbol A|\boldsymbol b) = 2 < 3$, infinitely many solutions with one free parameter.
Example 2 · la-g-rouche-k · level complessa · notes
Depending on the real parameter $k$, how many solutions does the system $\begin{cases} x_1+3x_2-x_3 = 3 \\ x_1+4x_2-3x_3 = 6 \\ 2x_1+7x_2 + (k-3)\,x_3 = 10 \end{cases}$ have?
  1. exactly one solution if $k \neq -1$; no solution if $k = -1$
  2. exactly one solution if $k \neq -1$; infinitely many solutions (one free parameter) if $k = -1$
  3. exactly one solution if $k \neq 1$; no solution if $k = 1$
  4. exactly one solution for every $k \in \R$
Explanation. Gaussian elimination turns the last row into $(0\;\; 0\;\; k+1 \mid 1)$. If $k \neq -1$: $\text{rank}(\boldsymbol A) = \text{rank}(\boldsymbol A|\boldsymbol b) = 3$, a unique solution. If $k = -1$: $\text{rank}(\boldsymbol A) = 2 < 3 = \text{rank}(\boldsymbol A|\boldsymbol b)$, no solution.
Example 1 · la-g-sys-omog-k · level facile · notes
For which value of $k$ does the homogeneous system $1x_1 + 3x_2 = 0$, $3x_1 + (-4 + k)\,x_2 = 0$ have nonzero solutions?
  1. $k = 13$
  2. $k = -13$
  3. $k = 9$
  4. $k = 14$
Explanation. Nonzero solutions if and only if the determinant is zero: $1(-4 + k) - (3)(3) = 0$, i.e. $k = 13$.
Example 2 · la-g-sys-omog-k · level facile · notes
For which value of $k$ does the homogeneous system $-1x_1 + 3x_2 = 0$, $-1x_1 + (-4 + k)\,x_2 = 0$ have nonzero solutions?
  1. $k = 7$
  2. $k = -7$
  3. $k = 3$
  4. $k = 8$
Explanation. Nonzero solutions if and only if the determinant is zero: $-1(-4 + k) - (3)(-1) = 0$, i.e. $k = 7$.
Example 1 · la-g-sys-scala · level facile · notes
Gaussian elimination on the augmented matrix $(\boldsymbol A \,|\, \boldsymbol b)$ of a system of $3$ equations in $3$ unknowns gives the echelon form $\left(\begin{array}{rrr|r} 3 & 2 & 3 & -4 \\ 0 & 4 & 1 & 1 \\ 0 & 0 & 0 & 0 \end{array}\right)$. What is concluded (Rouché–Capelli theorem)?
  1. Infinitely many solutions, with $1$ free parameter
  2. No solution
  3. A unique solution
  4. Infinitely many solutions, with $2$ free parameters
Explanation. Compare $\mathrm{rank}(\boldsymbol A)$ and $\mathrm{rank}(\boldsymbol A|\boldsymbol b)$ (nonzero rows); if they coincide, the free parameters are $3 - \mathrm{rank}(\boldsymbol A)$.
Example 2 · la-g-sys-scala · level facile · notes
Gaussian elimination on the augmented matrix $(\boldsymbol A \,|\, \boldsymbol b)$ of a system of $3$ equations in $3$ unknowns gives the echelon form $\left(\begin{array}{rrr|r} 4 & -1 & -3 & -1 \\ 0 & 4 & 2 & 2 \\ 0 & 0 & 4 & 3 \end{array}\right)$. What is concluded (Rouché–Capelli theorem)?
  1. A unique solution
  2. No solution
  3. Infinitely many solutions, with $1$ free parameter
  4. Infinitely many solutions, with $2$ free parameters
Explanation. Compare $\mathrm{rank}(\boldsymbol A)$ and $\mathrm{rank}(\boldsymbol A|\boldsymbol b)$ (nonzero rows); if they coincide, the free parameters are $3 - \mathrm{rank}(\boldsymbol A)$.
Example 1 · la-g-sys-nucleo · level media · notes
The solutions of the homogeneous system $\begin{cases} -3x_1-x_2-10x_3 = 0 \\ -3x_2-12x_3 = 0 \end{cases}$ are the multiples $t\,\boldsymbol v$ of a vector. Which $\boldsymbol v$, with third component $1$, works?
  1. $\boldsymbol v = (-2,\, -4,\, 1)'$
  2. $\boldsymbol v = (-4,\, -2,\, 1)'$
  3. $\boldsymbol v = (2,\, 4,\, 1)'$
  4. $\boldsymbol v = (-2,\, 4,\, 1)'$
Explanation. Rank $2$ with $3$ unknowns: one parameter. Setting $x_3 = 1$ the two equations are solved: $\boldsymbol v = (-2,\, -4,\, 1)'$ (check $\boldsymbol A\boldsymbol v = \boldsymbol 0$).
Example 2 · la-g-sys-nucleo · level media · notes
The solutions of the homogeneous system $\begin{cases} -x_1-3x_2+8x_3 = 0 \\ -x_1+3x_2-10x_3 = 0 \end{cases}$ are the multiples $t\,\boldsymbol v$ of a vector. Which $\boldsymbol v$, with third component $1$, works?
  1. $\boldsymbol v = (-1,\, 3,\, 1)'$
  2. $\boldsymbol v = (3,\, -1,\, 1)'$
  3. $\boldsymbol v = (1,\, -3,\, 1)'$
  4. $\boldsymbol v = (-1,\, -3,\, 1)'$
Explanation. Rank $2$ with $3$ unknowns: one parameter. Setting $x_3 = 1$ the two equations are solved: $\boldsymbol v = (-1,\, 3,\, 1)'$ (check $\boldsymbol A\boldsymbol v = \boldsymbol 0$).
Example 1 · la-g-cramer3 · level complessa · notes
With Cramer's rule ($x_j = \det(\boldsymbol A_j)/\det(\boldsymbol A)$, where $\boldsymbol A_j$ is $\boldsymbol A$ with column $j$ replaced by $\boldsymbol b$), for the system $\begin{cases} x_2+2x_3 = -1 \\ 3x_1-3x_2+2x_3 = -22 \\ x_1+x_2+3x_3 = -6 \end{cases}$ with $\det(\boldsymbol A) = 5$, what are $\det(\boldsymbol A_{1})$ and $x_{1}$?
  1. $\det(\boldsymbol A_{1}) = -15$, $x_{1} = -3$
  2. $\det(\boldsymbol A_{1}) = 129$, $x_{1} = \frac{129}{5}$
  3. $\det(\boldsymbol A_{1}) = 5$, $x_{1} = -\frac{1}{3}$
  4. $\det(\boldsymbol A_{1}) = -15$, $x_{1} = 3$
Explanation. Column $1$ (not the row) is replaced by $\boldsymbol b$: $\det(\boldsymbol A_{1}) = -15$ and $x_{1} = -3$.
Example 2 · la-g-cramer3 · level complessa · notes
With Cramer's rule ($x_j = \det(\boldsymbol A_j)/\det(\boldsymbol A)$, where $\boldsymbol A_j$ is $\boldsymbol A$ with column $j$ replaced by $\boldsymbol b$), for the system $\begin{cases} -x_1+2x_2-x_3 = -3 \\ -3x_1-x_2+3x_3 = 2 \\ 2x_1+x_2+3x_3 = 14 \end{cases}$ with $\det(\boldsymbol A) = 37$, what are $\det(\boldsymbol A_{3})$ and $x_{3}$?
  1. $\det(\boldsymbol A_{3}) = 111$, $x_{3} = 3$
  2. $\det(\boldsymbol A_{3}) = 95$, $x_{3} = \frac{95}{37}$
  3. $\det(\boldsymbol A_{3}) = 37$, $x_{3} = \frac{1}{3}$
  4. $\det(\boldsymbol A_{3}) = 111$, $x_{3} = -3$
Explanation. Column $3$ (not the row) is replaced by $\boldsymbol b$: $\det(\boldsymbol A_{3}) = 111$ and $x_{3} = 3$.

A.1. Absolute value (4)

Example 1 · la-g-abs-ineq · level facile · notes
Which $x \in \R$ satisfy $|3x-3| \le 9$? (Recall: $|y| \le \varepsilon \Leftrightarrow -\varepsilon \le y \le \varepsilon$.)
  1. $-2 \le x \le 4$
  2. $x < -2$ or $x > 4$
  3. $-4 \le x \le 2$
  4. $-8 \le x \le 10$
Explanation. $-9 \le 3x-3 \le 9$, i.e. $-6 \le 3x \le 12$; dividing by $3$ we get $-2 \le x \le 4$. The outer set solves the opposite inequality; forgetting to divide by $3$ widens the interval.
Example 2 · la-g-abs-ineq · level facile · notes
Which $x \in \R$ satisfy $|2x+2| < 8$? (Recall: $|y| < \varepsilon \Leftrightarrow -\varepsilon < y < \varepsilon$.)
  1. $-5 < x < 3$
  2. $x \le -5$ or $x \ge 3$
  3. $-3 < x < 5$
  4. $-9 < x < 7$
Explanation. $-8 < 2x+2 < 8$, i.e. $-10 < 2x < 6$; dividing by $2$ we get $-5 < x < 3$. The outer set solves the opposite inequality; forgetting to divide by $2$ widens the interval.
Example 1 · la-g-abs-dist · level media · notes
Which $x \in \R$ satisfy $|x| \le |x - 5|$, i.e. are at least as close to $0$ as to $5$?
  1. $x \le \frac{5}{2}$
  2. $x \ge \frac{5}{2}$
  3. $x \le 0$
  4. $0 \le x \le 5$
Explanation. Both sides are $\ge 0$, so we can square: $(x)^2 \le (x - 5)^2$ gives $2(5)\,x \le 25$, i.e. $x \le \frac{5}{2}$, the midpoint between $0$ and $5$.
Example 2 · la-g-abs-dist · level media · notes
Which $x \in \R$ satisfy $|x + 2| \le |x - 6|$, i.e. are at least as close to $-2$ as to $6$?
  1. $x \le 2$
  2. $x \ge 2$
  3. $x \le -2$
  4. $-2 \le x \le 6$
Explanation. Both sides are $\ge 0$, so we can square: $(x + 2)^2 \le (x - 6)^2$ gives $2(8)\,x \le 32$, i.e. $x \le 2$, the midpoint between $-2$ and $6$.
Example 1 · la-g-abs-eq · level facile · notes
What are the real solutions of $|x - 1| = 5$?
  1. $x \in \{-4, 6\}$
  2. $x \in \{6\}$
  3. $x \in \{-6, 4\}$
  4. $x \in \{4, 6\}$
Explanation. $x - 1 = \pm 5$: two solutions symmetric about $1$.
Example 2 · la-g-abs-eq · level facile · notes
What are the real solutions of $|x - (-2)| = 6$?
  1. $x \in \{-8, 4\}$
  2. $x \in \{4\}$
  3. $x \in \{-4, 8\}$
  4. $x \in \{4, 8\}$
Explanation. $x - (-2) = \pm 6$: two solutions symmetric about $-2$.
Example 1 · la-g-abs-somma · level media · notes
For which real $x$ does $|x - (4)| + |x - (5)| \le 3$ hold?
  1. $3 \le x \le 6$
  2. $4 \le x \le 5$
  3. $1 \le x \le 8$
  4. $2 \le x \le 7$
Explanation. For $4 \le x \le 5$ the sum equals $1 \le 3$; outside it grows with slope $2$, so the endpoints are $3$ and $6$ (where the sum equals $3$).
Example 2 · la-g-abs-somma · level media · notes
For which real $x$ does $|x - (-2)| + |x - (4)| \le 10$ hold?
  1. $-4 \le x \le 6$
  2. $-2 \le x \le 4$
  3. $-12 \le x \le 14$
  4. $-5 \le x \le 7$
Explanation. For $-2 \le x \le 4$ the sum equals $6 \le 10$; outside it grows with slope $2$, so the endpoints are $-4$ and $6$ (where the sum equals $10$).

A.2. Modular arithmetic (4)

Example 1 · la-g-mod · level facile · notes
What is $90 \text{ mod } 7$, i.e. the remainder $r$ of Euclid's division $90 = q \cdot 7 + r$ with $q$ an integer and $0 \le r < 7$?
  1. $6$
  2. $12$
  3. $1$
  4. $7$
Explanation. $90 = (12)\cdot 7 + 6$ with $0 \le 6 < 7$: the remainder is always non-negative and smaller than $|m|$.
Example 2 · la-g-mod · level facile · notes
What is $-23 \text{ mod } 8$, i.e. the remainder $r$ of Euclid's division $-23 = q \cdot 8 + r$ with $q$ an integer and $0 \le r < 8$?
  1. $1$
  2. $7$
  3. $-7$
  4. $-3$
Explanation. $-23 = (-3)\cdot 8 + 1$ with $0 \le 1 < 8$: the remainder is always non-negative and smaller than $|m|$, even when the dividend is negative.
Example 1 · la-g-mod-qr · level media · notes
In Euclid's division of $n = -23$ by $m = -3$, i.e. $n = q\,m + r$ with $q$ an integer and $0 \le r < |m|$, what are $q$ and $r$?
  1. $q = 8$, $r = 1$
  2. $q = 7$, $r = -2$
  3. $q = -8$, $r = 1$
  4. $q = 8$, $r = 2$
Explanation. $8\cdot (-3) + 1 = -23$ with $0 \le 1 < 3$. Truncating $n/m$ towards zero gives $q = 7$ and $r = -2$, a negative remainder: with the Euclidean convention the remainder is never negative.
Example 2 · la-g-mod-qr · level media · notes
In Euclid's division of $n = -50$ by $m = 9$, i.e. $n = q\,m + r$ with $q$ an integer and $0 \le r < |m|$, what are $q$ and $r$?
  1. $q = -6$, $r = 4$
  2. $q = -5$, $r = -5$
  3. $q = 6$, $r = 4$
  4. $q = -6$, $r = 5$
Explanation. $(-6)\cdot 9 + 4 = -50$ with $0 \le 4 < 9$. Truncating $n/m$ towards zero gives $q = -5$ and $r = -5$, a negative remainder: with the Euclidean convention the remainder is never negative.
Example 1 · la-g-mod-espr · level facile · notes
What is $(39 \cdot 50 + 26) \bmod 8$ (remainder of Euclidean division by $8$)?
  1. $0$
  2. $3$
  3. $6$
  4. $1$
Explanation. Reduce each factor modulo $8$: $7 \cdot 2 + 2$, then take the remainder: $0$.
Example 2 · la-g-mod-espr · level facile · notes
What is $(53 \cdot 50 + 20) \bmod 6$ (remainder of Euclidean division by $6$)?
  1. $0$
  2. $3$
  3. $4$
  4. $1$
Explanation. Reduce each factor modulo $6$: $5 \cdot 2 + 2$, then take the remainder: $0$.
Example 1 · la-g-mod-lineare · level complessa · notes
What is the smallest solution $x \ge 0$ of the congruence $3\,x \equiv 10 \pmod{13}$?
  1. $x = 12$
  2. $x = 7$
  3. $x = 4$
  4. $x = 0$
Explanation. $3 \cdot 12 = 36 \equiv 10$; since $3$ and $13$ are coprime the solution is unique modulo $13$.
Example 2 · la-g-mod-lineare · level complessa · notes
What is the smallest solution $x \ge 0$ of the congruence $9\,x \equiv 12 \pmod{13}$?
  1. $x = 10$
  2. $x = 3$
  3. $x = 4$
  4. $x = 11$
Explanation. $9 \cdot 10 = 90 \equiv 12$; since $9$ and $13$ are coprime the solution is unique modulo $13$.