Similar questions 2 more →
Calculus

Answer & solution
Official answer: 3
Givens and goal
For x>0, f(x)=c₁ex−c₂ln(1/x); for x≤0, f(x)=3. The constants are real. Continuity at zero is required. Find c₁+c₂ as an integer.
Approach
Compare the right-hand limit with f(0), first eliminating any divergent contribution.
Step-by-step solution
1. Since f(0)=3 and f is constant 3 on the negative half-line, the value and left-hand limit already agree. Only the limit as x→0+ needs to be imposed.
2. Use ln(1/x)=−ln x to rewrite the positive branch as c₁ex+c₂ln x. As x→0+, ex→1 while ln x→−∞.
3. If c₂>0, the logarithmic term tends to −∞; if c₂<0, it tends to +∞. The exponential term has finite limit c₁ and cannot cancel either divergence. A finite right-hand limit therefore requires c₂=0.
4. With c₂=0, the right-hand limit is c₁. Continuity requires c₁=3, so c₁+c₂=3.
5. Checking the resulting function confirms it: its right branch is 3ex and tends to 3 at zero. There is no need for the derivatives on the two sides to agree because the question asks only for continuity.