LINEAR ALGEBRA: What is the relationship between ||y||^2 and yx?

In summary: The dot product (or inner product) between two vectors is just the product of the vectors themselves.
  • #1
VinnyCee
489
0
QUESTION (5.1, #30 -> Bretscher, O.):

Consider a subspace V of [tex]\mathbb{R}^n[/tex] and a vector [tex]\overrightarrow{x}[/tex] in [tex]\mathbb{R}^n[/tex]. Let [tex]\overrightarrow{y}\,=\,proj_v\,\overrightarrow{x}[/tex]. What is the relationship between the following quantities?

[tex]||\overrightarrow{y}||^2[/tex] and [tex]\overrightarrow{y}\,\cdot\,\overrightarrow{x}[/tex]


My work so far:

I only know this for sure...

[tex]||\overrightarrow{y}||\,\leq\,||\overrightarrow{x}||\,\iff\,\overrightarrow{x}\,\in\,V[/tex]

But how do I use this to relate the two quantities? Please help, thanks!
 
Physics news on Phys.org
  • #2
I assume [itex]\hat{v}[/itex] is a unit vector? Then [itex]\vec{y}=(\vec{x}\cdot \hat{v})\hat{v}[/itex]. I think this "substitution" is a good place to start.
 
  • #3
Ok, I use that version and write:

[tex]\,\left[\left(\overrightarrow{v}\,\cdot\,\overrightarrow{x}\right)\,\overrightarrow{v}\right]\,\cdot\,\left[\left(\overrightarrow{v}\,\cdot\,\overrightarrow{x}\right)\,\overrightarrow{v}\right]\,[/tex]

[tex]\left[\left(\overrightarrow{v}\,\cdot\,\overrightarrow{x}\right)\,\overrightarrow{v}\right]\,\cdot\,\overrightarrow{x}[/tex]

This is two equations in two variables.

Is the second one equal to zero?
 
Last edited:
  • #4
write the squared norm of y as [itex]||\vec{y}||^2=\vec{y}\cdot\vec{y}[/itex].

and simplify <y,x> a little also.

the relationship should become clear.

(Why would you think the second one equals to zero?)
 
  • #5
The squared norm of y is [tex]||\,\left(\overrightarrow{v}\,\cdot\,\overrightarrow{x}\right)^2\,\overrightarrow{v}^2\,||[/tex]?

[tex]\overrightarrow{y}\,\cdot\,\overrightarrow{y}\,=\,||\overrightarrow{y}||^2[/tex]

Does that sound right?
 
Last edited:
  • #6
As I said, the squared norm (or norm squared if you'd like) of [itex]\vec{y}[/itex] is [itex]||\vec{y}||^2=\vec{y}\cdot\vec{y}[/itex].

And as I said in post #2, [itex]\vec{y}=(\vec{x}\cdot \hat{v})\hat{v}[/itex]. So

[tex]||\vec{y}||^2=(\vec{x}\cdot \hat{v})\hat{v}\cdot(\vec{x}\cdot \hat{v})\hat{v}[/tex].

Now use the properties of the scalar product to make that look nicer (e.g. [itex] \vec{a}\cdot \alpha\vec{b}= \alpha\vec{a}\cdot \vec{b}= \alpha(\vec{a}\cdot \vec{b})[/itex])
 
  • #7
As a general rule, stay away from notational shortcuts like [itex]\vec{y}^2[/itex] in a mathematics course. Always write the ||
 
  • #8
Like the first equation in post #3?

Scalar product properties?

So...

[tex]\hat{v}\,\left(\overrightarrow{x}\,\cdot\,\hat{v}\right)^2[/tex] is the norm squared?
 
Last edited:
  • #9
I am guessing that this might have something to do with the Cauchy-Schwarz inequality since it is in the section and all, right?

[tex]|\vec{x}\,\cdot\,\vec{y}|\,\leq\,||\vec{x}||\,||\vec{y}||[/tex]

How do I use the inequality for this problem? Just start substituting?
 
  • #10
The first equation in post #3 doesn't make much sense because the ||a|| notation means "norm of vector a", but in your first equation of post 3, you have a scalar in btw the ||.||. You don't even need absolute values either because [itex]\vec{y}\cdot\vec{y}=y_x^2+y_y^2+y_z^2[/itex] can never be negative.

So the equation to work with is [itex]||\vec{y}||^2=(\vec{x}\cdot \hat{v})\hat{v}\cdot(\vec{x}\cdot \hat{v})\hat{v}[/itex]

And if that is the norm squared, how did you pass from that to [itex]\hat{v}\,\left(\overrightarrow{x}\,\cdot\,\hat{v}\ \right)[/itex] as the norm squared?! This is not even a scalar!

You need to re-read your notes carefully I think!
 
Last edited:
  • #11
So we have:

[tex]||\vec{y}||^2=(\vec{x}\cdot \hat{v})\hat{v}\cdot(\vec{x}\cdot \hat{v})\hat{v}[/tex]

But how do you simplify that expression? (without just going back to [tex]||\vec{y}||^2[/tex])
 
Last edited:
  • #12
You can simplify it in many ways, but you must compare your RHS
[tex](\vec{x}\cdot \hat{v})\hat{v}\cdot(\vec{x}\cdot \hat{v})\hat{v}[/tex]
with
[tex]\overrightarrow{y}\,\cdot\,\overrightarrow{x}[/tex]
 
Last edited:
  • #13
VinnyCee said:
So we have:

[tex]||\vec{y}||^2=(\vec{x}\cdot \hat{v})\hat{v}\cdot(\vec{x}\cdot \hat{v})\hat{v}[/tex]

But how do you simplify that expression? (without just going back to [tex]||\vec{y}||^2[/tex])
By the properties of the scalar product (or inner product or whatever you call the [itex]\cdot[/itex] operation). More precesily, use this property: [itex] \vec{a}\cdot \alpha\vec{b}= \alpha\vec{a}\cdot \vec{b}= \alpha(\vec{a}\cdot \vec{b})[/itex].
 
Last edited:
  • #14
[tex]||\vec{y}||^2=(\vec{x}\cdot \hat{v})\hat{v}\cdot(\vec{x}\cdot \hat{v})\hat{v}[/tex]

[tex]||\vec{y}||^2=(\vec{x} \cdot ||\vec{v}||^2)(\vec{x} \cdot ||\vec{v}||^2)=(||\vec{x}||^2 \cdot ||\vec{v}||^4)[/tex]
 
Last edited:
  • #15
Sniff. Where do you pull all these equations from? Your last equation doesn't make sense and you should see it! You're taking the dot product of scalars!You have the template right here:

[tex] \vec{a}\cdot \alpha\vec{b}= \alpha\vec{a}\cdot \vec{b}= \alpha(\vec{a}\cdot \vec{b})[/tex]

Except in your case, [itex]\alpha = (\vec{x}\cdot \hat{v})[/itex] and [itex]\vec{a}=\vec{b}=\hat{v}[/itex]. And also, both a and b are multiplied by a constant.
 
  • #16
[tex]||\vec{y}||^2=\alpha(\vec{a}) \cdot \alpha(\vec{a})[/tex]

But what is the result of a dot product between two identical vectors?
 
Last edited:
  • #17
You've only rewritten the equation by changing the notation. You're not more advanced.

Use the property of the dot product that allows you to take the alpha's and pull them in front: [tex] \vec{a}\cdot \alpha\vec{b}= \alpha\vec{a}\cdot \vec{b}= \alpha(\vec{a}\cdot \vec{b})[/tex]
 
  • #18
[tex]||\vec{y}||^2=\alpha^2 \vec{a} \cdot \vec{a}[/tex]?
 
  • #19
Yes! phew. lol
 
Last edited:
  • #20
Now what? Do the same for [tex]\overrightarrow{y}\,\cdot\,\overrightarrow{x}[/tex]?

[tex](\vec{x}\cdot \hat{v})^2\,\hat{v} \cdot \hat{v}[/tex]

What qualities does the [tex]\vec{a} \cdot \vec{a}[/tex] part have?
 
Last edited:
  • #21
But you can simplify even more, because [itex]\vec{a}=\hat{v}[/itex] is unitary. That means that [itex]||\vec{a}||=||\hat{v}||=1[/itex]. And what is [itex]\vec{a}\cdot\vec{a}[/itex] is terms of [itex]||\vec{a}||[/itex] again?
 
  • #22
[tex]\vec{a}\,\cdot\,\vec{a}\,=\,||\vec{a}||^2[/tex]

[tex](1)^2\,=\,1[/tex]

[tex]||\vec{y}||^2\,=\,(\vec{x}\,\cdot\,\hat{v})^2[/tex]?
 
  • #23
Beautiful. Beautiful.

Now [itex]\vec{x}\cdot\vec{y}[/itex].

How can you rewrite [itex]\left[\left(\overrightarrow{v}\,\cdot\,\overrightarrow{x }\right)\,\overrightarrow{v}\right]\,\cdot\,\overrightarrow{x}[/itex] using the associativity property?

(By associativity property I just mean [itex] \vec{a}\cdot \alpha\vec{b}= \alpha\vec{a}\cdot \vec{b}= \alpha(\vec{a}\cdot \vec{b})[/itex] because it does not matter with what you "associate" alpha, the answer is the same)
 
  • #24
[tex]\left[(\hat{v}\,\cdot\,\vec{x})\,\cdot\,\hat{x}\right]\,\hat{v}[/tex]

But you cannot take the dot product with a scalar, right?
 
  • #25
Pythagoras.
 
  • #26
[tex]||\vec{x}\,+\,\vec{y}||^2\,=\,||\vec{x}||^2\,+\,||\vec{y}||^2\,\iff\,\vec{x}\,and\,\vec{y}\,are\,orthogonal.[/tex]

But how do I use that for this relation: [tex]\left[(\hat{v}\,\cdot\,\vec{x})\,\hat{v}\right]\,\cdot\,\vec{x}[/tex]?
 
  • #27
VinnyCee said:
[tex]\left[(\hat{v}\,\cdot\,\vec{x})\,\cdot\,\hat{x}\right]\,\hat{v}[/tex]

But you cannot take the dot product with a scalar, right?

Right. Which proves that you didn't apply the property correctly. Replace [itex](\vec{x}\cdot \hat{v})[/itex] by [itex]\alpha[/itex] as you did before if it confuses you. You will get an expression that allows you to apply directly [itex]\alpha\vec{a}\cdot \vec{b}= \alpha(\vec{a}\cdot \vec{b})[/itex]
 
Last edited:
  • #28
[tex]\alpha\,=\,\hat{v}\,\cdot\,\vec{x}[/tex]

[tex](\alpha\,\hat{v})\,\cdot\,\vec{x}[/tex]

[tex]\alpha\,(\hat{v}\,\cdot\,\vec{x})[/tex]

[tex]\alpha\,(\alpha)\,=\,\alpha^2[/tex]
 
  • #29
This is really getting over-complicated. What is the definition of projvx? You should probably have something like (v.x/v.v)v. So simply compute:

|y|2
= y.y
= (projvx).(projvx)
= [(v.x/v.v)v].[(v.x/v.v)v]
= COMPUTE THIS

y.x
= (projvx).x
= [(v.x/v.v)v].x
= COMPUTE THIS

The only facts you need to use are:

[tex](\alpha \vec{a})\cdot (\beta \vec{b}) = \alpha \beta (\vec{a} \cdot \vec{b})[/tex]

[tex](\alpha \vec{a})\cdot \vec{b} = \alpha (\vec{a}\cdot \vec{b})[/tex]

where [itex]\alpha ,\, \beta[/itex] are scalars and [itex]\vec{a} ,\, \vec{b}[/itex] are obviously vectors. The second fact is really just the first fact with [itex]\beta = 1[/itex]. Just use the fact that v.v, v.x, (v.x/v.v), etc. are just scalars, like [itex]\alpha[/itex] and [itex]\beta[/itex].
 
  • #30
VinnyCee said:
[tex]\alpha\,=\,\hat{v}\,\cdot\,\vec{x}[/tex]

[tex](\alpha\,\hat{v})\,\cdot\,\vec{x}[/tex]

[tex]\alpha\,(\hat{v}\,\cdot\,\vec{x})[/tex]

[tex]\alpha\,(\alpha)\,=\,\alpha^2[/tex]

Yep. Now that the confusing algebra is over, you can substitute back [itex]\alpha \rightarrow (\hat{v}\cdot \vec{x})[/itex], and compare with what you obtained for [itex]||\vec{y}||^2[/itex] (post #22).

30+ posts for a 2 lines problem, nice, lol.
 
Last edited:

What is the relationship between ||y||^2 and yx?

The relationship between ||y||^2 and yx is that ||y||^2 is equal to the dot product of y with itself, or y⋅y. This is also equivalent to yx multiplied by its transpose, yx^T.

How is ||y||^2 calculated?

||y||^2 is calculated by taking the dot product of y with itself. This involves multiplying each element in y with its corresponding element in y, and then summing all of these products together.

What is the significance of ||y||^2 in linear algebra?

||y||^2 is significant in linear algebra because it represents the magnitude or length of the vector y. It is also used in various calculations, such as finding the distance between two vectors or determining if two vectors are orthogonal.

Is ||y||^2 always positive?

Yes, ||y||^2 is always positive. This is because it is the sum of squared values, which cannot be negative. Additionally, the square root of ||y||^2, which is ||y||, is always positive or zero.

Can ||y||^2 be greater than yx?

No, ||y||^2 cannot be greater than yx. This is because yx is calculated by multiplying the elements in y with their corresponding elements in x, and then summing these products together. Since ||y||^2 is equal to the dot product of y with itself, it would always be equal to or less than yx.

Similar threads

  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
3K
  • Calculus and Beyond Homework Help
Replies
6
Views
2K
  • Introductory Physics Homework Help
Replies
1
Views
743
  • Calculus and Beyond Homework Help
Replies
9
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
2K
Replies
3
Views
237
  • Calculus and Beyond Homework Help
Replies
12
Views
966
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
24
Views
782
Back
Top