📌 Sources & numbering: Friday lecture (“Woche 2”) + Wednesday lecture + tablet notes. Numbering follows the course script (Lemma 1.24–1.26, Def. 2.1–2.18). Part of the Wednesday recording around the break is missing (transcript is garbled). The proof of Lemma 2.11 and the row-space pictures are reconstructed from the tablet notes.
📌 Notation used throughout: vectors are bold lowercase (), the zero vector is , and matrices are plain uppercase (). Following the lecture, vectors are written with round brackets and matrices with square brackets . The spaces are (column space), (row space) and (null space).
1. Executive Overview & Core Objectives
This week finishes the chapter on vectors with three lemmas about the span: adding a linear combination to a sequence of vectors leaves the span unchanged, so does removing one, and linearly independent vectors in span all of . It then introduces matrices, first as a compact notation for sequences of vectors and covectors, and the matrix–vector product as a notation for linear combinations of the columns. From this, the lecture builds the column space, the rank (number of independent columns), the transpose, the row space, and the null space. It ends by reinterpreting a matrix as a transformation with a geometric meaning: stretching, mirroring, rotation, or shear.
Learning objectives. After this week you should be able to:
- prove set equalities by double inclusion ( and );
- state and prove Lemma 1.24, Korollar 1.25, and Lemma 1.26 (the exchange argument);
- use the different matrix notations: table, entrywise , dotless , column notation and row notation;
- recognise identity, diagonal, upper/lower triangular and symmetric matrices, and use the Kronecker delta;
- compute in three equivalent ways (column combination, entrywise formula, row scalar products), and prove that they agree;
- translate ” is a linear combination of the columns” and “the columns are linearly independent” into matrix language (Beob. 2.5);
- determine independent columns, , , , for concrete matrices, and know which ambient space each one lives in;
- prove Lemma 2.11 (the independent columns span the column space);
- compute transposes, and interpret and geometrically.
2. Core Concepts & Formal Definitions
2.1 Recap from Week 1: span and linear independence
💡 Definition (Span): For , , the set of all linear combinations. The vectors span if , i.e. every is a linear combination of them.
- Geometric picture in : three vectors on a common line through the origin span that line; three vectors in a common plane through the origin span that plane; three linearly independent vectors span the whole space.
- The span is a set: an unordered collection, each element counted once. Therefore the order of the vectors in the sequence does not matter for the span, because vector addition is commutative.
- The empty linear combination (the sum over no vectors) is . Hence , and is a linear combination of any sequence, including the empty one.
Facts on linear independence used repeatedly (Korollar 1.21):
- (ii) are linearly independent the only way to write is (only the trivial combination).
- (iii) are linearly independent no is a linear combination of the previous vectors . Equivalently, they are linearly dependent some is a linear combination of its predecessors.
- A linearly independent sequence never contains , since is a linear combination of the (possibly empty) sequence before it.
2.2 Three lemmas about the span
💡 Lemma 1.24 (adding a linear combination does not change the span): Let , and let be a linear combination of . Then
.
💡 Korollar 1.25 (removing a linear combination does not change the span): Let , and let be a linear combination of the other vectors. Then
.
💡 Lemma 1.26 (“Challenge 1.6 in ”): Let be linearly independent (exactly vectors in ). Then .
- Main use of Korollar 1.25: as long as a sequence is linearly dependent, we may delete redundant vectors without shrinking the span.
- Lemma 1.26 generalises Fakt 1.5 / Challenge 1.6 from Week 1. In , two vectors that are not on a common line span the plane. The point is that we never need to “see” independence geometrically in high dimensions; the definition alone suffices.
- A stronger version of this exchange argument appears later as the Steinitz exchange lemma (Steinitz’sches Austauschlemma).
2.3 Matrices
💡 Definition 2.1 (Matrix): An matrix is a table of real numbers with rows (Zeilen) and columns (Spalten):
.
is the entry in row and column . denotes the set of all matrices.
Notations for the same object:
| Notation | Form | Interpretation |
|---|---|---|
| Table / entrywise | as above | a table of numbers |
| Dotless (punktlose) notation | compact; useful in definitions | |
| Column notation (Spaltennotation) | , | columns are vectors |
| Row notation (Zeilennotation) | rows stacked | rows are covectors (row vectors) |
- Motivation: the sequence of vectors becomes the matrix . Read row-wise, the same table is the sequence of covectors .
- Dimensions of rows and columns: in an matrix, each column has entries (so ), and each row has entries (so ).
- , the dual space, is used here simply as a label for “row vectors of length ”. Covectors are, for now, “tipped-over” vectors; their formal definition comes later.
💡 Definition 2.2 (Matrix addition, scalar multiplication, negative): For (the same shape) and :
, , .
The zero matrix has all entries . It is written as a non-bold (an abuse of notation; context decides whether it is the number or the matrix).
These are exactly the vector operations, applied entry by entry. Later, matrices themselves will be treated abstractly as vectors.
Matrix shapes:
| Name | Condition | Picture |
|---|---|---|
| tall (hoch) | more rows than columns | |
| square (quadratisch) | ||
| wide (breit) | more columns than rows |
💡 Definition (Kronecker delta): if , and otherwise.
Special square matrices ():
| Type | Condition | example |
|---|---|---|
| Identity matrix | , i.e. | |
| Diagonal matrix | ||
| Upper triangular (obere Dreiecksmatrix) | (zeros below the diagonal) | |
| Lower triangular (untere Dreiecksmatrix) | (zeros above the diagonal) | |
| Symmetric | for all |
- The diagonal always runs from top-left to bottom-right (entries ).
- The conditions only constrain the off-diagonal entries (or one side of them). Diagonal entries may be anything, including .
- The zero matrix is diagonal, upper triangular, lower triangular and symmetric, but not the identity. The identity is diagonal, upper and lower triangular, and symmetric.
- Symmetric means the matrix is unchanged by mirroring at the diagonal. In the example, and .
2.4 Matrix–vector multiplication (Abschnitt 2.1.1)
💡 Definition 2.4 (Matrix–vector product): Let and . The vector
is the product of and . It is the linear combination of the columns of with the scalars from .
⚠️ Exam Trap: is defined only if the number of columns of equals the number of entries of (both are ). Otherwise it is simply undefined, like a dimension-mismatch error in a programming language. The result has as many entries as has rows (). Picture: an ( high, wide) matrix times an ( high) vector gives an ( high) vector. (In the Q&A the lecturer briefly said “rows” by mistake, then corrected it: the condition is on the columns.)
⚠️ Exam Trap: looks like a scalar product but is not one: each is a vector, so is a scalar multiple of a vector, and the sum is a vector in .
The three equivalent views (proven in §3.5):
| View | Formula | Source |
|---|---|---|
| Linear combination of the columns | Def. 2.4 | |
| Direct, entrywise (“no columns”) | Beob. 2.6 | |
| Row notation: scalar products | Beob. 2.8 |
💡 Korollar 2.7: For the identity matrix, for all . As a transformation, maps every vector to itself; this is why it is called the identity.
💡 Beobachtung 2.5 (Def. 1.4 and Korollar 1.21(ii) in matrix language): Let .
(i) is a linear combination of the columns of there exists with .
(ii) The columns of are linearly independent is the only vector with .
The form is how systems of linear equations will be written later in the course.
2.5 Column space and rank
💡 Definition 2.9 (Column space, Spaltenraum): For ,
.
It equals the span of the columns of . (“C” stands for column space; it is written as a bold C, to distinguish it from a matrix named .)
- always, because .
- Appending a column that is a linear combination of the existing columns does not change (Lemma 1.24).
💡 Definition 2.10 (Independent columns, rank): Let . Column is independent if is not a linear combination of the previous columns ; otherwise is dependent. The rank of , , is the number of independent columns.
- “Independent column” is a different concept from “linearly independent”, although the two are related. It is a property of a single column relative to the columns to its left.
- . For the (empty) matrix, the rank is .
- the columns are linearly independent (Korollar 1.21(iii)).
- (the zero matrix). See §3.8.
- Stated now, proven later: reordering the columns does not change the rank. The set of independent columns may change, but their number does not. So the left-to-right convention is ultimately arbitrary.
- Preview: will turn out to be the dimension of , and surprisingly also of . The dimension of will also be expressible through the rank.
💡 Lemma 2.11 (the independent columns span the column space): Let be an matrix with independent columns, and let be the submatrix (Untermatrix) consisting of the independent columns. Then .
A submatrix is what remains of the table after deleting some rows and/or columns. Here we delete the dependent columns and keep all rows.
2.6 Transposition and row space
💡 Definition 2.12 (Transpose): Let be an matrix. The transpose of is the matrix
with for all .
- Geometrically, transposing mirrors the table at the diagonal: the dimensions swap and row/column indices swap. The entry at position of is the entry at of .
- Vectors and matrices both have a transpose, but these are different operations on different objects. A vector becomes the covector , e.g. . An matrix becomes a matrix, e.g. . Geometrically the same thing happens: the object is tipped over.
- is symmetric (directly from ).
⚠️ Exam Trap: A vector is not “a matrix with one column”, even though many internet sources claim so. Matrices are really transformations (§2.8), and vectors are different objects. That is why the brackets differ: round for vectors, square for matrices. Turning an matrix into a vector would be an explicit conversion (like a “cast” in programming), not an identity.
💡 Definition 2.14 (Row space, Zeilenraum): For , .
It is defined via the transpose so that we only take linear combinations of (column) vectors, never of covectors. It lies in because each row of has entries, and has columns in .
2.7 Null space (Abschnitt 2.15)
💡 Definition 2.17 (Null space, Nullraum): For ,
.
Intuitively, it is everything that is transformed to .
- always (). In general nothing more is guaranteed.
- the columns of are linearly independent (Beob. 2.5(ii)).
- .
- There are relationships between , and ; these will be worked out later in the course.
2.8 Matrices as linear transformations (Abschnitt 2.2)
💡 Definition 2.18 (Matrix transformation): Let be an matrix. The function
,
(“input” , “output” ) is the matrix transformation with matrix .
- A function (also called map, mapping, Abbildung) is a rule that assigns exactly one output to every input. is a function because is defined and unique for every .
- and are arbitrary: the output dimension can be smaller (), equal, or larger () than the input dimension.
- This is the “true” nature of a matrix: not a table, but a transformation.
💡 Definition (Image of a set): For a set of inputs, .
With this notation, .
3. Step-by-Step Derivations & Mathematical Proofs
3.1 Proof pattern: equality of sets by double inclusion
To show two sets and are equal, prove two inclusions:
- : every element of is an element of .
- : every element of is an element of .
Then . Why this works: says is “at most bigger” than ; says is “at most bigger” than ; together neither can contain an element the other lacks.
3.2 Proof of Lemma 1.24
Let and .
(the easy direction). Let . By definition of the span, for some . Then also
which is a linear combination of . Hence .
Logic: a linear combination of some vectors is always a linear combination of more vectors; the extra vectors just get the scalar . Adding vectors can never shrink the span.
(the interesting direction). Let . Then there are with
By the assumption of the lemma, is a linear combination of , so there are (different) scalars with
Substitute (2) into (1):
Why the last step is allowed: vector arithmetic obeys the same rules as real numbers (distributivity, commutativity, associativity). We pull into the second sum and collect, for each , the two coefficients of : from the first sum and from the second. The summation index is a “loop variable” that is local to each sum, so both sums may use the same name.
Concrete instance (): .
Since are just real numbers (the names carry no special meaning), is a linear combination of , i.e. .
Both inclusions hold, so .
💡 Proof vs. computation: This proof is a computation, but done with variables instead of concrete numbers. That turns it into a statement about all possible vectors and scalars at once.
3.3 Proof of Korollar 1.25
Let . By assumption, is a linear combination of exactly these vectors. Apply Lemma 1.24 with appended at the end:
The second equality holds because the sequence is only reordered ( moved to the end). The span does not depend on the order, since vector addition is commutative.
3.4 Proof of Lemma 1.26 (exchange argument)
Idea. We know linearly independent vectors that span : the standard unit vectors . Every satisfies
So . Now swap the out for the one at a time, making sure the span never changes. It starts as , so it ends as .
Invariant before step (): the sequence
has elements and spans . For this is , which spans .
Step :
- Insert right after , giving .
- Since the old sequence spans and , is a linear combination of the other vectors. So the new sequence is linearly dependent, and by Lemma 1.24 its span is still .
- By Korollar 1.21(iii), some vector of this dependent sequence is a linear combination of its predecessors (the vectors to its left).
- That vector is not one of :
- could only be a combination of its (empty) set of predecessors if , which is impossible in an independent sequence.
- for is not a combination of , because are linearly independent (Korollar 1.21(iii)).
- Hence it is one of the remaining unit vectors (there are of them). Being a combination of its predecessors, it is in particular a combination of the other vectors. By Korollar 1.25 we delete it without changing the span.
- Now the sequence is and spans . The invariant holds for .
After step , no unit vectors remain, and .
- The lecture showed this as a Scratch animation for ; the argument is identical for any . Edge case : zero vectors in ; the empty sequence spans . ✓
- “…and so on” proofs are not fully satisfactory formally. The rigorous “dotless” version of such a proof is mathematical induction (vollständige Induktion), which comes later.
3.5 The three views of agree;
Beob. 2.6 (entrywise formula). In column notation, . Scalar multiplication and addition of vectors act entry by entry, so the -th entry of is
Read backwards: in the full result vector
the “first summands” form the vector , the second summands form , …, and the last form . So the formula is exactly the column combination. This justifies why the table computation is the “right” one.
Beob. 2.8 (row view). The -th row of is . The scalar product multiplies matching coordinates and sums: . Hence , i.e. scalar products.
Korollar 2.7. With :
because exactly one term () survives. So ; the ones on the diagonal just “collect” the coordinates of unchanged.
Useful consequence (columns = images of unit vectors). For the -th standard unit vector :
The -th column of is where sends . This is exactly what the geometric pictures show as .
3.6 Proof of Beobachtung 2.5
(i) ” is a linear combination of ” means there are with . By Def. 2.4, this says for .
(ii) By Korollar 1.21(ii), the columns are linearly independent forces all . In matrix language: . Since is always a solution, is the unique solution.
3.7 is the span of the columns
Running over all of means running over all choices of scalars, which gives all linear combinations. Each , so .
3.8 The extreme cases of rank and null space
columns linearly independent. means every column is independent, i.e. no is a combination of . This is exactly the alternative characterisation of linear independence in Korollar 1.21(iii).
.
- () No column is independent, so every column is a combination of the previous ones. Column 1 is a combination of the empty sequence, so . Column 2 is a combination of , hence , and so on. A combination of zero vectors is the zero vector, so all columns are .
- () Each zero column is a combination of its predecessors (the empty combination already gives ), so all columns are dependent.
- Note: “every column is a multiple of the first column” does not give rank 0. If , the first column is independent and the rank is .
columns linearly independent. This is a direct restatement of Beob. 2.5(ii).
.
- () for every .
- (, contrapositive) Suppose , so some . Then has -th entry , so , and . Hence .
3.9 Proof of Lemma 2.11 (from tablet notes)
Let be the independent columns and the dependent columns, each in the order in which they appear in . There are dependent columns because there are columns in total.
Key observation. For every , is a linear combination of
Reason: is dependent, so it is a linear combination of the columns of before it. Every column before is either an independent column (some ) or an earlier dependent column (some , ), so the list above contains all of them. It may contain some extra columns (independent columns located after ), but these can simply get the scalar .
Building up the span. Start with
Append one after the other. At step , the appended vector is a linear combination of the vectors already present (key observation), so by Lemma 1.24 the span does not change. After all steps:
where the last equality holds because this sequence contains exactly the columns of , just reordered, and the span does not depend on the order.
Intuition: going left to right, a dependent column is already “covered” by what came before, so it contributes nothing new to the span and can be forgotten.
3.10 is well defined, and determined by its columns
is a function since exists and is unique for every (Def. 2.4), and it lands in . Moreover, by Def. 2.4 and §3.5,
so is completely determined by the images of the unit vectors, which are the columns.
4. Worked Examples & Applications
4.1 One product, three ways
Linear combination written as a matrix–vector product:
- Columns: .
- Rows (scalar products):
- row 1:
- row 2:
- row 3:
- Entrywise formula: identical arithmetic, organised as .
Dimension check: times gives . ✓
4.2 Matrix operations (Def. 2.2)
⚠️ Exam Trap: is defined only when and have the same number of rows and the same number of columns.
4.3 Clicker:
Let be arbitrary.
- Matrix–vector product (row view): row 1 is , giving . Row 2 is , giving . So .
- Scalar product with : .
Answer: always , independent of .
⚠️ Exam Trap: The popular wrong answer was “depends on ”. Always compute symbolically before guessing.
Geometric reason: this matrix rotates every vector by (clockwise: ). A vector rotated by is orthogonal to the original, so the scalar product is .
4.4 Column space: Fakt 1.5 in matrix language
This also follows from Lemma 1.26: the columns are two linearly independent vectors in (neither is a multiple of the other). If the two columns were linearly dependent, the column space would only be a line (or ).
4.5 Rank by scanning columns left to right
(a) :
- , so it is not a combination of the empty sequence: independent.
- : is it ? From the first entry , but then the second entry would be . So it is independent.
- . Geometrically, the columns are not on a common line.
(b) :
- is independent.
- is dependent.
- . Both columns lie on one line through the origin. By Lemma 2.11, .
(c) Order matters for which columns, not for how many: .
- Left to right: is dependent (zero column), is independent. Rank .
- Reversed : is independent, is dependent. Rank .
Different independent columns, same rank, as promised by the (later-proven) invariance under reordering.
⚠️ Exam Trap: The first column is independent it is nonzero. Every zero column is dependent, wherever it appears.
4.6 Transpose
Check one entry: . ✓ The first row of becomes the first column of .
⚠️ Exam Trap: In the definition , the index ranges also swap: runs to and to . (The lecturer misspoke ” to ” on the board audio; the tablet has it correct.)
4.7 Row spaces (tablet pictures)
- . The rows, made into columns of , are linearly independent.
- is a line, since .
Notice that in both cases the row space “looks as big as” the column space ( vs. ; line vs. line). This is a preview of .
4.8 Null space computation
Claim:
- By definition, .
- Row view: each row times the vector gives one entry of the result, so this is a system of two linear equations:
- The second equation is times the first, so both say the same thing. Drop one.
- Solve for : .
Geometrically, is the line through the origin with slope .
Sanity check: , since and . Equivalently, , a nontrivial combination giving . This is consistent with the columns being dependent () and with Beob. 2.5(ii).
4.9 Matrix transformations
(a) Swap / mirroring. :
Row 1 picks out ; row 2 picks out . E.g. . Seen as points, this is the reflection at the main diagonal .
(b) Non-square. :
The input needs 2 coordinates (2 columns); the output is a vector in , which looks like a number but is formally a 1-dimensional vector. This matrix is “essentially a covector”; covectors as transformations come next week.
(c) Geometry of for an L-shaped point set (each column is the image of a unit vector, ):
| Matrix | , | Effect on |
|---|---|---|
| , | stretching/compression: squashes in -direction by factor | |
| , | mirroring at the diagonal: mirrored L | |
| , | rotation by counterclockwise | |
| , | shear: slanted, deformed L | |
| , | nothing changes |
Application: this is precisely what computer graphics does. There is an interactive Scratch animation in Moodle for experimenting with the four entries.
⚠️ Exam Trap (where things live): For , , while and . Inputs live in , outputs in .
⚠️ Exam Trap (hypotheses): Lemma 1.24 needs to be a linear combination; adding an arbitrary vector can enlarge the span. Lemma 1.26 needs exactly independent vectors in ; e.g. two independent vectors in only span a plane.
5. Intuition & Conceptual Bridges
- Span = reachable set. is everything reachable by scaling and adding. A vector that is already reachable (a linear combination) adds no new reach (Lemma 1.24), and conversely can be removed (Kor. 1.25).
- Rank = number of genuinely new directions. Scanning columns left to right, a column is independent exactly when it points somewhere the previous columns cannot reach. The rank counts these “new directions”, and Lemma 2.11 says they alone generate the entire column space. Rank : every column adds something new. Rank : nothing at all (zero matrix).
- Exchange argument = trading spanning vectors. Lemma 1.26 starts from a known spanning set (unit vectors) and trades them, one at a time, for the given independent vectors. Independence guarantees that what gets thrown out is always an old unit vector, never a new one. This is the core idea of the Steinitz exchange lemma later.
- Three readings of . Column view: “how much of each column do I mix?” (good for span and rank questions). Row view: “how does score against each row?” (good for computing and for equations). Entrywise: pure bookkeeping. Pick whichever makes a problem easiest; all give the same result.
- Matrices are transformations. takes inputs in to outputs in . The columns tell you where the unit vectors go, and everything else follows by linear combination. is the set of all outputs, and is the set of inputs that get “crushed” to . Independent columns mean only is crushed.
- Language translation as a learning tool. Beob. 2.5 says nothing new; it restates Week 1 notions (linear combination, independence) in matrix language as a double check of understanding.
- Bridges forward:
- will be the standard form of a system of linear equations. Beob. 2.5(i) already says it is solvable .
- Dimension: , and depends on the rank. Relationships between the three spaces come later.
- Rank is invariant under column reordering (proof later).
- Vector spaces: , , , , and even will be treated abstractly as vector spaces.
- Covectors as transformations (next week); matrix–matrix multiplication (behaves analogously to matrix–vector); mathematical induction (rigorous version of “and so on” proofs).
6. Summary & Self-Assessment Questions
Cheat sheet
| Concept | Definition / formula | Lives in |
|---|---|---|
| Span | ; order irrelevant; | |
| Lemma 1.24 / Kor. 1.25 | adding/removing a linear combination keeps the span | |
| Lemma 1.26 | independent vectors in span | |
| Matrix | , = row , column | |
| Kronecker delta | if , else ; | |
| Diagonal / upper / lower / symmetric | for / / ; | square only |
| (columns) | ; needs columns of = entries of | |
| (entrywise) | ||
| (rows) | ||
| Unit vector images | ; | |
| Beob. 2.5 | col. comb. ; cols indep. () | |
| Column space | , contains | |
| Rank | # independent columns (not a combination of earlier ones); | |
| Rank extremes | cols lin. indep.; | |
| Lemma 2.11 | , = submatrix of independent columns | |
| Transpose | , ; symmetric | |
| Row space | ||
| Null space | , contains | |
| Null space extremes | cols lin. indep.; | |
| Transformation | , ; |
Practice questions
Question 1. Let . Determine the independent columns, , , and . Justify each step with a result from the lecture.
Solution to Question 1
Columns: , , .
- , so it is not a linear combination of the empty sequence: independent.
- : dependent.
- : it would have to be a combination of . By Korollar 1.25, , so it would have to be . The first entry forces , giving . So is independent.
Hence .
Column space: by Lemma 2.11, with . The columns of are linearly independent: each is independent in , so this follows by Korollar 1.21(iii). They are 2 linearly independent vectors in , so by Lemma 1.26, .
Null space: solve (row view):
Subtract twice the first equation from the second: . Insert into the first equation: . Therefore
a line through the origin in . Check: ✓, consistent with the columns being dependent (Beob. 2.5(ii)).
Question 2. Prove that for every . Hint: for the bound by , use Lemma 1.26.
Solution to Question 2
: there are only columns.
: suppose, for contradiction, that . Let be the first independent columns, in the order of .
- These form a linearly independent sequence. Each is not a linear combination of all columns of before it, so in particular it is not a combination of (a subset of those columns; a combination of the subset would be a combination of all of them, with zeros elsewhere). By Korollar 1.21(iii), are linearly independent, and so are .
- By Lemma 1.26, .
- Hence is a linear combination of , which are all columns before it. So is dependent. Contradiction.
Therefore , and altogether .
Consequence: a wide matrix () can never have linearly independent columns, so for wide . In particular, more than vectors in are always linearly dependent.
Question 3. Find a matrix with for all . What are its dimensions? Determine and .
Solution to Question 3
Input in , output in , so (a tall matrix).
The columns are the images of the unit vectors ():
Check with the row view: , , ✓.
Null space: means , so , and then gives . So . By Beob. 2.5(ii), the columns are linearly independent, so .
Question 4 (True/False; justify).
(a) For and , is defined.
(b) Every diagonal matrix is symmetric.
(c) For , .
(d) If the first column of is zero, then .
(e) There is a matrix with .
(f) The zero matrix is upper triangular, lower triangular, diagonal and symmetric.
Solution to Question 4
(a) False. has 2 columns, but has 3 entries. The product requires columns = entries, so it is undefined.
(b) True. For , both and , so . For the condition is trivial.
(c) False. has entries (one per row), so . It is and that lie in .
(d) True. The zero vector is the empty linear combination, so the first column is dependent. At most the remaining columns can be independent.
(e) False. By Question 2, . So the columns are not linearly independent (that would need rank ), and by Beob. 2.5(ii), .
(f) True. All of these conditions only demand zeros (or equal entries) off the diagonal, and the zero matrix has zeros everywhere. It is, however, not the identity.
Question 5. Prove for any : (i) ; (ii) a square matrix is symmetric ; (iii) a square matrix is upper triangular is lower triangular.
Solution to Question 5
Write , so (Def. 2.12), and .
(i) has entries for all . Same dimensions and same entries, so .
(ii) For square , has the same dimensions as . Then for all for all , which is exactly the definition of symmetric.
(iii) is upper triangular (). is lower triangular () (). Renaming the indices (, ), this says (), which is exactly the upper-triangular condition for .