Ray Vickson said:
The use of absolute value signs is a pain; just use instead the actual forms that are >= 0 over all parts of your integration range. Just for fun, and to bring home the point, try the following:
\int_0^2 \sqrt{x^2 - 2x + 1} \; dx.
RGV
Thank you for providing the additional practice :)! I was stumped by the problem for quite a while, but it turns out that my algebra was at fault. Here's my solution:
\int_0^2 \sqrt{x^2 - 2x + 1} \; dx.
= \int_0^2 \left| (x - 1) \right|\; dx.
(x-1) is negative when x < 1, therefore we must distribute a negative 1 to each term to get (-x+1)
(x-1) is positive when x ≥ 1.
Given these conditions, we can now split up the integral and appropriately set the bounds of integration.
= \int_0^1 \ {(1 - x)} \; dx. + \int_1^2 \ {(x - 1)} \; dx.
= \frac{1}{2} + 1 + (\frac{-1}{2} + 1)
= 1
The takeaway seems to be:
When integrating a
polynomial under a square root function, always:
1) Simplify the square root
2) Cancel out exponents
3) Use absolute value signs
4) Integrate using the appropriate bounds
I wish to really understand this topic. We use absolute value signs because the square root of any number squared has two solutions except for the number 0.
To account for that extra solution, we must use the absolute value signs, which forces us to split up the integral. Is this correct?