1. Scalar Multiplication
Elements Involved:
- A scalar (a single number) and a vector or matrix.
How to Calculate:
- Multiply each element of the vector or matrix by the scalar.
Example (with a vector):
Let and the scalar be :
Result:
- The result is a vector or matrix of the same size as the original, but each element is multiplied by the scalar.
2. Dot Product (or Inner Product)
Elements Involved:
- Two vectors of the same size.
How to Calculate:
- Multiply the corresponding elements of the vectors together and then sum the results.
Example (with two 3D vectors):
Let and :
Result:
- The result is a scalar (a single number).
- The dot product measures the alignment of two vectors: if the result is 0, the vectors are orthogonal.
3. Matrix Multiplication
Elements Involved:
- Two matrices, but their dimensions must satisfy the following condition: if matrix is of size , matrix must be of size . In other words, the number of columns of the first matrix must equal the number of rows of the second matrix.
How to Calculate:
- Multiply the elements of each row of the first matrix by the corresponding elements of each column of the second matrix, and then sum the results for each pair. The element in the row and column of the result matrix is the dot product of the row of the first matrix and the column of the second matrix.
Example:
Let and :
Result:
- The result is a matrix with dimensions determined by the rows of the first matrix and the columns of the second matrix. In this case, is and is , so the result is a matrix.
4. Cross Product
Elements Involved:
- Two 3-dimensional vectors.
How to Calculate:
- The cross product of two vectors and , written as , is a new vector that is perpendicular to both and , following the right-hand rule.
- For and , the cross product is:
Example:
Let and :
Result:
- The result is a new 3-dimensional vector that is perpendicular to the original vectors. The direction of the resulting vector is determined by the right-hand rule.
Summary:
Operation | Elements Involved | How to Calculate | Result Type |
---|---|---|---|
Scalar Multiplication | Scalar and Vector/Matrix | Multiply each element by the scalar | Vector or Matrix |
Dot Product | Two Vectors (same size) | Multiply corresponding elements and sum | Scalar (single number) |
Matrix Multiplication | Two Matrices (compatible dimensions) | Multiply rows by columns and sum | Matrix |
Cross Product | Two 3D Vectors | Use the formula for each component of the new vector | Vector (3D) |