Many problems in mathematics ultimately boil down to solving an equation, or system of equations. *Mathematica* has a variety of tools for solving equations, which we’ll learn about in this chapter.

Let’s start by solving a simple quadratic equation, *x*^{2} + 3*x* - 5=0. Example 8.1.1 shows how to use the function **Solve** to do this.

**Example 8.1.1**

In[1]:= (* solving a polynomial equation *) **Solve[**x^{2} + **3***x* **−5=0,** x]

**Solve** takes two arguments. The first is the equation we want to solve and the second is the variable that we want to solve for. Notice that we have used double equal signs in the equation. ...

Start Free Trial

No credit card required