Infinity And Improper Integrals

## 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

(1)
\begin{align} \int_{-\infty}^{\infty}e^{-x^2}dx \end{align}

## 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)


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.