Question
Let a function f : R R be defined as f(x) = \left\{ {\matrix{ {\sin x - {e^x}} & {if} & {x \le 0} \cr {a + [ - x]} & {if} & {0 < x < 1} \cr {2x - b} & {if} & {x \ge 1} \cr } } \right. where [ x ] is the greatest integer less than or equal to x. If f is continuous on R, then (a + b) is equal to:
Options
Solution
Key Concepts and Formulas
- Continuity of a Function: A function is continuous at a point if the following three conditions are met:
- is defined.
- exists.
- .
- Existence of Limit: For the limit to exist, the left-hand limit and the right-hand limit must be equal: .
- Greatest Integer Function: The greatest integer function, denoted by , gives the greatest integer less than or equal to . For , . For , .
Step-by-Step Solution
Step 1: Analyze the function definition and continuity requirements. The function is defined piecewise. For to be continuous on , it must be continuous at the points where the definition changes, which are and . We will use the definition of continuity to set up equations involving and .
Step 2: Apply the continuity condition at . For continuity at , we need .
- Left-hand limit at : As approaches from the left (), we use the first part of the function definition: .
- Right-hand limit at : As approaches from the right (), we use the second part of the function definition: . For slightly greater than (e.g., ), is slightly less than (e.g., ). The greatest integer less than or equal to a number slightly less than is . So, for .
- Function value at : For , .
Equating the left-hand limit, right-hand limit, and function value at : From this, we get , which implies .
Step 3: Apply the continuity condition at . For continuity at , we need .
-
Left-hand limit at : As approaches from the left (), we use the second part of the function definition: . For slightly less than (e.g., ), will be the greatest integer less than or equal to a number slightly less than (e.g., ). This integer is . Since we found from Step 2, this limit is .
-
Right-hand limit at : As approaches from the right (), we use the third part of the function definition: .
-
Function value at : For , .
Equating the left-hand limit, right-hand limit, and function value at : We already know . Substituting this into the equation: Solving for :
Step 4: Calculate . We have found and .
Common Mistakes & Tips
- Incorrectly evaluating the greatest integer function: Pay close attention to the interval for . For , , so . For approaching from the left (), is between and , so .
- Confusing left-hand and right-hand limits: Ensure you are using the correct part of the piecewise function for each limit. For , use the definition for or intervals to the left of . For , use the definition for or intervals to the right of .
- Algebraic errors: Double-check your algebraic manipulations when solving for and .
Summary
To ensure the function is continuous on , we must enforce continuity at the points where the function definition changes, namely and . By applying the definition of continuity () at , we found the value of . Subsequently, by applying the same continuity condition at and using the value of , we determined the value of . Finally, we summed and to obtain the required result.
The final answer is .