Analyzing the Setup
Imagine you are an architect designing a bridge that must span across the point x=3. For the bridge to be safe, the road coming from the left, the road coming from the right, and the central pillar at x=3 must all connect perfectly.
In the world of calculus, this is exactly what we mean by continuity. We are given a function f(x) defined in three pieces, and our mission is to find the values of a and b that ensure this bridge has no gaps.
The Condition of Connection
For f(x) to be continuous at x=3, the mathematical requirement is elegant and absolute:
x→3−limf(x)=x→3+limf(x)=f(3)
This means the left-hand limit, the right-hand limit, and the function value at the point must all converge to the same height. Let us start with the easiest piece: the value at the point. The definition tells us f(3)=b. This is our target height.
The Left-Hand Approach
Taming the Modulus
Now, let us look at the left side, where x<3. The function is defined as:
f(x)=b∣x2−7x+12∣a(7x−12−x2)
This looks intimidating, but let us simplify the numerator. Notice that 7x−12−x2=−(x2−7x+12). Factoring the quadratic, we get −(x−3)(x−4).
Now, consider the modulus in the denominator. As x→3−, x is slightly less than 3. In this region, both (x−3) and (x−4) are negative.
A negative times a negative is a positive, so the expression (x−3)(x−4) is positive. Therefore, ∣x2−7x+12∣=x2−7x+12. The limit becomes:
x→3−limb(x−3)(x−4)−a(x−3)(x−4)
The terms cancel beautifully, leaving us with the left-hand limit: −ba.
The Right-Hand Approach
The Power of Limits
Moving to the right side, where x>3, we have f(x)=2x−[x]sin(x−3). As x→3+, x is in the interval (3,4), so [x]=3.
The exponent becomes x−3sin(x−3). This is a classic form! As x→3, the angle (x−3)→0.
Using the standard limit limθ→0θsinθ=1, the exponent simplifies to 1. Thus, our right-hand limit is 21=2.
The Final Synthesis
We now have our three components: the left-hand limit −ba, the right-hand limit 2, and the function value b. For continuity, they must all be equal:
From 2=b, we immediately find b=2. Substituting this into −ba=2, we get:
We have found the unique pair (a,b)=(−4,2). The bridge is complete, the gaps are closed, and the function is continuous.