Solveeit Logo

Question

Question: Let $f(x) = \sqrt{\frac{\log(x^2+kx+k+1)}{x^2+k}}$. If $f(x)$ is continuous for all $x \in \mathbb{R...

Let f(x)=log(x2+kx+k+1)x2+kf(x) = \sqrt{\frac{\log(x^2+kx+k+1)}{x^2+k}}. If f(x)f(x) is continuous for all xRx \in \mathbb{R}, then the range of kk is

A

(,0)[4,)(-\infty, 0) \cup [4, \infty)

B

[0,4]

C

[0,4]

D

[0, 4]

Answer

[0,4]

Explanation

Solution

For the function f(x)=log(x2+kx+k+1)x2+kf(x) = \sqrt{\frac{\log(x^2+kx+k+1)}{x^2+k}} to be continuous for all xRx \in \mathbb{R}, its domain must be R\mathbb{R}. This requires two main conditions:

  1. The argument of the logarithm must be positive for all xRx \in \mathbb{R}: x2+kx+k+1>0x^2+kx+k+1 > 0. This is a quadratic in xx with a positive leading coefficient. For it to be always positive, its discriminant must be negative. Δ1=k24(1)(k+1)<0\Delta_1 = k^2 - 4(1)(k+1) < 0 k24k4<0k^2 - 4k - 4 < 0. The roots of k24k4=0k^2 - 4k - 4 = 0 are k=4±164(1)(4)2=4±322=2±22k = \frac{4 \pm \sqrt{16 - 4(1)(-4)}}{2} = \frac{4 \pm \sqrt{32}}{2} = 2 \pm 2\sqrt{2}. Thus, for the inequality to hold, 222<k<2+222 - 2\sqrt{2} < k < 2 + 2\sqrt{2}.

  2. The expression under the square root must be non-negative for all xRx \in \mathbb{R}: log(x2+kx+k+1)x2+k0\frac{\log(x^2+kx+k+1)}{x^2+k} \ge 0.

    We analyze this based on the denominator x2+kx^2+k:

    • Case 1: k>0k > 0. In this case, x2+k>0x^2+k > 0 for all xRx \in \mathbb{R} (since x20x^2 \ge 0). The condition simplifies to log(x2+kx+k+1)0\log(x^2+kx+k+1) \ge 0. Since the base of the logarithm is ee (or any base >1>1), this implies x2+kx+k+1e0=1x^2+kx+k+1 \ge e^0 = 1. x2+kx+k0x^2+kx+k \ge 0. For this quadratic to be always non-negative, its discriminant must be less than or equal to zero. Δ2=k24(1)(k)0\Delta_2 = k^2 - 4(1)(k) \le 0 k(k4)0k(k-4) \le 0. This inequality holds for 0k40 \le k \le 4. Combining with the condition k>0k > 0, we get 0<k40 < k \le 4.

    • Case 2: k=0k = 0. The function becomes f(x)=log(x2+1)x2f(x) = \sqrt{\frac{\log(x^2+1)}{x^2}}. The denominator x2x^2 is zero at x=0x=0. For continuity, we check the limit as x0x \to 0: limx0log(x2+1)x2\lim_{x \to 0} \frac{\log(x^2+1)}{x^2}. Using L'Hôpital's rule or the standard limit limy0log(1+y)y=1\lim_{y \to 0} \frac{\log(1+y)}{y} = 1, we get the limit as 1. So, limx0f(x)=1=1\lim_{x \to 0} f(x) = \sqrt{1} = 1. The function can be defined as f(0)=1f(0)=1 to be continuous. For x0x \neq 0, x2>0x^2 > 0 and x2+1>1x^2+1 > 1, so log(x2+1)>0\log(x^2+1) > 0. Thus, log(x2+1)x2>0\frac{\log(x^2+1)}{x^2} > 0. The condition log(x2+kx+k+1)x2+k0\frac{\log(x^2+kx+k+1)}{x^2+k} \ge 0 is satisfied for k=0k=0.

    • Case 3: k<0k < 0. If k<0k < 0, then for x=0x=0, the denominator x2+k=kx^2+k = k, which is negative. This means the denominator can be negative, leading to potential issues with the expression under the square root. For the function to be defined for all xx, the denominator x2+kx^2+k must not be zero for any xx. This implies x2=kx^2 = -k must have no real solutions, which means k<0-k < 0, or k>0k > 0. Thus, k<0k < 0 is not allowed for the denominator to be consistently positive or non-negative in a way that allows continuity for all xx.

    Combining the valid cases for the second condition, we have k=0k=0 or 0<k40 < k \le 4, which gives 0k40 \le k \le 4.

    Finally, we intersect the ranges from both conditions: (222,2+22)[0,4](2 - 2\sqrt{2}, 2 + 2\sqrt{2}) \cap [0, 4]. Since 2220.8282 - 2\sqrt{2} \approx -0.828 and 2+224.8282 + 2\sqrt{2} \approx 4.828, the interval [0,4][0, 4] is fully contained within (222,2+22)(2 - 2\sqrt{2}, 2 + 2\sqrt{2}). Therefore, the intersection is [0,4][0, 4].