# Riemann Sums - Negative Integrals and Discontinuities

This is an extension of the Riemann Sums applet we met earlier.

In the applet below, you can explore the concept of numerical integration when negative integrals and discontinuities are involved.

Below you'll see some of the integrals we solve in this chapter.

### Things to Do

In this applet, you start with a predefined function that has been drawn for you. You can:

- Use the blue slider below the curve to change the number of intervals.
- Now try different options from the "Choose Riemann Sum type" pull-down menu.
- You can change the start and end `x`-values using the sliders.
- You can choose different example functions from the pull-down menu.
- Observe how "negative areas" (rectangles below the `x`-axis) affect the integral value.
- In cases with discontinuities, observe that we can integrate on one side or the other of the discontinuity, but not across it. (The rectangles still appear near the discontinuities.)

Choose function:

Choose Riemann Sum type:

Copyright © www.intmath.com

## Information

The function:

The ideas of area under a curve and integration are closely linked. Be careful if you need to find actual areas, that you take the **absolute value** of the integral for portions under the `x`-axis!

[Credits: Based on a combination of JSXGraph Riemann sum III and a Java applet by David Eck and team from the Hobart and William Smith Colleges. The old Java applet is here.]

### Search IntMath, blog and Forum

### Online Algebra Solver

This algebra solver can solve a wide range of math problems.

Go to: Online algebra solver

### Calculus Lessons on DVD

Easy to understand calculus lessons on DVD. See samples before you commit.

More info: Calculus videos

### The IntMath Newsletter

Sign up for the free **IntMath Newsletter**. Get math study tips, information, news and updates each fortnight. Join thousands of satisfied students, teachers and parents!