First ask: one number, a list, or a table?
A scalar is one number, such as . A vector in contains n real components. A matrix arranges entries in rows and columns. These objects can encode the same data differently, but their shapes control which operations are defined.
| Kind | Example | Shape |
|---|---|---|
| Scalar | A single number | |
| Column vector | ||
| Matrix | ||
| Random variable | , the number shown on a die | A function of a random outcome, not one fixed observation |
A realized value such as is one observation of . Later, several random variables will form a random vector.
The source’s three conventions
1. Boldface identifies vectors and matrices. The source writes and . This includes vectors in and vectors in more general vector spaces. Greek letters generally denote scalars; capital Roman letters generally denote matrices and random variables. These are conventions, not restrictions on every author’s notation.
2. Work over the reals. The source restricts attention to real values to keep the abstraction manageable. Many results can be generalized to complex values, but the notes state the real versions. This course follows that scope; complex-number extensions are not prerequisites here.
3. Vectors are columns. A vector in is interpreted as an matrix. Taking its transpose is therefore well-defined and produces a row vector.
Turn rows into columns
Same entries. New addresses.
Select any entry. Its row and column swap when you transpose.
Preparing interactive controls…
For the example matrix, the entry 2 starts at row 1, column 2. After transposing, it sits at row 2, column 1:
No entry changed value. Its address changed. Transposing twice returns every entry to its original address.
For a column vector,
The experiment also displays for the selected address. It equals 1 only on the main diagonal. This connects the symbol dictionary to the identity matrix you will meet later.
An easy mistake to catch early
A three-entry row and a three-entry column store three numbers, but they are not the same matrix shape. A dot product has shape and produces a matrix, which we identify with a scalar. The outer product has shape and produces a matrix.
Make a prediction