Algebra · real student question

Factor x^4 - x^2 + 1/4.

Question

Factor

x4x2+14x^4-x^2+\frac{1}{4}

Step-by-step solution

  1. Treat x2x^2 as the working variable. Only even powers appear, and x4=(x2)2x^4=\left(x^2\right)^2, so the expression is a quadratic in u=x2u=x^2:

    u2u+14u^2-u+\frac14

  2. Check the perfect-square pattern with the fractional constant. 14=(12)2\tfrac14=\left(\tfrac12\right)^2, and the middle term must equal 2ab-2ab:

    2u12=u-2\cdot u\cdot\frac12=-u

    which matches. A fraction in the constant is no obstacle — the identity works over any field.

  3. Write the square and substitute back.

    u2u+14=(u12)2x4x2+14=(x212)2u^2-u+\frac14=\left(u-\frac12\right)^2\quad\Longrightarrow\quad x^4-x^2+\frac14=\left(x^2-\frac12\right)^2

  4. Decide whether to go further. Over the reals you could split x212x^2-\tfrac12 as a difference of squares:

    (x12)2(x+12)2\left(x-\tfrac{1}{\sqrt2}\right)^2\left(x+\tfrac{1}{\sqrt2}\right)^2

    but over the rationals (x212)2\left(x^2-\tfrac12\right)^2 is as far as it goes, since 12\tfrac12 is not a rational square.

  5. Verify numerically. At x=2x=2: the original is 164+0.25=12.2516-4+0.25=12.25, and (40.5)2=3.52=12.25\left(4-0.5\right)^2=3.5^2=12.25 \checkmark.

Answer

x4x2+14=(x212)2x^4-x^2+\frac{1}{4}=\left(x^2-\frac{1}{2}\right)^2

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