Which is an even function?

Which is an even function?
A. f(x)=x2+x3
B. f(x)=x4+x2
C. f(x)=x3+x
D. f(x)=2x-2

Answer:

B. f(x)=x4+x2 because if you were to plug in -x for the x’s, the equation would stay the same.