Finding function given limit











up vote
3
down vote

favorite












$$lim_{xto2} frac{x^2-cx+d}{x^2-4} = 3$$
Find $c$ and $d$.



I tried replacing all the x's with 2, but ended up with 0 on the bottom. In order for the limit to exist, something from the top has to cancel out with $(x+2)$ or $(x-2)$. How do I find $c$ and $d$?










share|cite|improve this question









New contributor




Amanda Choi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1




    Hi, Latex/Math-Jax is used to formulate maths in questions and answers, here's a Math-Jax tutorial !. Welcome to our site by the way !
    – Rebellos
    4 hours ago








  • 1




    Here's where to start: You will need an $x-2$ to cancel from numerator and denominator, so you must have $x^2 - cx + d = 0$ when $x = 2$.
    – JavaMan
    4 hours ago















up vote
3
down vote

favorite












$$lim_{xto2} frac{x^2-cx+d}{x^2-4} = 3$$
Find $c$ and $d$.



I tried replacing all the x's with 2, but ended up with 0 on the bottom. In order for the limit to exist, something from the top has to cancel out with $(x+2)$ or $(x-2)$. How do I find $c$ and $d$?










share|cite|improve this question









New contributor




Amanda Choi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1




    Hi, Latex/Math-Jax is used to formulate maths in questions and answers, here's a Math-Jax tutorial !. Welcome to our site by the way !
    – Rebellos
    4 hours ago








  • 1




    Here's where to start: You will need an $x-2$ to cancel from numerator and denominator, so you must have $x^2 - cx + d = 0$ when $x = 2$.
    – JavaMan
    4 hours ago













up vote
3
down vote

favorite









up vote
3
down vote

favorite











$$lim_{xto2} frac{x^2-cx+d}{x^2-4} = 3$$
Find $c$ and $d$.



I tried replacing all the x's with 2, but ended up with 0 on the bottom. In order for the limit to exist, something from the top has to cancel out with $(x+2)$ or $(x-2)$. How do I find $c$ and $d$?










share|cite|improve this question









New contributor




Amanda Choi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











$$lim_{xto2} frac{x^2-cx+d}{x^2-4} = 3$$
Find $c$ and $d$.



I tried replacing all the x's with 2, but ended up with 0 on the bottom. In order for the limit to exist, something from the top has to cancel out with $(x+2)$ or $(x-2)$. How do I find $c$ and $d$?







limits






share|cite|improve this question









New contributor




Amanda Choi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|cite|improve this question









New contributor




Amanda Choi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|cite|improve this question




share|cite|improve this question








edited 4 hours ago









gimusi

86.6k74393




86.6k74393






New contributor




Amanda Choi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 4 hours ago









Amanda Choi

161




161




New contributor




Amanda Choi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Amanda Choi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Amanda Choi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 1




    Hi, Latex/Math-Jax is used to formulate maths in questions and answers, here's a Math-Jax tutorial !. Welcome to our site by the way !
    – Rebellos
    4 hours ago








  • 1




    Here's where to start: You will need an $x-2$ to cancel from numerator and denominator, so you must have $x^2 - cx + d = 0$ when $x = 2$.
    – JavaMan
    4 hours ago














  • 1




    Hi, Latex/Math-Jax is used to formulate maths in questions and answers, here's a Math-Jax tutorial !. Welcome to our site by the way !
    – Rebellos
    4 hours ago








  • 1




    Here's where to start: You will need an $x-2$ to cancel from numerator and denominator, so you must have $x^2 - cx + d = 0$ when $x = 2$.
    – JavaMan
    4 hours ago








1




1




Hi, Latex/Math-Jax is used to formulate maths in questions and answers, here's a Math-Jax tutorial !. Welcome to our site by the way !
– Rebellos
4 hours ago






Hi, Latex/Math-Jax is used to formulate maths in questions and answers, here's a Math-Jax tutorial !. Welcome to our site by the way !
– Rebellos
4 hours ago






1




1




Here's where to start: You will need an $x-2$ to cancel from numerator and denominator, so you must have $x^2 - cx + d = 0$ when $x = 2$.
– JavaMan
4 hours ago




Here's where to start: You will need an $x-2$ to cancel from numerator and denominator, so you must have $x^2 - cx + d = 0$ when $x = 2$.
– JavaMan
4 hours ago










2 Answers
2






active

oldest

votes

















up vote
3
down vote













Your thought process is right. We do need to cancel out the $x-2$ in the bottom to not divide by zero. So assume the numerator is of the form $(x-2)(x+a)=x^2-cx+d$.



Then once we cancel everything out from the original limit, we have $$lim_{xto2} frac{x+a}{x+2}=3$$



$frac{2+a}4=3$ ---> $a=10$



Now go back and multiply everything out: $(x-2)(x+10) = x^2+8x-20$.



Then $c=-8, d=-20$.






share|cite|improve this answer






























    up vote
    1
    down vote













    We have that



    $$lim_{xto 2}frac{x^2-cx+d}{x^2-4}=3$$



    requires that for $x=2$



    $$x^2-cx+d=0 implies 4-2c+d=0 implies d=-4+2c$$



    then



    $$x^2-cx+d=x^2-cx-4+2c=(x-2)(x+2)-c(x-2)=(x-2)(x+2-c)$$



    then



    $$lim_{xto 2}frac{x^2-cx+d}{x^2-4}=lim_{xto 2}frac{(x-2)(x+2-c)}{(x-2)(x+2)}$$



    As an alternative once we recognize that the numerator must vanish at $x=2$, we can use l'Hopital to obtain



    $$lim_{xto 2}frac{x^2-cx+d}{x^2-4}=lim_{xto 2}frac{2x-c}{2x}=3$$



    from which we can find $c$ and then $d$.






    share|cite|improve this answer























    • Just one critique, no need to introduce l'Hopital where unnecessary. Much too advanced for pre-cal.
      – Christopher Marley
      3 hours ago






    • 1




      @ChristopherMarley I agree and I don't like to use l'Hopital at all when it is not strictly necessary and indeed I'm not suggesting that as the first choice. But I think it could be a good alternative in that case at least to double check the result.
      – gimusi
      3 hours ago











    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: 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
    });


    }
    });






    Amanda Choi is a new contributor. Be nice, and check out our Code of Conduct.










     

    draft saved


    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3010934%2ffinding-function-given-limit%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








    up vote
    3
    down vote













    Your thought process is right. We do need to cancel out the $x-2$ in the bottom to not divide by zero. So assume the numerator is of the form $(x-2)(x+a)=x^2-cx+d$.



    Then once we cancel everything out from the original limit, we have $$lim_{xto2} frac{x+a}{x+2}=3$$



    $frac{2+a}4=3$ ---> $a=10$



    Now go back and multiply everything out: $(x-2)(x+10) = x^2+8x-20$.



    Then $c=-8, d=-20$.






    share|cite|improve this answer



























      up vote
      3
      down vote













      Your thought process is right. We do need to cancel out the $x-2$ in the bottom to not divide by zero. So assume the numerator is of the form $(x-2)(x+a)=x^2-cx+d$.



      Then once we cancel everything out from the original limit, we have $$lim_{xto2} frac{x+a}{x+2}=3$$



      $frac{2+a}4=3$ ---> $a=10$



      Now go back and multiply everything out: $(x-2)(x+10) = x^2+8x-20$.



      Then $c=-8, d=-20$.






      share|cite|improve this answer

























        up vote
        3
        down vote










        up vote
        3
        down vote









        Your thought process is right. We do need to cancel out the $x-2$ in the bottom to not divide by zero. So assume the numerator is of the form $(x-2)(x+a)=x^2-cx+d$.



        Then once we cancel everything out from the original limit, we have $$lim_{xto2} frac{x+a}{x+2}=3$$



        $frac{2+a}4=3$ ---> $a=10$



        Now go back and multiply everything out: $(x-2)(x+10) = x^2+8x-20$.



        Then $c=-8, d=-20$.






        share|cite|improve this answer














        Your thought process is right. We do need to cancel out the $x-2$ in the bottom to not divide by zero. So assume the numerator is of the form $(x-2)(x+a)=x^2-cx+d$.



        Then once we cancel everything out from the original limit, we have $$lim_{xto2} frac{x+a}{x+2}=3$$



        $frac{2+a}4=3$ ---> $a=10$



        Now go back and multiply everything out: $(x-2)(x+10) = x^2+8x-20$.



        Then $c=-8, d=-20$.







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited 3 hours ago

























        answered 4 hours ago









        Christopher Marley

        85814




        85814






















            up vote
            1
            down vote













            We have that



            $$lim_{xto 2}frac{x^2-cx+d}{x^2-4}=3$$



            requires that for $x=2$



            $$x^2-cx+d=0 implies 4-2c+d=0 implies d=-4+2c$$



            then



            $$x^2-cx+d=x^2-cx-4+2c=(x-2)(x+2)-c(x-2)=(x-2)(x+2-c)$$



            then



            $$lim_{xto 2}frac{x^2-cx+d}{x^2-4}=lim_{xto 2}frac{(x-2)(x+2-c)}{(x-2)(x+2)}$$



            As an alternative once we recognize that the numerator must vanish at $x=2$, we can use l'Hopital to obtain



            $$lim_{xto 2}frac{x^2-cx+d}{x^2-4}=lim_{xto 2}frac{2x-c}{2x}=3$$



            from which we can find $c$ and then $d$.






            share|cite|improve this answer























            • Just one critique, no need to introduce l'Hopital where unnecessary. Much too advanced for pre-cal.
              – Christopher Marley
              3 hours ago






            • 1




              @ChristopherMarley I agree and I don't like to use l'Hopital at all when it is not strictly necessary and indeed I'm not suggesting that as the first choice. But I think it could be a good alternative in that case at least to double check the result.
              – gimusi
              3 hours ago















            up vote
            1
            down vote













            We have that



            $$lim_{xto 2}frac{x^2-cx+d}{x^2-4}=3$$



            requires that for $x=2$



            $$x^2-cx+d=0 implies 4-2c+d=0 implies d=-4+2c$$



            then



            $$x^2-cx+d=x^2-cx-4+2c=(x-2)(x+2)-c(x-2)=(x-2)(x+2-c)$$



            then



            $$lim_{xto 2}frac{x^2-cx+d}{x^2-4}=lim_{xto 2}frac{(x-2)(x+2-c)}{(x-2)(x+2)}$$



            As an alternative once we recognize that the numerator must vanish at $x=2$, we can use l'Hopital to obtain



            $$lim_{xto 2}frac{x^2-cx+d}{x^2-4}=lim_{xto 2}frac{2x-c}{2x}=3$$



            from which we can find $c$ and then $d$.






            share|cite|improve this answer























            • Just one critique, no need to introduce l'Hopital where unnecessary. Much too advanced for pre-cal.
              – Christopher Marley
              3 hours ago






            • 1




              @ChristopherMarley I agree and I don't like to use l'Hopital at all when it is not strictly necessary and indeed I'm not suggesting that as the first choice. But I think it could be a good alternative in that case at least to double check the result.
              – gimusi
              3 hours ago













            up vote
            1
            down vote










            up vote
            1
            down vote









            We have that



            $$lim_{xto 2}frac{x^2-cx+d}{x^2-4}=3$$



            requires that for $x=2$



            $$x^2-cx+d=0 implies 4-2c+d=0 implies d=-4+2c$$



            then



            $$x^2-cx+d=x^2-cx-4+2c=(x-2)(x+2)-c(x-2)=(x-2)(x+2-c)$$



            then



            $$lim_{xto 2}frac{x^2-cx+d}{x^2-4}=lim_{xto 2}frac{(x-2)(x+2-c)}{(x-2)(x+2)}$$



            As an alternative once we recognize that the numerator must vanish at $x=2$, we can use l'Hopital to obtain



            $$lim_{xto 2}frac{x^2-cx+d}{x^2-4}=lim_{xto 2}frac{2x-c}{2x}=3$$



            from which we can find $c$ and then $d$.






            share|cite|improve this answer














            We have that



            $$lim_{xto 2}frac{x^2-cx+d}{x^2-4}=3$$



            requires that for $x=2$



            $$x^2-cx+d=0 implies 4-2c+d=0 implies d=-4+2c$$



            then



            $$x^2-cx+d=x^2-cx-4+2c=(x-2)(x+2)-c(x-2)=(x-2)(x+2-c)$$



            then



            $$lim_{xto 2}frac{x^2-cx+d}{x^2-4}=lim_{xto 2}frac{(x-2)(x+2-c)}{(x-2)(x+2)}$$



            As an alternative once we recognize that the numerator must vanish at $x=2$, we can use l'Hopital to obtain



            $$lim_{xto 2}frac{x^2-cx+d}{x^2-4}=lim_{xto 2}frac{2x-c}{2x}=3$$



            from which we can find $c$ and then $d$.







            share|cite|improve this answer














            share|cite|improve this answer



            share|cite|improve this answer








            edited 4 hours ago

























            answered 4 hours ago









            gimusi

            86.6k74393




            86.6k74393












            • Just one critique, no need to introduce l'Hopital where unnecessary. Much too advanced for pre-cal.
              – Christopher Marley
              3 hours ago






            • 1




              @ChristopherMarley I agree and I don't like to use l'Hopital at all when it is not strictly necessary and indeed I'm not suggesting that as the first choice. But I think it could be a good alternative in that case at least to double check the result.
              – gimusi
              3 hours ago


















            • Just one critique, no need to introduce l'Hopital where unnecessary. Much too advanced for pre-cal.
              – Christopher Marley
              3 hours ago






            • 1




              @ChristopherMarley I agree and I don't like to use l'Hopital at all when it is not strictly necessary and indeed I'm not suggesting that as the first choice. But I think it could be a good alternative in that case at least to double check the result.
              – gimusi
              3 hours ago
















            Just one critique, no need to introduce l'Hopital where unnecessary. Much too advanced for pre-cal.
            – Christopher Marley
            3 hours ago




            Just one critique, no need to introduce l'Hopital where unnecessary. Much too advanced for pre-cal.
            – Christopher Marley
            3 hours ago




            1




            1




            @ChristopherMarley I agree and I don't like to use l'Hopital at all when it is not strictly necessary and indeed I'm not suggesting that as the first choice. But I think it could be a good alternative in that case at least to double check the result.
            – gimusi
            3 hours ago




            @ChristopherMarley I agree and I don't like to use l'Hopital at all when it is not strictly necessary and indeed I'm not suggesting that as the first choice. But I think it could be a good alternative in that case at least to double check the result.
            – gimusi
            3 hours ago










            Amanda Choi is a new contributor. Be nice, and check out our Code of Conduct.










             

            draft saved


            draft discarded


















            Amanda Choi is a new contributor. Be nice, and check out our Code of Conduct.













            Amanda Choi is a new contributor. Be nice, and check out our Code of Conduct.












            Amanda Choi is a new contributor. Be nice, and check out our Code of Conduct.















             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3010934%2ffinding-function-given-limit%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

            flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

            Mangá

            Eduardo VII do Reino Unido