First time here? Check out the FAQ!

Ask Your Question
2

solve() Function Returns Input Equations

asked 3 years ago

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?

Preview: (hide)

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 ( 3 years ago )

1 Answer

Sort by » oldest newest most voted
2

answered 3 years ago

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.

Preview: (hide)
link

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: 3 years ago

Seen: 225 times

Last updated: Jun 18 '21