Differentiating a function that is defined generally (for eg, $ f (x_1, x_2, … x_n) $)












0












$begingroup$


If I'm asked to differentiate a function that is simply of the form: $ f(tx_1, tx_2, ... tx_n) $ (i.e., the function is not "defined" to be particularly anything), how should I go about this? I want to differentiate with respect to $ t$.



Context: Let's say we have a homogeneous function of with degree $ k $.



Thus,



$$ f( tx_1, tx_2, ... tx_n) = t^k f(x_1, x_2, ... x_n) $$



Differentiating on both sides with respect to $ t$, we get,



$$ x_1 f_1 (tx_1, tx_2, ... tx_n) + ... + x_n f_n (tx_1, tx_2, ... tx_n) = k cdot t^{k-1} cdot f(x_1, .. x_n) $$




  1. On the RHS, why we differnetiate with respect to to get $ k cdot t^{k-1} $. Because the function on the RHS is a constant (i.e., it doesn't depend on t, we write it as it is)


  2. On the LHS, why do we have: $ x_n f_n(tx_1, tx_2,dots, tx_n)$ for each term?











share|cite|improve this question











$endgroup$












  • $begingroup$
    Shouldn't your RHS be $k cdot t^{k-1} cdot f(x_1, dots, x_n)$? (without the $t$ inside)
    $endgroup$
    – BigbearZzz
    Jan 17 at 11:22










  • $begingroup$
    Yes, sorry. That was a mistake on my part.
    $endgroup$
    – WorldGov
    Jan 17 at 11:23










  • $begingroup$
    You need to assume that $k>1$. For $k>1$, you may fact out the variable $x_1$ first, then factor out the variable $x_2$ from the remainder and so on. Try to write down an example and you'll see it is simple.
    $endgroup$
    – James
    Jan 17 at 11:27
















0












$begingroup$


If I'm asked to differentiate a function that is simply of the form: $ f(tx_1, tx_2, ... tx_n) $ (i.e., the function is not "defined" to be particularly anything), how should I go about this? I want to differentiate with respect to $ t$.



Context: Let's say we have a homogeneous function of with degree $ k $.



Thus,



$$ f( tx_1, tx_2, ... tx_n) = t^k f(x_1, x_2, ... x_n) $$



Differentiating on both sides with respect to $ t$, we get,



$$ x_1 f_1 (tx_1, tx_2, ... tx_n) + ... + x_n f_n (tx_1, tx_2, ... tx_n) = k cdot t^{k-1} cdot f(x_1, .. x_n) $$




  1. On the RHS, why we differnetiate with respect to to get $ k cdot t^{k-1} $. Because the function on the RHS is a constant (i.e., it doesn't depend on t, we write it as it is)


  2. On the LHS, why do we have: $ x_n f_n(tx_1, tx_2,dots, tx_n)$ for each term?











share|cite|improve this question











$endgroup$












  • $begingroup$
    Shouldn't your RHS be $k cdot t^{k-1} cdot f(x_1, dots, x_n)$? (without the $t$ inside)
    $endgroup$
    – BigbearZzz
    Jan 17 at 11:22










  • $begingroup$
    Yes, sorry. That was a mistake on my part.
    $endgroup$
    – WorldGov
    Jan 17 at 11:23










  • $begingroup$
    You need to assume that $k>1$. For $k>1$, you may fact out the variable $x_1$ first, then factor out the variable $x_2$ from the remainder and so on. Try to write down an example and you'll see it is simple.
    $endgroup$
    – James
    Jan 17 at 11:27














0












0








0





$begingroup$


If I'm asked to differentiate a function that is simply of the form: $ f(tx_1, tx_2, ... tx_n) $ (i.e., the function is not "defined" to be particularly anything), how should I go about this? I want to differentiate with respect to $ t$.



Context: Let's say we have a homogeneous function of with degree $ k $.



Thus,



$$ f( tx_1, tx_2, ... tx_n) = t^k f(x_1, x_2, ... x_n) $$



Differentiating on both sides with respect to $ t$, we get,



$$ x_1 f_1 (tx_1, tx_2, ... tx_n) + ... + x_n f_n (tx_1, tx_2, ... tx_n) = k cdot t^{k-1} cdot f(x_1, .. x_n) $$




  1. On the RHS, why we differnetiate with respect to to get $ k cdot t^{k-1} $. Because the function on the RHS is a constant (i.e., it doesn't depend on t, we write it as it is)


  2. On the LHS, why do we have: $ x_n f_n(tx_1, tx_2,dots, tx_n)$ for each term?











share|cite|improve this question











$endgroup$




If I'm asked to differentiate a function that is simply of the form: $ f(tx_1, tx_2, ... tx_n) $ (i.e., the function is not "defined" to be particularly anything), how should I go about this? I want to differentiate with respect to $ t$.



Context: Let's say we have a homogeneous function of with degree $ k $.



Thus,



$$ f( tx_1, tx_2, ... tx_n) = t^k f(x_1, x_2, ... x_n) $$



Differentiating on both sides with respect to $ t$, we get,



$$ x_1 f_1 (tx_1, tx_2, ... tx_n) + ... + x_n f_n (tx_1, tx_2, ... tx_n) = k cdot t^{k-1} cdot f(x_1, .. x_n) $$




  1. On the RHS, why we differnetiate with respect to to get $ k cdot t^{k-1} $. Because the function on the RHS is a constant (i.e., it doesn't depend on t, we write it as it is)


  2. On the LHS, why do we have: $ x_n f_n(tx_1, tx_2,dots, tx_n)$ for each term?








multivariable-calculus derivatives implicit-differentiation






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 17 at 11:33









Christoph

12k1642




12k1642










asked Jan 17 at 11:19









WorldGovWorldGov

305111




305111












  • $begingroup$
    Shouldn't your RHS be $k cdot t^{k-1} cdot f(x_1, dots, x_n)$? (without the $t$ inside)
    $endgroup$
    – BigbearZzz
    Jan 17 at 11:22










  • $begingroup$
    Yes, sorry. That was a mistake on my part.
    $endgroup$
    – WorldGov
    Jan 17 at 11:23










  • $begingroup$
    You need to assume that $k>1$. For $k>1$, you may fact out the variable $x_1$ first, then factor out the variable $x_2$ from the remainder and so on. Try to write down an example and you'll see it is simple.
    $endgroup$
    – James
    Jan 17 at 11:27


















  • $begingroup$
    Shouldn't your RHS be $k cdot t^{k-1} cdot f(x_1, dots, x_n)$? (without the $t$ inside)
    $endgroup$
    – BigbearZzz
    Jan 17 at 11:22










  • $begingroup$
    Yes, sorry. That was a mistake on my part.
    $endgroup$
    – WorldGov
    Jan 17 at 11:23










  • $begingroup$
    You need to assume that $k>1$. For $k>1$, you may fact out the variable $x_1$ first, then factor out the variable $x_2$ from the remainder and so on. Try to write down an example and you'll see it is simple.
    $endgroup$
    – James
    Jan 17 at 11:27
















$begingroup$
Shouldn't your RHS be $k cdot t^{k-1} cdot f(x_1, dots, x_n)$? (without the $t$ inside)
$endgroup$
– BigbearZzz
Jan 17 at 11:22




$begingroup$
Shouldn't your RHS be $k cdot t^{k-1} cdot f(x_1, dots, x_n)$? (without the $t$ inside)
$endgroup$
– BigbearZzz
Jan 17 at 11:22












$begingroup$
Yes, sorry. That was a mistake on my part.
$endgroup$
– WorldGov
Jan 17 at 11:23




$begingroup$
Yes, sorry. That was a mistake on my part.
$endgroup$
– WorldGov
Jan 17 at 11:23












$begingroup$
You need to assume that $k>1$. For $k>1$, you may fact out the variable $x_1$ first, then factor out the variable $x_2$ from the remainder and so on. Try to write down an example and you'll see it is simple.
$endgroup$
– James
Jan 17 at 11:27




$begingroup$
You need to assume that $k>1$. For $k>1$, you may fact out the variable $x_1$ first, then factor out the variable $x_2$ from the remainder and so on. Try to write down an example and you'll see it is simple.
$endgroup$
– James
Jan 17 at 11:27










1 Answer
1






active

oldest

votes


















1












$begingroup$

On the RHS, you just apply the usual rules of single variable calculus. The factor $t^k$ becomes $k t^{k-1}$ and $f(x_1,dots,x_n)$ is constant with respect to $t$, so you can just keep it.



For the LHS you are looking for the chain rule for multivariable functions. If $f(x_1,dots,x_n)$ is a function of $n$ variables and you have $n$ functions $z_1(t),dots,z_n(t)$ each of one variable $t$, then



$$
frac{mathrm d}{mathrm dt} f(z_1(t),dots,z_n(t)) = frac{partial f}{partial x_1}(z_1(t),dots,z_n(t)) cdot frac{mathrm dz_1}{mathrm dt}(t) + dots +frac{partial f}{partial x_n}(z_1(t),dots,z_n(t)) cdot frac{mathrm dz_n}{mathrm dt}(t)
$$



In your example you have $z_i(t) = tx_i$ so that $frac{mathrm dz_i}{mathrm dt}(t) = x_i$.






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%2f3076858%2fdifferentiating-a-function-that-is-defined-generally-for-eg-f-x-1-x-2%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$

    On the RHS, you just apply the usual rules of single variable calculus. The factor $t^k$ becomes $k t^{k-1}$ and $f(x_1,dots,x_n)$ is constant with respect to $t$, so you can just keep it.



    For the LHS you are looking for the chain rule for multivariable functions. If $f(x_1,dots,x_n)$ is a function of $n$ variables and you have $n$ functions $z_1(t),dots,z_n(t)$ each of one variable $t$, then



    $$
    frac{mathrm d}{mathrm dt} f(z_1(t),dots,z_n(t)) = frac{partial f}{partial x_1}(z_1(t),dots,z_n(t)) cdot frac{mathrm dz_1}{mathrm dt}(t) + dots +frac{partial f}{partial x_n}(z_1(t),dots,z_n(t)) cdot frac{mathrm dz_n}{mathrm dt}(t)
    $$



    In your example you have $z_i(t) = tx_i$ so that $frac{mathrm dz_i}{mathrm dt}(t) = x_i$.






    share|cite|improve this answer











    $endgroup$


















      1












      $begingroup$

      On the RHS, you just apply the usual rules of single variable calculus. The factor $t^k$ becomes $k t^{k-1}$ and $f(x_1,dots,x_n)$ is constant with respect to $t$, so you can just keep it.



      For the LHS you are looking for the chain rule for multivariable functions. If $f(x_1,dots,x_n)$ is a function of $n$ variables and you have $n$ functions $z_1(t),dots,z_n(t)$ each of one variable $t$, then



      $$
      frac{mathrm d}{mathrm dt} f(z_1(t),dots,z_n(t)) = frac{partial f}{partial x_1}(z_1(t),dots,z_n(t)) cdot frac{mathrm dz_1}{mathrm dt}(t) + dots +frac{partial f}{partial x_n}(z_1(t),dots,z_n(t)) cdot frac{mathrm dz_n}{mathrm dt}(t)
      $$



      In your example you have $z_i(t) = tx_i$ so that $frac{mathrm dz_i}{mathrm dt}(t) = x_i$.






      share|cite|improve this answer











      $endgroup$
















        1












        1








        1





        $begingroup$

        On the RHS, you just apply the usual rules of single variable calculus. The factor $t^k$ becomes $k t^{k-1}$ and $f(x_1,dots,x_n)$ is constant with respect to $t$, so you can just keep it.



        For the LHS you are looking for the chain rule for multivariable functions. If $f(x_1,dots,x_n)$ is a function of $n$ variables and you have $n$ functions $z_1(t),dots,z_n(t)$ each of one variable $t$, then



        $$
        frac{mathrm d}{mathrm dt} f(z_1(t),dots,z_n(t)) = frac{partial f}{partial x_1}(z_1(t),dots,z_n(t)) cdot frac{mathrm dz_1}{mathrm dt}(t) + dots +frac{partial f}{partial x_n}(z_1(t),dots,z_n(t)) cdot frac{mathrm dz_n}{mathrm dt}(t)
        $$



        In your example you have $z_i(t) = tx_i$ so that $frac{mathrm dz_i}{mathrm dt}(t) = x_i$.






        share|cite|improve this answer











        $endgroup$



        On the RHS, you just apply the usual rules of single variable calculus. The factor $t^k$ becomes $k t^{k-1}$ and $f(x_1,dots,x_n)$ is constant with respect to $t$, so you can just keep it.



        For the LHS you are looking for the chain rule for multivariable functions. If $f(x_1,dots,x_n)$ is a function of $n$ variables and you have $n$ functions $z_1(t),dots,z_n(t)$ each of one variable $t$, then



        $$
        frac{mathrm d}{mathrm dt} f(z_1(t),dots,z_n(t)) = frac{partial f}{partial x_1}(z_1(t),dots,z_n(t)) cdot frac{mathrm dz_1}{mathrm dt}(t) + dots +frac{partial f}{partial x_n}(z_1(t),dots,z_n(t)) cdot frac{mathrm dz_n}{mathrm dt}(t)
        $$



        In your example you have $z_i(t) = tx_i$ so that $frac{mathrm dz_i}{mathrm dt}(t) = x_i$.







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Jan 17 at 11:38

























        answered Jan 17 at 11:32









        ChristophChristoph

        12k1642




        12k1642






























            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%2f3076858%2fdifferentiating-a-function-that-is-defined-generally-for-eg-f-x-1-x-2%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

            Mario Kart Wii

            What does “Dominus providebit” mean?

            Antonio Litta Visconti Arese