Solving Equations

## Description

The `solve` function solves equations. To use it, first specify some variables; then the arguments to solve are an equation (or a system of equations), together with the variables for which to solve.

## Sage Cell

#### Code

```
x = var('x')
solve(x^2 + 3*x + 2, x)
```

## Options

None

## Tags

Primary Tags: Precalculus: Algebra of real numbers and simplifying expressions

Secondary Tags: Algebra of Real Numbers and Simplifying Expressions: Solving algebraic equations

## Related Cells

## Attribute

Permalink:

Author: Sage Tutorial v7.6

Date: 07 Jul 2017 16:06

Submitted by: Tom Judson