Representing a dot product with Sums.

Click For Summary

Discussion Overview

The discussion revolves around the representation of the dot product, particularly in the context of polynomials and matrix multiplication. Participants explore whether the dot product can be expressed using sums and the implications of this for understanding operations in vector spaces and matrices.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant questions if the dot product can be represented with sums, specifically in the context of polynomials, and provides an example involving polynomial terms.
  • Another participant argues that the dot product cannot always be described with matrices, especially in non-R^n inner product spaces, and highlights the use of integrals in function spaces as an alternative definition.
  • Concerns are raised about the clarity of defining a dot product between polynomials and the necessity of multiplying corresponding terms correctly.
  • One participant suggests that a matrix can be viewed as composed of vectors, while another clarifies that matrices and vectors are distinct entities but that operations can be defined between them.
  • A participant explains the process of matrix multiplication in terms of row and column vectors, emphasizing the dot product's role in determining matrix components.
  • Participants express the need for strategies to simplify the representation of matrix multiplication for test situations, acknowledging the complexity involved.

Areas of Agreement / Disagreement

Participants express differing views on the representation of the dot product and its application to polynomials and matrices. There is no consensus on the best approach or definition, and the discussion remains unresolved regarding the clarity and correctness of these representations.

Contextual Notes

Participants highlight limitations in understanding the dot product in various contexts, such as the need for clear definitions and the potential confusion arising from different mathematical structures.

Disowned
Messages
30
Reaction score
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
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.
 
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?
 
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.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 14 ·
Replies
14
Views
3K
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 21 ·
Replies
21
Views
3K
  • · Replies 43 ·
2
Replies
43
Views
8K
  • · Replies 10 ·
Replies
10
Views
25K
  • · Replies 11 ·
Replies
11
Views
3K