Introduction to Vectors
MAT1503 - Linear Algebra I · Vectors In 2-space and 3-space
Introduction to Vectors
In this topic, you will learn about vectors in two-dimensional (2D) and three-dimensional (3D) spaces. Vectors are fundamental objects in mathematics and physics. They can represent quantities that have both magnitude and direction, such as velocity, force, and displacement. Understanding vectors is essential for solving problems in various fields, including engineering, physics, and computer science.
Key idea: After this topic, you should be able to define vectors, distinguish between different types of vectors, and represent vectors in both 2D and 3D spaces.
What is a Vector?
A vector is a mathematical object that has both a magnitude (length) and a direction. It is often represented as an arrow pointing from one point to another. The length of the arrow indicates the magnitude, while the direction of the arrow indicates the direction of the vector.
Vectors can be expressed in different forms, including:
- Graphical form: As arrows in a coordinate system.
- Component form: As an ordered pair or triplet of numbers.
Types of Vectors
There are several types of vectors, including:
- Zero Vector: A vector with a magnitude of zero. It has no direction.
- Unit Vector: A vector with a magnitude of one. It indicates direction only.
- Position Vector: A vector that represents the position of a point in space relative to the origin.
- Equal Vectors: Two vectors that have the same magnitude and direction.
Representing Vectors in 2D Space
In 2D space, a vector can be represented using an ordered pair (x, y). Here, x is the horizontal component, and y is the vertical component. For example, the vector v = (3, 4) has a horizontal component of 3 and a vertical component of 4.
Example 1: Representing a Vector
Consider the vector a = (2, 5). This vector starts at the origin (0, 0) and ends at the point (2, 5) in the Cartesian plane. You can draw it as an arrow from (0, 0) to (2, 5).
Representing Vectors in 3D Space
In 3D space, a vector can be represented using an ordered triplet (x, y, z). Here, x, y, and z are the components along the three axes: horizontal, vertical, and depth. For example, the vector w = (1, 2, 3) has components 1, 2, and 3 along the x, y, and z axes, respectively.
Example 2: Representing a Vector in 3D
Consider the vector b = (4, -3, 2). This vector starts at the origin (0, 0, 0) and ends at the point (4, -3, 2) in the three-dimensional space. You can visualize it as an arrow extending from the origin to the point (4, -3, 2).
Magnitude of a Vector
The magnitude of a vector is its length. In 2D, the magnitude of a vector v = (x, y) is calculated using the formula:
|v| = √(x² + y²)
Example 3: Calculating Magnitude in 2D
For the vector c = (3, 4), the magnitude is:
|c| = √(3² + 4²) = √(9 + 16) = √25 = 5
This means the length of the vector c is 5 units.
In 3D, the magnitude of a vector w = (x, y, z) is calculated using the formula:
|w| = √(x² + y² + z²)
Example 4: Calculating Magnitude in 3D
For the vector d = (2, -3, 6), the magnitude is:
|d| = √(2² + (-3)² + 6²) = √(4 + 9 + 36) = √49 = 7
This means the length of the vector d is 7 units.
Direction of a Vector
The direction of a vector is the angle it makes with a reference axis. In 2D, the direction can be expressed using the angle θ with respect to the positive x-axis. The direction can be calculated using the formula:
tan(θ) = y/x
Example 5: Finding the Direction of a Vector
For the vector e = (3, 4), the angle θ can be calculated as follows:
tan(θ) = 4/3
Using a calculator, you find:
θ = arctan(4/3) ≈ 53.13°
This means that the vector e makes an angle of approximately 53.13° with the positive x-axis.
Vector Operations
Vectors can be added and subtracted. The sum of two vectors is found by adding their corresponding components. For example, if u = (a, b) and v = (c, d), then:
u + v = (a + c, b + d)
Example 6: Vector Addition
Let f = (2, 3) and g = (4, -1). The sum is:
f + g = (2 + 4, 3 + (-1)) = (6, 2)
This means the resulting vector f + g is (6, 2).
Subtraction is similar. The difference of two vectors is found by subtracting their corresponding components:
u - v = (a - c, b - d)
Example 7: Vector Subtraction
Let h = (5, 2) and j = (3, 4). The difference is:
h - j = (5 - 3, 2 - 4) = (2, -2)
This means the resulting vector h - j is (2, -2).
Applications of Vectors
Vectors have many applications in different fields. Here are a few examples:
- Physics: Vectors are used to represent forces, velocities, and accelerations.
- Engineering: Vectors are used in structural analysis and computer graphics.
- Navigation: Vectors are used to determine positions and directions in mapping and GPS systems.
Watch out: Remember to pay attention to the signs of the components when calculating magnitudes and directions. A negative component indicates a direction opposite to the positive axis.
Summary
- A vector has both magnitude and direction.
- Vectors can be represented in 2D as ordered pairs and in 3D as ordered triplets.
- The magnitude of a vector is its length, calculated using the Pythagorean theorem.
- Vectors can be added and subtracted by combining their corresponding components.
- Vectors have many applications in physics, engineering, and navigation.
Check your understanding
- What is the definition of a vector?
- How do you calculate the magnitude of a vector in 2D?
- Explain how to add two vectors.
- What is the significance of the direction of a vector?
Test yourself
5 quick questions on this lesson. Pick an answer to see if you're right.
1. What is a vector?
2. How is the direction of the vector e = (3, 4) determined?
3. Which of the following is a unit vector?
4. How is the magnitude of the vector v = (3, 4) calculated?
5. If the vector u = (a, b) and v = (c, d), what is u - v?