Need to rewrite linear combination as vector expression.

devonho
Messages
8
Reaction score
0

Homework Statement


Given vectors
[itex] {\bf r}=\left[r_1,r_2,r_3\ldots{}r_n\right]^T[/itex]
[itex] {\bf e}=\left[e_1,e_2,e_3\ldots{}e_n\right]^T[/itex]

I need to write the sum

[itex] \sum_{i=1}^{n}r_ie_i^2[/itex]

in terms of [itex]{\bf r}[/itex] and [itex]{\bf e}[/itex]

Homework Equations


Nil.

The Attempt at a Solution



Without [itex]r_i[/itex], I am able to write [itex]\sum_{i=1}^{n}e_i^2[/itex] as

[itex] \sum_{i=1}^{n}e_i^2={\bf e}^T{\bf e}[/itex]

If [itex]r_i[/itex] can be independent of [itex]i[/itex] I should be able to move it out of the summation. I am looking for some expansion/reexpression of [itex]r_i[/itex].
 
Physics news on Phys.org
hi devonho! :smile:
devonho said:
I need to write the sum

[itex] \sum_{i=1}^{n}r_ie_i^2[/itex]

in terms of [itex]{\bf r}[/itex] and [itex]{\bf e}[/itex]

why?? :confused:

(i don't think you can)
 
This seems to work:

[itex] {\bf r}=<br /> \left[<br /> \begin{array}{ccccc}<br /> r_1 & 0 & \ldots & & 0\\<br /> 0 & r_2 & & & \vdots \\<br /> \vdots & & r_3 & & \\<br /> & & & \ddots & \\<br /> 0 & \ldots & & & r_n \\<br /> \end{array}<br /> \right][/itex]

[itex] {\bf e}=<br /> \left[<br /> \begin{array}{c}<br /> e_1 \\<br /> e_2 \\<br /> \vdots\\<br /> e_n \\<br /> \end{array}<br /> \right][/itex]

[itex] {\bf e}^T{\bf re}=\left[ e_1, e_2 \ldots e_n\right]<br /> \left[<br /> \begin{array}{ccccc}<br /> r_1 & 0 & \ldots & & 0\\<br /> 0 & r_2 & & & \vdots \\<br /> \vdots & & r_3 & & \\<br /> & & & \ddots & \\<br /> 0 & \ldots & & & r_n \\<br /> \end{array}<br /> \right]<br /> \left[<br /> \begin{array}{c}<br /> e_1 \\<br /> e_2 \\<br /> \vdots\\<br /> e_n \\<br /> \end{array}<br /> \right]<br /> =r_1e_1^2+r_2e_2^2\ldots +r_ne_n^2<br /> =\sum_{i=1}^{n}r_ie_i^2[/itex]
 
but devonho, how do you form that middle matrix out of the vector r ? :confused:
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K