#Completing the square practice review

50 messages · Page 1 of 1 (latest)

stable plover
#

I am practicing completing the square, in this example I needed to find the roots of the equation y=x^2+6x+9 and I used two different methods as part of my practice. I verified the equation in an online graphing calculator (attached as image). I spelled out each step a lot as I want to practice my understanding thoroughly.

Im asking for a review in my approach, can you verify I did everything correctly? Do you have any suggestions or critique? Thanks for the help!

Solve for x to find the roots of parabola y=x^2+6x+9.

METHOD 1:
y=x^2+6x+9
x^2+6x+9=0
x^2+6x=-9

PLUS:
x^2+3^2+6x=-9+(-3)^2
(a+b)^2=a^2+b^2+2ab
x^2+3^2+2*2*3x=0
(x+3)^2=0
sqrt((x+3)^2)=sqrt(0)
x+3=0
x=-3

MINUS:
x^2-3^2+6x=-9-(-3)^2
(a-b)^2=a^2+b^2-2ab
x^2+3^2-2*2*3x=-18
(x-3)^2=-18
NO SOLUTION FOR MINUS, SINCE SQUARE ROOT OF -18 IS NOT POSSIBLE
NOT POSSIBLE: sqrt((x-3)^2)=sqrt(-18)

Therefore x=-3 is the only solution to solve for x in y=x^2+6x+9, and therefore y=x^2+6x+9 has only one root (-3,0) which is also the coordinate of the vertex of the parabola y=x^2+6x+9



METHOD 2:
$ax^2+bx+c=0$
$x2+(b/a)x=-c/a$
$(x+b/(2a))^2=-c/a+b^2/(4a^2)$
-c/a+b^2/(4a^2)=(b^2-4ac)/(4a^2)
x+b/(2a)=+squareroot(b^2-4ac)/(2a)
PLUS: x=(-6+squareroot(b^2-4ac))/(2a)
MINUS: x=(-6-squareroot(b^2-4ac))/(2a)

PLUS:
x=(-6+squareroot(b^2-4ac))/(2a)
x^2+6x+9=0
x=(-6+squareroot(6^2-4*9))/2
x=(-6+squareroot(36-36))/2
x=-6/2
x=-3

MINUS:
x=(-6-squareroot(b^2-4ac))/(2a)
x^2+6x+9=0
x=(-6-squareroot(6^2-4*9))/2
x=(-6-squareroot(36-36))/2
x=-6/2
x=-3

Therefore x=-3 is the only solution to solve for x in y=x^2+6x+9, and therefore y=x^2+6x+9 has only one root (-3,0) which is also the coordinate of the vertex of the parabola y=x^2+6x+9
proven valveBOT
stable plover
#

My apology, I forgot to format my equations for Discord, that may have messed up some symbols and made it seem wrong. I put in in code format now, so it should be correct now. Please discard the initial copy you did

hearty kayak
#

Your first two methods are right
But it's really difficult to read and understand. Better to quote in latex.

stable plover
#

Yes it is difficult, my text editor was limited.

#

Is latex a program?

hearty kayak
#

No just put $ sign on both sides of an expression

stable plover
#

Doesn't seem to work

#

I mean it still ends up the same

hearty kayak
#

That's what I know
It just formats it like
$x^2 + y^2 = 2^{a+b}$

neon vineBOT
#

autocrazizt

stable plover
hearty kayak
#

copy paste as text.
It's a the bot that transliterates for us

#

I too learned recently

stable plover
#

$y=x^2+6x+9$
$x^2+6x+9=0$
$x^2+6x=-9$

neon vineBOT
#

DisplayName

stable plover
#

oh

#

like that,

hearty kayak
#

Seems great, right?

stable plover
#

METHOD 1:
$y=x^2+6x+9$
$x^2+6x+9=0$
$x^2+6x=-9$

PLUS:
$x^2+3^2+6x=-9+(-3)^2$
$(a+b)^2=a^2+b^2+2ab$
$x^2+3^2+223x=0$
$(x+3)^2=0$
$sqrt((x+3)^2)=sqrt(0)$
$x+3=0$
$x=-3$

MINUS:
$x^2-3^2+6x=-9-(-3)^2$
$(a-b)^2=a^2+b^2-2ab$
$x^2+3^2-223x=-18$
$(x-3)^2=-18$
NO SOLUTION FOR MINUS, SINCE SQUARE ROOT OF $-18$ IS NOT POSSIBLE
NOT POSSIBLE: $sqrt((x-3)^2)=sqrt(-18)$

Therefore x=-3 is the only solution to solve for $x$ in $y=x^2+6x+9$, and therefore $y=x^2+6x+9$ has only one root $(-3,0)$ which is also the coordinate of the vertex of the parabola $y=x^2+6x+9$

METHOD 2:
$ax^2+bx+c=0$
$x2+(b/a)x=-c/a$
$(x+b/(2a))^2=-c/a+b^2/(4a^2)$
$-c/a+b^2/(4a^2)=(b^2-4ac)/(4a^2)$
$x+b/(2a)=+squareroot(b^2-4ac)/(2a)$
$PLUS: x=(-6+squareroot(b^2-4ac))/(2a)$
MINUS: $x=(-6-squareroot(b^2-4ac))/(2a)$

PLUS:
$x=(-6+squareroot(b^2-4ac))/(2a)$
$x^2+6x+9=0$
$x=(-6+squareroot(6^2-4*9))/2$
$x=(-6+squareroot(36-36))/2$
$x=-6/2$
$x=-3$

MINUS:
$x=(-6-squareroot(b^2-4ac))/(2a)$
$x^2+6x+9=0$
$x=(-6-squareroot(6^2-4*9))/2$
$x=(-6-squareroot(36-36))/2$
$x=-6/2$
$x=-3$

Therefore $x=-3$ is the only solution to solve for $x$ in $y=x^2+6x+9$, and therefore $y=x^2+6x+9$ has only one root $(-3,0)$ which is also the coordinate of the vertex of the parabola $y=x^2+6x+9$

neon vineBOT
#

DisplayName

stable plover
#

yikes

hearty kayak
#

Looks like it was better to snd it in bits

stable plover
#

It seems to discard some spacing and paragraphing formats that would have helped to keep

#

METHOD 1:
$y=x^2+6x+9$
$x^2+6x+9=0$
$x^2+6x=-9$

neon vineBOT
#

DisplayName

stable plover
#

METHOD 1:
$y=x^2+6x+9$
$x^2+6x+9=0$
$x^2+6x=-9$

PLUS:
$x^2+3^2+6x=-9+(-3)^2$
$(a+b)^2=a^2+b^2+2ab$
$x^2+3^2+223x=0$
$(x+3)^2=0$
$sqrt((x+3)^2)=sqrt(0)$
$x+3=0$
$x=-3$

MINUS:
$x^2-3^2+6x=-9-(-3)^2$
$(a-b)^2=a^2+b^2-2ab$
$x^2+3^2-223x=-18$
$(x-3)^2=-18$
NO SOLUTION FOR MINUS, SINCE SQUARE ROOT OF $-18$ IS NOT POSSIBLE
NOT POSSIBLE: $sqrt((x-3)^2)=sqrt(-18)$

neon vineBOT
#

DisplayName

fading juniper
#

Bruh all of this to find roots of 2nd degree equation

stable plover
#

Maybe there is a way to format spacing into the latex?

hearty kayak
#

yeah there is,
I have asked in the help channel

stable plover
fading juniper
#

not sure if I can read it ALL

hearty kayak
#

@fading juniper u know how to go to next line and add spacing in latex?

stable plover
fading juniper
#

not realy I don't use LATEX at all

hearty kayak
#

I too prefer handwritten.

stable plover
#

I guess I could do that too and take an image with my phone and upload it

fading juniper
#

Latex is the best option if you are writing documents

stable plover
#

Thanks for the help guys 🙂

#

im closing topic

hearty kayak
#

If you really want to practice try different questions rather than one. @stable plover

stable plover
hearty kayak
#

BTB Here's some documentation on latex

#

Your methods are fine, Try different quadratic equations.

stable plover
#

'

hearty kayak
#

You will strengthen your concept only through practice
I too used to try different methods to see if the answer comes the same, out of curiosity