Contents:
  1. Vectors
  2. Lines & Planes
  3. Eigenvalues & Eigenvectors
  4. Sample Problems


Vectors

Vector Representation

In general, vectors are written with bolded letters: . The vector v starts from the point A, and to the point B. The point A is referred as the Initial Point, and the point B is referred as the Terminal Point.

The attribute of vectors:
  • Direction: The direction of the vector's arrowhead.
  • Magnitude: The length of the arrow.

Multiple vectors are equivalent, if they share the same Direction and Magnitude (or length).

If a vector's initial and terminal points coincide, then its length will be 0. That vector can be called as a Zero Vector, which is denoted with O.

The component of a vector in Rn, can be written as a set of real numbers. For example:

The vector v in R2 from point A to B can also be written as:

The addition, subtraction, and scalar multiplication of vectors are the same as when operating matrices.

For examples, let and .

Vector Addition:
If vector v and w is added, then the resulting vector will be: .

2 Vector Addition Visualization 3 Vector Addition Visualization

Vector Subtraction: A negative of a vector's length will be the same as its positive counterpart, but its direction is the opposite.
Vector Subtraction Visualization

The resulting vector will be: .

Vector Scalar Multiplication:If vector v is multiplied by a scalar (or a constant) k, then the resulting vector is:

Vector Scalar Multiplication Visualization

The norm, or a length of vector is denoted as . Let , a vector in Rn. Norm of v is defined as:

The properties of norm:
  • , if and only if v is a Zero Vector.

Vectors whose norm is equal to 1, is called Unit Vectors. In order to find an unit vector u, in the same direction as vector v, the following formula: can be used. Standard Unit Vectors, are Unit Vectors in the positive directions of the coordinate axes.

Dot product (Euclidean inner product) of two vectors v and w (and θ is the angle formed) are defined as:

Dot product can also be calculated based on the components of each vector:

Based on the dot product formula, the angle formed can be identified:

Let u, v and w as vectors in Rn, and k as a scalar. The properties of dot product:
  • Symmetry property:
  • Distributive property:
  • Homogeneity property:
  • and if and only if v is a Zero Vector.

Cross product of two vectors are defined as:

Let u, v and w as vectors in Rn, and k as a scalar. The properties of cross product:

The dot product and cross product have the following relations:
  • : v and v+w are orthogonal to each other.
  • Lagrange's Identity:

Geometric interpretation of cross product (derived from Lagrange's Identity):

Projection Theorem
Let v and w are vectors in Rn (v is not a Zero Vector). v can be expressed as , where u1 is the scalar multiple of w, and u2 is orthogonal to w.
Projection Theorem Visualization

In the figure provided, the vector component of v along w:

and, the vector component of v orthogonal to w:

Linear Combination
Let v and w are vectors in Rn, and ki is a scalar. Vector v can be a linear combination if it fulfuills:

Let S be a non-empty set of vectors in a vector space V:

has only one solution, which is the Trivial Solution:

So, S is a Linearly Independent Set. Otherwise, if there is another solution, S is a Linearly Dependent Set.

Lines & Planes

Let v be a vector parallel to the line L, and has x0 as the initial point, and x as the point in the line, and k as a parameter with arbitrary value:

Since vector can be defined by the difference between the terminal points (x1) and initial points (x0), the above formula can be derived to:

In R3, the formula is:

3D Graph

Let P and Po be a point on the plane, and r as a vector from Po to (a,b,c). So, the point-normal equation of the plane can be written as:

Let Po be a point with the coordinate xo, yo and zo, and a plane . The distance between the point and the plane can written as:

Eigenvalues & Eigenvectors

If A is a n × n matrix, then a non-zero vector x in Rn is called the eigenvector of A, if: , where λ is a scalar, and it is the eigenvalue of A. x is also called the eigenvector corresponding to λ.

λ is the eigenvalue of A, if and if only it satisifies the Characteristic Equation:

The eigenspace of A corresponding to λ is the solution space of the above equation.

Diagonalizable Matrix
The square matrix A (n × n) is a Diagonalizable Matrix if there exists an invertible matrix P so that is a diagonal matrix. For a matrix to be diagonalizable, that matrix must have n linearly independent eigenvectors.

With this concept, we can calculate a matrix to the k-th power. Let k be a positive integer, D as a diagonal matrix, and P as the matrix that diagonalizes A into D:

Sample Problems

Problem 1: Vectors
If the terminal point of a vector is (3, 4), and that vector v is (5, 3), what is the initial point of that vector?
Know:
  • Terminal Point = (3,4)
  • v = (5, 3)
Want:
  • initial point

Let A be an initial point of the vector, and B be an terminal point of the vector. So:


The initial point is (-2, 1).

Problem 2: Vectors
Let u = (−3, 2, 1, 0), v = (4, 7,−3, 2), and w = (5,−2, 8, 1). Find the components of .
Know:
  • u = (−3, 2, 1, 0)
  • v = (4, 7,−3, 2)
  • w = (5,−2, 8, 1)
Want:
  • 3u-2v+5w



The resulting vector is (-8, -18, 49, 1).

Problem 3: Vectors
If there exists point A(1, 3) and B(7, 5), find the middle point of a line that connects AB.
Know:
  • A(1, 3)
  • B(7, 5)
Want:
  • middle point of line AB

Let v be a vector whose initial point is A, and terminal point is B. So:


Now that the vector v is found, in order to find the middle point, the vector can be halved so that its terminal points and the middle point we're looking for are the same. So, let C be the middle point:


So, the middle point of the line that connects A and B is (4, 4).

Problem 4: Vectors
Determine the values for x, y, z so that .
Know:
  • x(1, 2, 3) + y(1, 4, 6) + z(2, -3, -5) = (9, 1, 0)
Want:
  • x, y, z

This is a system of linear equations. In order to find the x, y and z, many methods can be used. For this solution, the row operation method will be used:


So, x = 1, y = 2 and z = 3.

Problem 5: Vectors
Given two vectors v = (3, -2, 1, 3) and w = (-4, 1, -3, 7):
  1. Find the euclidean distance between both vectors.
  2. Find cos θ, where θ is the angle formed between both vectors.
  3. State whether θ is an acute, obtuse or right angle.
Know:
  • v = (3, -2, 1, 3)
  • w = (-4, 1, -3, 7)
Want:
  • distance between both vectors.
  • cos θ
  • to know if the angle is an acute, obtuse, or right angle.

Sub-Problem A


So, the distance is .

Sub-Problem B
Using the relation between dot product and angle formula:


So, the cosine of the angle is .

Sub-Problem C
Since the dot product of both vectors are 4, which is greater than 0, it can be concluded the angle formed is an acute angle.

Problem 6: Vectors
Given v = (2, 3, 3) and w = (3, 0, 4):
  1. Find the component of vector v along w.
  2. Find the component of vector v orthogonal to w
Know:
  • v = (2, 3, 3)
  • w = (3, 0, 4)
Want:
  • projwv
  • v - projwv

Sub-Problem A


So, the projection of the vector v along w is .

Sub-Problem B


So, the projection of the vector v orthogonal to w is .


Problem 7: Vectors
Given the vertices that form a shape, calculate the area:
  1. Parallelogram: A(1, 2), B(4, 4), C(7, 5), D(4, 3)
  2. Triangle: X(1, 1), Y(2, 2), Z(3, −3)
Know:
  • Parallelogram: A(1, 2), B(4, 4), C(7, 5), D(4, 3)
  • Triangle: X(1, 1), Y(2, 2), Z(3, −3)
Want:
  • area of ABCD
  • area of XYZ

Sub-Problem A
Let v be a vector that connects A to B, and w as a vector that connects B to D. So:
  • v = (3, 2)
  • w = (0,-1)

Though cross product can only be done with 3D vectors, the third component of each 2D vector (or vertices) will be 0. So:
  • v = (3, 2, 0)
  • w = (0,-1, 0)

The area of the parallelogram can be calculated:


So, the area of the parallelogram formed is 3.

Sub-Problem B
Let v be a vector that connects X to Y, and w as a vector that connects X to Z. So:
  • v = (1, 1)
  • w = (2,-4)

Though cross product can only be done with 3D vectors, the third component of each 2D vector (or vertices) will be 0. So:
  • v = (1, 1, 0)
  • w = (2,-4, 0)

Finding the θ, which is the angle formed between both vectors:


Now that sin θ is found, the formula for the area of a triangle can be used:


So, the area of the triangle formed is 3.

Problem 8: Vectors
Using the same vectors from Problem 6, and another vector : Find the components of the following vectors:
  1. (u × v) × w
  2. v × (w × u)
Know:
  • u = (9, 7, 5)
  • v = (2, 3, 3)
  • w = (3, 0, 4)
Want:
  • (u × v) × w
  • v × (w × u)

Sub-Problem A


So, the resulting vector is (-68, 15, 51).

Sub-Problem B


So, the resulting vector is (0, -126, 126).

Problem 9: Lines & Planes
Find the vector, and parametric equations of the line containing the given point, and also parallel to the given vector(s):
  1. A(0,0,0) and
  2. A(-9,3,4) and
  3. A(0,5,-4) and and
Know:
  • A(0,0,0) and
  • A(-9,3,4) and
  • A(0,5,-4) and and
Want:
  • vector
  • parametric equation

Sub-Problem A


So, the resulting vector is (-3k, 0, k). The parametric equations are:


Sub-Problem B


So, the resulting vector is (-9-k, 3+6k, 4). The parametric equations are:


Sub-Problem C


So, the resulting vector is . The parametric equations are:

Problem 10: Lines & Planes
Find the general solution to the linear systems provided, and confirm the orthogonality between row vectors of the coefficient matrix and the solution vectors:

Know:
Want:
  • general solution & orthogonality between row vectors of coefficient matrix & solution vectors.

For this solution, the row operation method will be used:


Since there are 5 variables, and there's 3 empty rows (not shown), there will be 3 parameters introduced:


So, the solution matrix is:


Confirming orthogonality:

Problem 11: Lines & Planes
Given a vertice that a plane passes through a given vertice, and a normal vector v, find the point-normal equation:
  1. A(-1,3,-2) and
  2. A(-9,3,4) and
Know:
  • A(-1,3,-2) and
  • A(-9,3,4) and
Want:
  • point-normal equation

Sub-Problem A


So, the point-normal equation is:


Sub-Problem B


So, the point-normal equation is:

Problem 12: Lines & Planes
Find the distance between the given planes:
  • 2x − y + z = 1
  • -2x + y - z = 1
Know:
  • 2x − y + z = 1
  • -2x + y - z = 1
Want:
  • distance between both planes

Let x = 0, y = 0. So, a point on the first plane has been found: (0, 0, 1). Now, calculate the distance between that point and the second plane:


So, the distance between both planes are .

Problem 13: Eigenvalues & Eigenvectors
Given the matrix :
  1. Find the eigenvalues of A.
  2. Find the bases for the eigenspaces of A.
  3. Is the matrix A diagonalizable? Justify.
Know:
Want:
  • eigenvalues
  • base for eigenspace
  • to know if A is diagonalizable or not

Sub-Problem A


So, the eigenvalue for the matrix above is 2 and 3.

Sub-Problem B
Now that λ has been found, insert the value for λ = 2:

From the linear system of the matrix above, it can be seen that these are the solutions:


So, if written in matrix form (which is the eigenvector):


So, the basis for the eigenvector for λ = 2 is
.

Now, do that again for λ = 3:

From the linear system of the matrix above, it can be seen that these are the solutions:


So, if written in matrix form (which is the eigenvector):


So, the basis for the eigenvector for λ = 3 is
.

Sub-Problem C
A square n × n matrix is diagonalizable if it has n linearly independent eigenvectors. The given matrix only has 2 eigenvectors. So, it is not diagonalizable.

Problem 14: Eigenvalues & Eigenvectors
Given the matrix , calculate A11!
Know:
Want:
  • A11

Start by finding eigenvalues:


So, the eigenvalue for the matrix above is -1, 1 and 2. Now that λ has been found, the matrix for :


Converting to augmented matrix, and perform row operation:


So, if the solutions are written in matrix form (which is the eigenvector): (1 parameter will be introduced)


So, the basis for the eigenvector (1) is
.

The matrix for :


Converting to augmented matrix, and perform row operation:


So, if the solutions are written in matrix form (which is the eigenvector): (1 parameter will be introduced)


So, the basis for the eigenvector (-1) is
.

The matrix for :


Converting to augmented matrix, and perform row operation:


So, if the solutions are written in matrix form (which is the eigenvector): (1 parameter will be introduced)


So, the basis for the eigenvector (2) is
.

Now that all three eigenvectors are found, the matrix P that diagonalizes A can be arranged from these eigenvectors (in any order). So, let's take:


Now, using the P-1AP formula in order to find D. But, we must find P-1 first:


So, the inverse is

Now, the previously mentioned formula can be used:


Finally:


So, .