Skip to main content

This Week's Best Picks from Amazon

Please see more curated items that we picked from Amazon here .

Real-World Examples for Matrix-Vector Multiplication

  • Understand matrix-vector multiplication through real-world examples.
  • Explore the concept of linearity using grocery shopping data.
  • Connect mathematical operations to practical decision-making.
  • Build intuition for matrix transformations and scaling effects.
  • Prepare for deeper study of matrix algebra and applications.

Grocery Shopping Example

Imagine a grocery store with 3 items:

  • Bread: $2.50
  • Milk: $3.20
  • Apples: $1.80

Five shoppers purchase different quantities:

Shopper Bread Milk Apples
Alice214
Ben123
Clara302
David231
Emma115

Matrix-vector multiplication gives us:

\[ \begin{bmatrix} 2 & 1 & 4 \\ 1 & 2 & 3 \\ 3 & 0 & 2 \\ 2 & 3 & 1 \\ 1 & 1 & 5 \end{bmatrix} \cdot \begin{bmatrix} 2.50 \\ 3.20 \\ 1.80 \end{bmatrix} = \begin{bmatrix} 15.10 \\ 14.30 \\ 11.10 \\ 15.70 \\ 15.10 \end{bmatrix} \]

Each result is the total expense for one shopper. If prices double, the total paid also doubles—this is the essence of linearity.

Word Problems

  • Problem 1: Sophia buys 4 bread, 2 milk, and 6 apples. What is her total expense?
  • Problem 2: Liam buys 2 bread, 3 milk, and 1 apple. Olivia buys 1 bread, 2 milk, and 4 apples. Calculate their expenses.
  • Problem 3: If prices change to Bread = $3.00, Milk = $3.50, Apples = $2.00, compute new expenses for Alice and Clara.
  • Problem 4: Noah (3 bread, 2 milk, 5 apples), Ava (2 bread, 1 milk, 3 apples), Ethan (1 bread, 4 milk, 2 apples). Find their total expenses.

Exercises

  • Question 1: Represent Sophia’s purchase as a vector and compute her total expense.
  • Question 2: Create a matrix for Liam and Olivia’s purchases and multiply by the price vector.
  • Question 3: Use the new price vector to compute updated totals for Alice and Clara.
  • Question 4: Multiply the matrix of Noah, Ava, and Ethan’s purchases by the original price vector.

  • Answer 1: \[ \begin{bmatrix} 4 & 2 & 6 \end{bmatrix} \cdot \begin{bmatrix} 2.50 \\ 3.20 \\ 1.80 \end{bmatrix} = 27.20 \]
  • Answer 2: \[ \begin{bmatrix} 2 & 3 & 1 \\ 1 & 2 & 4 \end{bmatrix} \cdot \begin{bmatrix} 2.50 \\ 3.20 \\ 1.80 \end{bmatrix} = \begin{bmatrix} 17.90 \\ 17.70 \end{bmatrix} \]
  • Answer 3: \[ \begin{bmatrix} 3.00 \\ 3.50 \\ 2.00 \end{bmatrix} \quad \Rightarrow \quad \text{Alice: } 21.50, \quad \text{Clara: } 13.00 \]
  • Answer 4: \[ \begin{bmatrix} 3 & 2 & 5 \\ 2 & 1 & 3 \\ 1 & 4 & 2 \end{bmatrix} \cdot \begin{bmatrix} 2.50 \\ 3.20 \\ 1.80 \end{bmatrix} = \begin{bmatrix} 26.60 \\ 17.10 \\ 19.60 \end{bmatrix} \]

Popular posts from this blog

Eigenvalues and Eigenvectors

Lesson Objectives ▼ Understand the definition of eigenvalues and eigenvectors. Learn how to compute eigenvalues and eigenvectors. Explore the characteristic equation. Interpret eigenvalues and eigenvectors in transformations. Understand diagonalization and its applications. Lesson Outline ▼ Definition of Eigenvalues and Eigenvectors Characteristic Equation Diagonalization Examples Definition of Eigenvalues and Eigenvectors In a linear transformation, an eigenvector is a nonzero vector that only changes by a scalar factor when the transformation is applied. For a square matrix \( A \), an eigenvector \( \mathbf{v} \) and its corresponding eigenvalue \( \lambda \) satisfy: \[ A\mathbf{v} = \lambda \mathbf{v} \] \( A \) is an \( n \times n \) matrix. \( \mathbf{v} \neq 0 \) is an eigenvector. \( \lambda \) is a scalar eigenvalue. Characteristic Equation ...

Sets and Binary Operations

Lesson Objectives ▼ Understand the concept of a set and its basic operations. Learn about binary operations and their properties. Explore examples of binary operations. Lesson Outline ▼ Introduction to Sets Basic Set Operations Binary Operations Introduction to Sets A set is a collection of distinct objects, considered as an object in its own right. For example, the set of natural numbers \( \{1, 2, 3, \ldots\} \). Sets can be represented using curly braces, e.g., \( \{a, b, c\} \). Basic Set Operations Union: The union of sets \(A\) and \(B\) is the set of elements that are in \(A\), \(B\), or both. Denoted as \(A \cup B\). Intersection: The intersection of sets \(A\) and \(B\) is the set of elements that are in both \(A\) and \(B\). Denoted as \(A \cap B\). Difference: The difference of sets \(A\) and \(B\) is the set of elements that are in \(A\) but not in \(B\). Denoted as \(A...

Inner Product Spaces

Lesson Objectives ▼ Understand the definition of inner product spaces. Compute norms, angles, and distances in inner product spaces. Explore the concept of orthogonality. Learn the Gram-Schmidt orthogonalization process. Use inner products for projections and least squares approximation. Lesson Outline ▼ Definition of Inner Product Spaces Norms, Angles, and Orthogonality Gram-Schmidt Orthogonalization Projections and Least Squares Examples Definition of Inner Product Spaces An inner product space is a vector space with an operation called the **inner product**, which measures similarity between vectors. For a real vector space, the inner product of two vectors \( \mathbf{u}, \mathbf{v} \) is: \[ \langle \mathbf{u}, \mathbf{v} \rangle = u_1 v_1 + u_2 v_2 + \dots + u_n v_n \] For a complex vector space, the inner product is: \[ \langle \mathbf{u}, \mathbf{v} \ran...