# How do you solve the equation #x^2-4x+1=0# by completing the square?

##### 2 Answers

#### Answer:

#### Explanation:

The difference of squares identity can be written:

#A^2-B^2=(A-B)(A+B)#

We can complete the square and use this with

#0 = x^2-4x+1#

#color(white)(0) = x^2-4x+4-3#

#color(white)(0) = (x-2)^2-(sqrt(3))^2#

#color(white)(0) = ((x-2)-sqrt(3))((x-2)+sqrt(3))#

#color(white)(0) = (x-2-sqrt(3))(x-2+sqrt(3))#

Hence:

#x = 2+-sqrt(3)#

#### Answer:

In this question you are asked to solve the given equation by the completing the square method. The whole purpose of using this method is to create a perfect square that can be factored "perfectly".

#### Explanation:

Right now, if you tried factoring this question it wouldn't work. So, let's complete the square!

The first step is identifying your terms, in which your current equation looks like this:

For completing the square method, you will need to your 'a' and 'b' terms, and this is done by moving the 'c' term over to the other side of the equation to look like this:

Now, we add in component that will lead us to completing the square, which is

Then, once you have added that part in, solve the equation by factoring:

Now, to find 'x' you will apply the Null Factor Law. This means you will now let 'x' = 0, and simply move the -2 over to the other side to find your answer. Note: since we are using a perfect square, x will only have one value since there is only one answer (x-2) in the brackets, meaning in this case we can ignore the exponent (as the answers will be the same). If there was more than one answer in the bracket (e.g. (x-4) and (x-6)), then we would apply Null Factor Law to both brackets and solve for x.