and they stay true when x is replaced by any quantity t that tends to 0 (for example 4xe4x−1→1).
We also use 1−cosx=2sin22x and u2=∣u∣.
Step 1 — Check the form at the printed point. As x→1, the numerator tends to e−1 and 1−cosx tends to 1−cos1, which is positive because cos1<1. The denominator is not 0, so the function is continuous at x=1 and direct substitution works:
x→1lim1−cosxex−1=1−cos1e−1
Step 2 — Simplify the denominator. The half-angle identity gives 1−cos1=2sin221, and sin21>0:
1−cos1e−1=2sin21e−1
Step 3 — Find the value. With e≈2.71828 and sin21≈0.47943 (angle in radians), the value is
1.41421×0.479431.71828≈2.53
Step 4 — Look at the intended version x→0. The book's working uses x→0, where the form is 00. For x near 0 we have 1−cosx=2sin2x, so we split the fraction into standard pieces:
2sin2xex−1=22⋅xex−1⋅sin2x2x
Step 5 — Find the one-sided limits at 0. For x>0 the last fraction is sin2x2x, which tends to 1. For x<0 the sine is negative, so the last fraction tends to −1:
R.H.L.L.H.L.=2×1×1=2×1×(−1)
So the right-hand limit is 2 and the left-hand limit is −2. They differ, so x→0lim1−cosxex−1 does not exist.
Note: The printed answer 2 is incorrect for the question as printed. It belongs to the version with x→0, and even there it is only the right-hand limit, because sin22x equals sin2x, not sin2x.
Therefore, as printed the limit is 2sin21e−1≈2.53; for x→0 the limit does not exist (right-hand limit 2, left-hand limit −2).