Algebra · real student question

Can 2x2 - 4x + 1 be factored? If so, factor it.

Question

Determine whether 2x24x+12x^2-4x+1 can be factored, and if so give the factorisation.

Step-by-step solution

  1. Ask the right question first: factored over what? Over the integers a quadratic ax2+bx+cax^2+bx+c factors only when its discriminant is a perfect square. Over the reals it factors whenever the discriminant is non-negative. So compute Δ\Delta before guessing factor pairs.

  2. Compute the discriminant. With a=2a=2, b=4b=-4, c=1c=1: Δ=b24ac=168=8.\Delta = b^2-4ac = 16-8 = 8. Since 8>08>0 there are two distinct real roots, so a real factorisation exists - but 88 is not a perfect square, so no integer or rational factorisation exists. Trying (2x±1)(x±1)(2x\pm1)(x\pm1) and friends is guaranteed to fail.

  3. Find the roots with the quadratic formula. x=4±84=4±224=2±22,x = \frac{4 \pm \sqrt{8}}{4} = \frac{4 \pm 2\sqrt{2}}{4} = \frac{2\pm\sqrt{2}}{2}, so x1.7071x \approx 1.7071 and x0.2929x \approx 0.2929.

  4. Write the root form of the factorisation. Because the leading coefficient is 22, it must be kept in front: 2x24x+1=2(x2+22)(x222).2x^2-4x+1 = 2\left(x-\frac{2+\sqrt2}{2}\right)\left(x-\frac{2-\sqrt2}{2}\right).

  5. Get a tidier form by completing the square. 2x24x+1=2(x22x)+1=2[(x1)21]+1=2(x1)212x^2-4x+1 = 2(x^2-2x)+1 = 2\big[(x-1)^2-1\big]+1 = 2(x-1)^2-1. This is now a difference of squares, (2(x1))212\big(\sqrt2(x-1)\big)^2-1^2, so 2x24x+1=(2(x1)1)(2(x1)+1).2x^2-4x+1 = \left(\sqrt2(x-1)-1\right)\left(\sqrt2(x-1)+1\right).

  6. Check by expanding. (2(x1))21=2(x1)21=2x24x+21=2x24x+1\left(\sqrt2(x-1)\right)^2-1 = 2(x-1)^2-1 = 2x^2-4x+2-1 = 2x^2-4x+1. Correct. Equivalently the factors can be written (2x21)(2x2+1)(\sqrt2 x-\sqrt2-1)(\sqrt2 x-\sqrt2+1).

Answer

2x24x+1=(2(x1)1)(2(x1)+1)=2(x2+22)(x222)2x^2-4x+1 = \left(\sqrt{2}(x-1)-1\right)\left(\sqrt{2}(x-1)+1\right) = 2\left(x-\tfrac{2+\sqrt2}{2}\right)\left(x-\tfrac{2-\sqrt2}{2}\right)

Need to solve a different problem like this? Open the solver →