Question:hard

If the function \(f(x)\) is defined as below
\(f(x)=\begin{cases} \frac{(3^{x}+3^{-x}-2)\log (1+4x)}{(1-\cos 4x)\tan (2x)}, & x\neq 0 \\ \frac{(\log p)^{r}}{q}, & x=0 \end{cases}\)
is continuous at \(x=0\) then \(p+q-r=\ldots\)

Show Hint

Evaluate the limit at 0 using standard limits and compare with (log p)^r / q.
Updated On: Nov 12, 2026
  • \(0\)
  • \(3\)
  • \(5\)
  • \(7\)
Show Solution

The Correct Option is C

Solution and Explanation

Step 1: Use standard limits
$\dfrac{a^{x}-1}{x}\rightarrow\log a$, $\dfrac{\log(1+x)}{x}\rightarrow 1$, $\dfrac{1-\cos x}{x^{2}}\rightarrow\dfrac{1}{2}$.

Step 2: Rewrite
$3^{x}+3^{-x}-2=\dfrac{(3^{x}-1)^{2}}{3^{x}}$, so the ratio tends to $(\log 3)^{2}$ over $x^{2}$.

Step 3: Evaluate
The limit is $\dfrac{(\log 3)^{2}\cdot 4}{8\cdot 2}=\dfrac{(\log 3)^{2}}{4}$, so $p=3,q=4,r=2$ and $p+q-r=5$.

Final Answer:
Matching the limit gives p = 3, q = 4, r = 2, so the value is 5. \[ \boxed{\text{(C) }5} \]
Was this answer helpful?
0