ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 18 Jun 2021 09:35:16 +0200solve() Function Returns Input Equationshttps://ask.sagemath.org/question/57609/solve-function-returns-input-equations/ 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?Fri, 18 Jun 2021 02:12:31 +0200https://ask.sagemath.org/question/57609/solve-function-returns-input-equations/Comment by slelievre for <p>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?</p>
https://ask.sagemath.org/question/57609/solve-function-returns-input-equations/?comment=57614#post-id-57614The `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.Fri, 18 Jun 2021 09:35:16 +0200https://ask.sagemath.org/question/57609/solve-function-returns-input-equations/?comment=57614#post-id-57614Answer by tmonteil for <p>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?</p>
https://ask.sagemath.org/question/57609/solve-function-returns-input-equations/?answer=57613#post-id-57613When `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.
Fri, 18 Jun 2021 09:34:28 +0200https://ask.sagemath.org/question/57609/solve-function-returns-input-equations/?answer=57613#post-id-57613