The Chaotic Forest of Lines
Imagine you are standing in a forest, but instead of trees, you are surrounded by five V-shaped graphs: ∣x+1∣, ∣x+2∣, ∣x+3∣, ∣x+4∣, and ∣x+5∣.
At first glance, it looks like a chaotic, tangled mess. Your task is to find the area under the 'envelope' of these functions—the maximum value at any given point x—from x=−6 to x=0.
This is the essence of our problem. We are looking for the integral:
where f(x)=max{∣x+1∣,∣x+2∣,∣x+3∣,∣x+4∣,∣x+5∣}.
The Envelope Strategy
Do not be intimidated by the number of functions. In any set of absolute value functions, the maximum value is always dictated by the 'outermost' poles.
Think of a tent; the fabric is held up by the tallest poles at the ends. The intermediate poles, like ∣x+2∣, ∣x+3∣, and ∣x+4∣, are shorter and simply sit beneath the fabric.
Therefore, the maximum function simplifies beautifully to just the maximum of the two extreme functions:
This is our 'orange envelope'—the boundary that defines our area.
The Critical Junction
Now, we need to know where the transition happens. Where does the graph of ∣x+1∣ stop being the maximum and hand over the baton to the graph of ∣x+5∣?
We find this by setting them equal: ∣x+1∣=∣x+5∣. To solve this, remember that for ∣a∣=∣b∣, we must have a=b or a=−b.
The equation x+1=x+5 leads to 1=5, which is impossible. So, we look at the other case: x+1=−(x+5).
Solving this gives 2x=−6, or x=−3. This is our critical junction, the point where the function changes its behavior.
Defining the Piecewise Function
With our boundary at x=−3, we can now define f(x) piecewise.
For the interval x∈[−6,−3], the function ∣x+1∣ is the higher one. Since x+1 is negative in this range, ∣x+1∣=−(x+1)=−x−1.
For the interval x∈[−3,0], the function ∣x+5∣ takes over. Since x+5 is positive here, ∣x+5∣=x+5.
Thus, our function is defined as:
f(x)={−(x+1)x+5x∈[−6,−3]x∈[−3,0]
The Integration
Now, we calculate the area. We split the integral into two parts:
I1=∫−6−3(−x−1)dxandI2=∫−30(x+5)dx
For I1, the anti-derivative of −x−1 is −2x2−x. Evaluating this from −6 to −3:
(−2(−3)2−(−3))−(−2(−6)2−(−6))=(−4.5+3)−(−18+6)=−1.5−(−12)=10.5
For I2, the anti-derivative of x+5 is 2x2+5x. Evaluating this from −3 to 0:
(0)−(2(−3)2+5(−3))=0−(4.5−15)=10.5
Adding these together, 10.5+10.5=21. We have conquered the forest! The final area is 21.