# How to solve polynomial equation system

Greetings,

I'm pretty new to Sage and excited in discovering new functions and ways to solve certain problems. Previously I've been massively working with sympy for solving equation systems. However I wanted to try out Sage.

Currently I'm facing a polynomial equation system (3x3 with three unknown variables a,b,d) where the polynom is of degree 2. However the equations include also trigonometric elements such as cos(a), sin(b) etc.

How can polynomial equations with trigonometric elements be solved in sage? (under the condition that the specific equation system is solvable at all). Is there a specific solver which is recommended to use for such type of equations?

Thank you in advance for any hints and with best regards

Dan

You may want to use the

`to_poly_solve=True`

option for`solve()`

, which uses Maxima under the hood.Could you please give us a concrete example ? Sage symbolic capabilities are not uniform, so it really depends on the kind of expressions.

@kcrisman: thank you for your hint on to_poly_solve=True :)

@tmonteil: certainly!

for x and y any points can be inserted. So I thought of setting up a 3x3 equation system and trying to solve a,b and d.

However doing this with plain 'solve' makes sage to run for a very long time (actually it stopped only when it ran out of memory).

Thank you in advance for any hints and with best regards Dan

Some of these are probably arbitrarily (computationally) hard, keep in mind.

Is there a specific way to check if they are computationally hard?