Infinite riemann sums discrepancy

Click For Summary

Homework Help Overview

The discussion revolves around evaluating a definite integral using both the standard theorem of calculus and infinite Riemann sums. The integral in question is \(\int_{1}^{7} (x^2-4x+2) dx\), which the original poster evaluates to 30 using calculus but finds a discrepancy when attempting to compute it with Riemann sums, arriving at 42 instead.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • The original poster attempts to compute the integral using Riemann sums but questions their simplification process, noting potential omissions. Other participants inquire about specific substitutions made in the Riemann sum setup and suggest checking the computation of the sum itself.

Discussion Status

Participants are actively engaging in clarifying the steps involved in the Riemann sum approach. Some have offered guidance on how to break down the sum into manageable parts and check for errors in simplification. There is a recognition of the need to evaluate specific summations before taking limits, and the discussion is exploring various interpretations of the setup.

Contextual Notes

There is an acknowledgment of the tedious nature of the computations involved in Riemann sums, with participants expressing frustration over the complexity and potential for error in simplification. The original poster has indicated familiarity with definite integrals but seeks assistance specifically with the Riemann sum approach.

computerex
Messages
68
Reaction score
0
Hello. I have to solve some integrals using both the standard theorem of calculus and infinite Riemann sums.

\int_{1}^{7} (x^2-4x+2) dx = \lim_{n \to \infty } \sum f(x_i)\Delta x_i = \lim_{n \to \infty } \sum (x_i^2 - 4x_i + 2)6/n

Evaluating the definite integral results in an answer of 30 units.. But it seems I have done something wrong in trying to do it with infinite Riemann sums:

step1.jpg

step2.jpg


Taking the limit results in 42, not 30. Note I may have prematurely omitted some terms that will evaluate to 0 after taking the limit to save space.. Can someone tell me what I am doing wrong?
 
Last edited:
Physics news on Phys.org
Why exactly did you sub in 1+\frac{6i}{n} for x^2, but not for x?
 
I caught that minutes after posting.. But I still am not getting the right answer. Can someone please calculate the integral so that I can compare it with my work to see where I went wrong?
 
Screwdriver said:
The value of the integral is 30.

http://www.wolframalpha.com/input/?i=integrate+x^2+-+4x+%2B+2+from+1+to+7

You must have gone wrong somewhere in the computation of the sum:

\sum_{i=0}^{n} \frac{6}{n}[(1 + \frac{6i}{n})^2 - 4 (1 + \frac{6i}{n}) + 2]

Thank you for the reply.. But
computerex said:
Evaluating the definite integral results in an answer of 30 units.. But it seems I have done something wrong in trying to do it with infinite Riemann sums

I already know how to evaluate definite integrals, I need to know where my mistake is in computing the sum, which is tedious and error prone.. I already know how to set everything, it is an error in simplification. I would highly appreciate it if someone could post the solution.
 
computerex said:
I would highly appreciate it if someone could post the solution.

I'd love to, but that's not the way it works around here. The best I (or anyone else) is allowed to do is guide you towards the solution as per the forum rules. You should post the method you used to compute the sum, or perhaps some steps from your simplification, and then we can probably spot the error for you.
 
\lim_{n \to \infty }\sum_{1}^{n}\frac{6}{n}(1+\frac{12i}{n} + \frac{36i^2}{n^2} - 4 - \frac{24i}{n}+2)

\lim_{n \to \infty }\sum_{1}^{n}[\frac{6}{n} + \frac{72i}{n^2} + \frac{216i^2}{n^3} - \frac{24}{n} - \frac{144i}{n^2} + \frac{12}{n}] = 0 + 72+432-0-144+0=360
 
Do you see the error? Since we are taking limit to infinity I don't bother evaluating everything, I just get the coefficients..
 
Okay, wait a minute. You're expanding this:

\sum_{i=0}^{n} \frac{6}{n}[(1 + \frac{6i}{n})^2 - 4 (1 + \frac{6i}{n}) + 2]

It should give you this:

\sum_{i=0}^{n} [\frac{216 i^2}{n^3} - \frac{72 i}{n^2} - \frac{6}{n}]

You have to find this sum first before taking the limit. To do this, split it up and factor out constants to get this:

\frac{216 }{n^3} \sum_{i=0}^{n} [i^2] - \frac{72 }{n^2} \sum_{i=0}^{n} <i> - \frac{6}{n} \sum_{i=0}^{n} [1] </i>

Do you know how to find these sums?
 
  • #10
Screwdriver said:
Do you know how to find these sums?

Sorry for the delayed response, but does this seem right?
<br /> \frac{216 }{n^3} \sum_{i=0}^{n} [i^2] - \frac{72 }{n^2} \sum_{i=0}^{n} <i> - \frac{6}{n} \sum_{i=0}^{n} [1] = \frac{216(n)(n+1)(2n+1)}{6n^3} - \frac{72(n)(n+1)}{2n^2} - 6</i>
 
  • #11
computerex said:
Sorry for the delayed response, but does this seem right?
<br /> \frac{216 }{n^3} \sum_{i=0}^{n} [i^2] - \frac{72 }{n^2} \sum_{i=0}^{n} <i> - \frac{6}{n} \sum_{i=0}^{n} [1] = \frac{216(n)(n+1)(2n+1)}{6n^3} - \frac{72(n)(n+1)}{2n^2} - 6</i>


Yes, now take the limit n->infinity.
 
  • #12
Dick said:
Yes, now take the limit n->infinity.

Yep. Through out the entire day I have been subtracting from 432 as opposed to 432/6... Thank you all for helping me :)

And this is a testament to why I hate these stupid problems. Conceptual understanding is nice.. But my calc teacher who has been teaching the subject since before I was born (1970) also made numerous mistakes in doing examples of these problems in front of the class.. No reason as to why we should resort to first principles just to torture the students.

I think being able to set up the problem is good enough.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
2
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 26 ·
Replies
26
Views
3K
  • · Replies 16 ·
Replies
16
Views
4K