ΣνΜDr. Sharon's Math PlatformSyvara Learning
Question Bank › 📘 Undergraduate › Numerical Method with Python (Math & Eng) › Q18

Q18 · Dot product, matrix sum/difference, and AB vs BA

Matrix Operations and Linear Systems 🟢 Intro Computation
Question

Given vectors $\mathbf{u} = [2, -1, 3]$ and $\mathbf{v} = [4, 0, -2]$, and matrices:
$$A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}, \quad B = \begin{bmatrix} 0 & 1 \\ -1 & 2 \end{bmatrix}$$

(a) Compute $\mathbf{u} \cdot \mathbf{v}$ (dot product). What type of result is this?
(b) Compute $A + B$ and $A - B$.
(c) Compute $AB$ (matrix multiplication). Is $AB = BA$? Compute $BA$ to check.

🔒

Log in to see the worked solution

Enter your email to get started. Your first free solutions in every course unlock as soon as you verify.

Log in or sign up with email
← Previous Next →
Working…