If $9^{x+1} + (t^2 - 4t - 2)3^x + 1 > 0$, then what values can $t$ take?
This is what I have done:
Let $y = 3^x$
$$9^{x+1} + (t^2 - 4t - 2)3^x + 1 > 0$$ $$\implies9y^2 + (t^2 - 4t - 2)y + 1 > 0$$
For the LHS to be greater than zero, $b^2 - 4ac$ has to be $\lt 0$, since coefficient of $y^2$ is greater than $0$(which will give us an upward opening parabola).
$$(t^2 - 4t - 2)^2 - 36< 0$$
The answer that I get is different from the correct answer. The correct answer to this is $t \in \mathbb{R} - \{2\}$. What did I do wrong?
With the substitution $y= 3^x$, as you mention, we get the equivalent inequality: $$9y^2+(t^2-4t-2)y>0$$ but with the added condition $y> 0$ as $3^x > 0$.
Hence we see that if $b=t^2-4t-2\ge 0$, the LHS is positive for all allowable $y$, so we need to worry only about $b< 0$. Here using the discriminant condition, it is sufficient to show that $$b^2< 4ac \iff (t^2-4t-2)^2< 36 \iff -6 < t^2-4t - 2 < 6$$ As we need only consider $b< 0$, only the left inequality matters. So we have $t^2-4t+4 = (t-2)^2 > 0 \implies t \neq 2$.