Ethan S. answered 05/12/20
To spot the error here, we only need to make one small manipulation. Subtracting 3 from either side of the equation, we get the equation
tan2(x) = -3
tan(x) is a real valued function (at least in this case), and if we square a real number, we always get a positive number result. Here, our result is -3, and there's no real solution to the equation x2 = -3, so this would not be a valid equation if x is a real number.