Step 1 :
The polynomial $ x^{4}-5x^{2}+4 $ can be factorized by using the rational root test. To apply this test first we need to find
at least one rational zero.
Polynomial roots calculator can be used to find rational zero.
In this case one rational zero is $ x = 1 $.
This means that we can divide polynomial $ x^{4}-5x^{2}+4 $ by $ x-1 $ (the factor theorem)
After division we have: (you can use Synthetic Division Calculator for the step-by-step explanation on how to divide polynomials. )
$$ \frac{ x^{4}-5x^{2}+4 }{ x-1 } = x^{3}+x^{2}-4x-4 $$that is:
$$ x^{4}-5x^{2}+4 = ( x-1 )( x^{3}+x^{2}-4x-4 ) $$Step 2 :
To factor $ x^{3}+x^{2}-4x-4 $ we can use factoring by grouping:
Group $ \color{blue}{ x^{3} }$ with $ \color{blue}{ x^{2} }$ and $ \color{red}{ -4x }$ with $ \color{red}{ -4 }$ then factor each group.
$$ \begin{aligned} x^{3}+x^{2}-4x-4 = ( \color{blue}{ x^{3}+x^{2} } ) + ( \color{red}{ -4x-4 }) &= \\ &= \color{blue}{ x^{2}( x+1 )} + \color{red}{ -4( x+1 ) } = \\ &= (x^{2}-4)(x+1) \end{aligned} $$Step 3 :
Rewrite $ x^{2}-4 $ as:
$$ x^{2}-4 = (x)^2 - (2)^2 $$Now we can apply the difference of squares formula.
$$ I^2 - II^2 = (I - II)(I + II) $$After putting $ I = x $ and $ II = 2 $ , we have:
$$ x^{2}-4 = (x)^2 - (2)^2 = ( x-2 ) ( x+2 ) $$