Help me understand how $x^4-x^2$ was factored into $x^2(x+1)(x-1)$

87 Views Asked by At

In a Khan Academy course there was a problem that required factoring. They gave the answer but they skipped a step as to how this part was factored.

$$x^4-x^2 = x^2(x+1)(x-1)$$

I don't understand where the $+1$ and $-1$ came from and nothing makes sense except for me partly being able to see $x^2$ was factored out. I also put the left side of it in an online equation calculator and it jumped straight to the part on the right. I'm not understanding how you get one from the other.

4

There are 4 best solutions below

0
On

You can write $$x^4-x^2=x^2(x^2-1)=x^2(x+1)(x-1)$$ where the second is the difference of two squares.

5
On

Start from the factorization $$a^2-b^2=(a+b)(a-b)$$ which holds for every numbers $a$ and $b$. Then take $a=x$ and $b=1$. You get $$x^2-1=(x+1)(x-1)$$

0
On

In general case, for a quadratic $ax^2+bx+c$ you can write $$ax^2+bx+c=a(x-x_1)(x-x_2)$$ where $$x_{1,2}=\frac{-b\pm\sqrt{b^2-4ac}}{2a}$$

0
On

Recall well known identity: $a^2-b^2=(a+b)(a-b)$, $$\therefore x^4-x^2=(x^2)^2-(x)^2=(x^2+x)(x^2-x)=x(x+1)x(x-1)=x^2(x+1)(x-1)$$