\(D=x^4+4xy+4y^2-z^2+2xt-t^2\)
\(=\left[x^2+2.x.2y+\left(2y\right)^2\right]-\left(z^2-2.z.t+t^2\right)\)
\(=\left(x+2y\right)^2-\left(z-t\right)^2\)
\(=\left(x+2y-z+t\right)\left(x+2y+z-t\right)\)
Với \(x=10;y=40;z=30;t=20\):
\(D=\left(10+2.40-30+20\right)\left(10+2.40+30-20\right)\)
\(=\left(10+80-10\right)\left(10+80+10\right)\)
\(=80.100=8000\)
Vậy \(D=8000\)