lim x → 0 cos x = 1 \displaystyle \lim_{x \to 0} \cos x =1 x → 0 lim cos x = 1 and lim x → 0 1 x 2 = ∞ \displaystyle \lim_{x \to 0}\frac{1}{x^2}=\infty x → 0 lim x 2 1 = ∞ , so lim x → 0 ( cos x ) 1 x 2 \displaystyle \lim_{x \to 0}(\cos x)^{\frac{1}{x^2}} x → 0 lim ( cos x ) x 2 1 has the indeterminate form 1 ∞ 1^\infty 1 ∞ . We want to use l'Hopital, but we need to get our function into a fractional indeterminate form. So, we'll use a logarithm.
y : = ( cos x ) 1 x 2 log y = log ( ( cos x ) 1 x 2 ) = 1 x 2 log ( cos x ) = log cos x x 2 lim x → 0 log y = lim x → 0 log cos x x 2 ⏟ n u m → 0 d e n → 0 = lim x → 0 − sin x cos x 2 x = lim x → 0 − tan x 2 x ⏟ n u m → 0 d e n → 0 = lim x → 0 − sec 2 x 2 = lim x → 0 − 1 2 cos 2 x = − 1 2 Therefore, lim x → 0 y = lim x → 0 e log y = e − 1 / 2 = 1 e \begin{aligned}
y:&=(\cos x)^{\frac{1}{x^2}}\\
\log y &= \log \left((\cos x)^{\frac{1}{x^2}}\right)=\frac{1}{x^2}\log(\cos x)=\frac{\log \cos x}{x^2}\\
\lim_{x \to 0}\log y &=\lim_{x \to 0}\underbrace{\frac{\log \cos x}{x^2}}_{\genfrac{}{}{0in}{}{\mathrm{num}\to0}{\mathrm{den}\to 0}}
=
\lim_{x \to 0} \frac{\frac{-\sin x}{\cos x}}{2x}=
\lim_{x \to 0} \underbrace{\frac{-\tan x}{2x}}_{\genfrac{}{}{0in}{}{\mathrm{num}\to0}{\mathrm{den}\to 0}}
=
\lim_{x \to 0}\frac{-\sec^2x}{2}\\
&=\lim_{x \to 0}\frac{-1}{2\cos^2 x}=-\frac{1}{2}\\
\text{Therefore, } \lim_{x \to 0} y &=\lim_{x \to 0}e^{\log y}=e^{-1/2}=\frac{1}{\sqrt{e}}
\end{aligned} y : log y x → 0 lim log y Therefore, x → 0 lim y = ( cos x ) x 2 1 = log ( ( cos x ) x 2 1 ) = x 2 1 log ( cos x ) = x 2 log cos x = x → 0 lim den → 0 num → 0 x 2 log cos x = x → 0 lim 2 x c o s x − s i n x = x → 0 lim den → 0 num → 0 2 x − tan x = x → 0 lim 2 − sec 2 x = x → 0 lim 2 cos 2 x − 1 = − 2 1 = x → 0 lim e l o g y = e − 1/2 = e 1