Compute upper and lower integral

Niaboc67
Messages
249
Reaction score
3

Homework Statement


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

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.[/B]
 
Physics news on Phys.org
If ##f(x) = x^2##, what is ##10sin(x)##?
 
@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.
 
Niaboc67 said:
@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.

Isn't it just estimating a function with rectangles? One an over-estimate and one an under-estimate.
 
@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?
 
Niaboc67 said:
@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?

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.
 
@PeroK I understand. Just this problem confuses me. I don't know how to even approach solving.
 
Niaboc67 said:
@PeroK I understand. Just this problem confuses me. I don't know how to even approach solving.

Why not draw a graph? ##f(x)## and the partition ##P##.
 
@PeroK after graphing it seems fuzzy to understand this problem and what I must do.
 
  • #10
Niaboc67 said:
@PeroK after graphing it seems fuzzy to understand this problem and what I must do.

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
Mod note: Merged a separate thread with this one
1. Homework Statement

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

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:
  • #12
Niaboc67 said:

Homework Statement


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

L[f] (P) =
U[f] (P) =

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

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
I got the wrong answer on my program. Wondering what I have done wrong in these calculations. Does anything stand out?
 
  • #14
Niaboc67 said:

Homework Statement


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

L[f] (P) =
U[f] (P) =

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
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
 
Back
Top