Solved Exercises on Vector Addition and Scalar Multiplication

Master vector operations: vector addition, scalar multiplication, properties, and applications through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Basic Vector Addition
Exercise 1
Let \(\vec{u} = \begin{pmatrix} 3 \\ 2 \end{pmatrix}\) and \(\vec{v} = \begin{pmatrix} -1 \\ 4 \end{pmatrix}\). Find \(\vec{u} + \vec{v}\).
Definition:

Vector Addition: Adding corresponding components: \(\vec{u} + \vec{v} = \begin{pmatrix} u_1 \\ u_2 \end{pmatrix} + \begin{pmatrix} v_1 \\ v_2 \end{pmatrix} = \begin{pmatrix} u_1+v_1 \\ u_2+v_2 \end{pmatrix}\)

Addition Method:
  1. Identify corresponding components of each vector
  2. Add the first components together
  3. Add the second components together
  4. Write the result as a new vector
Given Vectors
\(\vec{u} = \begin{pmatrix} 3 \\ 2 \end{pmatrix}, \vec{v} = \begin{pmatrix} -1 \\ 4 \end{pmatrix}\)
Addition
\(\begin{pmatrix} 3+(-1) \\ 2+4 \end{pmatrix}\)
Result
\(\begin{pmatrix} 2 \\ 6 \end{pmatrix}\)
Step 1: Write the addition operation

\(\vec{u} + \vec{v} = \begin{pmatrix} 3 \\ 2 \end{pmatrix} + \begin{pmatrix} -1 \\ 4 \end{pmatrix}\)

Step 2: Add corresponding components

First component: \(3 + (-1) = 2\)

Second component: \(2 + 4 = 6\)

Step 3: Write the resulting vector

\(\vec{u} + \vec{v} = \begin{pmatrix} 2 \\ 6 \end{pmatrix}\)

\(\vec{u} + \vec{v} = \begin{pmatrix} 2 \\ 6 \end{pmatrix}\)
Final answer:

\(\vec{u} + \vec{v} = \begin{pmatrix} 2 \\ 6 \end{pmatrix}\)

Applied rules:

• Component-wise addition: Add corresponding components only

• Sign handling: Pay attention to positive and negative values

• Dimension consistency: Both vectors must have the same dimension

2 Scalar Multiplication
Exercise 2
Let \(\vec{w} = \begin{pmatrix} 5 \\ -3 \end{pmatrix}\). Find \(2\vec{w}\) and \(-3\vec{w}\).
Definition:

Scalar Multiplication: Multiply each component by the scalar: \(c\vec{v} = c\begin{pmatrix} v_1 \\ v_2 \end{pmatrix} = \begin{pmatrix} cv_1 \\ cv_2 \end{pmatrix}\)

Given Vector
\(\vec{w} = \begin{pmatrix} 5 \\ -3 \end{pmatrix}\)
Scalar 2
\(2\vec{w} = \begin{pmatrix} 10 \\ -6 \end{pmatrix}\)
Scalar -3
\(-3\vec{w} = \begin{pmatrix} -15 \\ 9 \end{pmatrix}\)
Step 1: Apply scalar multiplication for 2

\(2\vec{w} = 2 \cdot \begin{pmatrix} 5 \\ -3 \end{pmatrix} = \begin{pmatrix} 2 \cdot 5 \\ 2 \cdot (-3) \end{pmatrix} = \begin{pmatrix} 10 \\ -6 \end{pmatrix}\)

Step 2: Apply scalar multiplication for -3

\(-3\vec{w} = -3 \cdot \begin{pmatrix} 5 \\ -3 \end{pmatrix} = \begin{pmatrix} -3 \cdot 5 \\ -3 \cdot (-3) \end{pmatrix} = \begin{pmatrix} -15 \\ 9 \end{pmatrix}\)

Step 3: Interpret results

Positive scalar preserves direction, negative scalar reverses direction

\(2\vec{w} = \begin{pmatrix} 10 \\ -6 \end{pmatrix}\), \(-3\vec{w} = \begin{pmatrix} -15 \\ 9 \end{pmatrix}\)
Final answer:

\(2\vec{w} = \begin{pmatrix} 10 \\ -6 \end{pmatrix}\) and \(-3\vec{w} = \begin{pmatrix} -15 \\ 9 \end{pmatrix}\)

Applied rules:

• Component multiplication: Multiply each component by the scalar

• Direction change: Negative scalar reverses vector direction

• Magnitude scaling: Scalar changes vector length proportionally

3 Combined Operations
Exercise 3
Given \(\vec{a} = \begin{pmatrix} 2 \\ -1 \end{pmatrix}\) and \(\vec{b} = \begin{pmatrix} 3 \\ 4 \end{pmatrix}\), find \(2\vec{a} - 3\vec{b}\).
Definition:

Combined Operations: Perform scalar multiplication first, then vector addition/subtraction component-wise

Given Vectors
\(\vec{a} = \begin{pmatrix} 2 \\ -1 \end{pmatrix}, \vec{b} = \begin{pmatrix} 3 \\ 4 \end{pmatrix}\)
Scalar Mult
\(2\vec{a} = \begin{pmatrix} 4 \\ -2 \end{pmatrix}, 3\vec{b} = \begin{pmatrix} 9 \\ 12 \end{pmatrix}\)
Result
\(2\vec{a} - 3\vec{b} = \begin{pmatrix} -5 \\ -14 \end{pmatrix}\)
Step 1: Calculate scalar multiplications

\(2\vec{a} = 2 \cdot \begin{pmatrix} 2 \\ -1 \end{pmatrix} = \begin{pmatrix} 4 \\ -2 \end{pmatrix}\)

\(3\vec{b} = 3 \cdot \begin{pmatrix} 3 \\ 4 \end{pmatrix} = \begin{pmatrix} 9 \\ 12 \end{pmatrix}\)

Step 2: Perform vector subtraction

\(2\vec{a} - 3\vec{b} = \begin{pmatrix} 4 \\ -2 \end{pmatrix} - \begin{pmatrix} 9 \\ 12 \end{pmatrix} = \begin{pmatrix} 4-9 \\ -2-12 \end{pmatrix}\)

Step 3: Calculate final components

\(2\vec{a} - 3\vec{b} = \begin{pmatrix} -5 \\ -14 \end{pmatrix}\)

\(2\vec{a} - 3\vec{b} = \begin{pmatrix} -5 \\ -14 \end{pmatrix}\)
Final answer:

\(2\vec{a} - 3\vec{b} = \begin{pmatrix} -5 \\ -14 \end{pmatrix}\)

Applied rules:

• Order of operations: Scalar multiplication before addition/subtraction

• Component-wise operations: Apply operations to each component separately

• Sign handling: Be careful with subtraction and negative signs

Vector Operations Rules and Properties
\(\vec{u} + \vec{v} = \begin{pmatrix} u_1+v_1 \\ u_2+v_2 \end{pmatrix}\)
Vector Addition
\(c\vec{v} = \begin{pmatrix} cv_1 \\ cv_2 \end{pmatrix}\)
Scalar Multiplication
Commutativity
\(\vec{u} + \vec{v} = \vec{v} + \vec{u}\)
Vector addition is commutative
Associativity
\((\vec{u} + \vec{v}) + \vec{w} = \vec{u} + (\vec{v} + \vec{w})\)
Vector addition is associative
Distributivity
\(c(\vec{u} + \vec{v}) = c\vec{u} + c\vec{v}\)
Scalar multiplication distributes over vector addition
Zero Vector: \(\vec{u} + \vec{0} = \vec{u}\), where \(\vec{0} = \begin{pmatrix} 0 \\ 0 \end{pmatrix}\)
Negative Vector: \(\vec{u} + (-\vec{u}) = \vec{0}\), where \(-\vec{u} = \begin{pmatrix} -u_1 \\ -u_2 \end{pmatrix}\)
Scalar Identity: \(1 \cdot \vec{u} = \vec{u}\) and \(0 \cdot \vec{u} = \vec{0}\)
Solution: Exercises 4 to 5
4 3D Vector Operations
Exercise 4
Let \(\vec{p} = \begin{pmatrix} 1 \\ 2 \\ -1 \end{pmatrix}\) and \(\vec{q} = \begin{pmatrix} 0 \\ -3 \\ 4 \end{pmatrix}\). Find \(\vec{p} + \vec{q}\) and \(4\vec{p} - 2\vec{q}\).
Definition:

3D Vector Operations: Same rules apply as in 2D, extended to three components: \(\vec{u} = \begin{pmatrix} u_1 \\ u_2 \\ u_3 \end{pmatrix}\)

Given Vectors
\(\vec{p} = \begin{pmatrix} 1 \\ 2 \\ -1 \end{pmatrix}, \vec{q} = \begin{pmatrix} 0 \\ -3 \\ 4 \end{pmatrix}\)
Addition
\(\vec{p} + \vec{q} = \begin{pmatrix} 1 \\ -1 \\ 3 \end{pmatrix}\)
Combined
\(4\vec{p} - 2\vec{q} = \begin{pmatrix} 4 \\ 14 \\ -12 \end{pmatrix}\)
Step 1: Calculate \(\vec{p} + \vec{q}\)

\(\vec{p} + \vec{q} = \begin{pmatrix} 1 \\ 2 \\ -1 \end{pmatrix} + \begin{pmatrix} 0 \\ -3 \\ 4 \end{pmatrix} = \begin{pmatrix} 1+0 \\ 2+(-3) \\ -1+4 \end{pmatrix} = \begin{pmatrix} 1 \\ -1 \\ 3 \end{pmatrix}\)

Step 2: Calculate scalar multiplications

\(4\vec{p} = 4 \cdot \begin{pmatrix} 1 \\ 2 \\ -1 \end{pmatrix} = \begin{pmatrix} 4 \\ 8 \\ -4 \end{pmatrix}\)

\(2\vec{q} = 2 \cdot \begin{pmatrix} 0 \\ -3 \\ 4 \end{pmatrix} = \begin{pmatrix} 0 \\ -6 \\ 8 \end{pmatrix}\)

Step 3: Calculate \(4\vec{p} - 2\vec{q}\)

\(4\vec{p} - 2\vec{q} = \begin{pmatrix} 4 \\ 8 \\ -4 \end{pmatrix} - \begin{pmatrix} 0 \\ -6 \\ 8 \end{pmatrix} = \begin{pmatrix} 4-0 \\ 8-(-6) \\ -4-8 \end{pmatrix} = \begin{pmatrix} 4 \\ 14 \\ -12 \end{pmatrix}\)

\(\vec{p} + \vec{q} = \begin{pmatrix} 1 \\ -1 \\ 3 \end{pmatrix}\), \(4\vec{p} - 2\vec{q} = \begin{pmatrix} 4 \\ 14 \\ -12 \end{pmatrix}\)
Final answer:

\(\vec{p} + \vec{q} = \begin{pmatrix} 1 \\ -1 \\ 3 \end{pmatrix}\) and \(4\vec{p} - 2\vec{q} = \begin{pmatrix} 4 \\ 14 \\ -12 \end{pmatrix}\)

Applied rules:

• Extension to higher dimensions: Rules apply to n-dimensional vectors

• Component-wise operations: All operations performed on corresponding components

• Order of operations: Scalar multiplication before addition/subtraction

5 Properties Verification
Exercise 5
Verify the distributive property: \(c(\vec{u} + \vec{v}) = c\vec{u} + c\vec{v}\) using \(\vec{u} = \begin{pmatrix} 2 \\ 1 \end{pmatrix}\), \(\vec{v} = \begin{pmatrix} -1 \\ 3 \end{pmatrix}\), and \(c = 3\).
Definition:

Distributive Property: Scalar multiplication distributes over vector addition: \(c(\vec{u} + \vec{v}) = c\vec{u} + c\vec{v}\)

Left Side
\(c(\vec{u} + \vec{v}) = \begin{pmatrix} 3 \\ 12 \end{pmatrix}\)
Right Side
\(c\vec{u} + c\vec{v} = \begin{pmatrix} 3 \\ 12 \end{pmatrix}\)
Equality
✓ Verified
Step 1: Calculate left side - \(c(\vec{u} + \vec{v})\)

\(\vec{u} + \vec{v} = \begin{pmatrix} 2 \\ 1 \end{pmatrix} + \begin{pmatrix} -1 \\ 3 \end{pmatrix} = \begin{pmatrix} 1 \\ 4 \end{pmatrix}\)

\(c(\vec{u} + \vec{v}) = 3 \cdot \begin{pmatrix} 1 \\ 4 \end{pmatrix} = \begin{pmatrix} 3 \\ 12 \end{pmatrix}\)

Step 2: Calculate right side - \(c\vec{u} + c\vec{v}\)

\(c\vec{u} = 3 \cdot \begin{pmatrix} 2 \\ 1 \end{pmatrix} = \begin{pmatrix} 6 \\ 3 \end{pmatrix}\)

\(c\vec{v} = 3 \cdot \begin{pmatrix} -1 \\ 3 \end{pmatrix} = \begin{pmatrix} -3 \\ 9 \end{pmatrix}\)

\(c\vec{u} + c\vec{v} = \begin{pmatrix} 6 \\ 3 \end{pmatrix} + \begin{pmatrix} -3 \\ 9 \end{pmatrix} = \begin{pmatrix} 3 \\ 12 \end{pmatrix}\)

Step 3: Compare results

Left side: \(\begin{pmatrix} 3 \\ 12 \end{pmatrix}\), Right side: \(\begin{pmatrix} 3 \\ 12 \end{pmatrix}\)

Since both sides are equal, the distributive property is verified.

\(c(\vec{u} + \vec{v}) = c\vec{u} + c\vec{v} = \begin{pmatrix} 3 \\ 12 \end{pmatrix}\) ✓
Final answer:

The distributive property holds: \(c(\vec{u} + \vec{v}) = c\vec{u} + c\vec{v}\)

Applied rules:

• Property verification: Substitute specific values to verify general properties

• Order of operations: Perform operations inside parentheses first

• Equality checking: Compare both sides to verify mathematical properties

Vector Operations Laws, Methods, and Key Concepts
\(\vec{u} + \vec{v} = \begin{pmatrix} u_1+v_1 \\ u_2+v_2 \end{pmatrix}\)
Vector Addition
Key definitions:

Vector: A quantity with both magnitude and direction, represented as ordered components

Scalar: A single number that can multiply a vector, changing its magnitude

Vector Space: A set of vectors closed under addition and scalar multiplication

Complete methodology:
  1. Identify vector dimensions: Ensure vectors have the same number of components
  2. For addition: Add corresponding components of vectors
  3. For scalar multiplication: Multiply each component by the scalar
  4. Combine operations: Follow order of operations (scalar mult. first)
Tip 1: Always check that vectors have the same dimension before adding.
Tip 2: A negative scalar flips the vector direction while scaling its magnitude.
Tip 3: The zero vector acts as the additive identity in vector operations.
Tip 4: Always perform scalar multiplication before addition/subtraction.
Common errors: Adding vectors of different dimensions, forgetting to distribute scalars to all components, misapplying order of operations.
Applications: Physics (force, velocity), computer graphics, machine learning, engineering calculations.
Properties to know by heart:

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

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

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

• Scalar associativity: \((cd)\vec{u} = c(d\vec{u})\)

• Identity elements: \(\vec{u} + \vec{0} = \vec{u}\) and \(1\vec{u} = \vec{u}\)

Vector Operations Visualization: Geometric Interpretation
Exercise 6: Geometric Addition
Visualize the parallelogram law for vector addition with \(\vec{u} = \begin{pmatrix} 3 \\ 1 \end{pmatrix}\) and \(\vec{v} = \begin{pmatrix} 1 \\ 2 \end{pmatrix}\). Show that \(\vec{u} + \vec{v}\) forms the diagonal of the parallelogram.

Geometric Interpretation: Vector addition follows the parallelogram law where the sum vector forms the diagonal of the parallelogram created by the two original vectors.

  • \(\vec{u} = \begin{pmatrix} 3 \\ 1 \end{pmatrix}\) (blue vector)
  • \(\vec{v} = \begin{pmatrix} 1 \\ 2 \end{pmatrix}\) (red vector)
  • \(\vec{u} + \vec{v} = \begin{pmatrix} 4 \\ 3 \end{pmatrix}\) (green vector)

Questions & Answers

Question: I'm confused about why we can only add vectors of the same dimension. What happens if we try to add vectors with different numbers of components?

Answer: Great question! The reason we can only add vectors of the same dimension is due to the fundamental definition of vector addition. When we write:

\(\vec{u} + \vec{v} = \begin{pmatrix} u_1 \\ u_2 \\ \vdots \\ u_n \end{pmatrix} + \begin{pmatrix} v_1 \\ v_2 \\ \vdots \\ v_m \end{pmatrix} = \begin{pmatrix} u_1+v_1 \\ u_2+v_2 \\ \vdots \end{pmatrix}\)

We need corresponding components to add together. If \(\vec{u}\) has 3 components and \(\vec{v}\) has 2 components, there's no \(v_3\) to pair with \(u_3\).

Think of it like trying to add coordinates in different dimensional spaces - you can't add a 2D point (x,y) to a 3D point (a,b,c) because they exist in different spaces. Mathematically, vectors of different dimensions belong to different vector spaces.

Question: What's the geometric interpretation of scalar multiplication? How does it affect the vector?

Answer: Scalar multiplication has two geometric effects on a vector:

  • Magnitude scaling: The absolute value of the scalar determines how much longer or shorter the vector becomes. If \(|c| > 1\), the vector stretches; if \(0 < |c| < 1\), it shrinks.
  • Direction: A positive scalar preserves the direction of the vector, while a negative scalar reverses it.

For example, if \(\vec{v} = \begin{pmatrix} 2 \\ 3 \end{pmatrix}\):

  • \(2\vec{v} = \begin{pmatrix} 4 \\ 6 \end{pmatrix}\) points in the same direction but is twice as long
  • \(-1\vec{v} = \begin{pmatrix} -2 \\ -3 \end{pmatrix}\) points in the opposite direction with the same length
  • \(0.5\vec{v} = \begin{pmatrix} 1 \\ 1.5 \end{pmatrix}\) points in the same direction but is half as long

Question: How do vector operations relate to real-world applications like physics?

Answer: Vector operations are fundamental in physics for representing quantities with both magnitude and direction:

  • Force addition: When multiple forces act on an object, their combined effect is found by vector addition.
  • Velocity and acceleration: These are vector quantities that require vector operations for analysis.
  • Work and energy: Scalar multiplication appears when calculating work (force × displacement).

For example, if a boat moves with velocity \(\vec{v}_{boat} = \begin{pmatrix} 5 \\ 0 \end{pmatrix}\) m/s and the current flows with velocity \(\vec{v}_{current} = \begin{pmatrix} 1 \\ 2 \end{pmatrix}\) m/s, the actual velocity of the boat is \(\vec{v}_{total} = \vec{v}_{boat} + \vec{v}_{current} = \begin{pmatrix} 6 \\ 2 \end{pmatrix}\) m/s.

Question: What's the significance of the distributive property in vector operations?

Answer: The distributive property \(c(\vec{u} + \vec{v}) = c\vec{u} + c\vec{v}\) is crucial because it ensures that scalar multiplication and vector addition interact consistently. This property allows us to:

  • Simplify complex expressions: We can distribute scalars across sums of vectors
  • Factor out common scalars: We can factor scalars from vector expressions
  • Maintain algebraic structure: It's one of the axioms that define a vector space

Without this property, many algebraic manipulations in linear algebra would not be valid. It's essential for proving other properties and for computational efficiency in algorithms that process vector data.

Question: How do I verify my vector operation results?

Answer: Here are effective verification methods for vector operations:

  1. Component verification: Check each component calculation individually
  2. Dimension check: Ensure the result has the correct number of components
  3. Geometric intuition: Visualize the vectors to see if the result makes sense
  4. Property verification: Test if known properties hold (like distributivity)

For example, to verify \(\vec{u} + \vec{v} = \vec{w}\), you can check if \(\vec{w} - \vec{u} = \vec{v}\). For scalar multiplication, verify that the direction and magnitude match expectations based on the scalar value.