Similar questions 2 more →
Continuity with an unbounded logarithm
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.











![Question 25, GATE 2021: f is continuous on [−3,3], differentiable on (−3,3), f′(x)≤2 everywhere inside, and f(−3)=7. Find the largest possible f(3).](../../../assets/questions/CS-2021-S2-Q35-1.webp)
![Question 1, GATE 2020: Which functions increase throughout [0,1]? I e^(−x); II x²−sin x; III √(x³+1). Options: A III only; B II only; C II and III; D I and III.](../../../assets/questions/CS-2020-Q11-1.webp)










![Question 54, GATE 2015: For every nonzero real x, a function f satisfies a f(x)+b f(1/x)=1/x−25, where a≠b. Find ∫ from 1 to 2 of f(x) dx. Options: (A) [a(ln2−25)+47b/2]/(a²−b²); (B) [a(2ln2−25)−47b/2]/(a²−b²); (C) [a(2ln2−25)+47b/2]/(a²−b²); (D) [a(ln2−25)−47b/2]/(a²−b²). Explain why the denominator is nonzero for an existing such function.](../../../assets/questions/CS-2015-S3-Q54-1.webp)
![Question 6, GATE 2014: For θ∈[π/6,π/3], let f(θ) be the determinant with rows (sin θ, cos θ, tan θ), (sin(π/6),cos(π/6),tan(π/6)), and (sin(π/3),cos(π/3),tan(π/3)). I: There exists θ strictly between the endpoints with f′(θ)=0. II: There exists θ strictly between the endpoints with f′(θ)≠0. Which are true? A: I only. B: II only. C: both. D: neither.](../../../assets/questions/CS-2014-S1-Q16-1.webp)

![Question 47, GATE 2014: A continuous function f on [0,2] satisfies f(0)=f(2)=−1 and f(1)=1. Which must hold? A: Some y∈(0,1) satisfies f(y)=f(y+1). B: Every y∈(0,1) satisfies f(y)=f(2−y). C: The maximum on (0,2) is 1. D: Some y∈(0,1) satisfies f(y)=−f(2−y). The source requests one choice.](../../../assets/questions/CS-2014-S1-Q57-1.webp)



![Question 9, GATE 2012: Consider the function f(x) = sin(x) in the interval x ∈ [π/4, 7π/4]. The number and location(s) of the
local minima of this function are
(A) One, at π/2
(B) One, at 3π/2
(C) Two, at π/2 and 3π/2
(D) Two, at π/4 and 3π/2](../../../assets/questions/CS-2012-Q19-1.webp)







![Question 1.4, GATE 1998: For y=|x| on[−1, 1], classify continuity and differentiability.](../../../assets/questions/CS-1998-Q4-1.webp)




![Question 4.1, GATE 1997: Find maximum of f (x)=2x²−2x+6 on[0, 2], among 6, 10, 12, 5.5.](../../../assets/questions/CS-1997-Q26-1.webp)

![Question 1.21, GATE 1995: How many solutions does x=cos x have on [0,π]?](../../../assets/questions/CS-1995-Q21-1.webp)









![Question 2.1, GATE 1993: Evaluate lim(x→0)[x(e^x−1)+2(cos x−1)]/[x(1−cos x)].](../../../assets/questions/CS-1993-Q8-1.webp)





