We have to evaluate the limit
lim x → 2 3 x + 3 3 − x − 12 3 − x / 2 − 3 1 − x . \displaystyle \lim_{x \to 2}\frac{3^{x}+3^{\,3-x}-12}{3^{-x/2}-3^{\,1-x}}. x → 2 lim 3 − x /2 − 3 1 − x 3 x + 3 3 − x − 12 . $
First we check the value of the numerator and the denominator at x = 2 x=2 x = 2 to identify the indeterminate form.
For the numerator,
3 x + 3 3 − x − 12 ∣ x = 2 = 3 2 + 3 3 − 2 − 12 = 9 + 3 − 12 = 0. 3^{x}+3^{\,3-x}-12 \; \Big|_{x=2}=3^{2}+3^{\,3-2}-12=9+3-12=0. 3 x + 3 3 − x − 12 x = 2 = 3 2 + 3 3 − 2 − 12 = 9 + 3 − 12 = 0. $
For the denominator,
3 − x / 2 − 3 1 − x ∣ x = 2 = 3 − 2 / 2 − 3 1 − 2 = 3 − 1 − 3 − 1 = 0. 3^{-x/2}-3^{\,1-x}\; \Big|_{x=2}=3^{-2/2}-3^{\,1-2}=3^{-1}-3^{-1}=0. 3 − x /2 − 3 1 − x x = 2 = 3 − 2/2 − 3 1 − 2 = 3 − 1 − 3 − 1 = 0. $
So the limit is of the indeterminate type 0 / 0 0/0 0/0 . We therefore need to simplify the expression. A convenient way is to shift the variable so that the point x = 2 x=2 x = 2 becomes y = 0 y=0 y = 0 .
Put x = 2 + y , x=2+y, x = 2 + y , where y → 0 y \to 0 y → 0 as x → 2 x \to 2 x → 2 . We now express every power of 3 in terms of y y y .
Using the law 3 a + b = 3 a 3 b , 3^{a+b}=3^{a}\,3^{b}, 3 a + b = 3 a 3 b , the numerator becomes
3 x + 3 3 − x − 12 = 3 2 + y + 3 3 − ( 2 + y ) − 12 = 3 2 3 y + 3 1 3 − y − 12 = 9 3 y + 3 3 − y − 12. \begin{aligned}
3^{x}+3^{\,3-x}-12
&=3^{\,2+y}+3^{\,3-(2+y)}-12 \\
&=3^{2}\,3^{y}+3^{1}\,3^{-y}-12 \\
&=9\,3^{y}+3\,3^{-y}-12.
\end{aligned} 3 x + 3 3 − x − 12 = 3 2 + y + 3 3 − ( 2 + y ) − 12 = 3 2 3 y + 3 1 3 − y − 12 = 9 3 y + 3 3 − y − 12. $
The denominator is
3 − x / 2 − 3 1 − x = 3 − ( 2 + y ) / 2 − 3 1 − ( 2 + y ) = 3 − 1 − y / 2 − 3 − 1 − y = 3 − 1 3 − y / 2 − 3 − 1 3 − y = 1 3 ( 3 − y / 2 − 3 − y ) . \begin{aligned}
3^{-x/2}-3^{\,1-x}
&=3^{-(2+y)/2}-3^{\,1-(2+y)} \\
&=3^{-1-y/2}-3^{-1-y} \\
&=3^{-1}\,3^{-y/2}-3^{-1}\,3^{-y} \\
&=\frac13\bigl(3^{-y/2}-3^{-y}\bigr).
\end{aligned} 3 − x /2 − 3 1 − x = 3 − ( 2 + y ) /2 − 3 1 − ( 2 + y ) = 3 − 1 − y /2 − 3 − 1 − y = 3 − 1 3 − y /2 − 3 − 1 3 − y = 3 1 ( 3 − y /2 − 3 − y ) . $
Dividing by 1 3 \frac13 3 1 is equivalent to multiplying the whole fraction by 3, so the complete expression becomes
3 x + 3 3 − x − 12 3 − x / 2 − 3 1 − x = 9 3 y + 3 3 − y − 12 1 3 ( 3 − y / 2 − 3 − y ) = 3 9 3 y + 3 3 − y − 12 3 − y / 2 − 3 − y . \begin{aligned}
\frac{3^{x}+3^{\,3-x}-12}{3^{-x/2}-3^{\,1-x}}
&=\frac{9\,3^{y}+3\,3^{-y}-12}{\frac13\bigl(3^{-y/2}-3^{-y}\bigr)} \\
&=3\,\frac{9\,3^{y}+3\,3^{-y}-12}{3^{-y/2}-3^{-y}}.
\end{aligned} 3 − x /2 − 3 1 − x 3 x + 3 3 − x − 12 = 3 1 ( 3 − y /2 − 3 − y ) 9 3 y + 3 3 − y − 12 = 3 3 − y /2 − 3 − y 9 3 y + 3 3 − y − 12 . $
Now we use the exponential expansion around y = 0 y=0 y = 0 : for a small y y y ,
3 y = 1 + y ln 3 + y 2 ( ln 3 ) 2 2 + ⋯ , 3^{y}=1+y\ln3+\frac{y^{2}(\ln3)^{2}}{2}+\cdots, 3 y = 1 + y ln 3 + 2 y 2 ( l n 3 ) 2 + ⋯ ,
3 − y = 1 − y ln 3 + y 2 ( ln 3 ) 2 2 + ⋯ , 3^{-y}=1-y\ln3+\frac{y^{2}(\ln3)^{2}}{2}+\cdots, 3 − y = 1 − y ln 3 + 2 y 2 ( l n 3 ) 2 + ⋯ ,
3 − y / 2 = 1 − y 2 ln 3 + y 2 ( ln 3 ) 2 8 + ⋯ . 3^{-y/2}=1-\frac{y}{2}\ln3+\frac{y^{2}(\ln3)^{2}}{8}+\cdots. 3 − y /2 = 1 − 2 y ln 3 + 8 y 2 ( l n 3 ) 2 + ⋯ .
Substituting these in the numerator:
9 3 y + 3 3 − y − 12 = 9 ( 1 + y ln 3 + y 2 ( ln 3 ) 2 2 ) + 3 ( 1 − y ln 3 + y 2 ( ln 3 ) 2 2 ) − 12 = ( 9 + 3 − 12 ) + ( 9 − 3 ) y ln 3 + ( 9 2 + 3 2 ) y 2 ( ln 3 ) 2 + ⋯ = 0 + 6 y ln 3 + 6 y 2 ( ln 3 ) 2 + ⋯ . \begin{aligned}
9\,3^{y}+3\,3^{-y}-12
&=9\!\left(1+y\ln3+\frac{y^{2}(\ln3)^{2}}{2}\right)
+3\!\left(1-y\ln3+\frac{y^{2}(\ln3)^{2}}{2}\right)
-12 \\
&=(9+3-12) \;+\; (9-3)\,y\ln3 \;+\; \left(\frac{9}{2}+\frac{3}{2}\right)\!y^{2}(\ln3)^{2}+\cdots \\
&=0+6y\ln3+6y^{2}(\ln3)^{2}+\cdots.
\end{aligned} 9 3 y + 3 3 − y − 12 = 9 ( 1 + y ln 3 + 2 y 2 ( ln 3 ) 2 ) + 3 ( 1 − y ln 3 + 2 y 2 ( ln 3 ) 2 ) − 12 = ( 9 + 3 − 12 ) + ( 9 − 3 ) y ln 3 + ( 2 9 + 2 3 ) y 2 ( ln 3 ) 2 + ⋯ = 0 + 6 y ln 3 + 6 y 2 ( ln 3 ) 2 + ⋯ . $
So, to first order,
Numerator = 6 y ln 3 + O ( y 2 ) . \text{Numerator}=6y\ln3+O(y^{2}). Numerator = 6 y ln 3 + O ( y 2 ) .
For the denominator, we expand similarly:
3 − y / 2 − 3 − y = ( 1 − y 2 ln 3 + y 2 ( ln 3 ) 2 8 ) − ( 1 − y ln 3 + y 2 ( ln 3 ) 2 2 ) = ( − y 2 ln 3 ) + y ln 3 + ( 1 8 − 1 2 ) y 2 ( ln 3 ) 2 + ⋯ = y ln 3 2 − 3 y 2 ( ln 3 ) 2 8 + ⋯ . \begin{aligned}
3^{-y/2}-3^{-y}
&=\left(1-\frac{y}{2}\ln3+\frac{y^{2}(\ln3)^{2}}{8}\right)
-\left(1-y\ln3+\frac{y^{2}(\ln3)^{2}}{2}\right) \\
&=\left(-\frac{y}{2}\ln3\right)+y\ln3
+\left(\frac{1}{8}-\frac12\right)y^{2}(\ln3)^{2}+\cdots \\
&=\frac{y\ln3}{2}-\frac{3y^{2}(\ln3)^{2}}{8}+\cdots.
\end{aligned} 3 − y /2 − 3 − y = ( 1 − 2 y ln 3 + 8 y 2 ( ln 3 ) 2 ) − ( 1 − y ln 3 + 2 y 2 ( ln 3 ) 2 ) = ( − 2 y ln 3 ) + y ln 3 + ( 8 1 − 2 1 ) y 2 ( ln 3 ) 2 + ⋯ = 2 y ln 3 − 8 3 y 2 ( ln 3 ) 2 + ⋯ . $
Thus, to first order,
Denominator = y ln 3 2 + O ( y 2 ) . \text{Denominator}=\frac{y\ln3}{2}+O(y^{2}). Denominator = 2 y l n 3 + O ( y 2 ) .
Forming their ratio we get
9 3 y + 3 3 − y − 12 3 − y / 2 − 3 − y = 6 y ln 3 + O ( y 2 ) y ln 3 2 + O ( y 2 ) = 6 + O ( y ) 1 2 + O ( y ) ⟶ 6 1 / 2 = 12 as y → 0. \frac{9\,3^{y}+3\,3^{-y}-12}{3^{-y/2}-3^{-y}}
=\frac{6y\ln3+O(y^{2})}{\dfrac{y\ln3}{2}+O(y^{2})}
=\frac{6+O(y)}{\dfrac12+O(y)}
\longrightarrow\frac{6}{1/2}=12 \quad\text{as }y\to0. 3 − y /2 − 3 − y 9 3 y + 3 3 − y − 12 = 2 y ln 3 + O ( y 2 ) 6 y l n 3 + O ( y 2 ) = 2 1 + O ( y ) 6 + O ( y ) ⟶ 1/2 6 = 12 as y → 0. $
Remember we still have the factor 3 outside, hence
lim x → 2 3 x + 3 3 − x − 12 3 − x / 2 − 3 1 − x = 3 × 12 = 36. \lim_{x \to 2}\frac{3^{x}+3^{\,3-x}-12}{3^{-x/2}-3^{\,1-x}}
=3\times 12=36. lim x → 2 3 − x /2 − 3 1 − x 3 x + 3 3 − x − 12 = 3 × 12 = 36. $
So, the answer is 36 36 36 .