Find basis for intersection of span of vectors and equation











up vote
1
down vote

favorite












I have two subspaces $U=x_1+2x_2+x_3-3x_4+x_5=0$ and $V=text{span}((1, 2, 0, 1, -1)^t, (-1, 0, 3, 2, 0)^t, (1, 0, 0, 0, 1)^t, (0, 2, -3, -1, -3))$



I rewrote $U$ as
$
begin{pmatrix}x_1 \ x_2 \ x_3 \ x_4 \ x_5
end{pmatrix}
=
begin{pmatrix}
-2 & -1 & 3 & -1 \
1 & 0 & 0 & 0 \
0 & 1 & 0 & 0 \
0 & 0 & 1 & 0 \
0 & 0 & 0 & 1
end{pmatrix}
begin{pmatrix} x_2 \ x_3 \ x_4 \ x_5
end{pmatrix}
$
.



I also figured out that the last vector of $V$ is linearly dependent on the other three, so only the first three are necessary for the span, I put this into a matrix and performed row reduction:



$begin{pmatrix}x_1 \ x_2 \ x_3 \ x_4 \ x_5 end{pmatrix}=
begin{pmatrix}
1 & 0 & 0 & 1 \
0 & 1 & 0 & -1 \
0 & 0 & 1 & -2 \
0 & 0 & 0 & 0 \
0 & 0 & 0 & 0
end{pmatrix}
begin{pmatrix}
lambda_1 \ lambda_2 \ lambda_3 \ lambda_4
end{pmatrix}$



Then I tried inserting the vectors of $V$ into the equation for $U$ like so: $(lambda_1 + lambda_4)+2(lambda_2-lambda_4)+(lambda_3-2lambda_4)-3(0)+0=0$. I then rewrote as
$begin{pmatrix}
lambda_1 \
lambda_2 \
lambda_3 \
lambda_4 \
end{pmatrix}
=
lambda_2
begin{pmatrix}
-2 \ 1 \ 0 \ 0
end{pmatrix}
+
lambda_3
begin{pmatrix}
-1 \ 0 \ 1\ 0
end{pmatrix}
+
lambda_4
begin{pmatrix}
3 \ 0 \ 0 \ 1
end{pmatrix}
=
begin{pmatrix}
-2 & -1 & 3 \
1 & 0 & 0 \
0 & 1 & 0 \
0 & 0 & 1
end{pmatrix}
begin{pmatrix}
lambda_2 \ lambda_3 \ lambda_4
end{pmatrix}$



And by rewriting into row-echelon form, I found that all three columns together form a basis for $Ucap V$.



But using this suggestion, I found that the dimension of the intersection is 2, ( I put the first four (all of them) columns of the matrix in the rewritten $U$ form and the first three columns of the rewritten $V$ matrix next to each other and performed some row reduction) and found five pivot elements and two non-pivot variables, so I concluded that the dimension is two, in contradiction with all of the above.



So my question is, is my thinking incorrect in that I can put the vectors of one subspace into the equation of another, or am I making a mistake here, or did I not correctly apply the suggested answer link?










share|cite|improve this question
























  • How are the columns of that last matrix a basis for any subspace of $mathbb R^5$ when they’re not even elements of $mathbb R^5$ in the first place?
    – amd
    Dec 2 at 1:59












  • @amd Hmm, Ucap V should indeed be a subspace of R^5, where is my analysis going wrong?
    – The Coding Wombat
    2 days ago















up vote
1
down vote

favorite












I have two subspaces $U=x_1+2x_2+x_3-3x_4+x_5=0$ and $V=text{span}((1, 2, 0, 1, -1)^t, (-1, 0, 3, 2, 0)^t, (1, 0, 0, 0, 1)^t, (0, 2, -3, -1, -3))$



I rewrote $U$ as
$
begin{pmatrix}x_1 \ x_2 \ x_3 \ x_4 \ x_5
end{pmatrix}
=
begin{pmatrix}
-2 & -1 & 3 & -1 \
1 & 0 & 0 & 0 \
0 & 1 & 0 & 0 \
0 & 0 & 1 & 0 \
0 & 0 & 0 & 1
end{pmatrix}
begin{pmatrix} x_2 \ x_3 \ x_4 \ x_5
end{pmatrix}
$
.



I also figured out that the last vector of $V$ is linearly dependent on the other three, so only the first three are necessary for the span, I put this into a matrix and performed row reduction:



$begin{pmatrix}x_1 \ x_2 \ x_3 \ x_4 \ x_5 end{pmatrix}=
begin{pmatrix}
1 & 0 & 0 & 1 \
0 & 1 & 0 & -1 \
0 & 0 & 1 & -2 \
0 & 0 & 0 & 0 \
0 & 0 & 0 & 0
end{pmatrix}
begin{pmatrix}
lambda_1 \ lambda_2 \ lambda_3 \ lambda_4
end{pmatrix}$



Then I tried inserting the vectors of $V$ into the equation for $U$ like so: $(lambda_1 + lambda_4)+2(lambda_2-lambda_4)+(lambda_3-2lambda_4)-3(0)+0=0$. I then rewrote as
$begin{pmatrix}
lambda_1 \
lambda_2 \
lambda_3 \
lambda_4 \
end{pmatrix}
=
lambda_2
begin{pmatrix}
-2 \ 1 \ 0 \ 0
end{pmatrix}
+
lambda_3
begin{pmatrix}
-1 \ 0 \ 1\ 0
end{pmatrix}
+
lambda_4
begin{pmatrix}
3 \ 0 \ 0 \ 1
end{pmatrix}
=
begin{pmatrix}
-2 & -1 & 3 \
1 & 0 & 0 \
0 & 1 & 0 \
0 & 0 & 1
end{pmatrix}
begin{pmatrix}
lambda_2 \ lambda_3 \ lambda_4
end{pmatrix}$



And by rewriting into row-echelon form, I found that all three columns together form a basis for $Ucap V$.



But using this suggestion, I found that the dimension of the intersection is 2, ( I put the first four (all of them) columns of the matrix in the rewritten $U$ form and the first three columns of the rewritten $V$ matrix next to each other and performed some row reduction) and found five pivot elements and two non-pivot variables, so I concluded that the dimension is two, in contradiction with all of the above.



So my question is, is my thinking incorrect in that I can put the vectors of one subspace into the equation of another, or am I making a mistake here, or did I not correctly apply the suggested answer link?










share|cite|improve this question
























  • How are the columns of that last matrix a basis for any subspace of $mathbb R^5$ when they’re not even elements of $mathbb R^5$ in the first place?
    – amd
    Dec 2 at 1:59












  • @amd Hmm, Ucap V should indeed be a subspace of R^5, where is my analysis going wrong?
    – The Coding Wombat
    2 days ago













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I have two subspaces $U=x_1+2x_2+x_3-3x_4+x_5=0$ and $V=text{span}((1, 2, 0, 1, -1)^t, (-1, 0, 3, 2, 0)^t, (1, 0, 0, 0, 1)^t, (0, 2, -3, -1, -3))$



I rewrote $U$ as
$
begin{pmatrix}x_1 \ x_2 \ x_3 \ x_4 \ x_5
end{pmatrix}
=
begin{pmatrix}
-2 & -1 & 3 & -1 \
1 & 0 & 0 & 0 \
0 & 1 & 0 & 0 \
0 & 0 & 1 & 0 \
0 & 0 & 0 & 1
end{pmatrix}
begin{pmatrix} x_2 \ x_3 \ x_4 \ x_5
end{pmatrix}
$
.



I also figured out that the last vector of $V$ is linearly dependent on the other three, so only the first three are necessary for the span, I put this into a matrix and performed row reduction:



$begin{pmatrix}x_1 \ x_2 \ x_3 \ x_4 \ x_5 end{pmatrix}=
begin{pmatrix}
1 & 0 & 0 & 1 \
0 & 1 & 0 & -1 \
0 & 0 & 1 & -2 \
0 & 0 & 0 & 0 \
0 & 0 & 0 & 0
end{pmatrix}
begin{pmatrix}
lambda_1 \ lambda_2 \ lambda_3 \ lambda_4
end{pmatrix}$



Then I tried inserting the vectors of $V$ into the equation for $U$ like so: $(lambda_1 + lambda_4)+2(lambda_2-lambda_4)+(lambda_3-2lambda_4)-3(0)+0=0$. I then rewrote as
$begin{pmatrix}
lambda_1 \
lambda_2 \
lambda_3 \
lambda_4 \
end{pmatrix}
=
lambda_2
begin{pmatrix}
-2 \ 1 \ 0 \ 0
end{pmatrix}
+
lambda_3
begin{pmatrix}
-1 \ 0 \ 1\ 0
end{pmatrix}
+
lambda_4
begin{pmatrix}
3 \ 0 \ 0 \ 1
end{pmatrix}
=
begin{pmatrix}
-2 & -1 & 3 \
1 & 0 & 0 \
0 & 1 & 0 \
0 & 0 & 1
end{pmatrix}
begin{pmatrix}
lambda_2 \ lambda_3 \ lambda_4
end{pmatrix}$



And by rewriting into row-echelon form, I found that all three columns together form a basis for $Ucap V$.



But using this suggestion, I found that the dimension of the intersection is 2, ( I put the first four (all of them) columns of the matrix in the rewritten $U$ form and the first three columns of the rewritten $V$ matrix next to each other and performed some row reduction) and found five pivot elements and two non-pivot variables, so I concluded that the dimension is two, in contradiction with all of the above.



So my question is, is my thinking incorrect in that I can put the vectors of one subspace into the equation of another, or am I making a mistake here, or did I not correctly apply the suggested answer link?










share|cite|improve this question















I have two subspaces $U=x_1+2x_2+x_3-3x_4+x_5=0$ and $V=text{span}((1, 2, 0, 1, -1)^t, (-1, 0, 3, 2, 0)^t, (1, 0, 0, 0, 1)^t, (0, 2, -3, -1, -3))$



I rewrote $U$ as
$
begin{pmatrix}x_1 \ x_2 \ x_3 \ x_4 \ x_5
end{pmatrix}
=
begin{pmatrix}
-2 & -1 & 3 & -1 \
1 & 0 & 0 & 0 \
0 & 1 & 0 & 0 \
0 & 0 & 1 & 0 \
0 & 0 & 0 & 1
end{pmatrix}
begin{pmatrix} x_2 \ x_3 \ x_4 \ x_5
end{pmatrix}
$
.



I also figured out that the last vector of $V$ is linearly dependent on the other three, so only the first three are necessary for the span, I put this into a matrix and performed row reduction:



$begin{pmatrix}x_1 \ x_2 \ x_3 \ x_4 \ x_5 end{pmatrix}=
begin{pmatrix}
1 & 0 & 0 & 1 \
0 & 1 & 0 & -1 \
0 & 0 & 1 & -2 \
0 & 0 & 0 & 0 \
0 & 0 & 0 & 0
end{pmatrix}
begin{pmatrix}
lambda_1 \ lambda_2 \ lambda_3 \ lambda_4
end{pmatrix}$



Then I tried inserting the vectors of $V$ into the equation for $U$ like so: $(lambda_1 + lambda_4)+2(lambda_2-lambda_4)+(lambda_3-2lambda_4)-3(0)+0=0$. I then rewrote as
$begin{pmatrix}
lambda_1 \
lambda_2 \
lambda_3 \
lambda_4 \
end{pmatrix}
=
lambda_2
begin{pmatrix}
-2 \ 1 \ 0 \ 0
end{pmatrix}
+
lambda_3
begin{pmatrix}
-1 \ 0 \ 1\ 0
end{pmatrix}
+
lambda_4
begin{pmatrix}
3 \ 0 \ 0 \ 1
end{pmatrix}
=
begin{pmatrix}
-2 & -1 & 3 \
1 & 0 & 0 \
0 & 1 & 0 \
0 & 0 & 1
end{pmatrix}
begin{pmatrix}
lambda_2 \ lambda_3 \ lambda_4
end{pmatrix}$



And by rewriting into row-echelon form, I found that all three columns together form a basis for $Ucap V$.



But using this suggestion, I found that the dimension of the intersection is 2, ( I put the first four (all of them) columns of the matrix in the rewritten $U$ form and the first three columns of the rewritten $V$ matrix next to each other and performed some row reduction) and found five pivot elements and two non-pivot variables, so I concluded that the dimension is two, in contradiction with all of the above.



So my question is, is my thinking incorrect in that I can put the vectors of one subspace into the equation of another, or am I making a mistake here, or did I not correctly apply the suggested answer link?







linear-algebra vector-spaces






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited 2 days ago

























asked Dec 1 at 12:41









The Coding Wombat

1879




1879












  • How are the columns of that last matrix a basis for any subspace of $mathbb R^5$ when they’re not even elements of $mathbb R^5$ in the first place?
    – amd
    Dec 2 at 1:59












  • @amd Hmm, Ucap V should indeed be a subspace of R^5, where is my analysis going wrong?
    – The Coding Wombat
    2 days ago


















  • How are the columns of that last matrix a basis for any subspace of $mathbb R^5$ when they’re not even elements of $mathbb R^5$ in the first place?
    – amd
    Dec 2 at 1:59












  • @amd Hmm, Ucap V should indeed be a subspace of R^5, where is my analysis going wrong?
    – The Coding Wombat
    2 days ago
















How are the columns of that last matrix a basis for any subspace of $mathbb R^5$ when they’re not even elements of $mathbb R^5$ in the first place?
– amd
Dec 2 at 1:59






How are the columns of that last matrix a basis for any subspace of $mathbb R^5$ when they’re not even elements of $mathbb R^5$ in the first place?
– amd
Dec 2 at 1:59














@amd Hmm, Ucap V should indeed be a subspace of R^5, where is my analysis going wrong?
– The Coding Wombat
2 days ago




@amd Hmm, Ucap V should indeed be a subspace of R^5, where is my analysis going wrong?
– The Coding Wombat
2 days ago















active

oldest

votes











Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3021284%2ffind-basis-for-intersection-of-span-of-vectors-and-equation%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3021284%2ffind-basis-for-intersection-of-span-of-vectors-and-equation%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Måne

Storängen

VLT Carioca