# Brushing up on factoring

#### paulmdrdo

##### Active member
how to force factor this into the difference of two squares.

$\displaystyle x^4 + 1$

#### ZaidAlyafey

##### Well-known member
MHB Math Helper
Re: brushing up on factoring.

$$\displaystyle x^4+1=x^4+2x^2+1-2x^2$$

or

$$\displaystyle x^4+1=x^4-i^2$$

The rest is for you #### paulmdrdo

##### Active member
Re: brushing up on factoring.

I would get this

\displaystyle \displaystyle \begin{align*} x^4 + 1 &= x^4 + 2x^2 + 1 - 2x^2 \\& = \left( x^2 + 1 \right) ^2 - \left( \sqrt{2} \, x \right) ^2 \\& = \left( x^2 - \sqrt{2}\, x + 1 \right) \left( x^2 + \sqrt{2}\,x + 1 \right) \end{align*}

but i want to know what's your reasoning by choosing the term 2x^2?

#### ZaidAlyafey

##### Well-known member
MHB Math Helper
Re: brushing up on factoring.

I would get this

\displaystyle \displaystyle \begin{align*} x^4 + 1 &= x^4 + 2x^2 + 1 - 2x^2 \\& = \left( x^2 + 1 \right) ^2 - \left( \sqrt{2} \, x \right) ^2 \\& = \left( x^2 - \sqrt{2}\, x + 1 \right) \left( x^2 + \sqrt{2}\,x + 1 \right) \end{align*}

but i want to know what's your reasoning by choosing the term 2x^2?
The idea is complete the square , since if we have for example :

$$\displaystyle x^2+1$$ our first glance suggests converting it to $x^2+2x+1$ which is a complete square hence factorizing will be possible .