Stuck with matrix equation












2














I'm trying to solve a matrix equation problem and I can't work out the correct form for the equation for it to be valid.



The matrices given are:



A= $begin{bmatrix}
1 & -1 & 3\
4 & 1 & 5\
0 & 0 & 0\
end{bmatrix}$
, B= $begin{bmatrix}
1 & -1\
3 & 6\
1 & 0\
end{bmatrix}$
, C= $begin{bmatrix}
-1 & 0\
5 & 6\
0 & 1\
end{bmatrix}$



The equation goes as follows:
$AX + B = C - X$



I arrange it to: $X= (C - B)*(A+I)^{-1}$ via the following steps:
$$AX + B = C - X$$
$$AX +X = C - B$$
$$X(A+I) = C - B /(A+I)^{-1}$$
$$X = (C - B) (A+I)^{-1}$$



But the problem is that the matrices $(C-B)$ and $(A+I)^{-1}$ can't be multiplied because they're not chained (the number of rows and collumns don't allow multiplication). I've been looking at this for over half an hour and can't figure out a different approach. Any help would be highly appreciated.










share|cite|improve this question






















  • Pre multiply by $(A+I)^{-1}$. Your equation is $(A+I)X=C-B implies X=(A+I)^{-1}(C-B )$.
    – Yadati Kiran
    Nov 21 '18 at 17:21












  • I don't understand how you got to $(A+I)X=(C−B)$
    – Arcturus
    Nov 21 '18 at 17:29












  • See we have to be careful with matrix multplication. we have $AX+X$ so number of columns of $A$ must be equal to number of rows of $X$.
    – Yadati Kiran
    Nov 21 '18 at 17:32










  • Can you guide me step to step through how you got from $AX+B=C−X$ to $(A+I)X=(C−B)$? That's the only thing I don't understand. I can find the inverse of $A+I$ just fine.
    – Arcturus
    Nov 21 '18 at 17:34






  • 1




    $AX+B=C−X $. Adding addtitive inverses of $B$ and $-X$ on both sides we get $AX+(B-B)+X=C+(−X+X)-Bimplies AX+Icdot X=C-Bimplies (A+I)X=C-B$. Assuming $(A+I)$ is invertible we premultiply both sides by $(A+I)^{-1}$ i.e. $(A+I)^{-1}(A+I)X=(A+I)^{-1}(C-B)implies X=(A+I)^{-1}(C-B)$
    – Yadati Kiran
    Nov 21 '18 at 17:39


















2














I'm trying to solve a matrix equation problem and I can't work out the correct form for the equation for it to be valid.



The matrices given are:



A= $begin{bmatrix}
1 & -1 & 3\
4 & 1 & 5\
0 & 0 & 0\
end{bmatrix}$
, B= $begin{bmatrix}
1 & -1\
3 & 6\
1 & 0\
end{bmatrix}$
, C= $begin{bmatrix}
-1 & 0\
5 & 6\
0 & 1\
end{bmatrix}$



The equation goes as follows:
$AX + B = C - X$



I arrange it to: $X= (C - B)*(A+I)^{-1}$ via the following steps:
$$AX + B = C - X$$
$$AX +X = C - B$$
$$X(A+I) = C - B /(A+I)^{-1}$$
$$X = (C - B) (A+I)^{-1}$$



But the problem is that the matrices $(C-B)$ and $(A+I)^{-1}$ can't be multiplied because they're not chained (the number of rows and collumns don't allow multiplication). I've been looking at this for over half an hour and can't figure out a different approach. Any help would be highly appreciated.










share|cite|improve this question






















  • Pre multiply by $(A+I)^{-1}$. Your equation is $(A+I)X=C-B implies X=(A+I)^{-1}(C-B )$.
    – Yadati Kiran
    Nov 21 '18 at 17:21












  • I don't understand how you got to $(A+I)X=(C−B)$
    – Arcturus
    Nov 21 '18 at 17:29












  • See we have to be careful with matrix multplication. we have $AX+X$ so number of columns of $A$ must be equal to number of rows of $X$.
    – Yadati Kiran
    Nov 21 '18 at 17:32










  • Can you guide me step to step through how you got from $AX+B=C−X$ to $(A+I)X=(C−B)$? That's the only thing I don't understand. I can find the inverse of $A+I$ just fine.
    – Arcturus
    Nov 21 '18 at 17:34






  • 1




    $AX+B=C−X $. Adding addtitive inverses of $B$ and $-X$ on both sides we get $AX+(B-B)+X=C+(−X+X)-Bimplies AX+Icdot X=C-Bimplies (A+I)X=C-B$. Assuming $(A+I)$ is invertible we premultiply both sides by $(A+I)^{-1}$ i.e. $(A+I)^{-1}(A+I)X=(A+I)^{-1}(C-B)implies X=(A+I)^{-1}(C-B)$
    – Yadati Kiran
    Nov 21 '18 at 17:39
















2












2








2







I'm trying to solve a matrix equation problem and I can't work out the correct form for the equation for it to be valid.



The matrices given are:



A= $begin{bmatrix}
1 & -1 & 3\
4 & 1 & 5\
0 & 0 & 0\
end{bmatrix}$
, B= $begin{bmatrix}
1 & -1\
3 & 6\
1 & 0\
end{bmatrix}$
, C= $begin{bmatrix}
-1 & 0\
5 & 6\
0 & 1\
end{bmatrix}$



The equation goes as follows:
$AX + B = C - X$



I arrange it to: $X= (C - B)*(A+I)^{-1}$ via the following steps:
$$AX + B = C - X$$
$$AX +X = C - B$$
$$X(A+I) = C - B /(A+I)^{-1}$$
$$X = (C - B) (A+I)^{-1}$$



But the problem is that the matrices $(C-B)$ and $(A+I)^{-1}$ can't be multiplied because they're not chained (the number of rows and collumns don't allow multiplication). I've been looking at this for over half an hour and can't figure out a different approach. Any help would be highly appreciated.










share|cite|improve this question













I'm trying to solve a matrix equation problem and I can't work out the correct form for the equation for it to be valid.



The matrices given are:



A= $begin{bmatrix}
1 & -1 & 3\
4 & 1 & 5\
0 & 0 & 0\
end{bmatrix}$
, B= $begin{bmatrix}
1 & -1\
3 & 6\
1 & 0\
end{bmatrix}$
, C= $begin{bmatrix}
-1 & 0\
5 & 6\
0 & 1\
end{bmatrix}$



The equation goes as follows:
$AX + B = C - X$



I arrange it to: $X= (C - B)*(A+I)^{-1}$ via the following steps:
$$AX + B = C - X$$
$$AX +X = C - B$$
$$X(A+I) = C - B /(A+I)^{-1}$$
$$X = (C - B) (A+I)^{-1}$$



But the problem is that the matrices $(C-B)$ and $(A+I)^{-1}$ can't be multiplied because they're not chained (the number of rows and collumns don't allow multiplication). I've been looking at this for over half an hour and can't figure out a different approach. Any help would be highly appreciated.







matrices matrix-equations






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Nov 21 '18 at 17:17









Arcturus

475




475












  • Pre multiply by $(A+I)^{-1}$. Your equation is $(A+I)X=C-B implies X=(A+I)^{-1}(C-B )$.
    – Yadati Kiran
    Nov 21 '18 at 17:21












  • I don't understand how you got to $(A+I)X=(C−B)$
    – Arcturus
    Nov 21 '18 at 17:29












  • See we have to be careful with matrix multplication. we have $AX+X$ so number of columns of $A$ must be equal to number of rows of $X$.
    – Yadati Kiran
    Nov 21 '18 at 17:32










  • Can you guide me step to step through how you got from $AX+B=C−X$ to $(A+I)X=(C−B)$? That's the only thing I don't understand. I can find the inverse of $A+I$ just fine.
    – Arcturus
    Nov 21 '18 at 17:34






  • 1




    $AX+B=C−X $. Adding addtitive inverses of $B$ and $-X$ on both sides we get $AX+(B-B)+X=C+(−X+X)-Bimplies AX+Icdot X=C-Bimplies (A+I)X=C-B$. Assuming $(A+I)$ is invertible we premultiply both sides by $(A+I)^{-1}$ i.e. $(A+I)^{-1}(A+I)X=(A+I)^{-1}(C-B)implies X=(A+I)^{-1}(C-B)$
    – Yadati Kiran
    Nov 21 '18 at 17:39




















  • Pre multiply by $(A+I)^{-1}$. Your equation is $(A+I)X=C-B implies X=(A+I)^{-1}(C-B )$.
    – Yadati Kiran
    Nov 21 '18 at 17:21












  • I don't understand how you got to $(A+I)X=(C−B)$
    – Arcturus
    Nov 21 '18 at 17:29












  • See we have to be careful with matrix multplication. we have $AX+X$ so number of columns of $A$ must be equal to number of rows of $X$.
    – Yadati Kiran
    Nov 21 '18 at 17:32










  • Can you guide me step to step through how you got from $AX+B=C−X$ to $(A+I)X=(C−B)$? That's the only thing I don't understand. I can find the inverse of $A+I$ just fine.
    – Arcturus
    Nov 21 '18 at 17:34






  • 1




    $AX+B=C−X $. Adding addtitive inverses of $B$ and $-X$ on both sides we get $AX+(B-B)+X=C+(−X+X)-Bimplies AX+Icdot X=C-Bimplies (A+I)X=C-B$. Assuming $(A+I)$ is invertible we premultiply both sides by $(A+I)^{-1}$ i.e. $(A+I)^{-1}(A+I)X=(A+I)^{-1}(C-B)implies X=(A+I)^{-1}(C-B)$
    – Yadati Kiran
    Nov 21 '18 at 17:39


















Pre multiply by $(A+I)^{-1}$. Your equation is $(A+I)X=C-B implies X=(A+I)^{-1}(C-B )$.
– Yadati Kiran
Nov 21 '18 at 17:21






Pre multiply by $(A+I)^{-1}$. Your equation is $(A+I)X=C-B implies X=(A+I)^{-1}(C-B )$.
– Yadati Kiran
Nov 21 '18 at 17:21














I don't understand how you got to $(A+I)X=(C−B)$
– Arcturus
Nov 21 '18 at 17:29






I don't understand how you got to $(A+I)X=(C−B)$
– Arcturus
Nov 21 '18 at 17:29














See we have to be careful with matrix multplication. we have $AX+X$ so number of columns of $A$ must be equal to number of rows of $X$.
– Yadati Kiran
Nov 21 '18 at 17:32




See we have to be careful with matrix multplication. we have $AX+X$ so number of columns of $A$ must be equal to number of rows of $X$.
– Yadati Kiran
Nov 21 '18 at 17:32












Can you guide me step to step through how you got from $AX+B=C−X$ to $(A+I)X=(C−B)$? That's the only thing I don't understand. I can find the inverse of $A+I$ just fine.
– Arcturus
Nov 21 '18 at 17:34




Can you guide me step to step through how you got from $AX+B=C−X$ to $(A+I)X=(C−B)$? That's the only thing I don't understand. I can find the inverse of $A+I$ just fine.
– Arcturus
Nov 21 '18 at 17:34




1




1




$AX+B=C−X $. Adding addtitive inverses of $B$ and $-X$ on both sides we get $AX+(B-B)+X=C+(−X+X)-Bimplies AX+Icdot X=C-Bimplies (A+I)X=C-B$. Assuming $(A+I)$ is invertible we premultiply both sides by $(A+I)^{-1}$ i.e. $(A+I)^{-1}(A+I)X=(A+I)^{-1}(C-B)implies X=(A+I)^{-1}(C-B)$
– Yadati Kiran
Nov 21 '18 at 17:39






$AX+B=C−X $. Adding addtitive inverses of $B$ and $-X$ on both sides we get $AX+(B-B)+X=C+(−X+X)-Bimplies AX+Icdot X=C-Bimplies (A+I)X=C-B$. Assuming $(A+I)$ is invertible we premultiply both sides by $(A+I)^{-1}$ i.e. $(A+I)^{-1}(A+I)X=(A+I)^{-1}(C-B)implies X=(A+I)^{-1}(C-B)$
– Yadati Kiran
Nov 21 '18 at 17:39












1 Answer
1






active

oldest

votes


















0














$X=(A+I)^{-1}(C-B )=begin{bmatrix}frac14 &frac18 &frac{-11}{8}\frac{-1}{2} &frac14 &frac14\0 &0 &1end{bmatrix}begin{bmatrix}-2 &1\2 &0\-1 &1end{bmatrix}=begin{bmatrix}frac98 &frac{-9}{8}\frac54 &frac{-1}{4}\-1 &1end{bmatrix}$



We get two independent solutions for $X$.






share|cite|improve this answer





















    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%2f3008049%2fstuck-with-matrix-equation%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














    $X=(A+I)^{-1}(C-B )=begin{bmatrix}frac14 &frac18 &frac{-11}{8}\frac{-1}{2} &frac14 &frac14\0 &0 &1end{bmatrix}begin{bmatrix}-2 &1\2 &0\-1 &1end{bmatrix}=begin{bmatrix}frac98 &frac{-9}{8}\frac54 &frac{-1}{4}\-1 &1end{bmatrix}$



    We get two independent solutions for $X$.






    share|cite|improve this answer


























      0














      $X=(A+I)^{-1}(C-B )=begin{bmatrix}frac14 &frac18 &frac{-11}{8}\frac{-1}{2} &frac14 &frac14\0 &0 &1end{bmatrix}begin{bmatrix}-2 &1\2 &0\-1 &1end{bmatrix}=begin{bmatrix}frac98 &frac{-9}{8}\frac54 &frac{-1}{4}\-1 &1end{bmatrix}$



      We get two independent solutions for $X$.






      share|cite|improve this answer
























        0












        0








        0






        $X=(A+I)^{-1}(C-B )=begin{bmatrix}frac14 &frac18 &frac{-11}{8}\frac{-1}{2} &frac14 &frac14\0 &0 &1end{bmatrix}begin{bmatrix}-2 &1\2 &0\-1 &1end{bmatrix}=begin{bmatrix}frac98 &frac{-9}{8}\frac54 &frac{-1}{4}\-1 &1end{bmatrix}$



        We get two independent solutions for $X$.






        share|cite|improve this answer












        $X=(A+I)^{-1}(C-B )=begin{bmatrix}frac14 &frac18 &frac{-11}{8}\frac{-1}{2} &frac14 &frac14\0 &0 &1end{bmatrix}begin{bmatrix}-2 &1\2 &0\-1 &1end{bmatrix}=begin{bmatrix}frac98 &frac{-9}{8}\frac54 &frac{-1}{4}\-1 &1end{bmatrix}$



        We get two independent solutions for $X$.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Nov 21 '18 at 17:32









        Yadati Kiran

        1,694619




        1,694619






























            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%2f3008049%2fstuck-with-matrix-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

            MongoDB - Not Authorized To Execute Command

            How to fix TextFormField cause rebuild widget in Flutter

            in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith