Chapter 2
A short review of matrix algebra
2.1 Vectors and vector spaces
Definition 2.1.1. A vector a of dimension n is a collection of n elements typically written as ⎛ ⎞ ⎜ a1 ⎟ ⎜ ⎟ ⎜ ⎟ ⎜ a2 ⎟ a = ⎜ ⎟ =(ai)n. ⎜ . ⎟ ⎝ . ⎠
an Vectors of length 2 (two-dimensional vectors) can be thought of points in
33 BIOS 2083 Linear Models Abdus S. Wahed the plane (See figures).
Chapter 2 34 BIOS 2083 Linear Models Abdus S. Wahed Figure 2.1: Vectors in two and three dimensional spaces
(-1.5,2)
(1, 1)
(1, -2)
x1
(2.5, 1.5, 0.95)
x2
(0, 1.5, 0.95)
x3
Chapter 2 35 BIOS 2083 Linear Models Abdus S. Wahed
• A vector with all elements equal to zero is known as a zero vector and is denoted by 0.
• A vector whose elements are stacked vertically is known as column vector whereas a vector whose elements are stacked horizontally will be referred to as row vector. (Unless otherwise mentioned, all vectors will be referred to as column vectors).
• A row vector representation of a column vector is known as its trans-