Analyzing the Setup
The function is defined as:
f(x)={xa∣x∣+x2−2(sin∣x∣)(cos∣x∣)bxeq0x=0
For the function to be continuous at x=0, the limit of f(x) as x→0 must exist and equal f(0). This requires the Right Hand Limit (RHL) and the Left Hand Limit (LHL) to be equal to b.
The Trigonometric Simplification
The numerator contains the term 2(sin∣x∣)(cos∣x∣). Using the double-angle identity 2sinθcosθ=sin(2θ), we substitute θ=∣x∣.
The expression simplifies to:
The Right Hand Limit (RHL)
As we approach from the right (x>0), we have ∣x∣=x. The expression becomes:
f(x)=xax+x2−sin(2x)=a+x−xsin(2x)
Taking the limit as x→0+:
The Left Hand Limit (LHL)
As we approach from the left (x<0), we have ∣x∣=−x. Since sin(−θ)=−sin(θ), the term −sin(2∣x∣) becomes −sin(−2x)=sin(2x).
The expression becomes:
f(x)=xa(−x)+x2+sin(2x)=−a+x+xsin(2x)
Taking the limit as x→0−:
Final Convergence and Calculation
For continuity, the RHL must equal the LHL:
Since b must equal the limit value, we substitute a=2 into the RHL expression:
The final result for a+b is:
a+b=2+0=2