How to Re-write completing the square:
${x}^{2}+x+1$

Answer & Explanation

Darrell Boone

Beginner2022-01-21Added 9 answers

Step 1
Remember the formula for the square of a binomial:
$(a+b)}^{2}={a}^{2}+2ab+{b}^{2$
Now, when you see ${x}^{2}+x+1$, you want to think of ${x}^{2}+x$ as the first two terms you get in expanding the binomial $(x+c)2$ for some c; that is,
$x}^{2}+x+\cdots ={(x+c)}^{2$
Since the middle term should be $2cx$, and you have x, that means that you want $2c=1$, or $c=\frac{1}{2}$.
But if you have $(x+\frac{1}{2})}^{2$, you get $x}^{2}+x+\frac{1}{4$. Since all you have is ${x}^{2}+x$, you complete the square by adding the missing $\frac{1}{4}$.
Since you are not allowed to just add constants willy-nilly, you must also cancel it out by subtracting $\frac{1}{4}$. So:
${x}^{2}+x+2=({x}^{2}+x+\cdots )+1$ $=({x}^{2}+2\left(\frac{1}{2}\right)x+\cdots )+1$ figuring out what c is
$=({x}^{2}+2\left(\frac{1}{2}\right)x+{\left(\frac{1}{2}\right)}^{2})-\frac{1}{4}+1$ completing the square
$={(x+\frac{1}{2})}^{2}+\frac{3}{4}$

dikgetse3u

Beginner2022-01-22Added 10 answers

Step 1
One can rewrite a degree $n>1$ polynomial $f\left(x\right)={x}^{n}+b{x}^{n-1}+\cdots$ into a form such that its two highest degree terms are ''absorbed'' into a perfect n'th power of a linear polynomial, namely $f\left(x\right)={(x+\frac{b}{n})}^{n}-g\left(x\right)$
where $g\left(x\right)={(x+\frac{b}{n})}^{n}-f\left(x\right)$
has degree $\le n-2$
When $n=2$ this is called completing the square - esp. when used to solve a quadratic equation. If $g\left(x\right)=g$ is constant (as is always true when $n=2$) then this yields a closed form for the roots of $f\left(x\right)$, namely

$x=\sqrt[n]{g}-\frac{b}{2}$

RizerMix

Skilled2022-01-27Added 437 answers

Step 1
As Arturo points out what you have to observe is the coefficient. ${x}^{2}+x+1={x}^{2}+x+\frac{1+3}{4}$$={x}^{2}+x+\frac{1}{4}+\frac{3}{4}$$=(x+\frac{1}{2}{)}^{2}+\frac{3}{4}$
I am sure once you get used to such type of things you shall not have trouble in doing such problems. Solve more problems based on this type. Suppose you have the coefficient of x as a note that $\frac{{a}^{2}}{4}$ should be added and subtracted from the constant term. What i mean by this is: Suppose you have something of this type ${x}^{2}+ax+{b}^{2}$ then you can write this as
$(x+\frac{a}{2}{)}^{2}+{b}^{2}-\frac{{a}^{2}}{4}$.