We say that the limit of f(x) as x approaches a is L , written
limx→af(x)=L
, if f(x) becomes (and stays) arbitrarily close to L as x becomes arbitrarily close to a (but not equal to a).
The crucial idea is "but not equal to a". The limit is about approach, not arrival. It does not depend on what f(a) is (or whether f(a) is even defined).
Two illustrations
Example 1.f(x)=x+2. As x→3, f(x)→5. Easy , substitute.
Example 2.f(x)=x−1x2−1 at x=1. The function is undefined at x=1 (denominator zero). But for x=1, f(x)=x−1(x−1)(x+1)=x+1. So as x→1, f(x)→2. The limit is 2 even though f(1) does not exist.
One-sided limits
Sometimes we need to know whether x approaches a from the left (x<a) or the right (x>a).
limx→a−f(x): left-hand limit.
limx→a+f(x): right-hand limit.
A limit limx→af(x)exists iff both one-sided limits exist and are equal:
limx→a−f(x)=limx→a+f(x)=L⇒limx→af(x)=L.
When limits fail to exist
Three common failure modes:
Jump discontinuity. The two one-sided limits exist but differ. E.g., f(x)={01x<1x≥1 at x=1.
Infinity.f(x) grows without bound. E.g., limx→0x21=+∞. (We say the limit is ∞, but technically the limit does not exist as a finite number.)
Oscillation.f(x) wiggles infinitely. E.g., limx→0sin(1/x) does not exist , it bounces between −1 and 1.
Algebra of limits (informal)
If limx→af(x)=L and limx→ag(x)=M, then:
limx→a[f(x)+g(x)]=L+M.
limx→a[f(x)−g(x)]=L−M.
limx→a[f(x)g(x)]=L⋅M.
limx→a[f(x)/g(x)]=L/M, provided M=0.
limx→a[cf(x)]=cL for any constant c.
For elementary functions (polynomials, rational, exponentials, sine, cosine), the limit at any point in the domain is simply the value of the function there: limx→af(x)=f(a).
Worked examples
Example 1.limx→2(3x+1)=3⋅2+1=7.
Example 2.limx→0xx2+3x=limx→0(x+3)=3. (We cancelled x from numerator and denominator, valid because x=0 during the approach.)
Example 3. Find limx→1−f(x) and limx→1+f(x) for f(x)=⎩⎨⎧2x5x2+3x<1x=1x>1.
Left limit: limx→1−2x=2. Right limit: limx→1+(x2+3)=4. The two-sided limit does not exist.
Example 4.limx→3x−3x2−9=limx→3(x+3)=6.
Example 5. Show that limx→0x∣x∣ does not exist.
For x>0: ∣x∣/x=1. For x<0: ∣x∣/x=−1. So left limit is −1, right limit is +1 , unequal. Two-sided limit does not exist.
Try it yourself
limx→2(4x−1).
limx→0(5−2x).
limx→1x−1x2−1.
limx→−2x+2x2+5x+6.
limx→4x+5.
limx→0xx3−2x.
Find limx→0− and limx→0+ of f(x)=∣x∣x.
Find limx→1f(x) where f(x)=x+1 for x=1 and f(1)=10. (Does the value at x=1 matter?)
limx→0x21 , what happens?
limx→3∣x−3∣x−3 , does the two-sided limit exist?
limx→5x−5x2−25.
If limx→af(x)=3 and limx→ag(x)=4, find limx→a[2f(x)−g(x)].
Pitfalls / Tricks
A limit can exist even if f(a) is undefined.
For piecewise functions, always check both one-sided limits.
For an algebraic expression of the 0/0 form, factor and cancel the common factor.
Insight. A limit is about near the point, not at the point. This is the foundation of calculus.