Representing a dot product with Sums.

In summary, it's possible to represent the dot product (matrix multiplication) with sums, but this is time consuming and not always possible.
  • #1
Disowned
30
0
Is it possible to represent the dot product (matrix multiplication) with sums? For example, know the dot product of a polynomial and another one [i.e. 2+5x and 3x+7x2] would be the sums of the products. [i.e. 2(3x) + 5x(7x2)].

Could this be also written as [tex]\sum^{n}_{i=1}[/tex] a1ibi1? I'm asking this because I'm taking a really strict teacher who wants you to show all your work on a test or else he marks the entire thing wrong and showing the work for a dot product of a 5x2 by 2x5 is too much work during a timed exam.
 
Physics news on Phys.org
  • #2
Disowned said:
Is it possible to represent the dot product (matrix multiplication) with sums?

The dot product can't always be described with matrices. With R^n, this is fine. But for other inner product spaces, it's not always possible. For example, function spaces often use a dot product that looks like this: [tex]f \cdot g = \int f(x)g(x) dx[/tex]

For example, know the dot product of a polynomial and another one [i.e. 2+5x and 3x+7x2] would be the sums of the products. [i.e. 2(3x) + 5x(7x2)].

There are a few issues with this. First, you're not using R^n, so it's unclear what a "dot product" means between polynomials. Second, even if you were to use a definition similar to this, you'd need to multiply corresponding terms. What you're doing is similar to saying that the dot product between [2,5,0] and [0,3,7] is 2 * 3 + 7 * 5 (which is nonsensical because the pairs are not multiplied in the correct way).

Could this be also written as [tex]\sum^{n}_{i=1}[/tex] a1ibi1? I'm asking this because I'm taking a really strict teacher who wants you to show all your work on a test or else he marks the entire thing wrong and showing the work for a dot product of a 5x2 by 2x5 is too much work during a timed exam.

A dot product is a special operation between two vectors, not two matrices. It sounds like you're maybe looking for shortcuts in matrix multiplication. Sadly, it IS time consuming to do matrix multiplication, and it's work best left to a calculator if you need numeric answers. You should talk to your teacher about his test policy and other students in your class. See what he wants from you and what your classmates are doing in your same situation.
 
  • #3
Well yeah, I was just talking about vector spaces in R^n. I'll see if he'll give us some leeway with matrix multiplication. Also, isn't a matrix just composed of vectors?
 
  • #4
Disowned said:
Well yeah, I was just talking about vector spaces in R^n. I'll see if he'll give us some leeway with matrix multiplication. Also, isn't a matrix just composed of vectors?

A matrix is its own thing. It's not "composed" of vectors in any literal sense.

However, you can define two useful operations on matrices. If M is an m-by-n matrix, then you can defined Row_i(M) to be the i-th "row vector" and Col_j(M) to be the j-th "column vector". Row vectors will be vectors in R^n and column vectors will be in R^m.

Then, matrix multiplication is a little easier. For two matrices, M and N,

(M * N)_i,j = Row_i(M) * Col_j(N)

Let me clarify what this means. The result of M * N is a matrix. To find out what M * N is, you just need to know what it's components are. So the component of M * N at row i and column j is equal to the right hand side of the equation. The right hand side says "take the i-th row of M and the j-th column of N and find their dot product".

This is the way I like to think about matrix multiplication, but just find a way that you can remember for tests, I guess. It's hard stuff. I still can't keep rows and columns straight. But really, it's an arbitrary decision anyway! It works just as well if you flip "column" with "row" in the definition as long as you keep it consistent.
 

FAQ: Representing a dot product with Sums.

What is a dot product?

A dot product is a mathematical operation that takes two vectors and returns a single scalar value. It is also known as the scalar product or inner product.

How is a dot product represented using sums?

A dot product can be represented using sums by multiplying the corresponding components of the two vectors and then adding all the products together. This is also known as the "sum of products" method.

What are the properties of a dot product?

The dot product has several properties, including commutativity (a · b = b · a), distributivity (a · (b + c) = a · b + a · c), and associativity (a · (b · c) = (a · b) · c). It is also equal to the product of the magnitudes of the vectors multiplied by the cosine of the angle between them.

How is a dot product used in physics and engineering?

The dot product is used in physics and engineering to calculate the work done by a force, the component of a force in a specific direction, and the projection of a vector onto another vector. It is also used in determining the angle between two vectors and in finding the magnitude of a vector.

What are some real-life applications of dot products?

Some real-life applications of dot products include image processing, computer graphics, machine learning, and signal processing. It is also used in calculating the efficiency of a machine, finding the distance between two points, and determining the optimal direction for a robotic arm to move.

Similar threads

Back
Top