Menu

#5265 solve() should learn some basic trigonometry

None
open
nobody
solve (66)
5
2 days ago
5 days ago
No

Maxima users could reasonably expect the main solve function to be able to handle some basic trigonometry. solve is also used internally, e.g. for discontinuity detection in definite integration, and its deficiencies cause manifestly wrong results there. Of course there's to_poly_solve, but its answers can be difficult to handle programmatically.

There is a relatively simple way to make solve handle things like sin(x)+cos(x)+1, and that's tangent-half-angle transformation. It would not be something completely new, because solve already canonicalizes trigonometric and hyperbolic functions by expressing everything in terms of sine/cosine. But it then it fails for anything where two different such functions survive.

Related

Bugs: #5265

Discussion


Log in to post a comment.