Solved Exercises on Vectors in 3D Space in Precalculus

Master 3D vectors: operations, magnitude, direction, and applications through these 5 detailed exercises with comprehensive solutions and visual representations.

Solution: Exercises 1 to 3
1 Finding magnitude of 3D vector
Exercise 1
Find the magnitude of \(\vec{v} = \langle 3, 4, 5 \rangle\)
Definition:

Magnitude of 3D vector: The length of a 3D vector \(\vec{v} = \langle x, y, z \rangle\) is calculated as: \(\|\vec{v}\| = \sqrt{x^2 + y^2 + z^2}\)

Magnitude calculation method:
  1. Identify the x, y, and z components of the vector
  2. Square each component individually
  3. Sum the squared components
  4. Take the square root of the sum
Vector
\(\vec{v} = \langle 3, 4, 5 \rangle\)
Formula
\(\|\vec{v}\| = \sqrt{x^2 + y^2 + z^2}\)
Result
\(\|\vec{v}\| = 5\sqrt{2}\)
Step 1: Identify vector components

\(\vec{v} = \langle 3, 4, 5 \rangle\) means \(x = 3\), \(y = 4\), \(z = 5\)

Step 2: Square each component

\(x^2 = 3^2 = 9\), \(y^2 = 4^2 = 16\), \(z^2 = 5^2 = 25\)

Step 3: Sum the squared components

\(x^2 + y^2 + z^2 = 9 + 16 + 25 = 50\)

Step 4: Take the square root

\(\|\vec{v}\| = \sqrt{50} = \sqrt{25 \cdot 2} = 5\sqrt{2} \approx 7.07\)

\(\|\vec{v}\| = 5\sqrt{2}\)
Final answer:

The magnitude of vector \(\vec{v}\) is \(5\sqrt{2}\) or approximately 7.07

Applied rules:

• Magnitude formula: \(\|\vec{v}\| = \sqrt{x^2 + y^2 + z^2}\)

• Extension of Pythagorean theorem: Applies to 3D space

• Square root simplification: Factor out perfect squares when possible

2 Adding 3D vectors
Exercise 2
Find \(\vec{u} + \vec{v}\) where \(\vec{u} = \langle 1, 2, 3 \rangle\) and \(\vec{v} = \langle -2, 4, 1 \rangle\)
Definition:

Vector addition in 3D: Adding corresponding components of two 3D vectors: \(\vec{u} + \vec{v} = \langle u_x + v_x, u_y + v_y, u_z + v_z \rangle\)

Vectors
\(\vec{u} = \langle 1, 2, 3 \rangle\), \(\vec{v} = \langle -2, 4, 1 \rangle\)
Formula
\(\vec{u} + \vec{v} = \langle u_x + v_x, u_y + v_y, u_z + v_z \rangle\)
Result
\(\vec{u} + \vec{v} = \langle -1, 6, 4 \rangle\)
Step 1: Identify vector components

\(\vec{u} = \langle 1, 2, 3 \rangle\) means \(u_x = 1\), \(u_y = 2\), \(u_z = 3\)

\(\vec{v} = \langle -2, 4, 1 \rangle\) means \(v_x = -2\), \(v_y = 4\), \(v_z = 1\)

Step 2: Add x-components

\(u_x + v_x = 1 + (-2) = -1\)

Step 3: Add y-components

\(u_y + v_y = 2 + 4 = 6\)

Step 4: Add z-components

\(u_z + v_z = 3 + 1 = 4\)

\(\vec{u} + \vec{v} = \langle -1, 6, 4 \rangle\)
Final answer:

\(\vec{u} + \vec{v} = \langle -1, 6, 4 \rangle\)

Applied rules:

• Component-wise addition: Add corresponding components separately

• Sign handling: Be careful with negative values

• Commutativity: \(\vec{u} + \vec{v} = \vec{v} + \vec{u}\)

3 Finding distance between points
Exercise 3
Find the distance between points P(2, 1, 3) and Q(5, 4, 7)
Definition:

Distance between points in 3D: The distance between points P(\(x_1, y_1, z_1\)) and Q(\(x_2, y_2, z_2\)) is: \(d = \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2 + (z_2-z_1)^2}\)

Points
P(2, 1, 3), Q(5, 4, 7)
Formula
\(d = \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2 + (z_2-z_1)^2}\)
Result
\(d = \sqrt{34}\)
Step 1: Identify coordinates

P(2, 1, 3) and Q(5, 4, 7)

Step 2: Calculate differences

\(x_2 - x_1 = 5 - 2 = 3\)

\(y_2 - y_1 = 4 - 1 = 3\)

\(z_2 - z_1 = 7 - 3 = 4\)

Step 3: Square each difference

\((x_2 - x_1)^2 = 3^2 = 9\)

\((y_2 - y_1)^2 = 3^2 = 9\)

\((z_2 - z_1)^2 = 4^2 = 16\)

Step 4: Sum and take square root

\(d = \sqrt{9 + 9 + 16} = \sqrt{34} \approx 5.83\)

\(d = \sqrt{34}\)
Final answer:

The distance between P and Q is \(\sqrt{34}\) or approximately 5.83 units

Applied rules:

• 3D distance formula: Extension of Pythagorean theorem to 3D

• Coordinate differences: Subtract in the correct order

• Vector magnitude: Distance equals magnitude of vector \(\overrightarrow{PQ}\)

3D Vectors: Laws, Methods, and Formulas
\(\|\vec{v}\| = \sqrt{x^2 + y^2 + z^2}\)
Magnitude of 3D Vector
\(\vec{u} + \vec{v} = \langle u_x + v_x, u_y + v_y, u_z + v_z \rangle\)
Vector Addition
Distance Formula
\(d = \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2 + (z_2-z_1)^2}\)
Between two points
Standard Unit Vectors
\(\vec{i} = \langle 1, 0, 0 \rangle\), \(\vec{j} = \langle 0, 1, 0 \rangle\), \(\vec{k} = \langle 0, 0, 1 \rangle\)
Basic 3D directions
Vector Subtraction
\(\vec{u} - \vec{v} = \langle u_x - v_x, u_y - v_y, u_z - v_z \rangle\)
Component-wise subtraction
Key definitions:

3D vector: A vector in three-dimensional space represented as \(\vec{v} = \langle x, y, z \rangle\) with components in the x, y, and z directions.

Standard unit vectors: \(\vec{i} = \langle 1, 0, 0 \rangle\), \(\vec{j} = \langle 0, 1, 0 \rangle\), \(\vec{k} = \langle 0, 0, 1 \rangle\), representing the directions along the x, y, and z axes respectively.

Magnitude of 3D vector: The length of the vector, calculated as \(\|\vec{v}\| = \sqrt{x^2 + y^2 + z^2}\).

Distance in 3D: The straight-line distance between two points in 3D space, calculated using the extended Pythagorean theorem.

Component form: Expressing a vector as the sum of scalar multiples of unit vectors: \(\vec{v} = x\vec{i} + y\vec{j} + z\vec{k}\).

Complete methodology:
  1. Identify vector components: Extract x, y, and z values from 3D vectors
  2. Apply appropriate operations: Use component-wise operations for addition/subtraction
  3. Calculate magnitude when needed: Use the 3D magnitude formula
  4. Handle signs carefully: Pay attention to positive and negative values
  5. Verify results: Check calculations and geometric sense
Tip 1: 3D vectors have three components (x, y, z) unlike 2D vectors which have two.
Tip 2: Vector operations (addition, subtraction) work component-wise in 3D just like in 2D.
Tip 3: The magnitude formula extends the 2D version by including the z-component.
Tip 4: Visualizing 3D vectors requires thinking in three dimensions.
Common errors: Forgetting to include the z-component in calculations, confusing 2D and 3D formulas, misapplying signs in component operations, incorrectly calculating distances in 3D space.
Applications: Physics (3D motion, forces), engineering (3D modeling, structural analysis), computer graphics (3D rendering, game development), navigation (aircraft positioning), robotics (3D movement).
Properties to know by heart:

• Magnitude: \(\|\vec{v}\| = \sqrt{x^2 + y^2 + z^2}\)

• Addition: \(\vec{u} + \vec{v} = \langle u_x + v_x, u_y + v_y, u_z + v_z \rangle\)

• Subtraction: \(\vec{u} - \vec{v} = \langle u_x - v_x, u_y - v_y, u_z - v_z \rangle\)

• Scalar multiplication: \(k\vec{v} = \langle kv_x, kv_y, kv_z \rangle\)

• Distance: \(d = \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2 + (z_2-z_1)^2}\)

• Unit vectors: \(\vec{i} = \langle 1, 0, 0 \rangle\), \(\vec{j} = \langle 0, 1, 0 \rangle\), \(\vec{k} = \langle 0, 0, 1 \rangle\)

Solution: Exercises 4 to 5
4 Scalar multiplication and subtraction
Exercise 4
Find \(2\vec{a} - 3\vec{b}\) where \(\vec{a} = \langle 1, -2, 4 \rangle\) and \(\vec{b} = \langle 3, 1, -2 \rangle\)
Definition:

Combined operations: Performing scalar multiplication followed by vector subtraction in 3D space

Given
\(\vec{a} = \langle 1, -2, 4 \rangle\), \(\vec{b} = \langle 3, 1, -2 \rangle\)
Scalar mult.
\(2\vec{a} = \langle 2, -4, 8 \rangle\), \(3\vec{b} = \langle 9, 3, -6 \rangle\)
Subtraction
\(2\vec{a} - 3\vec{b} = \langle -7, -7, 14 \rangle\)
Step 1: Perform scalar multiplication on \(\vec{a}\)

\(2\vec{a} = 2 \cdot \langle 1, -2, 4 \rangle = \langle 2 \cdot 1, 2 \cdot (-2), 2 \cdot 4 \rangle = \langle 2, -4, 8 \rangle\)

Step 2: Perform scalar multiplication on \(\vec{b}\)

\(3\vec{b} = 3 \cdot \langle 3, 1, -2 \rangle = \langle 3 \cdot 3, 3 \cdot 1, 3 \cdot (-2) \rangle = \langle 9, 3, -6 \rangle\)

Step 3: Perform vector subtraction

\(2\vec{a} - 3\vec{b} = \langle 2, -4, 8 \rangle - \langle 9, 3, -6 \rangle\)

\(= \langle 2-9, -4-3, 8-(-6) \rangle = \langle -7, -7, 14 \rangle\)

Step 4: Verify the result

Each component was calculated separately following component-wise operations

\(2\vec{a} - 3\vec{b} = \langle -7, -7, 14 \rangle\)
Final answer:

\(2\vec{a} - 3\vec{b} = \langle -7, -7, 14 \rangle\)

Applied rules:

• Scalar multiplication: \(k\vec{v} = \langle kv_x, kv_y, kv_z \rangle\)

• Vector subtraction: Component-wise subtraction

• Order of operations: Scalar multiplication before subtraction

5 Unit vector in 3D
Exercise 5
Find the unit vector in the direction of \(\vec{w} = \langle 6, 2, 3 \rangle\)
Definition:

Unit vector: A vector with magnitude 1 that indicates direction only, calculated as: \(\hat{w} = \frac{\vec{w}}{\|\vec{w}\|}\)

Given
\(\vec{w} = \langle 6, 2, 3 \rangle\)
Magnitude
\(\|\vec{w}\| = 7\)
Unit vector
\(\hat{w} = \langle \frac{6}{7}, \frac{2}{7}, \frac{3}{7} \rangle\)
Step 1: Calculate the magnitude of \(\vec{w}\)

\(\|\vec{w}\| = \sqrt{6^2 + 2^2 + 3^2} = \sqrt{36 + 4 + 9} = \sqrt{49} = 7\)

Step 2: Apply the unit vector formula

\(\hat{w} = \frac{\vec{w}}{\|\vec{w}\|} = \frac{\langle 6, 2, 3 \rangle}{7} = \langle \frac{6}{7}, \frac{2}{7}, \frac{3}{7} \rangle\)

Step 3: Verify the unit vector has magnitude 1

\(\|\hat{w}\| = \sqrt{\left(\frac{6}{7}\right)^2 + \left(\frac{2}{7}\right)^2 + \left(\frac{3}{7}\right)^2}\)

\(= \sqrt{\frac{36}{49} + \frac{4}{49} + \frac{9}{49}} = \sqrt{\frac{49}{49}} = \sqrt{1} = 1\) ✓

Step 4: State the final answer

The unit vector has the same direction as \(\vec{w}\) but magnitude 1

\(\hat{w} = \langle \frac{6}{7}, \frac{2}{7}, \frac{3}{7} \rangle\)
Final answer:

The unit vector in the direction of \(\vec{w}\) is \(\langle \frac{6}{7}, \frac{2}{7}, \frac{3}{7} \rangle\)

Applied rules:

• Unit vector formula: \(\hat{w} = \frac{\vec{w}}{\|\vec{w}\|}\)

• Magnitude calculation: \(\|\vec{w}\| = \sqrt{x^2 + y^2 + z^2}\)

• Scalar division: Divide each component by the magnitude

3D Vectors: Comprehensive Summary and Rules
\(\|\vec{v}\| = \sqrt{x^2 + y^2 + z^2}\)
Magnitude of 3D Vector
Key definitions:

Three-dimensional vector: A mathematical entity in 3D space with three components (x, y, z) that represents both magnitude and direction. Unlike 2D vectors, 3D vectors exist in a three-dimensional coordinate system and require three components to fully describe their position and orientation.

Standard unit vectors: The fundamental basis vectors in 3D space: \(\vec{i} = \langle 1, 0, 0 \rangle\) (x-direction), \(\vec{j} = \langle 0, 1, 0 \rangle\) (y-direction), and \(\vec{k} = \langle 0, 0, 1 \rangle\) (z-direction). Any 3D vector can be expressed as a linear combination of these: \(\vec{v} = x\vec{i} + y\vec{j} + z\vec{k}\).

Magnitude of 3D vector: The length or size of a 3D vector, calculated using the extended Pythagorean theorem: \(\|\vec{v}\| = \sqrt{x^2 + y^2 + z^2}\). This represents the distance from the origin to the point (x, y, z).

Distance between points in 3D: The straight-line distance between two points P(\(x_1, y_1, z_1\)) and Q(\(x_2, y_2, z_2\)): \(d = \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2 + (z_2-z_1)^2}\).

Unit vector: A vector with magnitude 1 that indicates direction only, calculated as \(\hat{v} = \frac{\vec{v}}{\|\vec{v}\|}\). The unit vector preserves the direction of the original vector while normalizing its magnitude.

Component form: The representation of a 3D vector as an ordered triple \(\langle x, y, z \rangle\) that specifies its displacement along each of the three coordinate axes.

Complete methodology for 3D vector operations:
  1. Identify vector components: Extract the x, y, and z values from all 3D vectors involved
  2. Apply component-wise operations: Perform addition, subtraction, or scalar multiplication on corresponding components
  3. Calculate magnitude when needed: Use the 3D magnitude formula \(\sqrt{x^2 + y^2 + z^2}\)
  4. Handle signs carefully: Pay attention to positive and negative values in all operations
  5. Verify results: Check that calculations make geometric sense and satisfy properties
  6. Express in proper form: Write the final answer in component form or as required
Tip 1: 3D vectors have three components (x, y, z) compared to 2D vectors which have only two (x, y).
Tip 2: Vector operations (addition, subtraction) work component-wise in 3D just like in 2D, but with an extra z-component.
Tip 3: The magnitude formula extends naturally from 2D by adding the z-component: \(\sqrt{x^2 + y^2 + z^2}\).
Tip 4: Visualizing 3D vectors requires imagining objects in three-dimensional space rather than on a flat surface.
Tip 5: The unit vector always has magnitude 1 and points in the same direction as the original vector.
Tip 6: Remember that the z-axis typically represents height or depth in 3D coordinate systems.
Common errors: Forgetting to include the z-component in calculations, confusing 2D and 3D formulas, misapplying signs in component operations, incorrectly calculating distances in 3D space, forgetting that unit vectors must have magnitude 1, applying 2D operations without considering the third dimension.
Applications: Physics (3D motion, gravitational and electromagnetic fields), engineering (3D modeling, structural analysis, aerospace), computer graphics (3D rendering, animation, game development), navigation (aircraft positioning, satellite tracking), robotics (3D movement and manipulation), architecture (3D design and construction), geology (seismic analysis, resource mapping).
Key relationships: The 3D coordinate system extends the 2D system by adding a third axis, allowing for complete spatial description. Vector operations maintain their properties but now operate in three dimensions.
Memorization aids: "XYZ" for the three components; "Add corresponding parts" for vector addition; "Root of sum of squares" for magnitude calculation.
Essential properties and formulas to know by heart:

• Magnitude of 3D vector: \(\|\vec{v}\| = \sqrt{x^2 + y^2 + z^2}\)

• Vector addition: \(\vec{u} + \vec{v} = \langle u_x + v_x, u_y + v_y, u_z + v_z \rangle\)

• Vector subtraction: \(\vec{u} - \vec{v} = \langle u_x - v_x, u_y - v_y, u_z - v_z \rangle\)

• Scalar multiplication: \(k\vec{v} = \langle kv_x, kv_y, kv_z \rangle\)

• Distance formula: \(d = \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2 + (z_2-z_1)^2}\)

• Unit vector: \(\hat{v} = \frac{\vec{v}}{\|\vec{v}\|}\)

• Standard unit vectors: \(\vec{i} = \langle 1, 0, 0 \rangle\), \(\vec{j} = \langle 0, 1, 0 \rangle\), \(\vec{k} = \langle 0, 0, 1 \rangle\)

• Zero vector: \(\vec{0} = \langle 0, 0, 0 \rangle\)

Visualization: 3D Vector Concepts
Understanding 3D Vectors Geometrically
Visualizing how 3D vectors work:
- Three coordinate axes (x, y, z)
- Vector components in 3D space
- Magnitude as distance from origin
- Direction in 3D space

Analysis: The visualization demonstrates how 3D vectors extend the concept of 2D vectors into three dimensions. Each vector has components along the x, y, and z axes.

  • X-component: Displacement along the horizontal axis
  • Y-component: Displacement along the vertical axis
  • Z-component: Displacement along the depth axis
  • Magnitude: Total length of the vector in 3D space

Questions & Answers

Question: I'm having trouble visualizing vectors in 3D space. How do I imagine them?

Answer: Visualizing 3D vectors can be challenging! Here are some strategies:

Physical analogies:

  • Think of an arrow pointing from one point to another in 3D space
  • Imagine moving from the origin (0,0,0) to the point (x,y,z)
  • Picture a directed line segment with both magnitude and direction

Coordinate system:

  • x-axis: left-right movement
  • y-axis: up-down movement
  • z-axis: forward-backward movement (or depth)

Real-world examples:

  • Position of an airplane: latitude, longitude, altitude
  • Force applied to an object in 3D space
  • Velocity of a bird flying in 3D space

Try sketching 3D coordinate axes and plotting a few points to build intuition!

Question: How do I find the direction of a 3D vector? In 2D we use one angle, but what about 3D?

Answer: In 3D space, direction requires two angles (not just one like in 2D)! The most common system uses spherical coordinates:

Two angles for direction:

  • Azimuthal angle (φ): The angle in the xy-plane from the positive x-axis (like in 2D)
  • Polar angle (θ): The angle from the positive z-axis down to the vector

Alternative approach: You can also describe direction using direction cosines - the cosines of the angles the vector makes with each coordinate axis:

\(\cos\alpha = \frac{x}{\|\vec{v}\|}\), \(\cos\beta = \frac{y}{\|\vec{v}\|}\), \(\cos\gamma = \frac{z}{\|\vec{v}\|}\)

Where α, β, γ are the angles with the x, y, and z axes respectively.

For basic problems, we often focus on magnitude and component relationships rather than the full directional angles.

Question: Are all the vector operations the same in 3D as in 2D? Do the same rules apply?

Answer: Most vector operations work similarly in 3D, with the main difference being the additional component:

Operations that work the same way:

  • Addition: Still component-wise, just with three components instead of two
  • Subtraction: Still component-wise with three components
  • Scalar multiplication: Multiply each component by the scalar
  • Properties: Commutativity, associativity, distributivity still hold

Key difference:

  • Magnitude: \(\|\vec{v}\| = \sqrt{x^2 + y^2 + z^2}\) (includes the z-component)

New operations in 3D:

  • Cross product: Only defined for 3D vectors (results in another 3D vector)

The fundamental principles remain the same, but 3D adds complexity through the additional dimension and enables new operations like the cross product.

Question: What are some real-world applications of 3D vectors? Where do people actually use them?

Answer: 3D vectors are used extensively across many fields:

Physics:

  • Describing 3D motion, forces, and fields
  • Calculating work and energy in 3D space
  • Modeling electromagnetic fields

Engineering:

  • Structural analysis of buildings and bridges
  • Fluid dynamics and aerodynamics
  • Robotics and mechanical systems

Technology:

  • Computer graphics and 3D rendering
  • Video game development and virtual reality
  • GPS and navigation systems

Other fields:

  • Aerospace: Aircraft and spacecraft trajectories
  • Medicine: Medical imaging and surgical planning
  • Architecture: 3D modeling and design
  • Geology: Seismic analysis and resource mapping

3D vectors are fundamental to understanding and working with anything that exists in three-dimensional space!