# Solve in bulk

Does anyone know how to solve tons of equations in a row like: 1+1 2+2 and it returns: 2 4 and I want to do it on algebra equations.

Solve in bulk

asked
**
2016-08-28 19:48:15 -0600
**

This post is a wiki. Anyone with karma >750 is welcome to improve it.

Does anyone know how to solve tons of equations in a row like: 1+1 2+2 and it returns: 2 4 and I want to do it on algebra equations.

add a comment

1

Does something like the following satisfies your need?

```
sage: eqs = [x^2 == 1, x+1 == 0, 3*x == 2]
sage: [eq.solve(x) for eq in eqs]
[[x == -1, x == 1], [x == -1], [x == (2/3)]]
```

Asked: **
2016-08-28 19:48:15 -0600
**

Seen: **36 times**

Last updated: **Aug 29 '16**

Computing basis of local artinian ring as a vector space.

Simplification of expression with exponentials.

Working with complex symbolic expressions

How to pick out the largest root of an equation?

How to treat a vector space as a group?

random matrix with determinant +- 1

Find specific linear combination in multivariate polynomial ring

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.