Understanding Inner Products in Linear Algebra

  • Context: Undergrad 
  • Thread starter Thread starter evilpostingmong
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the concept of inner products in linear algebra, specifically addressing the properties and notation associated with them. Participants express confusion regarding the definition and interpretation of inner products, particularly in relation to their scalar nature and the notation used.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants express confusion about the basic properties of inner products and their notation, particularly the expression = + .
  • One participant notes that the inner product is linear in the first variable, suggesting that this linearity is an important property in linear algebra.
  • Another participant questions the notation used for inner products, stating that and appear to represent bases containing vectors rather than scalars.
  • Some participants clarify that denotes an inner product of vectors x and z, which results in a scalar, and that the notation should not be confused with other forms such as {x, y}.
  • There is a discussion about the historical context of the angle bracket notation, with some participants speculating on its origins and its association with Dirac's bra-ket notation.
  • One participant emphasizes the need for clarity in notation to avoid confusion, particularly when distinguishing between different types of products in linear algebra.

Areas of Agreement / Disagreement

Participants generally agree on the importance of understanding inner products and their properties, but there is significant disagreement and confusion regarding the notation and interpretation of inner products. The discussion remains unresolved with multiple viewpoints presented.

Contextual Notes

Participants express uncertainty about the definitions and properties of inner products, particularly regarding their scalar nature and the implications of the notation used. There is also a lack of consensus on the historical development of the notation.

evilpostingmong
Messages
338
Reaction score
0
Hello, just started reading about inner products, and they don't
make much sense to me (I mean, even basic properties). I
read something about the dot product, then they started getting into
<x+y, z> is <x,z>+<y,z> what is the purpose of doing this?
I'm almost completely clueless about inner products.
 
Physics news on Phys.org
I'm not a fan of that notation. Are you familiar with upper and lower indices?
 
Hi evilpostingmong! :smile:

It's the same rule as for dot-products of ordinary 3D vectors …

(a + b).c = a.c + b.c :wink:
 
No, but if it would help, I'm willing to hear about them, since I'm really stuck.
Don't mean to sound pushy, just in a desperate mood.
 
What they are saying is that the inner product is linear in the first variable. Don't you think "linear" is an important property in Linear algebra?
 
Yes, it is important.
 
evilpostingmong said:
Hello, just started reading about inner products, and they don't
make much sense to me (I mean, even basic properties). I
read something about the dot product, then they started getting into
<x+y, z> is <x,z>+<y,z> what is the purpose of doing this?
I'm almost completely clueless about inner products.
It's hard to give a good answer without more context (e.g. what is your background? What are you actually studying?), but I'll make a try anyways.

The big overarching incredible point about algebra is that it's not just something you do with numbers. You do also do it with vectors, matrices, sets, geometric shapes -- pretty much anything you would ever want to study can be studied with some algebraic technique.

Linear algebra has a special role, because it is the simplest kind of algebra, and something we understand really, reallly, really well -- and yet it is powerful enough to be useful in a wide variety of situations.

In order to do algebra, we need to know how to manipulate equations. The reason you learn the law [itex]\langle \vec{x}+\vec{y}, \vec{z} \rangle = \langle \vec{x}, \vec{z}\rangle + \langle \vec{y}, \vec{z} \rangle[/itex] for manipulating vectors is exactly the same as the reason you learn the law [itex]a(b+c) = ab + ac[/itex] for manipulating numbers.
 
Thanks for the input. But what confuses me (I was so confused that
I couldn't even figure out what exactly was confusing..I know) is
that the inner product is supposed to be a scalar but when
computing it <x+y, z>=<x,z>+<y,z> <x,z> and <y,z> look like
bases containing vectors, not scalars. I guess that's why
Phrak doesn't like this notation. Those don't look like scalars, so I
don't really know what x or y or z are. Unless that "," means multiplication.
Oh btw to answer Hurky's question, as far as linear algebra is concerned.
I know matrix arithmetic, vector spaces, linear transformations, and "eigenstuff".
 
evilpostingmong said:
the inner product is supposed to be a scalar ... Those don't look like scalars,
If inner products are scalar-valued...
And <x,z> denotes an inner product of x with z...
Then <x,z> is a scalar.

I'm not sure what you mean by "bases containing vectors".
 
  • #10
Hurkyl said:
If inner products are scalar-valued...
And <x,z> denotes an inner product of x with z...
Then <x,z> is a scalar.

I'm not sure what you mean by "bases containing vectors".
It's alright, you know how when you want to write out a basis
for a vector space of dim n you'd put <v1...vn>
Oh hold on x+y and z are vectors but you performed the cross
product to get xy and xz, which are scalars.
But why couldn't they write it as <x*y> or <x*z> isn't that more obvious?
I'm not blaming you or anyone else on this forum, so don't worry about that.
Wait, I thought of something. Take vector u to be a row [1 2] and v to be a column [3 4]
so the result is [4 6] after multilpication so I end up with (for <u, v>) u is the scalar 4 and v
is the scalar 6.
 
Last edited:
  • #11
(Convention for this post: elements of Rn are treated as if they were nx1 matrices)

There aren't that many symbols useful for a binary operation. Asterisks (i.e. '*') are annoying to draw by hand, if you have to do it a lot. The dot (i.e. '[itex]\cdot[/itex]') is good, but people often reserve that for one specific inner product: the dot product on Rn; i.e. the one given by [itex]\vec{v} \cdot \vec{w} = v^T w[/itex].

It's awkward to write the dot product as if it were ordinary multiplication, because 'ordinary multiplication' notation is already overused in linear algebra. e.g. if r is a real number, [itex]\vec{v}[/itex] is a vector, and A,B are matrices of the right shape, and T a linear transformation of the right domain, we have

* Scalar multiplication: [itex]r \vec{v}[/itex]
* Scalar multiplication: [itex]r A[/itex]
* Matrix-matrix product: [itex]A B[/itex]
* Matrix-vector product: [itex]A v[/itex]
* Applying a transformation: [itex]T v[/itex]

I think it should be preferable to let ordinary multiplication denote only those 'products' that are either scalar multiplication or come from matrix arithmetic (or similar).


Another advantage to some sort of bracket notation (e.g. [itex]\{ a, b \}[/itex] or [itex]\langle a, b \rangle[/itex] or [itex][ a, b ][/itex]) is that it can be more easily annotated. If you're working with two different inner products, we can label one G and the other H, and write [itex]\langle \vec{v}, \vec{w} \rangle_G[/itex] and [itex]\langle \vec{v}, \vec{w} \rangle_H[/itex] to tell them apart.



How did the notation actually originate? I don't know. I can speculate, though: I bet the it was originally written as an ordinary binary function: e.g. g(x,y). People got tired of writing g all the time, because you often work with only one inner product at a time, so it got shortened to (x,y). But it can be confusing to use parentheses, so they switched to angle brackets [itex]\langle x, y \rangle[/itex].
 
  • #12
evilpostingmong said:
Thanks for the input. But what confuses me (I was so confused that
I couldn't even figure out what exactly was confusing..I know) is
that the inner product is supposed to be a scalar but when
computing it <x+y, z>=<x,z>+<y,z> <x,z> and <y,z> look like
bases containing vectors, not scalars. I guess that's why
Phrak doesn't like this notation.
I hope you are not confusing <x, y> with {x, y}! If so, you need to have your vision checked. x, y, and z are vectors here. So is x+ y. <x+y, z>, <x, z>, and <y, z> are all inner products of vectors and so are scalars. <x, z>+ <y, z> is a sum of scalars, equal to the scalar <x+ y, z>.

Those don't look like scalars, so I
don't really know what x or y or z are. Unless that "," means multiplication.
Oh btw to answer Hurky's question, as far as linear algebra is concerned.
I know matrix arithmetic, vector spaces, linear transformations, and "eigenstuff".
I presume that the first statement in the definition of "inner product" in your textbook is that the inner product "is a function from VxV to the underlying field": that is, that the inner product, symbolized by < , >, takes two vectors, say x and y, and changes them to the scalar <x, y>. From that <x, z>, <y, z>, and <x+ y, z> certainly should "look like scalars"! Anything of the form <u, v> is a scalar.
 
Last edited by a moderator:
  • #13
Hurkyl said:
How did the notation actually originate? … it got shortened to (x,y). But it can be confusing to use parentheses, so they switched to angle brackets [itex]\langle x, y \rangle[/itex].

Hi Hurkyl! :smile:

I always thought Dirac invented the angle bracket notation, so that he could put straight dividers inside, and called them bra and ket …

or did they already exist, and he only gave them the humorous name? :rolleyes:
 
  • #14
tiny-tim said:
or did they already exist, and he only gave them the humorous name? :rolleyes:
This is how I thought history went. (And also other bracket operators pre-existed, like the Poisson bracket) But I don't have great confidence in my knowledge of such things. Your version is entirely plausible.
 
  • #15
HallsofIvy said:
I hope you are not confusing <x, y> with {x, y}! If so, you need to have your vision checked. x, y, and z are vectors here. So is x+ y. <x+y, z>, <x, z>, and <y, z> are all inner products of vectors and so are scalars. <x, z>+ <y, z> is a sum of scalars, equal to the scalar <x+ y, z>. I presume that the first statement in the definition of "inner product" in your textbook is that the inner product "is a function from VxV to the underlying field": that is, that the inner product, symbolized by < , >, takes two vectors, say x and y, and changes them to the scalar <x, y>. From that <x, z>, <y, z>, and <x+ y, z> certainly should "look like scalars"! Anything of the form <u, v> is a scalar.


Oh, its ok I have a book that uses <> for bases as well, but I guess it was a stupid
idea for the book to use <> for bases since it would confuse students who are
learning linear algebra. But you have shown me what they are normally used for,
thank you very much! And thanks Hurkyl for solving my , and * dilemma!
Thank you all for responding!
Oh btw Hurkyl, when you say "normal multiplication" you mean take two vectors and multiply them
like this uv as opposed to dot product, which is uTv which is what "," denotes, right?
 
Last edited:

Similar threads

  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 13 ·
Replies
13
Views
5K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 27 ·
Replies
27
Views
6K
  • · Replies 2 ·
Replies
2
Views
2K