How can I find rank of $A=sum_{i=1}^4 x_ix_i^T$ without actually finding the matrix $A$?
$begingroup$
Suppose $A=sumlimits_{i=1}^4 x_ix_i^T$ where
$x_1=(1,-1,1,0)^T,x_2=(1,1,0,1)^T,x_3=(1,3,1,0)^T$ and $x_4=(1,1,1,0)^T$.
How can I find the rank of $A$ without explicitly finding the matrix $A$ and then transforming $A$ to an echelon matrix?
I know that $operatorname{rank}(A)=3$ proceeding the usual way.
We have $operatorname{rank}(x_ix_i^T)=1$ for each $i$, but that doesn't help me much here. Also, $x_1=2x_4-x_3$. Does that imply there are $3$ linearly independent rows/columns in $A$?
As this question was supposed to be solved in the exam with limited time at hand, I am left to wonder if it can be solved rather quickly.
linear-algebra matrix-rank
$endgroup$
add a comment |
$begingroup$
Suppose $A=sumlimits_{i=1}^4 x_ix_i^T$ where
$x_1=(1,-1,1,0)^T,x_2=(1,1,0,1)^T,x_3=(1,3,1,0)^T$ and $x_4=(1,1,1,0)^T$.
How can I find the rank of $A$ without explicitly finding the matrix $A$ and then transforming $A$ to an echelon matrix?
I know that $operatorname{rank}(A)=3$ proceeding the usual way.
We have $operatorname{rank}(x_ix_i^T)=1$ for each $i$, but that doesn't help me much here. Also, $x_1=2x_4-x_3$. Does that imply there are $3$ linearly independent rows/columns in $A$?
As this question was supposed to be solved in the exam with limited time at hand, I am left to wonder if it can be solved rather quickly.
linear-algebra matrix-rank
$endgroup$
add a comment |
$begingroup$
Suppose $A=sumlimits_{i=1}^4 x_ix_i^T$ where
$x_1=(1,-1,1,0)^T,x_2=(1,1,0,1)^T,x_3=(1,3,1,0)^T$ and $x_4=(1,1,1,0)^T$.
How can I find the rank of $A$ without explicitly finding the matrix $A$ and then transforming $A$ to an echelon matrix?
I know that $operatorname{rank}(A)=3$ proceeding the usual way.
We have $operatorname{rank}(x_ix_i^T)=1$ for each $i$, but that doesn't help me much here. Also, $x_1=2x_4-x_3$. Does that imply there are $3$ linearly independent rows/columns in $A$?
As this question was supposed to be solved in the exam with limited time at hand, I am left to wonder if it can be solved rather quickly.
linear-algebra matrix-rank
$endgroup$
Suppose $A=sumlimits_{i=1}^4 x_ix_i^T$ where
$x_1=(1,-1,1,0)^T,x_2=(1,1,0,1)^T,x_3=(1,3,1,0)^T$ and $x_4=(1,1,1,0)^T$.
How can I find the rank of $A$ without explicitly finding the matrix $A$ and then transforming $A$ to an echelon matrix?
I know that $operatorname{rank}(A)=3$ proceeding the usual way.
We have $operatorname{rank}(x_ix_i^T)=1$ for each $i$, but that doesn't help me much here. Also, $x_1=2x_4-x_3$. Does that imply there are $3$ linearly independent rows/columns in $A$?
As this question was supposed to be solved in the exam with limited time at hand, I am left to wonder if it can be solved rather quickly.
linear-algebra matrix-rank
linear-algebra matrix-rank
asked Jan 3 at 14:41
StubbornAtomStubbornAtom
6,29831440
6,29831440
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
$begingroup$
The matrix $A$ can be written as $A=XX^T$ where $X=[x_1 x_2 x_3 x_4]$. Now use the fact that $operatorname{rank}XX^T=operatorname{rank}X$, so all you need to do is the find the rank of $X$.
$endgroup$
$begingroup$
Thank you. I overlooked this decomposition.
$endgroup$
– StubbornAtom
Jan 3 at 15:26
add a comment |
$begingroup$
The rank of $A$ is by definition the dimension of the range, and the range is spanned by ${x_1, x_2, x_3, x_4}$. Thus it suffices to find the dimension of this span.
Since both $x_1, x_3, x_4$ has $0$ in the fourth entries while $x_2$ does not. Thus if you can show that $operatorname{span}{x_1, x_3, x_4}$ is two dimensional, then the span of ${x_1, x_2, x_3, x_4}$ is three dimensional.
You know already that $operatorname{span}{x_1, x_3, x_4}$ is at most two dimensional. That it is exactly two is easy, since obviously (e.g.) ${x_1, x_4}$ is linearly independent.
$endgroup$
add a comment |
$begingroup$
Observe that for any vector $c$,
$$Ac = sum_{i=1}^{4} x_ix_i^Tc = sum_{i=1}^{4} (x^Tc)x_i$$
The image of a linear map is a vector space. That means that for every $Ac$ we can find some set of vectors which spans this set. Can you find such a set (even if the set is linearly dependent)? If you can find such a set, then you just need to count how many linearly independent vectors you need to span the same space (i.e. remove vectors which are linearly dependent).
$endgroup$
$begingroup$
How does $x_i x_i^T c$ equal $(x_i^T c) x_i$?
$endgroup$
– StubbornAtom
Jan 3 at 15:04
1
$begingroup$
$x_i^Tc$ is a scalar, so you can move it around
$endgroup$
– tch
Jan 3 at 15:14
$begingroup$
Oh I see $c$ is a vector.
$endgroup$
– StubbornAtom
Jan 3 at 15:20
add a comment |
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',
autoActivateHeartbeat: false,
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3060610%2fhow-can-i-find-rank-of-a-sum-i-14-x-ix-it-without-actually-finding-the-ma%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
The matrix $A$ can be written as $A=XX^T$ where $X=[x_1 x_2 x_3 x_4]$. Now use the fact that $operatorname{rank}XX^T=operatorname{rank}X$, so all you need to do is the find the rank of $X$.
$endgroup$
$begingroup$
Thank you. I overlooked this decomposition.
$endgroup$
– StubbornAtom
Jan 3 at 15:26
add a comment |
$begingroup$
The matrix $A$ can be written as $A=XX^T$ where $X=[x_1 x_2 x_3 x_4]$. Now use the fact that $operatorname{rank}XX^T=operatorname{rank}X$, so all you need to do is the find the rank of $X$.
$endgroup$
$begingroup$
Thank you. I overlooked this decomposition.
$endgroup$
– StubbornAtom
Jan 3 at 15:26
add a comment |
$begingroup$
The matrix $A$ can be written as $A=XX^T$ where $X=[x_1 x_2 x_3 x_4]$. Now use the fact that $operatorname{rank}XX^T=operatorname{rank}X$, so all you need to do is the find the rank of $X$.
$endgroup$
The matrix $A$ can be written as $A=XX^T$ where $X=[x_1 x_2 x_3 x_4]$. Now use the fact that $operatorname{rank}XX^T=operatorname{rank}X$, so all you need to do is the find the rank of $X$.
answered Jan 3 at 15:13
A.Γ.A.Γ.
22.9k32656
22.9k32656
$begingroup$
Thank you. I overlooked this decomposition.
$endgroup$
– StubbornAtom
Jan 3 at 15:26
add a comment |
$begingroup$
Thank you. I overlooked this decomposition.
$endgroup$
– StubbornAtom
Jan 3 at 15:26
$begingroup$
Thank you. I overlooked this decomposition.
$endgroup$
– StubbornAtom
Jan 3 at 15:26
$begingroup$
Thank you. I overlooked this decomposition.
$endgroup$
– StubbornAtom
Jan 3 at 15:26
add a comment |
$begingroup$
The rank of $A$ is by definition the dimension of the range, and the range is spanned by ${x_1, x_2, x_3, x_4}$. Thus it suffices to find the dimension of this span.
Since both $x_1, x_3, x_4$ has $0$ in the fourth entries while $x_2$ does not. Thus if you can show that $operatorname{span}{x_1, x_3, x_4}$ is two dimensional, then the span of ${x_1, x_2, x_3, x_4}$ is three dimensional.
You know already that $operatorname{span}{x_1, x_3, x_4}$ is at most two dimensional. That it is exactly two is easy, since obviously (e.g.) ${x_1, x_4}$ is linearly independent.
$endgroup$
add a comment |
$begingroup$
The rank of $A$ is by definition the dimension of the range, and the range is spanned by ${x_1, x_2, x_3, x_4}$. Thus it suffices to find the dimension of this span.
Since both $x_1, x_3, x_4$ has $0$ in the fourth entries while $x_2$ does not. Thus if you can show that $operatorname{span}{x_1, x_3, x_4}$ is two dimensional, then the span of ${x_1, x_2, x_3, x_4}$ is three dimensional.
You know already that $operatorname{span}{x_1, x_3, x_4}$ is at most two dimensional. That it is exactly two is easy, since obviously (e.g.) ${x_1, x_4}$ is linearly independent.
$endgroup$
add a comment |
$begingroup$
The rank of $A$ is by definition the dimension of the range, and the range is spanned by ${x_1, x_2, x_3, x_4}$. Thus it suffices to find the dimension of this span.
Since both $x_1, x_3, x_4$ has $0$ in the fourth entries while $x_2$ does not. Thus if you can show that $operatorname{span}{x_1, x_3, x_4}$ is two dimensional, then the span of ${x_1, x_2, x_3, x_4}$ is three dimensional.
You know already that $operatorname{span}{x_1, x_3, x_4}$ is at most two dimensional. That it is exactly two is easy, since obviously (e.g.) ${x_1, x_4}$ is linearly independent.
$endgroup$
The rank of $A$ is by definition the dimension of the range, and the range is spanned by ${x_1, x_2, x_3, x_4}$. Thus it suffices to find the dimension of this span.
Since both $x_1, x_3, x_4$ has $0$ in the fourth entries while $x_2$ does not. Thus if you can show that $operatorname{span}{x_1, x_3, x_4}$ is two dimensional, then the span of ${x_1, x_2, x_3, x_4}$ is three dimensional.
You know already that $operatorname{span}{x_1, x_3, x_4}$ is at most two dimensional. That it is exactly two is easy, since obviously (e.g.) ${x_1, x_4}$ is linearly independent.
answered Jan 3 at 14:45
Arctic CharArctic Char
301114
301114
add a comment |
add a comment |
$begingroup$
Observe that for any vector $c$,
$$Ac = sum_{i=1}^{4} x_ix_i^Tc = sum_{i=1}^{4} (x^Tc)x_i$$
The image of a linear map is a vector space. That means that for every $Ac$ we can find some set of vectors which spans this set. Can you find such a set (even if the set is linearly dependent)? If you can find such a set, then you just need to count how many linearly independent vectors you need to span the same space (i.e. remove vectors which are linearly dependent).
$endgroup$
$begingroup$
How does $x_i x_i^T c$ equal $(x_i^T c) x_i$?
$endgroup$
– StubbornAtom
Jan 3 at 15:04
1
$begingroup$
$x_i^Tc$ is a scalar, so you can move it around
$endgroup$
– tch
Jan 3 at 15:14
$begingroup$
Oh I see $c$ is a vector.
$endgroup$
– StubbornAtom
Jan 3 at 15:20
add a comment |
$begingroup$
Observe that for any vector $c$,
$$Ac = sum_{i=1}^{4} x_ix_i^Tc = sum_{i=1}^{4} (x^Tc)x_i$$
The image of a linear map is a vector space. That means that for every $Ac$ we can find some set of vectors which spans this set. Can you find such a set (even if the set is linearly dependent)? If you can find such a set, then you just need to count how many linearly independent vectors you need to span the same space (i.e. remove vectors which are linearly dependent).
$endgroup$
$begingroup$
How does $x_i x_i^T c$ equal $(x_i^T c) x_i$?
$endgroup$
– StubbornAtom
Jan 3 at 15:04
1
$begingroup$
$x_i^Tc$ is a scalar, so you can move it around
$endgroup$
– tch
Jan 3 at 15:14
$begingroup$
Oh I see $c$ is a vector.
$endgroup$
– StubbornAtom
Jan 3 at 15:20
add a comment |
$begingroup$
Observe that for any vector $c$,
$$Ac = sum_{i=1}^{4} x_ix_i^Tc = sum_{i=1}^{4} (x^Tc)x_i$$
The image of a linear map is a vector space. That means that for every $Ac$ we can find some set of vectors which spans this set. Can you find such a set (even if the set is linearly dependent)? If you can find such a set, then you just need to count how many linearly independent vectors you need to span the same space (i.e. remove vectors which are linearly dependent).
$endgroup$
Observe that for any vector $c$,
$$Ac = sum_{i=1}^{4} x_ix_i^Tc = sum_{i=1}^{4} (x^Tc)x_i$$
The image of a linear map is a vector space. That means that for every $Ac$ we can find some set of vectors which spans this set. Can you find such a set (even if the set is linearly dependent)? If you can find such a set, then you just need to count how many linearly independent vectors you need to span the same space (i.e. remove vectors which are linearly dependent).
answered Jan 3 at 14:49
tchtch
833310
833310
$begingroup$
How does $x_i x_i^T c$ equal $(x_i^T c) x_i$?
$endgroup$
– StubbornAtom
Jan 3 at 15:04
1
$begingroup$
$x_i^Tc$ is a scalar, so you can move it around
$endgroup$
– tch
Jan 3 at 15:14
$begingroup$
Oh I see $c$ is a vector.
$endgroup$
– StubbornAtom
Jan 3 at 15:20
add a comment |
$begingroup$
How does $x_i x_i^T c$ equal $(x_i^T c) x_i$?
$endgroup$
– StubbornAtom
Jan 3 at 15:04
1
$begingroup$
$x_i^Tc$ is a scalar, so you can move it around
$endgroup$
– tch
Jan 3 at 15:14
$begingroup$
Oh I see $c$ is a vector.
$endgroup$
– StubbornAtom
Jan 3 at 15:20
$begingroup$
How does $x_i x_i^T c$ equal $(x_i^T c) x_i$?
$endgroup$
– StubbornAtom
Jan 3 at 15:04
$begingroup$
How does $x_i x_i^T c$ equal $(x_i^T c) x_i$?
$endgroup$
– StubbornAtom
Jan 3 at 15:04
1
1
$begingroup$
$x_i^Tc$ is a scalar, so you can move it around
$endgroup$
– tch
Jan 3 at 15:14
$begingroup$
$x_i^Tc$ is a scalar, so you can move it around
$endgroup$
– tch
Jan 3 at 15:14
$begingroup$
Oh I see $c$ is a vector.
$endgroup$
– StubbornAtom
Jan 3 at 15:20
$begingroup$
Oh I see $c$ is a vector.
$endgroup$
– StubbornAtom
Jan 3 at 15:20
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3060610%2fhow-can-i-find-rank-of-a-sum-i-14-x-ix-it-without-actually-finding-the-ma%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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