## Description

Here we show how to use sage's symbol for infinity. Because the standard symbol for infinity can't be found on a normal keyboard, sage uses `oo`, or two lowercase o's. For negative infinity, `-oo` is used. We will demonstrate with the improper integral

## Sage Cell

As you can see, the integral evaluates correctly, to $\sqrt{\pi}$

#### Code

```
f(x) = e^(-x^2)
integrate(f(x), x, -oo, oo)
```

## Options

none

## Tags

Primary Tags:

Secondary Tags:

A list of possible tags can be found at The WeBWorK Open Problem Library. For linear algebra tags see the Curated Courses Project.

## Related Cells

Any related cells go here. Provide a link to the page containing the information about the cell.

## Attribute

Permalink:

Author: Gregory V. Bard. *Sage for Undergraduates.* American Mathematical Society, Providence, RI, 2015. Available at http://www.gregorybard.com/Sage.html.

Date: 27 Feb 2019 00:21

Submitted by: Zane Corbiere