Norm of a Vector; Vector Arithmetic
MAT1503 - Linear Algebra I · Vectors In 2-space and 3-space
Norm of a Vector; Vector Arithmetic
This topic covers the norm of a vector and basic vector arithmetic in two-dimensional (2D) and three-dimensional (3D) spaces. Understanding these concepts is essential for many applications in mathematics, physics, and engineering. The norm of a vector gives you a measure of its length, while vector arithmetic allows you to perform calculations with vectors, such as addition and scalar multiplication.
Key idea: After studying this topic, you should be able to:
- Define the norm of a vector.
- Calculate the norm of a vector in 2D and 3D.
- Perform vector addition and subtraction.
- Multiply a vector by a scalar.
1. Norm of a Vector
The norm of a vector, also known as the magnitude or length, is a measure of how long the vector is. For a vector v in 2D space, represented as v = (x, y), the norm is calculated using the formula:
||v|| = √(x² + y²)
In 3D space, a vector v is represented as v = (x, y, z), and the norm is calculated as:
||v|| = √(x² + y² + z²)
1.1 Example: Calculating the Norm of a Vector in 2D
Consider the vector v = (3, 4). To find its norm:
||v|| = √(3² + 4²) = √(9 + 16) = √25 = 5The norm of vector v is 5.
1.2 Example: Calculating the Norm of a Vector in 3D
Now consider the vector w = (1, 2, 2). To find its norm:
||w|| = √(1² + 2² + 2²) = √(1 + 4 + 4) = √9 = 3The norm of vector w is 3.
2. Vector Arithmetic
Vector arithmetic involves operations such as addition, subtraction, and scalar multiplication. These operations allow you to combine and manipulate vectors.
2.1 Vector Addition
To add two vectors, you simply add their corresponding components. For example, if you have two vectors u = (u₁, u₂) and v = (v₁, v₂), their sum w is:
w = u + v = (u₁ + v₁, u₂ + v₂)2.1.1 Example: Vector Addition in 2D
Let u = (2, 3) and v = (4, 1). To find their sum:
w = u + v = (2 + 4, 3 + 1) = (6, 4)The resulting vector w is (6, 4).
2.2 Vector Subtraction
To subtract one vector from another, you subtract their corresponding components. For vectors u and v, the difference w is:
w = u - v = (u₁ - v₁, u₂ - v₂)2.2.1 Example: Vector Subtraction in 2D
Using the same vectors as before, u = (2, 3) and v = (4, 1), we can find:
w = u - v = (2 - 4, 3 - 1) = (-2, 2)The resulting vector w is (-2, 2).
2.3 Scalar Multiplication
Scalar multiplication involves multiplying a vector by a scalar (a single number). If k is a scalar and v = (x, y) is a vector, the product w is:
w = k * v = (k * x, k * y)2.3.1 Example: Scalar Multiplication in 2D
Let k = 3 and v = (2, 5). To find the product:
w = 3 * v = (3 * 2, 3 * 5) = (6, 15)The resulting vector w is (6, 15).
2.4 Combining Operations
You can combine vector operations. For example, you can first add two vectors and then multiply the result by a scalar.
2.4.1 Example: Combining Vector Operations
Let u = (1, 2), v = (3, 4), and k = 2. First, add the vectors:
w = u + v = (1 + 3, 2 + 4) = (4, 6)Now, multiply the result by the scalar:
z = k * w = 2 * (4, 6) = (8, 12)The final vector z is (8, 12).
Watch out: Be careful with the order of operations. Vector addition and scalar multiplication do not commute. For example, k * (u + v) is not the same as (k * u) + (k * v) when dealing with non-scalar values.
3. Summary
- The norm of a vector measures its length.
- In 2D, the norm is calculated as
||v|| = √(x² + y²). - In 3D, the norm is
||v|| = √(x² + y² + z²). - Vector addition adds corresponding components.
- Vector subtraction subtracts corresponding components.
- Scalar multiplication multiplies each component of the vector by the scalar.
Check your understanding
- What is the norm of the vector
(6, 8)? - Calculate the result of adding the vectors
(1, 2)and(3, 4). - What is the result of subtracting
(5, 7)from(3, 2)? - If you multiply the vector
(2, 3)by the scalar4, what is the resulting vector?
Test yourself
5 quick questions on this lesson. Pick an answer to see if you're right.
1. What is the result of multiplying the vector v = (2, 5) by the scalar k = 3?
2. What is the result of subtracting the vector (5, 7) from (3, 2)?
3. What is the norm of the vector v = (3, 4)?
4. What is the result of adding the vectors u = (1, 2) and v = (3, 4)?
5. If w = (2, 3) and z = (4, 1), what is the result of w - z?