How is A= UL different from A = LU












0












$begingroup$


Using Guassian elimination introducing zeros into the columns of $A$ in the
order, $n: - 1:2$ and producing the factorization $A = UL$ where $U$ is unit upper triangular and $L$ is lower triangular. How is this different from $A = LU.$ Can I relate the two procedures?










share|cite|improve this question











$endgroup$












  • $begingroup$
    Does "unit upper triangular" mean "ones on the diagonal"?
    $endgroup$
    – John Hughes
    Jan 30 at 14:11
















0












$begingroup$


Using Guassian elimination introducing zeros into the columns of $A$ in the
order, $n: - 1:2$ and producing the factorization $A = UL$ where $U$ is unit upper triangular and $L$ is lower triangular. How is this different from $A = LU.$ Can I relate the two procedures?










share|cite|improve this question











$endgroup$












  • $begingroup$
    Does "unit upper triangular" mean "ones on the diagonal"?
    $endgroup$
    – John Hughes
    Jan 30 at 14:11














0












0








0





$begingroup$


Using Guassian elimination introducing zeros into the columns of $A$ in the
order, $n: - 1:2$ and producing the factorization $A = UL$ where $U$ is unit upper triangular and $L$ is lower triangular. How is this different from $A = LU.$ Can I relate the two procedures?










share|cite|improve this question











$endgroup$




Using Guassian elimination introducing zeros into the columns of $A$ in the
order, $n: - 1:2$ and producing the factorization $A = UL$ where $U$ is unit upper triangular and $L$ is lower triangular. How is this different from $A = LU.$ Can I relate the two procedures?







linear-algebra






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 30 at 14:03









Vinyl_cape_jawa

3,33011433




3,33011433










asked Jan 30 at 13:34









Usman AshrafUsman Ashraf

13




13












  • $begingroup$
    Does "unit upper triangular" mean "ones on the diagonal"?
    $endgroup$
    – John Hughes
    Jan 30 at 14:11


















  • $begingroup$
    Does "unit upper triangular" mean "ones on the diagonal"?
    $endgroup$
    – John Hughes
    Jan 30 at 14:11
















$begingroup$
Does "unit upper triangular" mean "ones on the diagonal"?
$endgroup$
– John Hughes
Jan 30 at 14:11




$begingroup$
Does "unit upper triangular" mean "ones on the diagonal"?
$endgroup$
– John Hughes
Jan 30 at 14:11










2 Answers
2






active

oldest

votes


















0












$begingroup$

$$
pmatrix{
1 & 2 \
1 & 1 } =
pmatrix{1 & 2 \
0 & 1}
pmatrix{-1 & 0 \
1 & 1} \
pmatrix{
1 & 2 \
1 & 1 } =
pmatrix{1 & 0 \
1 & 1}
pmatrix{1 & 2 \
0 & -1}
$$

So evidently the two approaches produce different results.



One (weak) relation is that if you start with
$$
A = L U
$$

and transpose everything, you get
$$
A^t = U^t L^t
$$

and because $U^t$ is lower-triangular, and $L^t$ is upper triangular, you get
$$
A^t = L' U',
$$

but this time $L'$ has the ones on the diagonal rather than $U$ having ones on the diagonal. I guess that's really a relationship between two different versions of LU factorization, rather than one being UL factorization.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Transpose shuffles upper/lowerness, but inverse preserves it.
    $endgroup$
    – mathreadler
    Jan 30 at 14:27



















0












$begingroup$

Observe that if $$A = LU$$



then (assuming $A^{-1}$ exists.) :



$$A^{-1} = U^{-1}L^{-1}$$
We can verify this by hand if you don't believe it.



What remains is to show that $U^{-1}$ is also upper triangular and $L^{-1}$ is also lower triangular if $U,L$ are, respectively.






share|cite|improve this answer









$endgroup$














    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%2f3093528%2fhow-is-a-ul-different-from-a-lu%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0












    $begingroup$

    $$
    pmatrix{
    1 & 2 \
    1 & 1 } =
    pmatrix{1 & 2 \
    0 & 1}
    pmatrix{-1 & 0 \
    1 & 1} \
    pmatrix{
    1 & 2 \
    1 & 1 } =
    pmatrix{1 & 0 \
    1 & 1}
    pmatrix{1 & 2 \
    0 & -1}
    $$

    So evidently the two approaches produce different results.



    One (weak) relation is that if you start with
    $$
    A = L U
    $$

    and transpose everything, you get
    $$
    A^t = U^t L^t
    $$

    and because $U^t$ is lower-triangular, and $L^t$ is upper triangular, you get
    $$
    A^t = L' U',
    $$

    but this time $L'$ has the ones on the diagonal rather than $U$ having ones on the diagonal. I guess that's really a relationship between two different versions of LU factorization, rather than one being UL factorization.






    share|cite|improve this answer









    $endgroup$













    • $begingroup$
      Transpose shuffles upper/lowerness, but inverse preserves it.
      $endgroup$
      – mathreadler
      Jan 30 at 14:27
















    0












    $begingroup$

    $$
    pmatrix{
    1 & 2 \
    1 & 1 } =
    pmatrix{1 & 2 \
    0 & 1}
    pmatrix{-1 & 0 \
    1 & 1} \
    pmatrix{
    1 & 2 \
    1 & 1 } =
    pmatrix{1 & 0 \
    1 & 1}
    pmatrix{1 & 2 \
    0 & -1}
    $$

    So evidently the two approaches produce different results.



    One (weak) relation is that if you start with
    $$
    A = L U
    $$

    and transpose everything, you get
    $$
    A^t = U^t L^t
    $$

    and because $U^t$ is lower-triangular, and $L^t$ is upper triangular, you get
    $$
    A^t = L' U',
    $$

    but this time $L'$ has the ones on the diagonal rather than $U$ having ones on the diagonal. I guess that's really a relationship between two different versions of LU factorization, rather than one being UL factorization.






    share|cite|improve this answer









    $endgroup$













    • $begingroup$
      Transpose shuffles upper/lowerness, but inverse preserves it.
      $endgroup$
      – mathreadler
      Jan 30 at 14:27














    0












    0








    0





    $begingroup$

    $$
    pmatrix{
    1 & 2 \
    1 & 1 } =
    pmatrix{1 & 2 \
    0 & 1}
    pmatrix{-1 & 0 \
    1 & 1} \
    pmatrix{
    1 & 2 \
    1 & 1 } =
    pmatrix{1 & 0 \
    1 & 1}
    pmatrix{1 & 2 \
    0 & -1}
    $$

    So evidently the two approaches produce different results.



    One (weak) relation is that if you start with
    $$
    A = L U
    $$

    and transpose everything, you get
    $$
    A^t = U^t L^t
    $$

    and because $U^t$ is lower-triangular, and $L^t$ is upper triangular, you get
    $$
    A^t = L' U',
    $$

    but this time $L'$ has the ones on the diagonal rather than $U$ having ones on the diagonal. I guess that's really a relationship between two different versions of LU factorization, rather than one being UL factorization.






    share|cite|improve this answer









    $endgroup$



    $$
    pmatrix{
    1 & 2 \
    1 & 1 } =
    pmatrix{1 & 2 \
    0 & 1}
    pmatrix{-1 & 0 \
    1 & 1} \
    pmatrix{
    1 & 2 \
    1 & 1 } =
    pmatrix{1 & 0 \
    1 & 1}
    pmatrix{1 & 2 \
    0 & -1}
    $$

    So evidently the two approaches produce different results.



    One (weak) relation is that if you start with
    $$
    A = L U
    $$

    and transpose everything, you get
    $$
    A^t = U^t L^t
    $$

    and because $U^t$ is lower-triangular, and $L^t$ is upper triangular, you get
    $$
    A^t = L' U',
    $$

    but this time $L'$ has the ones on the diagonal rather than $U$ having ones on the diagonal. I guess that's really a relationship between two different versions of LU factorization, rather than one being UL factorization.







    share|cite|improve this answer












    share|cite|improve this answer



    share|cite|improve this answer










    answered Jan 30 at 14:18









    John HughesJohn Hughes

    65.2k24293




    65.2k24293












    • $begingroup$
      Transpose shuffles upper/lowerness, but inverse preserves it.
      $endgroup$
      – mathreadler
      Jan 30 at 14:27


















    • $begingroup$
      Transpose shuffles upper/lowerness, but inverse preserves it.
      $endgroup$
      – mathreadler
      Jan 30 at 14:27
















    $begingroup$
    Transpose shuffles upper/lowerness, but inverse preserves it.
    $endgroup$
    – mathreadler
    Jan 30 at 14:27




    $begingroup$
    Transpose shuffles upper/lowerness, but inverse preserves it.
    $endgroup$
    – mathreadler
    Jan 30 at 14:27











    0












    $begingroup$

    Observe that if $$A = LU$$



    then (assuming $A^{-1}$ exists.) :



    $$A^{-1} = U^{-1}L^{-1}$$
    We can verify this by hand if you don't believe it.



    What remains is to show that $U^{-1}$ is also upper triangular and $L^{-1}$ is also lower triangular if $U,L$ are, respectively.






    share|cite|improve this answer









    $endgroup$


















      0












      $begingroup$

      Observe that if $$A = LU$$



      then (assuming $A^{-1}$ exists.) :



      $$A^{-1} = U^{-1}L^{-1}$$
      We can verify this by hand if you don't believe it.



      What remains is to show that $U^{-1}$ is also upper triangular and $L^{-1}$ is also lower triangular if $U,L$ are, respectively.






      share|cite|improve this answer









      $endgroup$
















        0












        0








        0





        $begingroup$

        Observe that if $$A = LU$$



        then (assuming $A^{-1}$ exists.) :



        $$A^{-1} = U^{-1}L^{-1}$$
        We can verify this by hand if you don't believe it.



        What remains is to show that $U^{-1}$ is also upper triangular and $L^{-1}$ is also lower triangular if $U,L$ are, respectively.






        share|cite|improve this answer









        $endgroup$



        Observe that if $$A = LU$$



        then (assuming $A^{-1}$ exists.) :



        $$A^{-1} = U^{-1}L^{-1}$$
        We can verify this by hand if you don't believe it.



        What remains is to show that $U^{-1}$ is also upper triangular and $L^{-1}$ is also lower triangular if $U,L$ are, respectively.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Jan 30 at 14:26









        mathreadlermathreadler

        15.4k72263




        15.4k72263






























            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%2f3093528%2fhow-is-a-ul-different-from-a-lu%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

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

            Npm cannot find a required file even through it is in the searched directory