Solution:
Concept: Here log means the natural logarithm loge. The standard exponential and logarithmic limits are
x→0limxex−1x→0limxax−1x→0limxlog(1+x)=1=loga=1
and they stay true when x is replaced by any quantity t that tends to 0 (for example 4xe4x−1→1).
Step 1 — Clear the negative power. We multiply the numerator and the denominator by ex. Since e−x⋅ex=1, the numerator becomes e2x+1−2ex:
x2ex+e−x−2=x2exe2x−2ex+1
Step 2 — Recognise a perfect square. The numerator (ex)2−2ex+1 is the perfect square (ex−1)2:
x2ex(ex−1)2=(xex−1)2⋅ex1
Step 3 — Apply the standard limit. The bracket tends to 1, and ex1 also tends to 1 because e0 is 1:
12×1=1
Therefore, the limit is 1.