Solve by completing the square?

Expert Answers

An illustration of the letter 'A' in a speech bubbles

Solve `x^2-3x+4=0` by completing the square:

`x^2-3x+4=0` subtract 4 from both sides

`x^2-3x=-4` Now add `(-3/2)^2` to both sides


The left hand side is now a perfect square trianomial; `a^2-2ab+b^2=(a-b)^2` . Here a=x and `b=3/2` so

`(x-3/2)^2=-7/4`   Take the square root of both sides:


`x=3/2+-sqrt(7)/2 i` where `i=sqrt(-1)`


If you meant to write in vertex form we follow a similar procedure:

`y=x^2-3x+4`  Add and subtract `9/4`


`y=(x-3/2)^2+7/4` which is in vertex form.


Why `(-3/2)^2` ? We want to add a number k such that `x^2-3x+k` is a perfect square trianomial. Then we need `2(1)(sqrt(k))=-3==>sqrt(k)=-3/2==>k=(-3/2)^2`

See eNotes Ad-Free

Start your 48-hour free trial to get access to more than 30,000 additional guides and more than 350,000 Homework Help questions answered by our experts.

Get 48 Hours Free Access
Approved by eNotes Editorial