How to compute the Jacobian matrix of a multivariate function in a nonstandard matrix?












3












$begingroup$


Given a function $f:R^2rightarrow R^2$ such that $f(x,y)=(xy, cos xy)$, I need to compute the Jacobian matrix Df with respect to the basis ${(1,0), (1,1)}$. Not confident in my answer though. Please help me verify it. If it is not correct, please give me a hint. Here is my try:



With respect to the standard basis ${1,0), (0,1)}$, we could derive a Jacobian matrix



$$Df=
begin{bmatrix}
frac{partial f_1}{partial x} & frac{partial f_1}{partial y} \
frac{partial f_2}{partial x} & frac{partial f_2}{partial x}
end{bmatrix}
=
begin{bmatrix}
y & x\
-ysin xy & -xsin xy
end{bmatrix}
.$$



To compute the Jacobian matrix with respect to the nonstandard basis ${(1,0), (1,1)}$, I multiply $Df(x,y)$ by this basis and get



$$overline{Df}(x,y)=
begin{bmatrix}
y & x\
-ysin xy & -xsin xy
end{bmatrix}
times
begin{bmatrix}
1 & 1\
0 & 1
end{bmatrix}
=
begin{bmatrix}
y & y+x\
-ysin xy & -ysin xy-xsin xy
end{bmatrix}
.$$



I did it in this way, because my textbook [Hoffman] says, "the columns of the matrix relative tot he new basis will be the derivative $Df(x,y)$ applied to the new basis in $R^2$ with this image vector expressed in the new basis in $R^2$."



Anyone disagrees or agrees with my answer?










share|cite|improve this question











$endgroup$












  • $begingroup$
    In what basis is the input data represented? The output data?
    $endgroup$
    – David Kraemer
    Jan 23 at 1:15










  • $begingroup$
    My calculation does not agree with yours. See my answer.
    $endgroup$
    – Matematleta
    Jan 23 at 1:22
















3












$begingroup$


Given a function $f:R^2rightarrow R^2$ such that $f(x,y)=(xy, cos xy)$, I need to compute the Jacobian matrix Df with respect to the basis ${(1,0), (1,1)}$. Not confident in my answer though. Please help me verify it. If it is not correct, please give me a hint. Here is my try:



With respect to the standard basis ${1,0), (0,1)}$, we could derive a Jacobian matrix



$$Df=
begin{bmatrix}
frac{partial f_1}{partial x} & frac{partial f_1}{partial y} \
frac{partial f_2}{partial x} & frac{partial f_2}{partial x}
end{bmatrix}
=
begin{bmatrix}
y & x\
-ysin xy & -xsin xy
end{bmatrix}
.$$



To compute the Jacobian matrix with respect to the nonstandard basis ${(1,0), (1,1)}$, I multiply $Df(x,y)$ by this basis and get



$$overline{Df}(x,y)=
begin{bmatrix}
y & x\
-ysin xy & -xsin xy
end{bmatrix}
times
begin{bmatrix}
1 & 1\
0 & 1
end{bmatrix}
=
begin{bmatrix}
y & y+x\
-ysin xy & -ysin xy-xsin xy
end{bmatrix}
.$$



I did it in this way, because my textbook [Hoffman] says, "the columns of the matrix relative tot he new basis will be the derivative $Df(x,y)$ applied to the new basis in $R^2$ with this image vector expressed in the new basis in $R^2$."



Anyone disagrees or agrees with my answer?










share|cite|improve this question











$endgroup$












  • $begingroup$
    In what basis is the input data represented? The output data?
    $endgroup$
    – David Kraemer
    Jan 23 at 1:15










  • $begingroup$
    My calculation does not agree with yours. See my answer.
    $endgroup$
    – Matematleta
    Jan 23 at 1:22














3












3








3





$begingroup$


Given a function $f:R^2rightarrow R^2$ such that $f(x,y)=(xy, cos xy)$, I need to compute the Jacobian matrix Df with respect to the basis ${(1,0), (1,1)}$. Not confident in my answer though. Please help me verify it. If it is not correct, please give me a hint. Here is my try:



With respect to the standard basis ${1,0), (0,1)}$, we could derive a Jacobian matrix



$$Df=
begin{bmatrix}
frac{partial f_1}{partial x} & frac{partial f_1}{partial y} \
frac{partial f_2}{partial x} & frac{partial f_2}{partial x}
end{bmatrix}
=
begin{bmatrix}
y & x\
-ysin xy & -xsin xy
end{bmatrix}
.$$



To compute the Jacobian matrix with respect to the nonstandard basis ${(1,0), (1,1)}$, I multiply $Df(x,y)$ by this basis and get



$$overline{Df}(x,y)=
begin{bmatrix}
y & x\
-ysin xy & -xsin xy
end{bmatrix}
times
begin{bmatrix}
1 & 1\
0 & 1
end{bmatrix}
=
begin{bmatrix}
y & y+x\
-ysin xy & -ysin xy-xsin xy
end{bmatrix}
.$$



I did it in this way, because my textbook [Hoffman] says, "the columns of the matrix relative tot he new basis will be the derivative $Df(x,y)$ applied to the new basis in $R^2$ with this image vector expressed in the new basis in $R^2$."



Anyone disagrees or agrees with my answer?










share|cite|improve this question











$endgroup$




Given a function $f:R^2rightarrow R^2$ such that $f(x,y)=(xy, cos xy)$, I need to compute the Jacobian matrix Df with respect to the basis ${(1,0), (1,1)}$. Not confident in my answer though. Please help me verify it. If it is not correct, please give me a hint. Here is my try:



With respect to the standard basis ${1,0), (0,1)}$, we could derive a Jacobian matrix



$$Df=
begin{bmatrix}
frac{partial f_1}{partial x} & frac{partial f_1}{partial y} \
frac{partial f_2}{partial x} & frac{partial f_2}{partial x}
end{bmatrix}
=
begin{bmatrix}
y & x\
-ysin xy & -xsin xy
end{bmatrix}
.$$



To compute the Jacobian matrix with respect to the nonstandard basis ${(1,0), (1,1)}$, I multiply $Df(x,y)$ by this basis and get



$$overline{Df}(x,y)=
begin{bmatrix}
y & x\
-ysin xy & -xsin xy
end{bmatrix}
times
begin{bmatrix}
1 & 1\
0 & 1
end{bmatrix}
=
begin{bmatrix}
y & y+x\
-ysin xy & -ysin xy-xsin xy
end{bmatrix}
.$$



I did it in this way, because my textbook [Hoffman] says, "the columns of the matrix relative tot he new basis will be the derivative $Df(x,y)$ applied to the new basis in $R^2$ with this image vector expressed in the new basis in $R^2$."



Anyone disagrees or agrees with my answer?







multivariable-calculus derivatives partial-derivative change-of-basis jacobian






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 23 at 0:49









Namaste

1




1










asked Jan 23 at 0:30









James WangJames Wang

49828




49828












  • $begingroup$
    In what basis is the input data represented? The output data?
    $endgroup$
    – David Kraemer
    Jan 23 at 1:15










  • $begingroup$
    My calculation does not agree with yours. See my answer.
    $endgroup$
    – Matematleta
    Jan 23 at 1:22


















  • $begingroup$
    In what basis is the input data represented? The output data?
    $endgroup$
    – David Kraemer
    Jan 23 at 1:15










  • $begingroup$
    My calculation does not agree with yours. See my answer.
    $endgroup$
    – Matematleta
    Jan 23 at 1:22
















$begingroup$
In what basis is the input data represented? The output data?
$endgroup$
– David Kraemer
Jan 23 at 1:15




$begingroup$
In what basis is the input data represented? The output data?
$endgroup$
– David Kraemer
Jan 23 at 1:15












$begingroup$
My calculation does not agree with yours. See my answer.
$endgroup$
– Matematleta
Jan 23 at 1:22




$begingroup$
My calculation does not agree with yours. See my answer.
$endgroup$
– Matematleta
Jan 23 at 1:22










1 Answer
1






active

oldest

votes


















1












$begingroup$

You can check this by going back to the definitions and properties of linear transformations.



Suppose $A:mathbb R^2to mathbb R^2$ is a linear transformation such that $A((1,0))=a(1,0)+b(0,1)$ and $A((0,1))=c(1,0)+d(0,1)$. This determines $A$ uniquely and the matrix with respect to the basis $(1,0),(0,1)$ is



begin{bmatrix}
a& c\
b & d
end{bmatrix}



Now,



$A((1,0))=a(1,0)+b(0,1)=a(1,0)+b((1,1)-(1,0))=(a-b)(1,0)+b(1,1)$



and



$A((1,1))=A((1,0))+A((0,1))=(a+c)(1,0)+(b+d)(0,1)=(a+c)(1,0)+(b+d)((1,1)-(1,0))=((a+c)-(b+d))(1,0)+(b+d)(1,1)$



Then, the matrix with respect to the basis $(1,0), (1,1)$ is



begin{bmatrix}
a-b& (a+c)-(b+d)\
b & b+d
end{bmatrix}






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%2f3083933%2fhow-to-compute-the-jacobian-matrix-of-a-multivariate-function-in-a-nonstandard-m%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









    1












    $begingroup$

    You can check this by going back to the definitions and properties of linear transformations.



    Suppose $A:mathbb R^2to mathbb R^2$ is a linear transformation such that $A((1,0))=a(1,0)+b(0,1)$ and $A((0,1))=c(1,0)+d(0,1)$. This determines $A$ uniquely and the matrix with respect to the basis $(1,0),(0,1)$ is



    begin{bmatrix}
    a& c\
    b & d
    end{bmatrix}



    Now,



    $A((1,0))=a(1,0)+b(0,1)=a(1,0)+b((1,1)-(1,0))=(a-b)(1,0)+b(1,1)$



    and



    $A((1,1))=A((1,0))+A((0,1))=(a+c)(1,0)+(b+d)(0,1)=(a+c)(1,0)+(b+d)((1,1)-(1,0))=((a+c)-(b+d))(1,0)+(b+d)(1,1)$



    Then, the matrix with respect to the basis $(1,0), (1,1)$ is



    begin{bmatrix}
    a-b& (a+c)-(b+d)\
    b & b+d
    end{bmatrix}






    share|cite|improve this answer









    $endgroup$


















      1












      $begingroup$

      You can check this by going back to the definitions and properties of linear transformations.



      Suppose $A:mathbb R^2to mathbb R^2$ is a linear transformation such that $A((1,0))=a(1,0)+b(0,1)$ and $A((0,1))=c(1,0)+d(0,1)$. This determines $A$ uniquely and the matrix with respect to the basis $(1,0),(0,1)$ is



      begin{bmatrix}
      a& c\
      b & d
      end{bmatrix}



      Now,



      $A((1,0))=a(1,0)+b(0,1)=a(1,0)+b((1,1)-(1,0))=(a-b)(1,0)+b(1,1)$



      and



      $A((1,1))=A((1,0))+A((0,1))=(a+c)(1,0)+(b+d)(0,1)=(a+c)(1,0)+(b+d)((1,1)-(1,0))=((a+c)-(b+d))(1,0)+(b+d)(1,1)$



      Then, the matrix with respect to the basis $(1,0), (1,1)$ is



      begin{bmatrix}
      a-b& (a+c)-(b+d)\
      b & b+d
      end{bmatrix}






      share|cite|improve this answer









      $endgroup$
















        1












        1








        1





        $begingroup$

        You can check this by going back to the definitions and properties of linear transformations.



        Suppose $A:mathbb R^2to mathbb R^2$ is a linear transformation such that $A((1,0))=a(1,0)+b(0,1)$ and $A((0,1))=c(1,0)+d(0,1)$. This determines $A$ uniquely and the matrix with respect to the basis $(1,0),(0,1)$ is



        begin{bmatrix}
        a& c\
        b & d
        end{bmatrix}



        Now,



        $A((1,0))=a(1,0)+b(0,1)=a(1,0)+b((1,1)-(1,0))=(a-b)(1,0)+b(1,1)$



        and



        $A((1,1))=A((1,0))+A((0,1))=(a+c)(1,0)+(b+d)(0,1)=(a+c)(1,0)+(b+d)((1,1)-(1,0))=((a+c)-(b+d))(1,0)+(b+d)(1,1)$



        Then, the matrix with respect to the basis $(1,0), (1,1)$ is



        begin{bmatrix}
        a-b& (a+c)-(b+d)\
        b & b+d
        end{bmatrix}






        share|cite|improve this answer









        $endgroup$



        You can check this by going back to the definitions and properties of linear transformations.



        Suppose $A:mathbb R^2to mathbb R^2$ is a linear transformation such that $A((1,0))=a(1,0)+b(0,1)$ and $A((0,1))=c(1,0)+d(0,1)$. This determines $A$ uniquely and the matrix with respect to the basis $(1,0),(0,1)$ is



        begin{bmatrix}
        a& c\
        b & d
        end{bmatrix}



        Now,



        $A((1,0))=a(1,0)+b(0,1)=a(1,0)+b((1,1)-(1,0))=(a-b)(1,0)+b(1,1)$



        and



        $A((1,1))=A((1,0))+A((0,1))=(a+c)(1,0)+(b+d)(0,1)=(a+c)(1,0)+(b+d)((1,1)-(1,0))=((a+c)-(b+d))(1,0)+(b+d)(1,1)$



        Then, the matrix with respect to the basis $(1,0), (1,1)$ is



        begin{bmatrix}
        a-b& (a+c)-(b+d)\
        b & b+d
        end{bmatrix}







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Jan 23 at 1:22









        MatematletaMatematleta

        11.5k2920




        11.5k2920






























            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%2f3083933%2fhow-to-compute-the-jacobian-matrix-of-a-multivariate-function-in-a-nonstandard-m%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

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