What am I doing wrong integrating with 1-|x|?

  • Thread starter Thread starter zmalone
  • Start date Start date
  • Tags Tags
    Integrating
Click For Summary
SUMMARY

The discussion focuses on the integration of the function \(1 - |x|\) over the interval \([-1, 1]\). The user initially attempts to apply the Fundamental Theorem of Calculus (FTOC) but miscalculates the integrals by incorrectly applying the anti-derivative. The correct approach involves recognizing the piecewise nature of \(|x|\) and accurately computing the integrals, leading to the correct area under the curve, which is 1. The user acknowledges confusion regarding the application of the anti-derivative and appreciates the clarification provided by another forum member.

PREREQUISITES
  • Understanding of the Fundamental Theorem of Calculus (FTOC)
  • Knowledge of piecewise functions, specifically absolute value functions
  • Ability to compute definite integrals
  • Familiarity with anti-derivatives and their applications
NEXT STEPS
  • Review the Fundamental Theorem of Calculus and its applications
  • Study piecewise functions and their integration techniques
  • Practice computing definite integrals of piecewise-defined functions
  • Learn about common mistakes in applying anti-derivatives in integration
USEFUL FOR

Students and educators in calculus, mathematicians focusing on integration techniques, and anyone seeking to improve their understanding of piecewise functions and the Fundamental Theorem of Calculus.

zmalone
Messages
10
Reaction score
0
I understand \int^{1}_{-1}1-|x|dx = 1 visually just by graphing it and taking the area of the triangle but for the sake of more complicated examples I'm not exactly sure what step I'm messing up when I use the FTOC:

|x|= x when x>0, -x when x<0

\int^{0}_{-1}1-|x|dx + \int^{1}_{0}1-|x|dx


= \int^{0}_{-1}1-(-x)dx + \int^{1}_{0}1-(x)dx


= \frac{x^2}{2}|^{0}_{-1} - \frac{x^2}{2}|^{1}_{0}

= -1/2 - 1/2 = -1 \neq1

Any input is appreciated and hope this makes sense lol (still getting used to the formula drawer).
 
Physics news on Phys.org
hi zmalone! welcome to pf! :smile:
zmalone said:
= \int^{0}_{-1}1-(-x)dx + \int^{1}_{0}1-(x)dx


= \frac{x^2}{2}|^{0}_{-1} - \frac{x^2}{2}|^{1}_{0}

you missed out [x]-11, = 2 :wink:
 
Wow :( I don't know why I was taking the derivative of 1 instead its anti-derivative but I certainly confused myself by doing so for the past half hour. Thanks for pointing it out!
 

Similar threads

  • · Replies 105 ·
4
Replies
105
Views
10K
Replies
3
Views
2K
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
7
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 14 ·
Replies
14
Views
3K