I'm trying to solve below equation using sympy.solve
import sympy as sp
theta = sp.symbols('theta')
x = 0
eq = sp.cos(theta)**2 - sp.sin(theta)**2 - sp.sin(theta)*sp.sqrt(sp.sin(theta)**2 + x) + sp.sin(theta)*sp.cos(theta)**2 / sp.sqrt(sp.sin(theta)**2 + x)
soln = sp.solve(eq, theta)
print(soln)
Actually, if x = 0, eq will be cos^2(theta) - sin^2(theta) and the solutions are pi/4, 3pi/4, ... .
But, above code does not return any number, only [] return.
If x is not 0, this code does work.
Why this code return [] when x = 0?
