f: Ta có: \(2x\left(2x-1\right)^2-3x\left(x+3\right)\left(x-3\right)-4x\left(x+1\right)^2\)
\(=2x\left(4x^2-4x+1\right)-3x\left(x^2-9\right)-4x\left(x^2+2x+1\right)\)
\(=8x^3-8x^2+2x-3x^3+27x-4x^3-8x^2-4x\)
\(=x^3-16x^2+25x\)
g: Ta có: \(3\left(x+2\right)^2-\left(3x+1\right)\left(x+5\right)+\left(x+5\right)^2\)
\(=3\left(x^2+4x+4\right)-\left(3x^2+16x+5\right)+x^2+10x+25\)
\(=3x^2+12x+12-3x^2-16x-5+x^2+10x+25\)
\(=x^2+6x+32\)
e) (x+1)2+(x-1)2-2(1+x)(1-x)
= (x+1)2 + 2(1+x)(x-1) + (x-1)2
= (x+1+x-1)2
= 4x2
a: Ta có: \(\left(x+1\right)^2+\left(x-1\right)^2-2\left(1+x\right)\left(1-x\right)\)
\(=\left(x+1\right)^2+2\left(x+1\right)\left(x-1\right)+\left(x-1\right)^2\)
\(=\left(x+1+x-1\right)^2\)
\(=4x^2\)
c: Ta có: \(3\left(x+2\right)^2-\left(3x+1\right)\left(x+5\right)+\left(x+5\right)^2\)
\(=3x^2+12x+12-3x^2-16x-5+x^2+10x+25\)
\(=x^2+6x+32\)