Finding the Jordan form and basis for a matrix












1












$begingroup$


I have this matrix $A=left[ {begin{array}{ccc}
-3&3&-2\
-7&6&-3\
1&-1&2\
end{array} } right]$



I computed the characteristic polynomial $C_A(t)=-(t-2)^2(t-1)$



When I go to try and find the eigenvectors and generalized eigenvectors I compute $A-2I=left[ {begin{array}{ccc}
-5&3&-2\
-7&4&-3\
1&-1&0\
end{array} } right]$



Using row reduction $left[ {begin{array}{ccc}
1&-1&0\
0&1&1\
0&0&0\
end{array} } right]x=0$
gives me eigenvectors having the form $e=rleft[ {begin{array}{c}
1\
1\
-1\
end{array} } right]$



$v=left[ {begin{array}{c}
1\
1\
-1\
end{array} } right]$

Is the only eigenvector up to a constant. So I know there is 1 generalized eigenvector and I simply chose this eigenvector to be my initial vector in the cycle.



At this point I know the Jordan form is $J=left[ {begin{array}{ccc}
2&1&0\
0&2&0\
0&0&1\
end{array} } right]$



Now to find the generalized eigenvector I can take an augmented matrix
$left(begin{array}{ccc|c}
5&3&-2&1\
-7&4&1&1\
1&-1&0&-1
end{array}right)$

I row reduced this to the form
$left(begin{array}{ccc|c}
1 & -1 & 0&-1\
0 & 1 & 1&2\
0&0&0&0
end{array}right)$



So I need a vector that satisfies $x_1-x_2=-1$ and $x_2+x_3=2$ I let $x_3=1$



Which gives me a vector $x=left(begin{array}{c}
0\
1\
1
end{array}right)$
which seems to work, so I have a basis for the generalized eigenspace for $lambda=2$



then I need to find a solution for $(A-I)x=0$ for $lambda=1$.



I row reduce $A-I=left[begin{array}{ccc}
-4&3&-2\
-7&5&1\
1&-1&1
end{array}right]$
to get $left[begin{array}{ccc}
1&0&-1\
0&1&-2\
0&0&0
end{array}right]$
and using $(A-I)x=0$ found that all eigenvectors for $lambda=1$ have the form $v=sleft(begin{array}{c}
1\
2\
1
end{array}right)$



So I can make a matrix $Q=left[begin{array}{ccc}
1&1&0\
2&1&1\
1&-1&1
end{array}right]$
s.t $A=QJQ^{-1}$ where the columns of $Q$ are a jordan basis for $J$










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    I stopped reading at the first unclear point: given the characteristic polynomial, how can you be sure that the Jordan normal form is what you have provided? Can't it be the diagonal matrix with $2,2,1$ in the diagonal?
    $endgroup$
    – A. Pongrácz
    Dec 8 '18 at 17:38










  • $begingroup$
    Yes I fixed this. I dont know that until I know the geometric multiplicity of that eigenvalue is 1.
    $endgroup$
    – AColoredReptile
    Dec 8 '18 at 17:42










  • $begingroup$
    Which you can figure out by solving the system of linear equations $(A-2I)x=0$. Try that! (Or compute the rank of $A-2I$ at least, that also helps.)
    $endgroup$
    – A. Pongrácz
    Dec 8 '18 at 17:48












  • $begingroup$
    I found an eigenvector. My problem is finding the generalized eigenvector. I tried to use this eigenvector I found , $v$ and then compute $(A-2I)(x)=v$.
    $endgroup$
    – AColoredReptile
    Dec 8 '18 at 17:51










  • $begingroup$
    You are not focusing on the main point of my comment: compute the rank, and if it is $2$, you need to find $2$ independent eigenvectors, not just one. In that case, the Jordan normal form is diagonal. (You still seem to work under the assumption that the Jordan form has a $2times 2$ block, which it might not...)
    $endgroup$
    – A. Pongrácz
    Dec 8 '18 at 17:54
















1












$begingroup$


I have this matrix $A=left[ {begin{array}{ccc}
-3&3&-2\
-7&6&-3\
1&-1&2\
end{array} } right]$



I computed the characteristic polynomial $C_A(t)=-(t-2)^2(t-1)$



When I go to try and find the eigenvectors and generalized eigenvectors I compute $A-2I=left[ {begin{array}{ccc}
-5&3&-2\
-7&4&-3\
1&-1&0\
end{array} } right]$



Using row reduction $left[ {begin{array}{ccc}
1&-1&0\
0&1&1\
0&0&0\
end{array} } right]x=0$
gives me eigenvectors having the form $e=rleft[ {begin{array}{c}
1\
1\
-1\
end{array} } right]$



$v=left[ {begin{array}{c}
1\
1\
-1\
end{array} } right]$

Is the only eigenvector up to a constant. So I know there is 1 generalized eigenvector and I simply chose this eigenvector to be my initial vector in the cycle.



At this point I know the Jordan form is $J=left[ {begin{array}{ccc}
2&1&0\
0&2&0\
0&0&1\
end{array} } right]$



Now to find the generalized eigenvector I can take an augmented matrix
$left(begin{array}{ccc|c}
5&3&-2&1\
-7&4&1&1\
1&-1&0&-1
end{array}right)$

I row reduced this to the form
$left(begin{array}{ccc|c}
1 & -1 & 0&-1\
0 & 1 & 1&2\
0&0&0&0
end{array}right)$



So I need a vector that satisfies $x_1-x_2=-1$ and $x_2+x_3=2$ I let $x_3=1$



Which gives me a vector $x=left(begin{array}{c}
0\
1\
1
end{array}right)$
which seems to work, so I have a basis for the generalized eigenspace for $lambda=2$



then I need to find a solution for $(A-I)x=0$ for $lambda=1$.



I row reduce $A-I=left[begin{array}{ccc}
-4&3&-2\
-7&5&1\
1&-1&1
end{array}right]$
to get $left[begin{array}{ccc}
1&0&-1\
0&1&-2\
0&0&0
end{array}right]$
and using $(A-I)x=0$ found that all eigenvectors for $lambda=1$ have the form $v=sleft(begin{array}{c}
1\
2\
1
end{array}right)$



So I can make a matrix $Q=left[begin{array}{ccc}
1&1&0\
2&1&1\
1&-1&1
end{array}right]$
s.t $A=QJQ^{-1}$ where the columns of $Q$ are a jordan basis for $J$










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    I stopped reading at the first unclear point: given the characteristic polynomial, how can you be sure that the Jordan normal form is what you have provided? Can't it be the diagonal matrix with $2,2,1$ in the diagonal?
    $endgroup$
    – A. Pongrácz
    Dec 8 '18 at 17:38










  • $begingroup$
    Yes I fixed this. I dont know that until I know the geometric multiplicity of that eigenvalue is 1.
    $endgroup$
    – AColoredReptile
    Dec 8 '18 at 17:42










  • $begingroup$
    Which you can figure out by solving the system of linear equations $(A-2I)x=0$. Try that! (Or compute the rank of $A-2I$ at least, that also helps.)
    $endgroup$
    – A. Pongrácz
    Dec 8 '18 at 17:48












  • $begingroup$
    I found an eigenvector. My problem is finding the generalized eigenvector. I tried to use this eigenvector I found , $v$ and then compute $(A-2I)(x)=v$.
    $endgroup$
    – AColoredReptile
    Dec 8 '18 at 17:51










  • $begingroup$
    You are not focusing on the main point of my comment: compute the rank, and if it is $2$, you need to find $2$ independent eigenvectors, not just one. In that case, the Jordan normal form is diagonal. (You still seem to work under the assumption that the Jordan form has a $2times 2$ block, which it might not...)
    $endgroup$
    – A. Pongrácz
    Dec 8 '18 at 17:54














1












1








1





$begingroup$


I have this matrix $A=left[ {begin{array}{ccc}
-3&3&-2\
-7&6&-3\
1&-1&2\
end{array} } right]$



I computed the characteristic polynomial $C_A(t)=-(t-2)^2(t-1)$



When I go to try and find the eigenvectors and generalized eigenvectors I compute $A-2I=left[ {begin{array}{ccc}
-5&3&-2\
-7&4&-3\
1&-1&0\
end{array} } right]$



Using row reduction $left[ {begin{array}{ccc}
1&-1&0\
0&1&1\
0&0&0\
end{array} } right]x=0$
gives me eigenvectors having the form $e=rleft[ {begin{array}{c}
1\
1\
-1\
end{array} } right]$



$v=left[ {begin{array}{c}
1\
1\
-1\
end{array} } right]$

Is the only eigenvector up to a constant. So I know there is 1 generalized eigenvector and I simply chose this eigenvector to be my initial vector in the cycle.



At this point I know the Jordan form is $J=left[ {begin{array}{ccc}
2&1&0\
0&2&0\
0&0&1\
end{array} } right]$



Now to find the generalized eigenvector I can take an augmented matrix
$left(begin{array}{ccc|c}
5&3&-2&1\
-7&4&1&1\
1&-1&0&-1
end{array}right)$

I row reduced this to the form
$left(begin{array}{ccc|c}
1 & -1 & 0&-1\
0 & 1 & 1&2\
0&0&0&0
end{array}right)$



So I need a vector that satisfies $x_1-x_2=-1$ and $x_2+x_3=2$ I let $x_3=1$



Which gives me a vector $x=left(begin{array}{c}
0\
1\
1
end{array}right)$
which seems to work, so I have a basis for the generalized eigenspace for $lambda=2$



then I need to find a solution for $(A-I)x=0$ for $lambda=1$.



I row reduce $A-I=left[begin{array}{ccc}
-4&3&-2\
-7&5&1\
1&-1&1
end{array}right]$
to get $left[begin{array}{ccc}
1&0&-1\
0&1&-2\
0&0&0
end{array}right]$
and using $(A-I)x=0$ found that all eigenvectors for $lambda=1$ have the form $v=sleft(begin{array}{c}
1\
2\
1
end{array}right)$



So I can make a matrix $Q=left[begin{array}{ccc}
1&1&0\
2&1&1\
1&-1&1
end{array}right]$
s.t $A=QJQ^{-1}$ where the columns of $Q$ are a jordan basis for $J$










share|cite|improve this question











$endgroup$




I have this matrix $A=left[ {begin{array}{ccc}
-3&3&-2\
-7&6&-3\
1&-1&2\
end{array} } right]$



I computed the characteristic polynomial $C_A(t)=-(t-2)^2(t-1)$



When I go to try and find the eigenvectors and generalized eigenvectors I compute $A-2I=left[ {begin{array}{ccc}
-5&3&-2\
-7&4&-3\
1&-1&0\
end{array} } right]$



Using row reduction $left[ {begin{array}{ccc}
1&-1&0\
0&1&1\
0&0&0\
end{array} } right]x=0$
gives me eigenvectors having the form $e=rleft[ {begin{array}{c}
1\
1\
-1\
end{array} } right]$



$v=left[ {begin{array}{c}
1\
1\
-1\
end{array} } right]$

Is the only eigenvector up to a constant. So I know there is 1 generalized eigenvector and I simply chose this eigenvector to be my initial vector in the cycle.



At this point I know the Jordan form is $J=left[ {begin{array}{ccc}
2&1&0\
0&2&0\
0&0&1\
end{array} } right]$



Now to find the generalized eigenvector I can take an augmented matrix
$left(begin{array}{ccc|c}
5&3&-2&1\
-7&4&1&1\
1&-1&0&-1
end{array}right)$

I row reduced this to the form
$left(begin{array}{ccc|c}
1 & -1 & 0&-1\
0 & 1 & 1&2\
0&0&0&0
end{array}right)$



So I need a vector that satisfies $x_1-x_2=-1$ and $x_2+x_3=2$ I let $x_3=1$



Which gives me a vector $x=left(begin{array}{c}
0\
1\
1
end{array}right)$
which seems to work, so I have a basis for the generalized eigenspace for $lambda=2$



then I need to find a solution for $(A-I)x=0$ for $lambda=1$.



I row reduce $A-I=left[begin{array}{ccc}
-4&3&-2\
-7&5&1\
1&-1&1
end{array}right]$
to get $left[begin{array}{ccc}
1&0&-1\
0&1&-2\
0&0&0
end{array}right]$
and using $(A-I)x=0$ found that all eigenvectors for $lambda=1$ have the form $v=sleft(begin{array}{c}
1\
2\
1
end{array}right)$



So I can make a matrix $Q=left[begin{array}{ccc}
1&1&0\
2&1&1\
1&-1&1
end{array}right]$
s.t $A=QJQ^{-1}$ where the columns of $Q$ are a jordan basis for $J$







linear-algebra matrices






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 8 '18 at 18:30







AColoredReptile

















asked Dec 8 '18 at 17:36









AColoredReptileAColoredReptile

23728




23728








  • 1




    $begingroup$
    I stopped reading at the first unclear point: given the characteristic polynomial, how can you be sure that the Jordan normal form is what you have provided? Can't it be the diagonal matrix with $2,2,1$ in the diagonal?
    $endgroup$
    – A. Pongrácz
    Dec 8 '18 at 17:38










  • $begingroup$
    Yes I fixed this. I dont know that until I know the geometric multiplicity of that eigenvalue is 1.
    $endgroup$
    – AColoredReptile
    Dec 8 '18 at 17:42










  • $begingroup$
    Which you can figure out by solving the system of linear equations $(A-2I)x=0$. Try that! (Or compute the rank of $A-2I$ at least, that also helps.)
    $endgroup$
    – A. Pongrácz
    Dec 8 '18 at 17:48












  • $begingroup$
    I found an eigenvector. My problem is finding the generalized eigenvector. I tried to use this eigenvector I found , $v$ and then compute $(A-2I)(x)=v$.
    $endgroup$
    – AColoredReptile
    Dec 8 '18 at 17:51










  • $begingroup$
    You are not focusing on the main point of my comment: compute the rank, and if it is $2$, you need to find $2$ independent eigenvectors, not just one. In that case, the Jordan normal form is diagonal. (You still seem to work under the assumption that the Jordan form has a $2times 2$ block, which it might not...)
    $endgroup$
    – A. Pongrácz
    Dec 8 '18 at 17:54














  • 1




    $begingroup$
    I stopped reading at the first unclear point: given the characteristic polynomial, how can you be sure that the Jordan normal form is what you have provided? Can't it be the diagonal matrix with $2,2,1$ in the diagonal?
    $endgroup$
    – A. Pongrácz
    Dec 8 '18 at 17:38










  • $begingroup$
    Yes I fixed this. I dont know that until I know the geometric multiplicity of that eigenvalue is 1.
    $endgroup$
    – AColoredReptile
    Dec 8 '18 at 17:42










  • $begingroup$
    Which you can figure out by solving the system of linear equations $(A-2I)x=0$. Try that! (Or compute the rank of $A-2I$ at least, that also helps.)
    $endgroup$
    – A. Pongrácz
    Dec 8 '18 at 17:48












  • $begingroup$
    I found an eigenvector. My problem is finding the generalized eigenvector. I tried to use this eigenvector I found , $v$ and then compute $(A-2I)(x)=v$.
    $endgroup$
    – AColoredReptile
    Dec 8 '18 at 17:51










  • $begingroup$
    You are not focusing on the main point of my comment: compute the rank, and if it is $2$, you need to find $2$ independent eigenvectors, not just one. In that case, the Jordan normal form is diagonal. (You still seem to work under the assumption that the Jordan form has a $2times 2$ block, which it might not...)
    $endgroup$
    – A. Pongrácz
    Dec 8 '18 at 17:54








1




1




$begingroup$
I stopped reading at the first unclear point: given the characteristic polynomial, how can you be sure that the Jordan normal form is what you have provided? Can't it be the diagonal matrix with $2,2,1$ in the diagonal?
$endgroup$
– A. Pongrácz
Dec 8 '18 at 17:38




$begingroup$
I stopped reading at the first unclear point: given the characteristic polynomial, how can you be sure that the Jordan normal form is what you have provided? Can't it be the diagonal matrix with $2,2,1$ in the diagonal?
$endgroup$
– A. Pongrácz
Dec 8 '18 at 17:38












$begingroup$
Yes I fixed this. I dont know that until I know the geometric multiplicity of that eigenvalue is 1.
$endgroup$
– AColoredReptile
Dec 8 '18 at 17:42




$begingroup$
Yes I fixed this. I dont know that until I know the geometric multiplicity of that eigenvalue is 1.
$endgroup$
– AColoredReptile
Dec 8 '18 at 17:42












$begingroup$
Which you can figure out by solving the system of linear equations $(A-2I)x=0$. Try that! (Or compute the rank of $A-2I$ at least, that also helps.)
$endgroup$
– A. Pongrácz
Dec 8 '18 at 17:48






$begingroup$
Which you can figure out by solving the system of linear equations $(A-2I)x=0$. Try that! (Or compute the rank of $A-2I$ at least, that also helps.)
$endgroup$
– A. Pongrácz
Dec 8 '18 at 17:48














$begingroup$
I found an eigenvector. My problem is finding the generalized eigenvector. I tried to use this eigenvector I found , $v$ and then compute $(A-2I)(x)=v$.
$endgroup$
– AColoredReptile
Dec 8 '18 at 17:51




$begingroup$
I found an eigenvector. My problem is finding the generalized eigenvector. I tried to use this eigenvector I found , $v$ and then compute $(A-2I)(x)=v$.
$endgroup$
– AColoredReptile
Dec 8 '18 at 17:51












$begingroup$
You are not focusing on the main point of my comment: compute the rank, and if it is $2$, you need to find $2$ independent eigenvectors, not just one. In that case, the Jordan normal form is diagonal. (You still seem to work under the assumption that the Jordan form has a $2times 2$ block, which it might not...)
$endgroup$
– A. Pongrácz
Dec 8 '18 at 17:54




$begingroup$
You are not focusing on the main point of my comment: compute the rank, and if it is $2$, you need to find $2$ independent eigenvectors, not just one. In that case, the Jordan normal form is diagonal. (You still seem to work under the assumption that the Jordan form has a $2times 2$ block, which it might not...)
$endgroup$
– A. Pongrácz
Dec 8 '18 at 17:54










1 Answer
1






active

oldest

votes


















0












$begingroup$

Because you are looking for a Jordan canonical basis, $Ax = 2x+v$, where $x$ is the generalized eigenvector you're looking for. Equivalently, $(A-2I)x = v$. Applying $A-2I$ one more time to each side will give you the following statement: $(A-2I)^{2}x = 0$.



So, your generalized eigenvector is in the nullspace of $(A-2I)^2$, and it is not in the nullspace of $(A-2I)$. Can you finish from there?






share|cite|improve this answer









$endgroup$













  • $begingroup$
    I believe I finished.
    $endgroup$
    – AColoredReptile
    Dec 8 '18 at 18:31











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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3031391%2ffinding-the-jordan-form-and-basis-for-a-matrix%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0












$begingroup$

Because you are looking for a Jordan canonical basis, $Ax = 2x+v$, where $x$ is the generalized eigenvector you're looking for. Equivalently, $(A-2I)x = v$. Applying $A-2I$ one more time to each side will give you the following statement: $(A-2I)^{2}x = 0$.



So, your generalized eigenvector is in the nullspace of $(A-2I)^2$, and it is not in the nullspace of $(A-2I)$. Can you finish from there?






share|cite|improve this answer









$endgroup$













  • $begingroup$
    I believe I finished.
    $endgroup$
    – AColoredReptile
    Dec 8 '18 at 18:31
















0












$begingroup$

Because you are looking for a Jordan canonical basis, $Ax = 2x+v$, where $x$ is the generalized eigenvector you're looking for. Equivalently, $(A-2I)x = v$. Applying $A-2I$ one more time to each side will give you the following statement: $(A-2I)^{2}x = 0$.



So, your generalized eigenvector is in the nullspace of $(A-2I)^2$, and it is not in the nullspace of $(A-2I)$. Can you finish from there?






share|cite|improve this answer









$endgroup$













  • $begingroup$
    I believe I finished.
    $endgroup$
    – AColoredReptile
    Dec 8 '18 at 18:31














0












0








0





$begingroup$

Because you are looking for a Jordan canonical basis, $Ax = 2x+v$, where $x$ is the generalized eigenvector you're looking for. Equivalently, $(A-2I)x = v$. Applying $A-2I$ one more time to each side will give you the following statement: $(A-2I)^{2}x = 0$.



So, your generalized eigenvector is in the nullspace of $(A-2I)^2$, and it is not in the nullspace of $(A-2I)$. Can you finish from there?






share|cite|improve this answer









$endgroup$



Because you are looking for a Jordan canonical basis, $Ax = 2x+v$, where $x$ is the generalized eigenvector you're looking for. Equivalently, $(A-2I)x = v$. Applying $A-2I$ one more time to each side will give you the following statement: $(A-2I)^{2}x = 0$.



So, your generalized eigenvector is in the nullspace of $(A-2I)^2$, and it is not in the nullspace of $(A-2I)$. Can you finish from there?







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Dec 8 '18 at 18:25









Adam CartisanoAdam Cartisano

1764




1764












  • $begingroup$
    I believe I finished.
    $endgroup$
    – AColoredReptile
    Dec 8 '18 at 18:31


















  • $begingroup$
    I believe I finished.
    $endgroup$
    – AColoredReptile
    Dec 8 '18 at 18:31
















$begingroup$
I believe I finished.
$endgroup$
– AColoredReptile
Dec 8 '18 at 18:31




$begingroup$
I believe I finished.
$endgroup$
– AColoredReptile
Dec 8 '18 at 18:31


















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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3031391%2ffinding-the-jordan-form-and-basis-for-a-matrix%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

Plaza Victoria

In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...