Completing the square with negative x coefficients












3














I know how to complete the square with positive $x$ coefficients but how do you complete the square with negative $x$ coefficients?



For example:
begin{align*}
f(x) & = x^2 + 6x + 11 \
& = (x^2 + 6x) + 11 \
& = (x^2 + 6x + mathbf{9}) + 11 - mathbf{9} \
& = (x+3)^2 + 2.
end{align*}
For positive you would add 9 inside the parenthesis and subtract 9 outside. However, I get the wrong answer when I do it with a negative coefficient. Do you do the same thing when there is a negative coefficient in front of $x^2$ or is it the other way around? (subtract inside parenthesis and add outside of parenthesis).



Here is an example of a negative coefficient:
$$f(x) = -3x^2 + 5x + 1.$$
I tried to solve this and entered in my answer online but it was wrong.










share|cite|improve this question




















  • 3




    I hope I'm right in saying this (and correct me if I'm wrong), but you can always negate the expression: $$f(x) = -(3x-5x-1)$$ And do the same steps as you mentioned above.
    – David
    Sep 20 '12 at 22:25












  • Oops @David, you omitted an exponent of 2 in the $3x$ term.
    – Rick Decker
    Sep 21 '12 at 1:24
















3














I know how to complete the square with positive $x$ coefficients but how do you complete the square with negative $x$ coefficients?



For example:
begin{align*}
f(x) & = x^2 + 6x + 11 \
& = (x^2 + 6x) + 11 \
& = (x^2 + 6x + mathbf{9}) + 11 - mathbf{9} \
& = (x+3)^2 + 2.
end{align*}
For positive you would add 9 inside the parenthesis and subtract 9 outside. However, I get the wrong answer when I do it with a negative coefficient. Do you do the same thing when there is a negative coefficient in front of $x^2$ or is it the other way around? (subtract inside parenthesis and add outside of parenthesis).



Here is an example of a negative coefficient:
$$f(x) = -3x^2 + 5x + 1.$$
I tried to solve this and entered in my answer online but it was wrong.










share|cite|improve this question




















  • 3




    I hope I'm right in saying this (and correct me if I'm wrong), but you can always negate the expression: $$f(x) = -(3x-5x-1)$$ And do the same steps as you mentioned above.
    – David
    Sep 20 '12 at 22:25












  • Oops @David, you omitted an exponent of 2 in the $3x$ term.
    – Rick Decker
    Sep 21 '12 at 1:24














3












3








3







I know how to complete the square with positive $x$ coefficients but how do you complete the square with negative $x$ coefficients?



For example:
begin{align*}
f(x) & = x^2 + 6x + 11 \
& = (x^2 + 6x) + 11 \
& = (x^2 + 6x + mathbf{9}) + 11 - mathbf{9} \
& = (x+3)^2 + 2.
end{align*}
For positive you would add 9 inside the parenthesis and subtract 9 outside. However, I get the wrong answer when I do it with a negative coefficient. Do you do the same thing when there is a negative coefficient in front of $x^2$ or is it the other way around? (subtract inside parenthesis and add outside of parenthesis).



Here is an example of a negative coefficient:
$$f(x) = -3x^2 + 5x + 1.$$
I tried to solve this and entered in my answer online but it was wrong.










share|cite|improve this question















I know how to complete the square with positive $x$ coefficients but how do you complete the square with negative $x$ coefficients?



For example:
begin{align*}
f(x) & = x^2 + 6x + 11 \
& = (x^2 + 6x) + 11 \
& = (x^2 + 6x + mathbf{9}) + 11 - mathbf{9} \
& = (x+3)^2 + 2.
end{align*}
For positive you would add 9 inside the parenthesis and subtract 9 outside. However, I get the wrong answer when I do it with a negative coefficient. Do you do the same thing when there is a negative coefficient in front of $x^2$ or is it the other way around? (subtract inside parenthesis and add outside of parenthesis).



Here is an example of a negative coefficient:
$$f(x) = -3x^2 + 5x + 1.$$
I tried to solve this and entered in my answer online but it was wrong.







quadratics completing-the-square






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jul 7 '16 at 7:54









Martin Sleziak

44.7k7115270




44.7k7115270










asked Sep 20 '12 at 22:19









Kot

1,32393048




1,32393048








  • 3




    I hope I'm right in saying this (and correct me if I'm wrong), but you can always negate the expression: $$f(x) = -(3x-5x-1)$$ And do the same steps as you mentioned above.
    – David
    Sep 20 '12 at 22:25












  • Oops @David, you omitted an exponent of 2 in the $3x$ term.
    – Rick Decker
    Sep 21 '12 at 1:24














  • 3




    I hope I'm right in saying this (and correct me if I'm wrong), but you can always negate the expression: $$f(x) = -(3x-5x-1)$$ And do the same steps as you mentioned above.
    – David
    Sep 20 '12 at 22:25












  • Oops @David, you omitted an exponent of 2 in the $3x$ term.
    – Rick Decker
    Sep 21 '12 at 1:24








3




3




I hope I'm right in saying this (and correct me if I'm wrong), but you can always negate the expression: $$f(x) = -(3x-5x-1)$$ And do the same steps as you mentioned above.
– David
Sep 20 '12 at 22:25






I hope I'm right in saying this (and correct me if I'm wrong), but you can always negate the expression: $$f(x) = -(3x-5x-1)$$ And do the same steps as you mentioned above.
– David
Sep 20 '12 at 22:25














Oops @David, you omitted an exponent of 2 in the $3x$ term.
– Rick Decker
Sep 21 '12 at 1:24




Oops @David, you omitted an exponent of 2 in the $3x$ term.
– Rick Decker
Sep 21 '12 at 1:24










2 Answers
2






active

oldest

votes


















4














$
begin{split}
f(x) &= -3(x^2-5x/3 - 1/3)\
&= -3( x^2 - 5x/3 + (5/6)^2 - (5/6)^2 - 1/3)\
&= -3( (x - 5/6)^2 - 25/36 - 12/36) \
&= -3(x - 5/6)^2 -3(- 25/36 - 12/36) \
&= -3(x - 5/6)^2 + 37/12.
end{split}$






share|cite|improve this answer





















  • A little more explanation for this would have been nice, but thank you.
    – Carcigenicate
    Apr 15 '15 at 14:49



















1














$$(2ax+b)^2 = 4a^2x^2 + 4abx + b^2$$



So, multiplying by $4a$, or in this case $-4a$, will avoid fractions until the last step.



begin{align}
f(x) &= -3x^2 + 5x + 1 \
-12f(x) &= 36x^2 -60x - 12 \
-12f(x) &= 36x^2 - 60x + 25 - 25 - 12 \
-12f(x) &= (6x-5)^2 - 37 & left(b = frac{4ab}{4a} = dfrac{-60}{12}=-5 right)\
f(x) &= -dfrac{1}{12}(6x-5)^2 + dfrac{37}{12}
end{align}






share|cite|improve this answer




















    protected by Community Feb 27 '15 at 14:03



    Thank you for your interest in this question.
    Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



    Would you like to answer one of these unanswered questions instead?














    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    4














    $
    begin{split}
    f(x) &= -3(x^2-5x/3 - 1/3)\
    &= -3( x^2 - 5x/3 + (5/6)^2 - (5/6)^2 - 1/3)\
    &= -3( (x - 5/6)^2 - 25/36 - 12/36) \
    &= -3(x - 5/6)^2 -3(- 25/36 - 12/36) \
    &= -3(x - 5/6)^2 + 37/12.
    end{split}$






    share|cite|improve this answer





















    • A little more explanation for this would have been nice, but thank you.
      – Carcigenicate
      Apr 15 '15 at 14:49
















    4














    $
    begin{split}
    f(x) &= -3(x^2-5x/3 - 1/3)\
    &= -3( x^2 - 5x/3 + (5/6)^2 - (5/6)^2 - 1/3)\
    &= -3( (x - 5/6)^2 - 25/36 - 12/36) \
    &= -3(x - 5/6)^2 -3(- 25/36 - 12/36) \
    &= -3(x - 5/6)^2 + 37/12.
    end{split}$






    share|cite|improve this answer





















    • A little more explanation for this would have been nice, but thank you.
      – Carcigenicate
      Apr 15 '15 at 14:49














    4












    4








    4






    $
    begin{split}
    f(x) &= -3(x^2-5x/3 - 1/3)\
    &= -3( x^2 - 5x/3 + (5/6)^2 - (5/6)^2 - 1/3)\
    &= -3( (x - 5/6)^2 - 25/36 - 12/36) \
    &= -3(x - 5/6)^2 -3(- 25/36 - 12/36) \
    &= -3(x - 5/6)^2 + 37/12.
    end{split}$






    share|cite|improve this answer












    $
    begin{split}
    f(x) &= -3(x^2-5x/3 - 1/3)\
    &= -3( x^2 - 5x/3 + (5/6)^2 - (5/6)^2 - 1/3)\
    &= -3( (x - 5/6)^2 - 25/36 - 12/36) \
    &= -3(x - 5/6)^2 -3(- 25/36 - 12/36) \
    &= -3(x - 5/6)^2 + 37/12.
    end{split}$







    share|cite|improve this answer












    share|cite|improve this answer



    share|cite|improve this answer










    answered Sep 20 '12 at 22:26









    gt6989b

    33k22452




    33k22452












    • A little more explanation for this would have been nice, but thank you.
      – Carcigenicate
      Apr 15 '15 at 14:49


















    • A little more explanation for this would have been nice, but thank you.
      – Carcigenicate
      Apr 15 '15 at 14:49
















    A little more explanation for this would have been nice, but thank you.
    – Carcigenicate
    Apr 15 '15 at 14:49




    A little more explanation for this would have been nice, but thank you.
    – Carcigenicate
    Apr 15 '15 at 14:49











    1














    $$(2ax+b)^2 = 4a^2x^2 + 4abx + b^2$$



    So, multiplying by $4a$, or in this case $-4a$, will avoid fractions until the last step.



    begin{align}
    f(x) &= -3x^2 + 5x + 1 \
    -12f(x) &= 36x^2 -60x - 12 \
    -12f(x) &= 36x^2 - 60x + 25 - 25 - 12 \
    -12f(x) &= (6x-5)^2 - 37 & left(b = frac{4ab}{4a} = dfrac{-60}{12}=-5 right)\
    f(x) &= -dfrac{1}{12}(6x-5)^2 + dfrac{37}{12}
    end{align}






    share|cite|improve this answer


























      1














      $$(2ax+b)^2 = 4a^2x^2 + 4abx + b^2$$



      So, multiplying by $4a$, or in this case $-4a$, will avoid fractions until the last step.



      begin{align}
      f(x) &= -3x^2 + 5x + 1 \
      -12f(x) &= 36x^2 -60x - 12 \
      -12f(x) &= 36x^2 - 60x + 25 - 25 - 12 \
      -12f(x) &= (6x-5)^2 - 37 & left(b = frac{4ab}{4a} = dfrac{-60}{12}=-5 right)\
      f(x) &= -dfrac{1}{12}(6x-5)^2 + dfrac{37}{12}
      end{align}






      share|cite|improve this answer
























        1












        1








        1






        $$(2ax+b)^2 = 4a^2x^2 + 4abx + b^2$$



        So, multiplying by $4a$, or in this case $-4a$, will avoid fractions until the last step.



        begin{align}
        f(x) &= -3x^2 + 5x + 1 \
        -12f(x) &= 36x^2 -60x - 12 \
        -12f(x) &= 36x^2 - 60x + 25 - 25 - 12 \
        -12f(x) &= (6x-5)^2 - 37 & left(b = frac{4ab}{4a} = dfrac{-60}{12}=-5 right)\
        f(x) &= -dfrac{1}{12}(6x-5)^2 + dfrac{37}{12}
        end{align}






        share|cite|improve this answer












        $$(2ax+b)^2 = 4a^2x^2 + 4abx + b^2$$



        So, multiplying by $4a$, or in this case $-4a$, will avoid fractions until the last step.



        begin{align}
        f(x) &= -3x^2 + 5x + 1 \
        -12f(x) &= 36x^2 -60x - 12 \
        -12f(x) &= 36x^2 - 60x + 25 - 25 - 12 \
        -12f(x) &= (6x-5)^2 - 37 & left(b = frac{4ab}{4a} = dfrac{-60}{12}=-5 right)\
        f(x) &= -dfrac{1}{12}(6x-5)^2 + dfrac{37}{12}
        end{align}







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Dec 3 '18 at 12:35









        steven gregory

        17.7k32257




        17.7k32257

















            protected by Community Feb 27 '15 at 14:03



            Thank you for your interest in this question.
            Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



            Would you like to answer one of these unanswered questions instead?



            Popular posts from this blog

            Berounka

            Sphinx de Gizeh

            Different font size/position of beamer's navigation symbols template's content depending on regular/plain...