# Compute upper and lower integral

Tags:
1. Nov 8, 2015

### Niaboc67

1. The problem statement, all variables and given/known data
Let f(x) = x^2 and let P = { -5/2, -2, -3/2, -1, -1/2, 0, 1/2 }

Then the problem asks me to compute Lf (P) and Uf (P).

Lf (P) =

Uf (P) =

3. The attempt at a solution
Please explain how to solve. I thought that L[f] meant to calculate the lower bound with respect to f(x). and U[f] meant to calculate the upper bound with respect to f(x). Therefore, I plugged in 0 for f(0) = 10sin(0) = 0 for the lower bound. And π/2 for the upper bound. Therefore, f(π/2) = 10sin(π/2) = 10. However, these were both wrong.

2. Nov 8, 2015

### PeroK

If $f(x) = x^2$, what is $10sin(x)$?

3. Nov 8, 2015

### Niaboc67

@PeroK ok nevermind I got two different questions mixed up there. Really unsure how to even go about solving this problem. Could use a push in the right direction.

4. Nov 8, 2015

### PeroK

Isn't it just estimating a function with rectangles? One an over-estimate and one an under-estimate.

5. Nov 8, 2015

### Niaboc67

@PeroK I wish I knew. This problem seemed to be either worded weirdly or just isn't providing enough information to solve. Don't I have to take the 6 partitions and then take only the first number in the partition subtracted by the last number in the partition and divide by those two numbers by the number of partitions?

6. Nov 8, 2015

### PeroK

I think you need to revise what you've been learning about the theory of integration. You're trying to estimate the area under a function.

7. Nov 8, 2015

### Niaboc67

@PeroK I understand. Just this problem confuses me. I don't know how to even approach solving.

8. Nov 8, 2015

### PeroK

Why not draw a graph? $f(x)$ and the partition $P$.

9. Nov 8, 2015

### Niaboc67

@PeroK after graphing it seems fuzzy to understand this problem and what I must do.

10. Nov 8, 2015

### PeroK

If you're looking for homework help, you need to have some idea of the subject matter required for the problem. You have to be able make a serious effort at solving it for yourself.

11. Nov 9, 2015

### Niaboc67

Mod note: Merged a separate thread with this one
1. The problem statement, all variables and given/known data

$$Let, f(x) = x^2 and let P = { -5/2, -2, -3/2, -1, -1/2, 0, 1/2 }$$

Compute Lf (P) and Uf (P).
[f] (P) =

U[f] (P)
=

3. The attempt at a solution

I followed the pattern of distance times height. Therefore the further number in the sub-interval minus the closest. Then putting in the lowest touching pt into the function for height for the lower bound and putting in the highest touching point into the function for height.

For the lower bound I did this:
$$L[f](p) = (-1/2-0)(0^2)+(-1-(-1/2))((-1/2)^2)+(-3/2-(-1))((-1)^2)+(-2-(-3/2))((-3/2)^2)+(-5/2-(-2))((-2)^2)+(0-1/2)((0)^2)$$

Then for upper bound I did:

$$U[f](p) = (-1/2-0)((1/2)^2)+(-1/2-0)((-1/2)^2)+(-1-(-1/2))((-1)^2)+(-3/2-(-1))((-3/2)^2)+(-2-(-3/2))((-3/2)^2)+(-5/2-(-2))((-5/2)^2)$$

Thank you

Last edited by a moderator: Nov 10, 2015
12. Nov 9, 2015

### LCKurtz

Do you have a question?
Did you calculate these sums? What did you get for your answers?
Did they come out negative?
If they did, would that bother you?

13. Nov 9, 2015

### Niaboc67

I got the wrong answer on my program. Wondering what I have done wrong in these calculations. Does anything stand out?

14. Nov 9, 2015

### SammyS

Staff Emeritus
This looks like a continuation of your recently opened thread on the same subject, and probably should have been posted as part of that thread.

What you have looks better than previous attempts, however all of the widths you have here are negative