Maths WorkshopMaths problems with full solutions
Exercise 42Calculus › Single-variable calculus › Differentiation › Taylor expansionsL1Added 3 Nov 2026

lim cos(1/n)^(n²)

#sequences#expansions#indeterminate form 1^∞

Statement

Compute lim⁡n→∞(cos⁡1n)n2\displaystyle\lim_{n\to\infty}\left(\cos\frac1n\right)^{n^2}.

Hint

Take the logarithm and expand cos⁡u\cos u then ln⁡(1+v)\ln(1+v) with u=1nu=\frac1n.

Show solutionHide solution

Solution

Logarithm. ln⁡(cos⁡1n)n2=n2ln⁡cos⁡1n\ln\left(\cos\frac1n\right)^{n^2}=n^2\ln\cos\frac1n.

Expansion. cos⁡1n=1−12n2+o ⁣(1n2)\cos\frac1n=1-\frac1{2n^2}+o\!\left(\frac1{n^2}\right), and ln⁡(1+v)=v+o(v)\ln(1+v)=v+o(v), so
ln⁡cos⁡1n=−12n2+o ⁣(1n2).\ln\cos\frac1n=-\frac1{2n^2}+o\!\left(\frac1{n^2}\right).

Limit. n2ln⁡cos⁡1n→−12n^2\ln\cos\frac1n\to-\frac12, hence the sequence converges to e−1/2e^{-1/2}.

Remark. The exponent n2n^2 (and not nn) is exactly what is needed to balance the 1n2\frac1{n^2} deviation of the cosine from 11. With exponent nn, the limit would be 11.