You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
tan or cotan of arcsin or arccos equal to i returns numerical junk instead of { } #2763
On master (9b75a26), tan or cotan of an inverse sine or cosine set equal to ±i returns large complex numbers from the numerical search. tan(w) never equals ±i for any finite w (tan(w) = i means e^(2iw) = 0), so the answer is { }, which the solver already gives for tan(x) = i itself.
The reported values are not roots: tan(arcsin(x)) - i at them is not 0, only small because tan(arcsin(x)) = x / sqrt(1 - x^2) tends to ±i as |x| grows. The analytical path inverts tan to the empty set and the search then runs on the original equation.
Found by #2761's sweep over outer trigonometric functions of inverse ones.
Activity