Miscellaneous · Q31:
Evaluate the definite integral
Let , where .
On : .
On : .
On : .
Using with and ,
.
Want the reason behind every step, the basics and the checks?
An absolute value has one formula to the left of and another to the right. The "switch points" here are and (the point is the lower limit). Property P2 lets us cut at those points, so that on each piece every bar can be removed and the integrand is an ordinary straight line.
- Given
- and .
- To find
- The exact value of .
- Plan
- (1) Continuity. (2) Remove the bars on , , . (3) Split by P2. (4) Integrate each straight-line piece. (5) Add, and cross-check term by term and by the trapezium areas in the graph.
Basics you need
when , and when . It is the distance from to . Basics: symmetry and mirror images
for any point . Used twice, it splits at 2 and at 3. Lesson: properties of definite integrals
, ; then (Theorem 2, Section 7.8.3). Basics: powers of x and the power rule
For a function that is never negative, the definite integral is the area under its graph. The area of a trapezium is . Basics: area as a sum of thin strips
Solution
The integrand is continuous on
Each is continuous on all of (its two formulas meet at , both giving 0). A sum of continuous functions is continuous, so is continuous on , and Theorem 2 can be used on every piece.
The absolute values create corners, not jumps. Corners do not matter for integration; only the formula changes there, which is why we split the interval.Chapter 5, Section 5.2: is continuous, and sums of continuous functions are continuous. Lesson: definite integralsRemove the absolute values on each piece
On we always have , so throughout. The other two bars switch at 2 and at 3.
On : , so
On : , , so
On : , so
At the junctions the formulas agree: at , ; at , . So it does not matter which piece the junction is given to.
Inside each piece, the sign of every bracket is fixed, so each bar is replaced by the bracket itself (if it is ) or by its negative (if it is ). Checking that neighbouring formulas agree at the junctions confirms both the algebra and the continuity of Step 1.for ; for (Basic 1).Split the integral with P2
Applying P2 at and then at :
P2 holds for any point (Section 7.10, proved from Theorem 2). Changing a function's formula at a single point does not change an integral, and here the formulas agree at the junctions anyway, so each piece is exactly the original on that interval.Integrate each piece
Check by differentiating the three antiderivatives: , , ✓.
Each piece is a polynomial, so the power rule (standard formula (i), Section 7.2) and Theorem 2 finish it. In the last piece, , and subtracting a negative gives .Add, and read the answer from the graph
The graph of on (horizontal and vertical scales differ). It is made of three straight pieces with corners at and . The region under it splits into three trapeziums with areas , and , total . Since , the integral is the area under the graph. The graph passes through , , , , so the three trapeziums have areas , and (each has width 1). This agrees with Step 4 without any integration.Cross-check: integrate term by term
The integral of a sum is the sum of the integrals, so we can also take each bar on its own over :
Total: ✓, the same.
Each is the area of one or two right triangles: for example is a triangle with legs 1 and 1 (area ) plus one with legs 2 and 2 (area 2). The two methods split the same area in different ways.Property (III), Section 7.2.1, carried over to definite integrals. Lesson: properties of definite integrals
(Textbook answer: .)
Numerical integration (adaptive quadrature, with the interval broken at the corners 2 and 3) gives 9.5000000000 ✓.
Spot values: ✓; ✓; ✓.
- Dropping the bars and integrating over all of . That gives the wrong value , because is only correct on .
- Splitting only at one point. Every switch point inside the interval (here 2 and 3) needs a cut.
- Sign slips in the last piece: .
- For , find where each bracket changes sign, cut the interval there (P2), and remove the bars piece by piece.
- A sum of absolute values of linear terms is a broken line; its integral can always be checked with trapezium areas.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| is continuous; sums of continuous functions are continuous | Step 1 | Chapter 5, Section 5.2 |
| Definition of absolute value | Steps 2, 6 | Earlier classes (Class XI, Chapter 2) |
| P2: | Steps 3, 6 | Section 7.10, property P2 |
| ; Theorem 2 | Step 4 | Standard formula (i), Section 7.2; Section 7.8.3 |
| Integral of a non-negative function as area | Step 5 | Section 7.8.1 (area function) (Basics: area) |
| Step 6 | Property (III), Section 7.2.1 |
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →