Question
If f(x) = \left\{ {\matrix{ {x + a} & , & {x \le 0} \cr {|x - 4|} & , & {x > 0} \cr } } \right. and g(x) = \left\{ {\matrix{ {x + 1} & , & {x < 0} \cr {{{(x - 4)}^2} + b} & , & {x \ge 0} \cr } } \right. are continuous on R, then is equal to :
Options
Solution
Key Concepts and Formulas
- Continuity of a function: A function is continuous at a point if . For piecewise functions, continuity at the point where the definition changes requires the left-hand limit, right-hand limit, and the function value at that point to be equal.
- Composition of functions: For two functions and , the composite function is defined as . Similarly, is defined as .
- Absolute value function: is equal to if , and if .
Step-by-Step Solution
Step 1: Determine the values of and using the continuity of and .
The problem states that both and are continuous on .
For to be continuous at : The left-hand limit is . The right-hand limit is . Since , as , approaches . Thus, approaches . The function value at is . For continuity at , we must have .
For to be continuous at : The left-hand limit is . The right-hand limit is . The function value at is . For continuity at , we must have , which implies .
So, we have and .
Step 2: Rewrite the functions and with the determined values of and .
With and , the functions become: f(x) = \left\{ {\matrix{ {x + 4} & , & {x \le 0} \cr {|x - 4|} & , & {x > 0} \cr } } \right. g(x) = \left\{ {\matrix{ {x + 1} & , & {x < 0} \cr {{{(x - 4)}^2} - 15} & , & {x \ge 0} \cr } } \right.
Step 3: Calculate .
First, we need to find . Since , we use the second case for : .
Now, we need to find , which is . Since , we use the second case for : . Therefore, .
Step 4: Calculate .
First, we need to find . Since , we use the first case for : .
Now, we need to find , which is . Since , we use the first case for : . Therefore, .
Step 5: Calculate .
Using the results from Step 3 and Step 4: .
Common Mistakes & Tips
- Incorrectly evaluating absolute values: Be careful when evaluating for . For example, when , , not .
- Confusing the order of composition: Remember that , meaning you evaluate the inner function first.
- Checking the correct piecewise definition: Always ensure you are using the correct part of the piecewise function definition based on the input value to the function.
Summary
The problem requires us to first find the unknown constants and by using the condition that the given piecewise functions and are continuous on . We applied the definition of continuity at the point where the function definition changes () for both and to find and . Then, we calculated the values of the composite functions and by carefully evaluating the inner and outer functions using their respective piecewise definitions. Finally, we summed these two values to get the required result.
The final answer is \boxed{-8}.