Ask Your Question
2

solve() Function Returns Input Equations

asked 2021-06-18 02:12:31 +0100

mattthowell gravatar image

When solving for a system of 5 equations with 5 variables, the solve() function returns the exact functions I input. Is this indicative of an issue? Or is there another way to solve for a system of equations if I encounter this error?

edit retag flag offensive close merge delete

Comments

1

The solve function does that when it is unable to solve.

Sometimes, solve(equations, variables, to_poly_solve=True) can help.

For polynomial equations, one can define an ideal in a polynomial ring and compute its variety.

Providing a minimal example illustrating the problem might inspire more relevant answers.

slelievre gravatar imageslelievre ( 2021-06-18 09:35:16 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2021-06-18 09:34:28 +0100

tmonteil gravatar image

When solve returns the original system of equations, it means that it was not able to solve it. solve relies on symbolic computations, which has a wide area of application, but is not so powerful. If your system has some additional featues (e.g. being linear, polynomial, etc), then there may be other ways in Sage to solve it.

Hence, gt you want an adapted answer, you should provide your system of equations.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2021-06-18 02:12:31 +0100

Seen: 208 times

Last updated: Jun 18 '21