The Art of the Smooth Transition
Imagine you are an engineer designing a roller coaster track. You have two sections of track: a parabolic curve that brings the coaster down, and a straight, linear path that carries it to the station.
If these two tracks do not meet perfectly at the junction, the coaster would derail. In mathematics, we call this continuity.
Even if they meet, if there is a sharp "kink" or a sudden change in angle at the junction, the coaster would experience a violent jolt. To ensure a smooth ride, we need differentiability.
In this problem, we are given a piecewise function f(x) that is differentiable everywhere. This tells us that at the junction point, x=1, the function is not only connected but also smooth. Let us uncover the constants a and b that make this possible.
Phase 1
The Conditions of Smoothness
We are given the function:
f(x)={x2+3x+abx+2,x≤1,x>1
To ensure the function is differentiable at x=1, we must satisfy the "glue" condition: the left-hand limit must equal the right-hand limit.
Approaching x=1 from the left gives 12+3(1)+a=4+a. Approaching from the right gives b(1)+2=b+2. For continuity, these must be equal:
Phase 2
The Derivative Hunt
We have two unknowns, so we must invoke the "smoothness" condition. The derivative of the left piece must equal the derivative of the right piece at x=1.
For x<1, the derivative of x2+3x+a is 2x+3. For x>1, the derivative of bx+2 is simply b. At the critical point x=1, these slopes must be identical:
With b=5 in hand, we return to our continuity equation: a−5=−2. Solving for a, we find a=3.
The function is now fully defined as:
f(x)={x2+3x+35x+2,x≤1,x>1
Phase 3
The Integration Journey
We are tasked with finding the area under the curve from x=−2 to x=2. Because the function changes its identity at x=1, we split our integral into two parts:
∫−22f(x)dx=∫−21(x2+3x+3)dx+∫12(5x+2)dx
First, we evaluate the parabolic section:
∫−21(x2+3x+3)dx=[3x3+23x2+3x]−21
Evaluating at the limits:
(31+23+3)−(3−8+212−6)=629−(−38)=629+616=645=7.5
Next, we evaluate the linear section:
∫12(5x+2)dx=[25x2+2x]12
Evaluating at the limits:
(25(4)+2(2))−(25+2)=14−4.5=9.5
The Grand Finale
Finally, we sum these two areas to find the total integral:
We have navigated the constraints of differentiability, solved for our constants, and calculated the area under the curve. The final result is 17.