Miscellaneous · Q2: Graph of and
2. Sketch the graph of and evaluate .
(figure) The graph of is a V with vertex , through and .
Here for , and for .
Let . Using with ,
.
Want the reason behind every step, the basics and the checks?
The bars change their formula where the inside is zero: at . On the left of , ; on the right, . So the graph is a V with its corner at , and the integral is split at into two plain integrals, each worth . Since , the value 9 is the area of the region between the V and the -axis from to : two triangles.
- Given
- The function and the integral .
- To find
- A sketch of the graph, and the exact value of .
- Plan
- (1) Write without bars on each side of . (2) Plot a few points and sketch the V. (3) Split the integral at . (4) Integrate each piece. (5) Add, and check with the areas of the two triangles.
Basics you need
when , and when . So is never negative. Test: .
for any (property P2, Chapter 7, Section 7.10). Choosing at the corner gives one formula on each piece. Lesson: splitting an integral
where . Basics: the definite integral
If on , then is the area between the graph and the -axis there. Basics: a strip has area y dx
Solution
Write without the bars
The inside, , is exactly when . So
Both formulas give 0 at , so the two pieces join there.
On each side of the function is a plain straight line, which is easy to draw and to integrate. The point where the inside is zero is the only place where the formula changes.Test on each side: at , and ✓; at , ✓.Plot points and sketch the graph
A few values (each from the formula for its side):
0 1 4 3 2 1 0 1 2 3 4 To the left of the graph is the line (slope ); to the right it is (slope 1). Together they form a V with its corner (vertex) at . It meets the -axis at , and above it is at height 3.
The graph of , drawn with equal scales. Between and the region under the V is two triangles: on (gold) and on (blue). Each has base 3 and height 3. No part is below the -axis. The question asks for the sketch, and the sketch also shows what the integral means: since , the integral from to 0 is the area of the shaded region. The two triangles are mirror images in the line , which already suggests two equal pieces.Split the integral at
Property P2 lets us cut at , which lies inside it. On we use the formula for ; at the single point both formulas agree (value 0), so it does not matter which piece includes it.P2, Chapter 7, Section 7.10. Lesson: splitting an integralThe left piece, on
An antiderivative of is : by the chain rule its derivative is . At the bracket is ; at it is . The minus sign in front turns the negative difference into a positive one, as it must for a region above the axis. (With the antiderivative instead: , the same.)The right piece, on
Same antiderivative; at the bracket is , at it is 0.Add the pieces, and check with the triangles
Check by geometry: each triangle in the figure has base 3 and height 3, so area . Two of them make 9 ✓.
Because is never negative, the integral is exactly the shaded area, and for straight-line pieces the triangle formula gives it directly. The two pieces are equal because the V is symmetric about , the midpoint of .Area of a triangle . Basics: area as a sum of strips
The graph of is a V with its vertex at , through and , and
This is the area between the graph and the -axis from to . (Textbook answer: 9.)
A computer's numerical integration of over , with a break at , gives 9.0000000000; over and over it gives 4.5000000000 each, which is ✓.
A rough check with six strips of width 1, using the heights at the middles : ✓ (exact here, because each piece is a straight line and no strip crosses the corner).
- Dropping the bars: . Without the bars the left triangle counts as negative and cancels the right one.
- Using on : there , so .
- Putting the corner at : the inside is zero at , so the V sits to the left of the -axis.
- Losing the minus sign in front of the left bracket, which gives again.
- For , find where , split there, and use or on each piece.
- The graph of or is a V with its corner on the -axis where the inside is zero.
- An integral of a function that is never negative is an area; for straight-line graphs, triangles give a quick check. The same split appears in Miscellaneous Q5 for .
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| for , for | Step 1 | Definition of absolute value |
| P2: | Step 3 | Chapter 7, Section 7.10 (Lesson) |
| Steps 4 and 5 | Chain rule (Chapter 5) | |
| Steps 4 and 5 | Chapter 7, Theorem 2, Section 7.8.3 (Basics) | |
| Integral of is the area under the graph | Steps 2 and 6 | Section 8.2 (Basics) |
| Area of a triangle | Step 6 | Mensuration |
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 →