Bài 4:
a) Ta có: \(a^4+a^2+1\)
\(=a^4+2a^2+1-a^2\)
\(=\left(a^2+1\right)^2-a^2\)
\(=\left(a^2-a+1\right)\left(a^2+a+1\right)\)
b) Ta có: \(a^4+a^2-2\)
\(=a^4+2a^2-a^2-2\)
\(=a^2\left(a^2+2\right)-\left(a^2+2\right)\)
\(=\left(a^2+2\right)\left(a^2-1\right)\)
\(=\left(a^2+2\right)\left(a-1\right)\left(a+1\right)\)
c) Ta có: \(x^4+4x^2-5\)
\(=x^4+5x^2-x^2-5\)
\(=x^2\left(x^2+5\right)-\left(x^2+5\right)\)
\(=\left(x^2+5\right)\left(x^2-1\right)\)
\(=\left(x^2+5\right)\left(x-1\right)\left(x+1\right)\)
d) Ta có: \(x^3-19x-30\)
\(=x^3-25x+6x-30\)
\(=x\left(x^2-25\right)+6\left(x-5\right)\)
\(=x\left(x-5\right)\left(x+5\right)+6\left(x-5\right)\)
\(=\left(x-5\right)\left(x^2+5x\right)+6\left(x-5\right)\)
\(=\left(x-5\right)\left(x^2+5x+6\right)\)
\(=\left(x-5\right)\left(x^2+2x+3x+6\right)\)
\(=\left(x-5\right)\left[x\left(x+2\right)+3\left(x+2\right)\right]\)
\(=\left(x-5\right)\left(x+2\right)\left(x+3\right)\)
e) Ta có: \(x^3-7x-6\)
\(=x^3-4x-3x-6\)
\(=x\left(x^2-4\right)-3\left(x+2\right)\)
\(=x\left(x-2\right)\left(x+2\right)-3\left(x+2\right)\)
\(=\left(x+2\right)\left(x^2-2x\right)-3\left(x+2\right)\)
\(=\left(x+2\right)\left(x^2-2x-3\right)\)
\(=\left(x+2\right)\left(x^2-3x+x-3\right)\)
\(=\left(x+2\right)\left[x\left(x-3\right)+\left(x-3\right)\right]\)
\(=\left(x+2\right)\left(x-3\right)\left(x+1\right)\)
f) Ta có: \(x^3-5x^2-14x\)
\(=x\left(x^2-5x-14\right)\)
\(=x\left(x^2-7x+2x-14\right)\)
\(=x\left[x\left(x-7\right)+2\left(x-7\right)\right]\)
\(=x\left(x-7\right)\left(x+2\right)\)