An expression for the function whose graph consists of the line segment from point to point

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite













An expression for the function whose graph consists of the line segment from (-2,2) and (-1,0) together with the top half of the circle with center the origin and radius 1.



m=$frac0-2-1+2$=-2

d=$sqrt((0-2)^2+(-1+2)^2)$=$sqrt5$

y=2x-2

$x^2+y^2=r^2$

$x^2+y^2=1$

$y^2=1-x^2$

$y=sqrt(1-x^2)$



do i need to add something more?











share|cite|improve this question





















  • It should be $y=-2x-2$. See my answer below.
    – John Wayland Bales
    Nov 13 '16 at 19:24














up vote
0
down vote

favorite













An expression for the function whose graph consists of the line segment from (-2,2) and (-1,0) together with the top half of the circle with center the origin and radius 1.



m=$frac0-2-1+2$=-2

d=$sqrt((0-2)^2+(-1+2)^2)$=$sqrt5$

y=2x-2

$x^2+y^2=r^2$

$x^2+y^2=1$

$y^2=1-x^2$

$y=sqrt(1-x^2)$



do i need to add something more?











share|cite|improve this question





















  • It should be $y=-2x-2$. See my answer below.
    – John Wayland Bales
    Nov 13 '16 at 19:24












up vote
0
down vote

favorite









up vote
0
down vote

favorite












An expression for the function whose graph consists of the line segment from (-2,2) and (-1,0) together with the top half of the circle with center the origin and radius 1.



m=$frac0-2-1+2$=-2

d=$sqrt((0-2)^2+(-1+2)^2)$=$sqrt5$

y=2x-2

$x^2+y^2=r^2$

$x^2+y^2=1$

$y^2=1-x^2$

$y=sqrt(1-x^2)$



do i need to add something more?











share|cite|improve this question














An expression for the function whose graph consists of the line segment from (-2,2) and (-1,0) together with the top half of the circle with center the origin and radius 1.



m=$frac0-2-1+2$=-2

d=$sqrt((0-2)^2+(-1+2)^2)$=$sqrt5$

y=2x-2

$x^2+y^2=r^2$

$x^2+y^2=1$

$y^2=1-x^2$

$y=sqrt(1-x^2)$



do i need to add something more?








algebra-precalculus






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Nov 13 '16 at 16:14









Alyssa x

687




687











  • It should be $y=-2x-2$. See my answer below.
    – John Wayland Bales
    Nov 13 '16 at 19:24
















  • It should be $y=-2x-2$. See my answer below.
    – John Wayland Bales
    Nov 13 '16 at 19:24















It should be $y=-2x-2$. See my answer below.
– John Wayland Bales
Nov 13 '16 at 19:24




It should be $y=-2x-2$. See my answer below.
– John Wayland Bales
Nov 13 '16 at 19:24










1 Answer
1






active

oldest

votes

















up vote
0
down vote













This is an example of a "piecewise defined function."



On the interval $[-2,-1]$ the function is defined by $y=-2x-2$ whereas on the interval $[-1,1]$ it is defined by the $y=sqrt1-x^2$. Accordingly the function can be expressed in the form



beginequation
f(x)=begincases
-2x-2text for -2le x<-1\
sqrt1-x^2text for -1le xle1
endcases
endequation



Another way to express the function is using the $textbfunit step function$



beginequation
U(x)=begincases
0text for x<0\
1text for xge0
endcases
endequation



Then



begineqnarray
f(x)&=&-2(x+1)U(x+2)+left[sqrt1-x^2+2(x+1)right],U(x+1)\
&-&sqrt1-x^2U(x-1)
endeqnarray



However, this assumes it is defined everywhere on $mathbbR$ and equal to $0$ outside the given domain.



Here is a graph:



Graph of piecewise function






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',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    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%2f2012088%2fan-expression-for-the-function-whose-graph-consists-of-the-line-segment-from-poi%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    This is an example of a "piecewise defined function."



    On the interval $[-2,-1]$ the function is defined by $y=-2x-2$ whereas on the interval $[-1,1]$ it is defined by the $y=sqrt1-x^2$. Accordingly the function can be expressed in the form



    beginequation
    f(x)=begincases
    -2x-2text for -2le x<-1\
    sqrt1-x^2text for -1le xle1
    endcases
    endequation



    Another way to express the function is using the $textbfunit step function$



    beginequation
    U(x)=begincases
    0text for x<0\
    1text for xge0
    endcases
    endequation



    Then



    begineqnarray
    f(x)&=&-2(x+1)U(x+2)+left[sqrt1-x^2+2(x+1)right],U(x+1)\
    &-&sqrt1-x^2U(x-1)
    endeqnarray



    However, this assumes it is defined everywhere on $mathbbR$ and equal to $0$ outside the given domain.



    Here is a graph:



    Graph of piecewise function






    share|cite|improve this answer


























      up vote
      0
      down vote













      This is an example of a "piecewise defined function."



      On the interval $[-2,-1]$ the function is defined by $y=-2x-2$ whereas on the interval $[-1,1]$ it is defined by the $y=sqrt1-x^2$. Accordingly the function can be expressed in the form



      beginequation
      f(x)=begincases
      -2x-2text for -2le x<-1\
      sqrt1-x^2text for -1le xle1
      endcases
      endequation



      Another way to express the function is using the $textbfunit step function$



      beginequation
      U(x)=begincases
      0text for x<0\
      1text for xge0
      endcases
      endequation



      Then



      begineqnarray
      f(x)&=&-2(x+1)U(x+2)+left[sqrt1-x^2+2(x+1)right],U(x+1)\
      &-&sqrt1-x^2U(x-1)
      endeqnarray



      However, this assumes it is defined everywhere on $mathbbR$ and equal to $0$ outside the given domain.



      Here is a graph:



      Graph of piecewise function






      share|cite|improve this answer
























        up vote
        0
        down vote










        up vote
        0
        down vote









        This is an example of a "piecewise defined function."



        On the interval $[-2,-1]$ the function is defined by $y=-2x-2$ whereas on the interval $[-1,1]$ it is defined by the $y=sqrt1-x^2$. Accordingly the function can be expressed in the form



        beginequation
        f(x)=begincases
        -2x-2text for -2le x<-1\
        sqrt1-x^2text for -1le xle1
        endcases
        endequation



        Another way to express the function is using the $textbfunit step function$



        beginequation
        U(x)=begincases
        0text for x<0\
        1text for xge0
        endcases
        endequation



        Then



        begineqnarray
        f(x)&=&-2(x+1)U(x+2)+left[sqrt1-x^2+2(x+1)right],U(x+1)\
        &-&sqrt1-x^2U(x-1)
        endeqnarray



        However, this assumes it is defined everywhere on $mathbbR$ and equal to $0$ outside the given domain.



        Here is a graph:



        Graph of piecewise function






        share|cite|improve this answer














        This is an example of a "piecewise defined function."



        On the interval $[-2,-1]$ the function is defined by $y=-2x-2$ whereas on the interval $[-1,1]$ it is defined by the $y=sqrt1-x^2$. Accordingly the function can be expressed in the form



        beginequation
        f(x)=begincases
        -2x-2text for -2le x<-1\
        sqrt1-x^2text for -1le xle1
        endcases
        endequation



        Another way to express the function is using the $textbfunit step function$



        beginequation
        U(x)=begincases
        0text for x<0\
        1text for xge0
        endcases
        endequation



        Then



        begineqnarray
        f(x)&=&-2(x+1)U(x+2)+left[sqrt1-x^2+2(x+1)right],U(x+1)\
        &-&sqrt1-x^2U(x-1)
        endeqnarray



        However, this assumes it is defined everywhere on $mathbbR$ and equal to $0$ outside the given domain.



        Here is a graph:



        Graph of piecewise function







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Nov 13 '16 at 19:43

























        answered Nov 13 '16 at 19:22









        John Wayland Bales

        13.2k21136




        13.2k21136



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2012088%2fan-expression-for-the-function-whose-graph-consists-of-the-line-segment-from-poi%23new-answer', 'question_page');

            );

            Post as a guest













































































            這個網誌中的熱門文章

            How to combine Bézier curves to a surface?

            Mutual Information Always Non-negative

            Why am i infinitely getting the same tweet with the Twitter Search API?