Our limit has the indeterminate form 1∞; as with l'Hopital's rule, we can change it to a friendlier form using the natural logarithm.
f(x)log(f(x))=(1+x+x2)2/x=log[(1+x+x2)2/x]=x2log(1+x+x2)
Recall log(1+y)=n=1∑∞n(−1)n+1yn, and set y=x+x2. The series converges when ∣y∣<1, and since we only consider values of x that are very close to 0, we can assume ∣x+x2∣<1.
log(f(x))x→0limlog(f(x))x→0limf(x)=x2log(1+(x+x2))=x2n=1∑∞n(−1)n+1(x+x2)n=x2[(x+x2)−2(x+x2)2+3(x+x2)3−⋯]=2+2x−2x(x+x2)2+3x(x+x2)3−⋯=2+2x−2(x2+x)(1+x)+3(x2+x)2(1+x)−⋯=x→0lim[2+2x−2(x2+x)(1+x)+3(x2+x)2(1+x)−⋯]=2+0+0⋯=2=x→0limelogf(x)=e2