ELIAS EBNER

  • Home
  • Blog
  • Courses
  • About

Linear Algebra

  1. Vectors
    1. Scalars
    2. Vectors vs Sets
    3. Addition and Subtraction
    4. Scalar Multiplication
    5. Zero Vectors
    6. Linear Combinations
    7. Real Dot Product
    8. Length of a Vector
    9. Orthogonal Vectors
    10. Parallel Vectors
    11. Angle Between Vectors
    12. Unit Vectors
  2. Matrices
    1. Notation
    2. Indexing
    3. Submatrices
    4. Matrix-by-Vector Product
    5. Addition and Subtraction
    6. Scalar Multiplication
    7. Transpose
    8. Symmetries
    9. Matrix Multiplication
    10. Identity Matrix
    11. Non-Negative Integer Powers
    12. Reverse Order Law of Transposition
  3. Linear Systems
    1. Inverse Matrices
    2. Singular Matrices
    3. Linear Dependence
    4. Solutions
  4. Planes
    1. Vector Cross Product
  5. Gaussian Elimination
Linear Algebra β€ΊVectors β€ΊAddition and Subtraction

Adding and Subtracting Vectors

Addition and subtraction are both defined for vectors. They actually work rather intuitively.

Addition

Addition is defined as follows;

Presume we want to sum two vectors v⃗\vec{v}v and w⃗\vec{w}w where

vβƒ—=[v1v2],wβƒ—=[w1w2].\vec{v} = \begin{bmatrix} v_1 \\ v_2 \end{bmatrix}, \vec{w} = \begin{bmatrix} w_1 \\ w_2 \end{bmatrix}.v=[v1​v2​​],w=[w1​w2​​].

Then, their sum is

vβƒ—+wβƒ—=[v1v2]+[w1w2]=[v1+w1v2+w2]\vec{v} + \vec{w} = \begin{bmatrix} v_1 \\ v_2 \end{bmatrix} + \begin{bmatrix} w_1 \\ w_2 \end{bmatrix} = \begin{bmatrix} v_1 + w_1 \\ v_2 + w_2 \end{bmatrix}v+w=[v1​v2​​]+[w1​w2​​]=[v1​+w1​v2​+w2​​]

Subtraction

Subtraction follows the same logic, where for the two vectors v⃗\vec{v}v and w⃗\vec{w}w defined above

vβƒ—βˆ’wβƒ—=[v1v2]βˆ’[w1w2]=[v1βˆ’w1v2βˆ’w2]\vec{v} - \vec{w} = \begin{bmatrix} v_1 \\ v_2 \end{bmatrix} - \begin{bmatrix} w_1 \\ w_2 \end{bmatrix} = \begin{bmatrix} v_1 - w_1 \\ v_2 - w_2 \end{bmatrix}vβˆ’w=[v1​v2​​]βˆ’[w1​w2​​]=[v1β€‹βˆ’w1​v2β€‹βˆ’w2​​]

Commutativity

From the definition above, it is evident that the same commutativity that holds for addition of real numbers R\mathbb{R}R, also holds for vector addition:

vβƒ—+wβƒ—=[v1v2]+[w1w2]=[v1+w1v2+w2]=[w1+v1w2+v2]=[w1w2]+[v1v2]=wβƒ—+vβƒ—\begin{align*} \vec{v} + \vec{w} &= \begin{bmatrix} v_1 \\ v_2 \end{bmatrix} + \begin{bmatrix} w_1 \\ w_2 \end{bmatrix} \\ &= \begin{bmatrix} v_1 + w_1 \\ v_2 + w_2 \end{bmatrix} \\ &= \begin{bmatrix} w_1 + v_1 \\ w_2 + v_2 \end{bmatrix} \\ &= \begin{bmatrix} w_1 \\ w_2 \end{bmatrix} + \begin{bmatrix} v_1 \\ v_2 \end{bmatrix} \\ &= \vec{w} + \vec{v} \end{align*}v+w​=[v1​v2​​]+[w1​w2​​]=[v1​+w1​v2​+w2​​]=[w1​+v1​w2​+v2​​]=[w1​w2​​]+[v1​v2​​]=w+v​

Graphical Representation

If you’re adding a vector vβƒ—\vec{v}v to a vector wβƒ—\vec{w}w, the resulting vector vβƒ—+wβƒ—\vec{v} + \vec{w}v+w will be the result of moving wβƒ—\vec{w}w in such a way, such that wβƒ—\vec{w}wβ€˜s starting point will be at vβƒ—\vec{v}vβ€˜s end, as shown in the following figure:

In the example depicted above, the vectors are the following:

vβƒ—=[42],wβƒ—=[46],vβƒ—+wβƒ—=[88]\vec{v} = \begin{bmatrix} 4 \\ 2 \end{bmatrix}, \vec{w} = \begin{bmatrix} 4 \\ 6 \end{bmatrix}, \vec{v} + \vec{w} = \begin{bmatrix} 8 \\ 8 \end{bmatrix}v=[42​],w=[46​],v+w=[88​]
Previous
Differences Between Vectors and Sets
Next
Multiplying a Vector by a Scalar
This website does not collect personal data, does not use cookies, and does not perform any tracking.