Show that the function $|t|^p$ is convex on $Bbb{R}$












1












$begingroup$


Let $f:Bbb{R}toBbb R$ be a function defined as $f(t) = |t|^p$ with $pgeq1$. I want to show that $f$ is convex by showing its second derivative is non-negative. I have tried calculating the second derivative but this led to confusion, is there a simpler way?










share|cite|improve this question











$endgroup$








  • 2




    $begingroup$
    Can you describe some more the confusion you had?
    $endgroup$
    – OldGodzilla
    Jan 16 at 20:13










  • $begingroup$
    Hi Sam. Please look at how I edited your post, to see how to type math. It will be helpful if you need to make changes.
    $endgroup$
    – Chickenmancer
    Jan 16 at 20:14










  • $begingroup$
    I don't really understand how to actually compute this derivative, mainly due to the |t| part. But also what happens at t=0? since I am to show this property for all of t on R.
    $endgroup$
    – Sam.S
    Jan 16 at 20:23










  • $begingroup$
    @Sam.S Use the chain rule.
    $endgroup$
    – Will M.
    Jan 16 at 20:25






  • 1




    $begingroup$
    @Sam.S I've linked to the proof that the composition of an increasing convex function and a convex function is convex. More specifically it is this post math.stackexchange.com/a/473922/231327 I hope you might find it helpful.
    $endgroup$
    – BigbearZzz
    Jan 16 at 21:06
















1












$begingroup$


Let $f:Bbb{R}toBbb R$ be a function defined as $f(t) = |t|^p$ with $pgeq1$. I want to show that $f$ is convex by showing its second derivative is non-negative. I have tried calculating the second derivative but this led to confusion, is there a simpler way?










share|cite|improve this question











$endgroup$








  • 2




    $begingroup$
    Can you describe some more the confusion you had?
    $endgroup$
    – OldGodzilla
    Jan 16 at 20:13










  • $begingroup$
    Hi Sam. Please look at how I edited your post, to see how to type math. It will be helpful if you need to make changes.
    $endgroup$
    – Chickenmancer
    Jan 16 at 20:14










  • $begingroup$
    I don't really understand how to actually compute this derivative, mainly due to the |t| part. But also what happens at t=0? since I am to show this property for all of t on R.
    $endgroup$
    – Sam.S
    Jan 16 at 20:23










  • $begingroup$
    @Sam.S Use the chain rule.
    $endgroup$
    – Will M.
    Jan 16 at 20:25






  • 1




    $begingroup$
    @Sam.S I've linked to the proof that the composition of an increasing convex function and a convex function is convex. More specifically it is this post math.stackexchange.com/a/473922/231327 I hope you might find it helpful.
    $endgroup$
    – BigbearZzz
    Jan 16 at 21:06














1












1








1





$begingroup$


Let $f:Bbb{R}toBbb R$ be a function defined as $f(t) = |t|^p$ with $pgeq1$. I want to show that $f$ is convex by showing its second derivative is non-negative. I have tried calculating the second derivative but this led to confusion, is there a simpler way?










share|cite|improve this question











$endgroup$




Let $f:Bbb{R}toBbb R$ be a function defined as $f(t) = |t|^p$ with $pgeq1$. I want to show that $f$ is convex by showing its second derivative is non-negative. I have tried calculating the second derivative but this led to confusion, is there a simpler way?







real-analysis convex-analysis






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Feb 11 at 17:44









Xander Henderson

14.6k103555




14.6k103555










asked Jan 16 at 20:11









Sam.SSam.S

649




649








  • 2




    $begingroup$
    Can you describe some more the confusion you had?
    $endgroup$
    – OldGodzilla
    Jan 16 at 20:13










  • $begingroup$
    Hi Sam. Please look at how I edited your post, to see how to type math. It will be helpful if you need to make changes.
    $endgroup$
    – Chickenmancer
    Jan 16 at 20:14










  • $begingroup$
    I don't really understand how to actually compute this derivative, mainly due to the |t| part. But also what happens at t=0? since I am to show this property for all of t on R.
    $endgroup$
    – Sam.S
    Jan 16 at 20:23










  • $begingroup$
    @Sam.S Use the chain rule.
    $endgroup$
    – Will M.
    Jan 16 at 20:25






  • 1




    $begingroup$
    @Sam.S I've linked to the proof that the composition of an increasing convex function and a convex function is convex. More specifically it is this post math.stackexchange.com/a/473922/231327 I hope you might find it helpful.
    $endgroup$
    – BigbearZzz
    Jan 16 at 21:06














  • 2




    $begingroup$
    Can you describe some more the confusion you had?
    $endgroup$
    – OldGodzilla
    Jan 16 at 20:13










  • $begingroup$
    Hi Sam. Please look at how I edited your post, to see how to type math. It will be helpful if you need to make changes.
    $endgroup$
    – Chickenmancer
    Jan 16 at 20:14










  • $begingroup$
    I don't really understand how to actually compute this derivative, mainly due to the |t| part. But also what happens at t=0? since I am to show this property for all of t on R.
    $endgroup$
    – Sam.S
    Jan 16 at 20:23










  • $begingroup$
    @Sam.S Use the chain rule.
    $endgroup$
    – Will M.
    Jan 16 at 20:25






  • 1




    $begingroup$
    @Sam.S I've linked to the proof that the composition of an increasing convex function and a convex function is convex. More specifically it is this post math.stackexchange.com/a/473922/231327 I hope you might find it helpful.
    $endgroup$
    – BigbearZzz
    Jan 16 at 21:06








2




2




$begingroup$
Can you describe some more the confusion you had?
$endgroup$
– OldGodzilla
Jan 16 at 20:13




$begingroup$
Can you describe some more the confusion you had?
$endgroup$
– OldGodzilla
Jan 16 at 20:13












$begingroup$
Hi Sam. Please look at how I edited your post, to see how to type math. It will be helpful if you need to make changes.
$endgroup$
– Chickenmancer
Jan 16 at 20:14




$begingroup$
Hi Sam. Please look at how I edited your post, to see how to type math. It will be helpful if you need to make changes.
$endgroup$
– Chickenmancer
Jan 16 at 20:14












$begingroup$
I don't really understand how to actually compute this derivative, mainly due to the |t| part. But also what happens at t=0? since I am to show this property for all of t on R.
$endgroup$
– Sam.S
Jan 16 at 20:23




$begingroup$
I don't really understand how to actually compute this derivative, mainly due to the |t| part. But also what happens at t=0? since I am to show this property for all of t on R.
$endgroup$
– Sam.S
Jan 16 at 20:23












$begingroup$
@Sam.S Use the chain rule.
$endgroup$
– Will M.
Jan 16 at 20:25




$begingroup$
@Sam.S Use the chain rule.
$endgroup$
– Will M.
Jan 16 at 20:25




1




1




$begingroup$
@Sam.S I've linked to the proof that the composition of an increasing convex function and a convex function is convex. More specifically it is this post math.stackexchange.com/a/473922/231327 I hope you might find it helpful.
$endgroup$
– BigbearZzz
Jan 16 at 21:06




$begingroup$
@Sam.S I've linked to the proof that the composition of an increasing convex function and a convex function is convex. More specifically it is this post math.stackexchange.com/a/473922/231327 I hope you might find it helpful.
$endgroup$
– BigbearZzz
Jan 16 at 21:06










1 Answer
1






active

oldest

votes


















2












$begingroup$

The function $f:Bbb Rto[0,infty)$ defined by $$f(x)=|x|$$ is convex. Also, the function $g:[0,infty)to [0,infty)$ defined by
$$
g(t)=t^p
$$
is convex and increasing for $pge 1$. The composition of two such functions is convex, hence
$$
|t|^p = gcirc f(t)
$$

is a convex function.



You can prove that $g$ is convex using derivative test as you want.





Showing that $f$ is convex: Take any $x,yinBbb R$, we have
$$
|(1-lambda)x + lambda y| le |1-lambda||x| + |lambda| |y| = (1-lambda)|x| + lambda |y|
$$

for any $lambdain[0,1]$, which show that $f(x)=|x|$ is convex.






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%2f3076231%2fshow-that-the-function-tp-is-convex-on-bbbr%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









    2












    $begingroup$

    The function $f:Bbb Rto[0,infty)$ defined by $$f(x)=|x|$$ is convex. Also, the function $g:[0,infty)to [0,infty)$ defined by
    $$
    g(t)=t^p
    $$
    is convex and increasing for $pge 1$. The composition of two such functions is convex, hence
    $$
    |t|^p = gcirc f(t)
    $$

    is a convex function.



    You can prove that $g$ is convex using derivative test as you want.





    Showing that $f$ is convex: Take any $x,yinBbb R$, we have
    $$
    |(1-lambda)x + lambda y| le |1-lambda||x| + |lambda| |y| = (1-lambda)|x| + lambda |y|
    $$

    for any $lambdain[0,1]$, which show that $f(x)=|x|$ is convex.






    share|cite|improve this answer











    $endgroup$


















      2












      $begingroup$

      The function $f:Bbb Rto[0,infty)$ defined by $$f(x)=|x|$$ is convex. Also, the function $g:[0,infty)to [0,infty)$ defined by
      $$
      g(t)=t^p
      $$
      is convex and increasing for $pge 1$. The composition of two such functions is convex, hence
      $$
      |t|^p = gcirc f(t)
      $$

      is a convex function.



      You can prove that $g$ is convex using derivative test as you want.





      Showing that $f$ is convex: Take any $x,yinBbb R$, we have
      $$
      |(1-lambda)x + lambda y| le |1-lambda||x| + |lambda| |y| = (1-lambda)|x| + lambda |y|
      $$

      for any $lambdain[0,1]$, which show that $f(x)=|x|$ is convex.






      share|cite|improve this answer











      $endgroup$
















        2












        2








        2





        $begingroup$

        The function $f:Bbb Rto[0,infty)$ defined by $$f(x)=|x|$$ is convex. Also, the function $g:[0,infty)to [0,infty)$ defined by
        $$
        g(t)=t^p
        $$
        is convex and increasing for $pge 1$. The composition of two such functions is convex, hence
        $$
        |t|^p = gcirc f(t)
        $$

        is a convex function.



        You can prove that $g$ is convex using derivative test as you want.





        Showing that $f$ is convex: Take any $x,yinBbb R$, we have
        $$
        |(1-lambda)x + lambda y| le |1-lambda||x| + |lambda| |y| = (1-lambda)|x| + lambda |y|
        $$

        for any $lambdain[0,1]$, which show that $f(x)=|x|$ is convex.






        share|cite|improve this answer











        $endgroup$



        The function $f:Bbb Rto[0,infty)$ defined by $$f(x)=|x|$$ is convex. Also, the function $g:[0,infty)to [0,infty)$ defined by
        $$
        g(t)=t^p
        $$
        is convex and increasing for $pge 1$. The composition of two such functions is convex, hence
        $$
        |t|^p = gcirc f(t)
        $$

        is a convex function.



        You can prove that $g$ is convex using derivative test as you want.





        Showing that $f$ is convex: Take any $x,yinBbb R$, we have
        $$
        |(1-lambda)x + lambda y| le |1-lambda||x| + |lambda| |y| = (1-lambda)|x| + lambda |y|
        $$

        for any $lambdain[0,1]$, which show that $f(x)=|x|$ is convex.







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Jan 16 at 20:55

























        answered Jan 16 at 20:40









        BigbearZzzBigbearZzz

        8,75121652




        8,75121652






























            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%2f3076231%2fshow-that-the-function-tp-is-convex-on-bbbr%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

            android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

            SQL update select statement

            'app-layout' is not a known element: how to share Component with different Modules