Approximating integral using riemann sums

Click For Summary

Homework Help Overview

The problem involves approximating the definite integral of the function f(x) = 3 - x² over the interval [0, 1] using Riemann sums. The original poster has defined a partition P = {0, 1/2, 1} and is seeking to find both lower and upper Riemann sums, as well as the corresponding approximation error.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • The original poster attempts to calculate the upper and lower Riemann sums but questions the correctness of their results and the method for approximating the integral. Some participants suggest averaging the right-hand and left-hand sums for a more accurate approximation and discuss the nature of the error calculation.

Discussion Status

Participants are actively engaging with the calculations and questioning the validity of the sums. There is a suggestion to verify the graphical representation of the function to ensure the correct application of Riemann sums. The discussion reflects a mix of interpretations regarding the approach to error calculation and the properties of Riemann sums.

Contextual Notes

There is a noted inconsistency where the upper Riemann sum is reported to be less than the lower Riemann sum, prompting a review of the calculations and assumptions made regarding the partition and function behavior.

missavvy
Messages
73
Reaction score
0

Homework Statement


f: [0,1] -> Reals, f(x) = 3-x2
P={0,1/2,1}

Find lower and upper Riemann sums, and approximate the definite integral using them and find the corresponding approximation error.


Homework Equations





The Attempt at a Solution


So I tried finding the upper Riemann sum
Spf = 3(1/4) + 2(1/2) = 19/8
and the lower:
spf = 3(1/2) + (3-1/4)(1/2) = 23/8

Is this correct? If so, how do I approximate the definite integral? Do I just pick the upper or lower sum and use that as my approximation? And how would I find the error?

Any help is appreciated :)
 
Physics news on Phys.org
The most accurate approximation would be to average the RHS and LHS. The error would be the absolute value of the difference between the RHS and LHS, or another way of looking at it is that its the absolute value of (f(b)-f(a))Δt, either way they should be non-negative.

As for the sums themselves, they way you wrote it a little confusing, but all you're doing is creating rectangles either above or below f(x) depending on the direction of the sum, that is left or right, and whether it increasing or decreasing.

Hope this helps a bit.
 
Ok.. is Δt the difference between the x_j and x_j-1?

I added the upper and lower sums and divided by 2 and got 2.625 which is really close to the actual value of 2.6666...7.
For the error, I took the absolute value:
|19/8-23/8| = 0.5
So then 0.5 is the approximation error.. ?
 
hi, I just thought I should point out that your upper riemann sum is less than your lower riemann sum.

I'm sure you're well aware that for any parition P, we have that Spf >= spf.

I suggest redrawing your graph making sure that you have chosen the appropriate height/width for the rectangles. good luck
 

Similar threads

  • · Replies 13 ·
Replies
13
Views
4K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 14 ·
Replies
14
Views
5K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K