Understanding Vector Multiplication: Examples and Differences Explained

In summary, the two examples had different results because the first example was multiplying by a 3x1 matrix and the second example was multiplying by a 1x2 matrix. The first example had a single numerical answer while the second example had the answer in matrix form.
  • #1
60051
16
0
Not sure if vectors are pre or post calculus


Homework Statement



So we had a few examples of vector multiplication in class and I don't understand something.

The following vectors were multiplied:

[5 2 1] by

3
-4
7

...and the answer was 14 [(5*3) + 2*(-4) + (1*7)].



But in another example,

2
1

was multiplied by [-1 3]

...and the answer was

-2...6
-1...3



So why was the answer in the first example a single numerical answer while the answer to the second one was in matrix form?
 
Physics news on Phys.org
  • #2
It makes no difference, perhaps your prof was trying to get the point across that vectors can be represented in matrix form as well?

EDIT: After looking over the question and putting a little more thought into it,

The first part it looks as though you're preforming the dot product between two vectors.

The second part looks like the matrix multiplication of a row vector and a column vector to generate a 2x2 matrix.
 
Last edited:
  • #3
They are both still examples of matrix multiplication. The first example is a 1x3 matrix multiplied by a 3x1 matrix, and the result is then a 1x1 matrix. The second example is a 2x1 matrix multiplied by a 1x2 matrix, and the result is a 2x2 matrix.
 
  • #4
With "matrix multiplication". Think of matrix multiplication of a "dot product" of row and column. To find the number in "column i, row j" of the result, take the dot product of "row j" in the first matrix with "column i" in the second.

Specifically,
[tex]\begin{bmatrix}5 & 2 & 1\end{bmatrix}\begin{bmatrix}2 \\ -4 \\ 7\end{bmatrix}= 14[/itex]
The dot product of the single row in the first matrix with the single column in the second. A "row matrix" times a column matrix is a number.

[tex]\begin{bmatrix}2 \\ 1\end{bmatrix}\begin{bmatrix} -1 & 3\end{bmatrix}= \begin{bmatrix}-2 & 6 \\ -1 & 3\end{bmatrix}[/itex].
"Row 1 is just the number 2 and "column 1" is just the number -1. Their product is -2. "Column 2" is just the number 3 so the product of "row 1 and column 2" is (2)(3)= 6. "Row 2" is just 1. The product of "row 2 and column 1" is (1)(-1)= -1. The product of "row 2" and "column 2" is (1)(3).
 
  • #5
Hi 60051! :smile:
60051 said:
So we had a few examples of vector multiplication …

So why was the answer in the first example a single numerical answer while the answer to the second one was in matrix form?
pbandjay said:
They are both still examples of matrix multiplication. The first example is a 1x3 matrix multiplied by a 3x1 matrix, and the result is then a 1x1 matrix. The second example is a 2x1 matrix multiplied by a 1x2 matrix, and the result is a 2x2 matrix.

As pbandjay :smile: says, they are matrix multiplication.

Vector multiplication doesn't really exist.

For multiplication, you need everything to be in a multiplication space (my terminology) … both the input and the output.

The product of two matrices is always another matrix (possibly a different size and shape).

The dot product of two vectors isn't a vector, so the dot product isn't multiplication unless you regard everything (both vectors and scalars) as matrices.

So think of this as matrix multiplication, and don't use the phrase "vector multiplication". :wink:
 
  • #6
You are correct.
 
  • #7
BigFairy said:
You are correct.

oooh … do i get three wishes? :-p

are you a fairy operator? do you do transformations? :smile:
 

Related to Understanding Vector Multiplication: Examples and Differences Explained

1. What is vector multiplication?

Vector multiplication is a mathematical operation that combines two vectors to produce a new vector. It is different from scalar multiplication, which produces a scalar value, and involves both magnitude and direction.

2. What are some examples of vector multiplication?

One example of vector multiplication is the dot product, which multiplies the magnitudes of two vectors and the cosine of the angle between them. Another example is the cross product, which produces a new vector that is perpendicular to both of the original vectors.

3. How is vector multiplication different from scalar multiplication?

Scalar multiplication multiplies a vector by a scalar value, while vector multiplication combines two vectors to produce a new vector. Scalar multiplication only changes the magnitude of the vector, while vector multiplication also changes the direction.

4. What are some applications of vector multiplication?

Vector multiplication is used in many physics and engineering applications, such as calculating work, torque, and magnetic fields. It is also used in computer graphics for 3D transformations and in machine learning algorithms.

5. Can you explain the difference between the dot product and the cross product?

The dot product produces a scalar value, while the cross product produces a new vector. The dot product measures the similarity or projection of two vectors, while the cross product measures the perpendicularity or torque of two vectors. Additionally, the dot product is commutative, while the cross product is anti-commutative.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
14
Views
451
  • Precalculus Mathematics Homework Help
Replies
1
Views
778
  • Precalculus Mathematics Homework Help
Replies
3
Views
426
  • Precalculus Mathematics Homework Help
Replies
11
Views
772
  • Precalculus Mathematics Homework Help
Replies
16
Views
811
  • Precalculus Mathematics Homework Help
Replies
4
Views
698
  • Precalculus Mathematics Homework Help
Replies
4
Views
2K
  • Precalculus Mathematics Homework Help
Replies
21
Views
808
  • Precalculus Mathematics Homework Help
Replies
11
Views
1K
  • Precalculus Mathematics Homework Help
Replies
9
Views
660
Back
Top