Download Vector Algebra in Euclidean Spaces: Definition, Manipulation, and Properties and more Schemes and Mind Maps Law in PDF only on Docsity!
Vectors in Euclidean Space
Linear Algebra
MATH 2010
- Euclidean Spaces: First, we will look at what is meant by the different Euclidean Spaces.
- Euclidean 1-space <^1 : The set of all real numbers, i.e., the real line. For example, 1, 12 , -2.45 are all elements of <^1.
- Euclidean 2-space <^2 : The collection of ordered pairs of real numbers, (x 1 , x 2 ), is denoted <^2. Euclidean 2-space is also called the plane. For example, (0, −1) and (5, 12 ) are elements of <^2.
- Euclidean 3-space <^3 : The collection of all ordered triplets, (x 1 , x 2 , x 3 ), of real numbers is denoted <^3. Euclidean 3-space is also called space. For example, (− 1 , 2 , 4) is in <^3.
- Although it is harder to visualize, we can extend the notation above, to the set of all ordered n-tuples, (x 1 , x 2 , ..., xn). This space is called Euclidean n-space and is denoted <n.
- Introduction to Vectors: Vectors are used in many disciplines such as physics and engineering. Let’s first consider vectors in <^2. - Definition: Vectors are directed line segments that have both a magnitude and a direction. ∗ The length of the vector denotes the magnitude. For example in Physics, the length of the vector will denote the amount of force on an object. ∗ The direction of the vector is denoted by the arrow at the terminal point. In Physics, the arrow will denote the direction of the force. ∗ Below is the vector pointing to the point (2,3).
- Position: Typically the tail of the vector is at the origin, as in the figure above. This is called standard position. However, sometimes, the vector has a tail not at the origin. For example, consider the vector v = P Q~ where P is the point (x 1 , y 1 ), and Q is the point (x 2 , y 2 ) in <^2. The figure shows the vector v in its standard position as well as v translated to P. The standard position of v is represented by
v = [x 2 − x 1 , y 2 − y 1 ] the coordinates are given by the head point (Q) minus the tail point (P ).
∗ If x = [x 1 , x 2 , ..., xn], then xi is called the ith^ component of x relative to the coordinate system. ∗ 0 = [0, 0 , ..., 0] is called the zero vector. ∗ Two vectors v = [v 1 , v 2 , ..., vn] and w = [w 1 , w 2 , ..., wm] are equal is n = m (same length) and vi = wi for all i (all components are equal).
- Notation: A point in <n^ is denoted by the ordered pair (x 1 , x 2 , ..., xn); however, depending on the context, this notation can also be used to represent a vector. For example (2, 3) is a point in <^2 or a vector in <^2 depending on the context. The different notations for vectors are as follows s ∗ (x 1 , x 2 , ...., xn) is the comma-delimited form of a vector ∗ [x 1 , x 2 , ..., xn] is the bracketed comma-delimited form of vector. For example, [2, 3]. ∗ A bold letter: v = [x 1 , x 2 ] represents a vector. ∗ A letter with an arrow over top: ~v also represents a vector. ∗ A vector can also be considered a row-matrix: [ x 1 x 2... xn
]
∗ A vector can also be written as a column matrix
x 1 x 2 .. . xn
If v = [v 1 , v 2 , ..., vn], then −v = [−v 1 , −v 2 , ..., −vn], and
v + (−v) = 0
Example: If v = [3, 2 , −1], then −v is given as −v = [− 3 , − 2 , 1].
∗ Geometrically, there are a couple of different ways to think about v − w. We can first find −w, and then look at the addition of v and −w as we did above, either using the just translated vector of −w or the parallelogram formed by v and −w (see below)
Alternatively, you can also view the v − w as the off-diagonal of the original parallelogram formed by v and w. This gives the vector v − w in a translated position where we can simply find the standard position by placing the initial point at the origin.
∗ Numerically you just subtract the components of the vectors. If u = [1, 3 , −4] and v = [2, 0 , −1], then u − v = [1 − 2 , 3 − 0 , − 4 − (−1)] = [− 1 , 3 , −3].
∗ Two vectors v and w are parallel if one vector is a scalar multiple of the other, i.e.,
v = kw
· If k > 0, then the vectors are in the same direction. · If k < 0, then the vectors are in opposite directions. · If 0 < |k| < 1, the length (force) is decreased.
· If |k| > 1, the length (force) is increased ∗ The notation is: v||w. ∗ An example is shown for v = [2, 3]
- Sample Problems
- Given u = [− 2 , 3 , 1] and w = [− 3 , − 2 , −1], find 12 (3u + w). Ans: [− 92 , 72 , 1]
- Find all scalars c, if any exist, such that [c^2 , −4]||[1, −2]. Ans: c = ±
- Properties of Vector Algebra in <n: Let u, v, and w be any vectors in <n^ and let r and s be any scalars in <. - Properties of Vector Addition A1) (u + v) + w = u + (v + w) Associative Law A2) v + w = w + v Commutative Law A3) 0 + v = v Additive Identity of 0 A4) v + −v = 0 Additive Inverse of v - Properties Involving Scalar Multiplication S1) r(v + w) = rv + rw Distributive Law S2) (r + s)v = rv + sv Distributive Law S3) r(sv) = (rs)v Associative Law S4) 1v = v Preservation of Scale
- Every vector in <n^ can be written a a linear combination of the standard unit vectors
x = [x 1 , x 2 , ..., xn] = x 1 [1, 0 , 0 ,... , 0 , 0]+x 2 [0, 1 , 0 ,... , 0 , 0]+· · ·+xn[0, 0 , 0 ,... , 0 , 1] = x 1 e 1 +x 2 e 2 +· · ·+xnen
- Examples:
- x = −1[1, 0 , 0 , 0] + 3[0, 1 , 0 , 0] + 4[0, 0 , 1 , 0] − 2[0, 0 , 0 , 1] = − 1 e 1 + 3e 2 + 4e 3 − 2 e 4
- x = [2, − 1 , 5] = 2[1, 0 , 0] − 1[0, 1 , 0] + 5[0, 0 , 1] = 2ˆi − ˆj + 5ˆk
- Distance between two vectors: Let u = [u 1 , u 2 , ..., un] and v = [v 1 , v 2 , ..., vn] be two vectors in <n, then the distance between the two vectors is given by the formula:
d(u, v) = ||u − v|| =
(u 1 − v 1 )^2 + (u 2 − v 2 )^2 + ... + (un − vn)^2
- Example: Let u = [2, 5] and v = [− 1 , 0], then
d(u, v) =
(2 − (−1))^2 + (5 − 0)^2 =
- Properties: If u and v are vectors in <n, then
- d(u, v) ≥ 0
- d(u, v) = 0 if and only if u = v
- d(u, v) = d(v, u
- Angle between two vectors: We are interested in finding the angle between two given vectors are pictured in the schematic below:
In order to do this, we need the Law of Cosines.
If we have the schematic above, then the Law of Cosines is given by
c^2 = a^2 + b^2 − 2 ab cos θ
Using the law of cosines with our vector schematic, we have
||u − v||^2 = ||u||^2 + ||v||^2 − 2 ||u||||v|| cos (θ)
Let’s consider u = [u 1 , u 2 ] and v = [v 1 , v 2 ] in <^2. Then
||u − v||^2 = (u 1 − v 1 )^2 + (u 2 − v 2 )^2 = u^21 − 2 u 1 v 1 + v 12 + u^22 − 2 u 2 v 2 + v^22 = u^21 + u^22 + v^21 + v^22 ) − 2(u 1 v 1 + u 2 v 2 ) = ||u||^2 + ||v||^2 − 2(u 1 v 1 + u 2 v 2 )
Combining this with ||u − v||^2 = ||u||^2 + ||v||^2 − 2 ||u||||v|| cos (θ) we have ||u||^2 + ||v||^2 − 2(u 1 v 1 + u 2 v 2 ) = ||u||^2 + ||v||^2 − 2 ||u||||v|| cos (θ) The ||u||^2 + ||v||^2 cancels out leaving
−2(u 1 v 1 + u 2 v 2 ) = − 2 ||u||||v|| cos (θ)
Solving for cos (θ), we have cos (θ) =
u 1 v 1 + u 2 v 2 ||u||||v|| The numerator is defined as the dot product between u and v. Let’s examine the dot product. Afterwards, we will continue looking at the angle between two vectors.
- Dot Product The dot product between two vectors u and v in <n^ is denoted u · v and is defined by
u · v = u 1 v 1 + u 2 v 2 + · · · unvn
Therefore, in <^2 , the dot product is simply
u · v = u 1 v 1 + u 2 v 2
- Examples
- Let u = [1, 2] and v = [− 1 , 3], then
u · v = 1(−1) + 2(3) = −1 + 6 = 5
- Let u = [1, − 2 , 3 , 4] and v = [2, 3 , − 2 , 1], then
u · v = 1(2) + (−2)(3) + 3(−2) + 4(1) = 2 − 6 − 6 + 4 = − 6
- Properties of the Dot Product: Let u,v, and w be vectors in <n^ and c be a scalar in <. Then
- u · v = v · u
- u · (v + w) = u · v + u · w
- c(u · v) = (cu) · v = u · (cv)
- v · v = v 1 v 1 + v 2 + v 2 = ||v||^2
- v · v ≥ 0 and v · v = 0 if and only if v = 0
- Example: Let u = [2, 3 , 1] and v = [− 3 , 2 , 0]. Then u · v = −6 + 6 + 0 = 0. Then
cos (θ) =
||u||||v||
So, θ = π 2 or 90◦.
- Orthogonal: If cos θ = 0, i.e. θ = π 2 , then u and v are said to be orthogonal (or perpendicular). Therefore, two vectors u and v are orthogonal if
u · v = 0
- Examples:
- Determine all vectors orthogonal to u = [2, 7]. Ans: All vectors v = t[− 7 / 2 , 1] where t is any real number.
- Determine all vectors orthogonal to u = [2, − 1 , 1]. Ans: All vectors v = [1/2(s − t), s, t] where s and t are any real number.
- Projections: Sometimes it is necessary to decompose a vector into a combination of two vectors which are orthogonal to one another. A trivial case is decomposing a vector u = [u 1 , u 2 ] in <^2 into its ˆi and ˆj directions, i.e., u = u 1 ˆi + u 2 ˆj. However, sometimes it is necessary to decompose it along a direction different than the standard coordinate directions. Say, we need to decompose a vector into components along a vector a, say w 1 and along a vector, w 2 , on an axis orthogonal to a. See the image below.
- In the above figure w 1 is called the orthogonal projection of u on a or the vector component of u along a and is given by
w 1 = projau =
u · a ||a||^2
a (vector component of u along a)
- w 2 is called the vector component of u orthogonal to a and is given by
w 2 = u − projau = u − u · a ||a||^2
a
- Example: Let u = [2, − 1 , 3] and a = [4, − 1 , 2]. Find the vector component of u along a and the vector component of u orthogonal to a. ∗ vector component of u along a:
u · a = 2(4) + (−1)(−1) + 3(2) = 15
and ||a||^2 = 4^2 + (−1)^2 + 2^2 = 21 Then projau =
u · a ||a||^2 a =
[4, − 1 , 2] =
[
]
∗ vector component of u orthogonal to a:
u − projau = [2, − 1 , 3] −
[
]
[
]
- Formula for the length of the projection of u along a.
||projau|| =
∣ (^) ||ua·||a 2 a
∣ (^) ||ua·||a 2
∣ ||a|| = |||ua·||a 2 | ||a|| = f rac|u · a|||a|| = ||u||| cos (θ)|