Definite Integral with Absolute Value.

Click For Summary

Homework Help Overview

The problem involves evaluating the definite integral of the function x^2 - 3x - 5 from -4 to 7, with consideration of the absolute value of the function. Participants are discussing the setup and evaluation of the integral, particularly focusing on the points where the function changes sign.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants are breaking the integral into segments based on the roots of the function and discussing the implications of the absolute value. There are questions about the correctness of the integral setup and the use of approximate values versus exact values for limits.

Discussion Status

Some participants have pointed out potential errors in the original poster's calculations and the importance of using exact values. There is a recognition of differing results from calculators, and participants are exploring the reasons behind these discrepancies without reaching a consensus.

Contextual Notes

There is mention of a negative sign in the integral setup as specified by the original poster's professor, which may affect the evaluation. The discussion also highlights the use of approximate values for critical points in the integral.

m0gh
Messages
27
Reaction score
0
The problem is ∫x^2 - 3x - 5 with the lower limit being -4 and the upper limit 7.

I broke the integrals into three parts from [-4, -1.1926], [-1.1926, 4.1926], [4.1926, 7]

I did the integral and got (x^3)/3 - (3/2)x^2 - 5x

I subbed in the lower and upper limits and got 32.861 for [-4, -1.1926], 15.231 for [-1.1926, 4.1926], and finally 28.957 for [4.1926, 7].

I don't necessarily need a step by step solution ( though it would be greatly appreciated). I would really just like to know if you can spot which/where I am getting the wrong value(s).

EDIT: The final answer I keep getting is 76.691. The answer I get when I use a definite integral calculator is 83.2233
 
Last edited:
Physics news on Phys.org
m0gh said:
The problem is ∫x^2 - 3x - 5 with the lower limit being -4 and the upper limit 7.
Is this your integral?
$$ \int_{-4}^7 |x^2 - 3x - 5|dx$$
m0gh said:
I broke the integrals into three parts from [-4, -1.1926], [-1.1926, 4.1926], [4.1926, 7]

I did the integral and got (x^3)/3 - (3/2)x^2 - 5x
The above is incorrect. You are ignoring the fact that there's an absolute value involved. The key idea is that |a| = a if a ≥ 0, but |a| = -a if a < 0.

Also, the approximate numbers you use aren't exact, so whatever answer you get will be off some.
m0gh said:
I subbed in the lower and upper limits and got 32.861 for [-4, -1.1926], 15.231 for [-1.1926, 4.1926], and finally 28.957 for [4.1926, 7].

I don't necessarily need a step by step solution ( though it would be greatly appreciated). I would really just like to know if you can spot which/where I am getting the wrong value(s).
It is against the rules in this forum to provide a complete answer, so a step-by-step solution isn't going to happen.
m0gh said:
EDIT: The final answer I keep getting is 76.691. The answer I get when I use a definite integral calculator is 83.2233
 
The part you are saying is incorrect was set up by my professor. She put a negative sign in front of the integral for [-1.1926, 4.1926]
 
m0gh said:
The part you are saying is incorrect was set up by my professor. She put a negative sign in front of the integral for [-1.1926, 4.1926]
Which you didn't mention.

Anyway, I get 83.2233 as well, so all I can say is that you have an error in one or more of your integrals. Also, as I mentioned already, you should be using the exact numbers for the limits of integration, rather than the decimal approximations. That is, you should be using ##3/2 - \sqrt{29}/2## and ##3/2 + \sqrt{29}/2##, although I suspect that the difference you're getting is caused by an error somewhere else.
 
m0gh said:
The problem is ∫x^2 - 3x - 5 with the lower limit being -4 and the upper limit 7.

I broke the integrals into three parts from [-4, -1.1926], [-1.1926, 4.1926], [4.1926, 7]

I did the integral and got (x^3)/3 - (3/2)x^2 - 5x

I subbed in the lower and upper limits and got 32.861 for [-4, -1.1926], 15.231 for [-1.1926, 4.1926], and finally 28.957 for [4.1926, 7].

I don't necessarily need a step by step solution ( though it would be greatly appreciated). I would really just like to know if you can spot which/where I am getting the wrong value(s).

EDIT: The final answer I keep getting is 76.691. The answer I get when I use a definite integral calculator is 83.2233

The two in red are incorrect.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
Replies
24
Views
3K
Replies
5
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K