Find Linear Combination of u to Represent x

Dustinsfl
Messages
2,217
Reaction score
5
Let x=<br /> \begin{array}{cc|l}<br /> 1 \\<br /> 1 \\<br /> 7 \<br /> \end{array}<br />
write x as a linear combination of u using theorem.

u1=<br /> \begin{array}{cc|l}<br /> 1/{3\sqrt{2}} \\<br /> 1/{3\sqrt{2}} \\<br /> -4/{3\sqrt{2}} \<br /> \end{array}<br />

u2=<br /> \begin{array}{cc|l}<br /> 2/3 \\<br /> 2/3 \\<br /> 1/3 \<br /> \end{array}<br />

u3=<br /> \begin{array}{cc|l}<br /> 1/\sqrt{2} \\<br /> -1/\sqrt{2} \\<br /> 0 \<br /> \end{array}<br />

v=\sum^n_{i=1} c<sub>i</sub><b>u</b><sub>i</sub>

I first did the rref of u and then wrote x in terms of the linear combination but it isn't the same as using the sum which I am not sure how to do.
 
Last edited:
Physics news on Phys.org
You want to solve the matrix equation Ac = x for c.

Here A is a 3x3 matrix whose columns are u1, u2, and u3, c is <c1, c2, c3>T, the coefficients that specify a particular linear combination of the u vectors.
 
I did that but it didn't turn out to be the same as using the sum definition.
 
If you use rref, x=\frac{-13\sqrt{2}}{3}u1+\frac{11}{3}u2.


However, if I use the sum definition, the answer should be \frac{-\sqrt{2}}{3}u1+\frac{5}{3}u2


How can I use the sum definition to achieve that answer?
 
Hint: The u vectors aren't linearly independent, so...
 
Error in entry u3 second row should be negative
 
Oh, then you're making an arithmetic error somewhere. The answer is unique, so either method should give the same result.
 
I have entered it into a ti89, maple, and double checked all the rows and columns before doing rref and everything yields the same result.

I think it has to do with using the summation. This problem has to do with orthonormal basis.

I have already verified that it is orthonormal.

This is the Kronecker delta summation if that helps.
 
Dustinsfl said:
I did that but it didn't turn out to be the same as using the sum definition.
I don't know what you're talking about. The matrix equation and the sum definition are describing exactly the same thing.

Here's the sum, expanded:
c1 u1 + c2 u2 + c3 u3 = x

Compare that to
\left[ \begin{array}{c c c} <br /> u_{11} &amp; u_{21} &amp; u_{31} \\<br /> u_{12} &amp; u_{22} &amp; u_{32} \\<br /> u_{13} &amp; u_{23} &amp; u_{33} \end{array} \right] <br /> \left[ \begin{array} {c}<br /> c_1 \\<br /> c_2 \\ <br /> c_3 \end{array} \right] = <br /> \left[ \begin{array} {c}<br /> 1 \\<br /> 1 \\ <br /> 7 \end{array} \right]

Notice that c1 multiplies the first column of the matrix, and c2 and c3 multiply the 2nd and 3rd columns, respectively.
 
  • #10
Dustinsfl said:
v=\sum^n_{i=1} c<sub>i</sub><b>u</b><sub>i</sub>
BTW, don't use the sub or sup tags inside tex tags. For subscripts, use underscore, e.g., c_i
 
  • #11
Mark44 said:
Here's the sum, expanded:
c1 u1 + c2 u2 + c3 u3 = x

Compare that to
\left[ \begin{array}{c c c} <br /> u_{11} &amp; u_{21} &amp; u_{31} \\<br /> u_{12} &amp; u_{22} &amp; u_{32} \\<br /> u_{13} &amp; u_{23} &amp; u_{33} \end{array} \right] <br /> \left[ \begin{array} {c}<br /> c_1 \\<br /> c_2 \\ <br /> c_3 \end{array} \right] = <br /> \left[ \begin{array} {c}<br /> 1 \\<br /> 1 \\ <br /> 7 \end{array} \right]

Notice that c1 multiplies the first column of the matrix, and c2 and c3 multiply the 2nd and 3rd columns, respectively.

That obtains my original answer which isn't the one I am looking for. (I just did it again that way)
 
  • #12
The ci's in the vector sum and in the matrix equation are the same, so why are you looking for different values? With a given set of vectors, there should be only one linear combination of them that gets you your vector x.

If you changed the coordinates of any of your vectors (such as by rationalizing the denominator), then you'll get a different set of constants, because you are, after all, working with a different set of vectors.
 
  • #13
\frac{-\sqrt{2}}{3}u1+\frac{5}{3}u2


This is the answer and none of the methods posted obtain this.
 
Last edited:
  • #14
Isn't that what you found earlier?

That linear combination is equal to (1,1,1); your row-reduction solution is for x=(1,1,7).
 
  • #15
x=\frac{-13\sqrt{2}}{3}u1+\frac{11}{3}u2.

This is what the answer comes out to be in using all mentions suggested.
 
  • #16
Dustinsfl said:
\frac{-\sqrt{2}}{3}u1+\frac{5}{3}u2


This is the answer and none of the methods posted obtain this.
Does it check? The two answers you posted are easy enough to check.
 
  • #17
Well that was good practice. I have seen the issue. I wrote the problem down wrong; therefore, we all had a fun practice that wasn't needed.

x should be (1,1,1) transpose.

That was fun.
 
Back
Top