Given the function f(x)=lg[(a2−1)x2+(a+1)x+1]f(x) = \lg \left[\left(a^{2}-1\right)x^{2} + (a+1)x + 1\right]f(x)=lg[(a2−1)x2+(a+1)x+1]: