Corrected exercises: limits and the limit laws (MATH 140)
This is the corrected exercise set for limits and the limit laws in MATH 140, Calculus 1, at McGill University, sections 2.2 and 2.3 of Stewart. It is the chapter on which the rest of the course is built: continuity, the derivative and every rule of differentiation are limits in disguise. Every answer is exact and done by hand, and every solution names the law it uses, because a limit given without its justification earns almost nothing.
The thread running through the whole set: a limit describes what f does NEAR a, never AT a. The value f(a) plays no part in it. The form 00 is not an answer but an order to rewrite, legal because x=a. And every limit law needs its permit: the limits of the pieces must exist, and the limit of a denominator must not be 0, before the law may be used.
The traps named in the solutions: giving f(a) as the limit, computing only one side of an absolute value, writing (x−2)2=x−2, answering 1 to the form 00, multiplying only the numerator by the conjugate, applying the product law to a factor with no limit, squeezing between bounds that do not share their limit, forgetting to reverse an inequality multiplied by a negative number, and quoting θsinθ→1 when the angle does not match the denominator or does not tend to 0.
Self-checking setType your answers and check them question by question: the page tells you right or wrong before you open the solution. With an account, every answer right on the first try earns points, and your right answers stay filled in when you come back.
•limx→af(x)=L if and only if limx→a−f(x)=L and limx→a+f(x)=L. The value f(a) plays no part.
•Limit laws: sum, difference, constant multiple, product, power and root are computed piece by piece; quotient as well if limg(x)=0. Permit: every piece must have a finite limit.
•Direct substitution: for a polynomial, or a rational function with a in its domain, limx→af(x)=f(a).
•If f(x)=g(x) for all x=a near a, then limx→af(x)=limx→ag(x): this licenses cancelling x−a.
•Squeeze: g≤f≤h near a and limg=limh=L give limf=L. And f≤g near a gives limf≤limg.
•limθ→0θsinθ=1, θ in radians. u2=∣u∣. a3−b3=(a−b)(a2+ab+b2).
Part A: the basics (/50)
Exercise 1: Reading limits on a graph: the two sides, and the point that does not count
The figure shows the graph of a function f defined on [−4,6]. A full dot is a point of the graph, an empty dot is a point that is NOT on the graph. Read every answer from the figure, and say which feature of the graph you are reading.
Recall the three different questions that can be asked at one number a: what f does as x approaches a from the left, what it does from the right, and what f(a) is. The limit limx→af(x) exists exactly when the two one-sided limits exist and are EQUAL; the value f(a) plays no part in it.
a) Find limx→−2−f(x), limx→−2+f(x), limx→−2f(x) and f(−2).
b) Find limx→1−f(x), limx→1+f(x), limx→1f(x) and f(1).
c) Find limx→4f(x) and f(4). Does the corner of the graph at x=4 prevent the limit from existing?
d) Find limx→6−f(x). For which numbers a in (−4,6) does limx→af(x) fail to exist? For which does it exist but differ from f(a)?
e) Find limx→1(f(x)−2)(f(x)+1), and compare limx→−2[f(x)]2 with [f(−2)]2.
Show the solution
Answers
a)1, 1, 1 and f(−2)=3
b)2, −1, does not exist, and f(1)=−1
c)limx→4f(x)=2=f(4); a corner does not prevent the limit.
d)limx→6−f(x)=0; no limit at a=1 only; limit different from the value at a=−2 only.
e)0 (both sides give 0); limx→−2[f(x)]2=1 while [f(−2)]2=9.
a)
As x approaches −2 from the left, the curve runs down to the height 1, where the empty dot sits; from the right it leaves from the same empty dot. So limx→−2−f(x)=1 and limx→−2+f(x)=1, and since the two one-sided limits are equal, limx→−2f(x)=1. The full dot at height 3 gives the value: f(−2)=3. The limit and the value are two different numbers, and nothing is wrong with that: the limit reads the curve AROUND −2, the value reads the single isolated dot. Answering 3 for the limit because the dot is full is the most common error of the chapter.
b)
From the left the curve climbs to the empty dot at height 2: limx→1−f(x)=2. From the right the curve starts at the full dot at height −1: limx→1+f(x)=−1. The one-sided limits exist but are different, so limx→1f(x) does not exist. The value is given by the full dot: f(1)=−1. Note that f(1) equals the limit from the right; this does not rescue the two-sided limit, which requires the left side to agree as well. Writing limx→1f(x)=−1 because f(1)=−1 is wrong twice: it uses the value, and it forgets the left side.
c)
Near 4 the graph is made of two straight pieces that meet at the point (4,2), one rising, one falling. From the left, f(x)→2; from the right, f(x)→2. So limx→4f(x)=2, and here the value agrees: f(4)=2. The corner changes the DIRECTION of the graph, not its HEIGHT, and a limit only asks about heights. A corner will matter later in the course, for the slope; for the limit it is invisible.
d)
As x increases to 6 the last piece comes down to the full dot (6,0), so limx→6−f(x)=0. Only the left-hand limit makes sense at 6, because f is not defined to the right of 6. Inside (−4,6), the graph is an unbroken curve except at −2 and 1. At a=1 the one-sided limits differ, so the limit fails to exist there and nowhere else. At a=−2 the limit exists, equal to 1, but differs from f(−2)=3. At every other a, including the corner a=4, the limit exists and equals f(a).
e)
The product law cannot be used at 1, since limx→1f(x) does not exist; work on each side instead. From the left, f(x)→2, so (f(x)−2)(f(x)+1)→(2−2)(2+1)=0. From the right, f(x)→−1, so the product tends to (−1−2)(−1+1)=0. The two sides agree, so the limit EXISTS and equals 0, although f itself has no limit at 1: each side kills a different factor. At −2, the power law applies because limx→−2f(x)=1 exists: limx→−2[f(x)]2=12=1, whereas [f(−2)]2=9. The limit of the square is the square of the limit, never the square of the value.
Tick the exercises you have done or want to review: a free account, no password, keeps your ticks and your right answers from one visit to the next, tells you which chapter to tackle next and lets you ask for the exercise you are missing. Create your space, an email is enough.
Exercise 2: The limit laws, and the permit each one needs
The limit laws say that the limit of a sum, a difference, a constant multiple, a product, a power or a root is computed piece by piece, and that the limit of a quotient is the quotient of the limits PROVIDED the limit of the denominator is not 0. Every one of them has a hypothesis that is easy to forget: the limits of the pieces must EXIST, as finite numbers, before the law may be used.
Direct substitution property: if f is a polynomial, or a rational function with a in its domain, then limx→af(x)=f(a).
a) Suppose limx→3f(x)=4, limx→3g(x)=−2 and limx→3h(x)=0, with h(x)=0 for x near 3. Find limx→3(2f(x)−3g(x)), limx→3f(x)+g(x)f(x)g(x) and limx→3f(x)−2g(x). Then prove that h(x)g(x) has no finite limit as x→3.
b) Evaluate limx→−1x2+3x3+2x2−5, naming the law used at each step. Which property would have given the answer in one line?
c) A function f satisfies limx→2x−2f(x)−5=3. Find limx→2f(x). Can you conclude that f(2)=5?
d) Let u(x)=∣x∣x and v(x)=−∣x∣x. Show that neither u nor v has a limit at 0, but that u+v and uv do. What does this say about the direction of the sum and product laws?
e) A function F satisfies limx→0x2F(x)=5. Find limx→0F(x) and limx→0xF(x).
Show the solution
Answers
a)14, −4, 22; if hg→M then g=hg⋅h→0=−2: no finite limit.
b)−1; direct substitution gives it at once.
c)limx→2f(x)=5; nothing is known about f(2).
d)u→±1 and v→∓1 on the two sides; u+v=0→0 and uv=−1→−1. The laws do not reverse.
e)limF(x)=0 and limxF(x)=0
a)
Every piece has a finite limit, so the laws apply. Difference and constant multiple: 2⋅4−3⋅(−2)=14. For the quotient, first check the permit: lim(f(x)+g(x))=4−2=2=0, so the quotient law applies, with the product law on top: 24⋅(−2)=−4. Root law: lim(f(x)−2g(x))=4+4=8>0, so the limit is 8=22. For hg the quotient law has NO permit, since limh(x)=0. Suppose the quotient had a finite limit M. Then g(x)=h(x)g(x)⋅h(x) is a product of two functions with limits, and the product law gives limg(x)=M⋅0=0, contradicting limg(x)=−2. So h(x)g(x) has no finite limit. This argument, the product law used BACKWARDS, is the tool of c), of e) and of Exercise 9.
b)
Denominator first: by the sum, power and constant laws, limx→−1(x2+3)=(−1)2+3=4=0, which gives the quotient law its permit. Numerator: limx→−1x3+2limx→−1x2−limx→−15=−1+2−5=−4, by the sum, difference, constant multiple and power laws. Quotient law: the limit is 4−4=−1. The one-line route is the direct substitution property: the function is rational and −1 is in its domain, since x2+3 never vanishes, so the limit is the value at −1. That property is itself the limit laws applied once and for all, and it is the ONLY situation in which plugging in is a justified method.
c)
The hypothesis cannot be split by the quotient law, because the denominator x−2 tends to 0. Write instead, for x=2, f(x)=x−2f(x)−5⋅(x−2)+5. Each piece now has a limit: the fraction tends to 3, and x−2 tends to 0. By the product and sum laws, limx→2f(x)=3⋅0+5=5. As for f(2), the hypothesis only involves x=2, so it says NOTHING about f(2): f could even be undefined at 2. The trap is to conclude f(2)=5 because otherwise the fraction would blow up: the limit never looks at x=2.
d)
For x>0, u(x)=xx=1, and for x<0, u(x)=−xx=−1. So limx→0+u(x)=1 and limx→0−u(x)=−1: different, so u has no limit at 0, and neither has v=−u. Yet u(x)+v(x)=0 for every x=0, so lim(u+v)=0, and u(x)v(x)=−u(x)2=−1 for every x=0, so limuv=−1. The laws say: IF the limits of the pieces exist, THEN the limit of the combination exists and is computed piece by piece. They do not say the converse, and a combination may have a limit while its pieces have none. When the pieces have no limit, simplify the combination first, then take its limit.
e)
The same backwards product law as in c). For x=0, F(x)=x2F(x)⋅x2, a product of a function with limit 5 and a function with limit 0: limF(x)=5⋅0=0. Likewise xF(x)=x2F(x)⋅x→5⋅0=0. A frequent wrong answer is limxF(x)=5, obtained by cancelling an x in the hypothesis. Always multiply the known quotient by what is missing, then apply the product law, whose permit is now in order. Example: F(x)=5x2+x3 satisfies the hypothesis, and indeed F(x)→0 and xF(x)=5x+x2→0.
Exercise 3: The form 0/0 by factoring: an order to rewrite, never an answer
When direct substitution produces 00, the quotient law has no permit and the computation has not failed: it has told you that numerator and denominator share a factor. By the factor theorem, a polynomial that vanishes at a is divisible by x−a. Factor, cancel the common factor, which is legitimate because x=a in the limit, then substitute.
The rule behind the cancellation: if f(x)=g(x) for every x=a near a, then limx→af(x)=limx→ag(x).
a) Evaluate limx→−3x2+3xx2+x−6.
b) Evaluate limx→2x2−5x+6x3−8.
c) Evaluate limt→1t3−1t4−1.
d) Evaluate limx→1x2−1x3−3x+2 and limx→1(x−1)2x3−3x+2. What do the two answers say about the value of the form 00?
e) A student writes: x−3x2−x−6=x+2, so the two functions are equal and limx→3x−3x2−x−6=5. Correct the first sentence, and explain why the limit is nevertheless right.
Show the solution
Answers
a)35
b)−12
c)34
d)0 and 3: the form 00 has no value of its own.
e)x−3x2−x−6=x+2 only for x=3; the limit ignores x=3, so it is 5.
a)
Substitution gives 9−99−3−6=00: write the form, it tells you that x+3 divides both. x2+x−6=(x+3)(x−2) and x2+3x=x(x+3). For x=−3, x(x+3)(x+3)(x−2)=xx−2, a rational function with −3 in its domain, so by direct substitution the limit is −3−5=35. The sign is where marks go: −3−5 is positive. Check the factorization by expanding (x+3)(x−2)=x2+x−6 before cancelling.
b)
4−10+68−8=00. The numerator is a difference of cubes, a3−b3=(a−b)(a2+ab+b2): x3−8=(x−2)(x2+2x+4). The denominator is (x−2)(x−3). For x=2 the quotient is x−3x2+2x+4, and substitution gives −14+4+4=−12. Writing x3−8=(x−2)3 is the classic slip. Test it at x=0: −8 on both sides, which agrees by accident; at x=1 the left gives −7 and the right −1. One test value is not enough to check a factorization, two are much safer.
c)
1−11−1=00. t4−1=(t2−1)(t2+1)=(t−1)(t+1)(t2+1), and t3−1=(t−1)(t2+t+1). For t=1 the quotient is t2+t+1(t+1)(t2+1), which tends to 32⋅2=34 by direct substitution. The variable is called t, and the method does not care: the factor to extract is always the variable minus a.
d)
1−3+2=0, so x−1 divides the numerator; long or synthetic division gives x3−3x+2=(x−1)(x2+x−2)=(x−1)2(x+2), since x2+x−2 vanishes at 1 again. First limit: for x=1, (x−1)(x+1)(x−1)2(x+2)=x+1(x−1)(x+2)→20⋅3=0. Second limit: (x−1)2(x−1)2(x+2)=x+2→3. Two quotients of the same form 00 at the same point give 0 and 3: the form carries no value. What decides is how many factors x−1 each side contains, and after the first cancellation the new expression must be read again, since it need not be of the form 00 any more.
e)
The equality of functions is false: the left side is not defined at x=3 while the right side is, so they are two different functions. The correct statement is x−3x2−x−6=x−3(x−3)(x+2)=x+2 FOR x=3. The limit is still right because a limit as x→3 only uses values with x=3, where the two functions agree, so the rule of the introduction gives limx→3x−3x2−x−6=limx→3(x+2)=5. A marker takes a rigour mark for the missing condition x=3: it is precisely the reason the cancellation is allowed.
Exercise 4: Conjugates and common denominators: rewriting until the factor appears
Not every 00 is a pair of polynomials. With a square root, multiply numerator AND denominator by the conjugate, since (A−B)(A+B)=A−B2 removes the root. With fractions inside a fraction, bring everything over a common denominator. In both cases the goal is the same as in Exercise 3: make the factor x−a appear on top and bottom, cancel it using x=a, then substitute.
No calculator: every answer below is an exact fraction.
a) Evaluate limx→5x−5x+4−3.
b) Evaluate limx→0x1+x−1−x.
c) Evaluate limx→42−xx−4, where the root is in the DENOMINATOR.
d) Explain why the difference law cannot be applied to x−21−x2−44 as x→2, then evaluate limx→2(x−21−x2−44).
e) Evaluate limx→8x−83x−2. Why does the square root conjugate not work here, and what replaces it?
Show the solution
Answers
a)61
b)1
c)−4
d)Neither term has a finite limit, so no permit; the limit is 41.
e)121, with a3−b3=(a−b)(a2+ab+b2) in place of the conjugate.
a)
Substitution gives 03−3=00. Multiply top and bottom by the conjugate x+4+3: the numerator becomes (x+4)−9=x−5, and the quotient is (x−5)(x+4+3)x−5=x+4+31 for x=5. By the quotient and root laws, the limit is 3+31=61. Multiplying only the numerator by the conjugate changes the value of the expression, and every mark after that line is lost: the conjugate goes on top AND bottom, which is multiplying by 1.
b)
01−1=00. The conjugate of a DIFFERENCE of two roots is their sum: (1+x−1−x)(1+x+1−x)=(1+x)−(1−x)=2x. So for x=0 the quotient equals x(1+x+1−x)2x=1+x+1−x2, which tends to 1+12=1. The minus signs are the trap: (1+x)−(1−x) is 2x, not 0 and not 2.
c)
2−20=00. Two routes. Conjugate of the denominator: multiply by 2+x, the bottom becomes 4−x=−(x−4), and the quotient is −(x−4)(x−4)(2+x)=−(2+x) for x=4. Or factor directly, x−4=(x−2)(x+2) and 2−x=−(x−2). Either way the limit is −(2+2)=−4. The minus sign comes from 4−x=−(x−4); losing it gives 4, and the sign check is immediate: for x slightly above 4 the top is positive and the bottom negative, so the answer must be negative.
d)
As x→2, the denominators x−2 and x2−4 tend to 0 while the numerators do not, so by the argument of Exercise 2 a) neither term has a finite limit. The difference law needs both limits to exist: it has no permit. Combine first, over the common denominator x2−4=(x−2)(x+2): (x−2)(x+2)(x+2)−4=(x−2)(x+2)x−2=x+21 for x=2. The limit is 41. Two terms without limits can have a difference with a limit, exactly as in Exercise 2 d); the common denominator is what makes it visible.
e)
02−2=00. The square root conjugate would produce 3x2−4, still a root. The identity that removes a CUBE root is the difference of cubes: with a=3x and b=2, x−8=a3−b3=(a−2)(a2+2a+4). So for x=8, (a−2)(a2+2a+4)a−2=3x2+23x+41, which tends to 4+4+41=121. The conjugate is not a magic trick for square roots, it is the identity a2−b2=(a−b)(a+b); the index of the root tells you which identity to use.
Exercise 5: Absolute values and the floor function: split only where the inside vanishes
An absolute value is a formula with two cases: ∣u∣=u where u≥0 and ∣u∣=−u where u<0. Near a number a, the case is FIXED as long as u keeps one sign around a; only when u vanishes at a do the two sides use two different formulas, and then the limit is decided side by side. Recall also u2=∣u∣, never u.
The figure shows the greatest integer function ⌊x⌋, the largest integer less than or equal to x, for −1≤x<4.
a) Evaluate limx→−4x2+5x+4∣x+4∣, if it exists.
b) Evaluate limx→0x∣2x−1∣−∣2x+1∣.
c) Find limx→2−⌊x⌋ and limx→2+⌊x⌋. Then find limx→2(⌊x⌋+⌊−x⌋) and compare it with the value of this expression at x=2.
d) Evaluate limx→2x2−4x2−4x+4, if it exists.
e) Evaluate limx→1∣x−1∣(x−1)2. Does an absolute value always create two different one-sided limits?
Show the solution
Answers
a)Left 31, right −31: the limit does not exist.
b)−4 (no split needed: both insides keep their sign near 0)
c)1 and 2; limx→2(⌊x⌋+⌊−x⌋)=−1, while the value at 2 is 0.
d)Left −41, right 41: the limit does not exist.
e)0, since the quotient is ∣x−1∣; no, an absolute value may give equal sides.
a)
Substitution gives 16−20+40=00, and the inside x+4 vanishes at −4: split. The denominator factors as (x+1)(x+4). For x>−4, ∣x+4∣=x+4 and the quotient is x+11→−31=−31. For x<−4, ∣x+4∣=−(x+4) and the quotient is −x+11→31. The one-sided limits differ, so the limit does not exist. Computing only one side, usually the right one, and announcing −31 loses the whole question.
b)
Substitution gives 01−1=00. But neither inside vanishes at 0: near 0, say ∣x∣<21, 2x−1<0 and 2x+1>0. So ∣2x−1∣=1−2x and ∣2x+1∣=2x+1 on BOTH sides of 0, the numerator is (1−2x)−(2x+1)=−4x, and the quotient equals −4 for 0<∣x∣<21. The limit is −4. Splitting at 0 because the limit is at 0 is a waste of lines: the split happens where the INSIDE of the absolute value changes sign, which here is at ±21, far from 0.
c)
On the figure, for 1≤x<2 the graph is the level 1, ending in an empty dot at x=2: limx→2−⌊x⌋=1. For 2≤x<3 it is the level 2, starting with a full dot: limx→2+⌊x⌋=2. For the sum, work on each side. If 1<x<2, then −2<−x<−1, so ⌊x⌋=1 and ⌊−x⌋=−2: the sum is −1. If 2<x<3, then −3<−x<−2, so ⌊x⌋=2 and ⌊−x⌋=−3: the sum is −1 again. Both sides give −1, so the limit is −1. At x=2 itself, ⌊2⌋+⌊−2⌋=2−2=0. The two jumps cancel around 2, and the value at 2 still differs from the limit: the limit and the value are independent questions.
d)
x2−4x+4=(x−2)2, and (x−2)2=∣x−2∣, NOT x−2. So the quotient is (x−2)(x+2)∣x−2∣, and the inside vanishes at 2: split. For x>2 it is x+21→41; for x<2 it is −x+21→−41. The limit does not exist. The student who writes (x−2)2=x−2 finds 41 with confidence, and loses the question: a square root is never negative, while x−2 is negative for x<2.
e)
For x=1, (x−1)2=∣x−1∣2, so the quotient is ∣x−1∣, which tends to 0 from both sides. The limit is 0. The inside vanishes at 1, so the split is legitimate, but here it gives the same answer on both sides: x−1(x−1)2=x−1→0 for x>1 and −(x−1)(x−1)2=1−x→0 for x<1. An absolute value is a reason to CHECK both sides, not a proof that they differ. What made a) and d) fail is that the remaining factor had a nonzero limit, which the sign change then split in two.
Part B: problems and reasoning (/50)
Exercise 6: The squeeze theorem: two bounds with the same limit
Squeeze theorem: if g(x)≤f(x)≤h(x) for all x near a (except possibly at a), and limx→ag(x)=limx→ah(x)=L, then limx→af(x)=L. It is the tool for a limit that no algebra can reach, typically a factor that oscillates without a limit, multiplied by a factor that tends to 0. The theorem is worthless unless the two bounds share the SAME limit.
The figure shows y=x2sin(x1) between the dashed curves y=x2 and y=−x2.
a) Prove that limx→0x2sin(x1)=0. Why can the product law not be used?
b) Prove that limx→0x3+x2sin(xπ)=0.
c) A function f satisfies 4x−9≤f(x)≤x2−4x+7 for all x≥0. Find limx→4f(x).
d) A student writes: since −1≤sin(x1)≤1, the squeeze theorem shows that limx→0sin(x1) exists and lies between −1 and 1. Correct this, and prove that the limit does not exist.
e) Using t−1<⌊t⌋≤t, find limx→0x⌊x1⌋. Treat x>0 and x<0 separately.
Show the solution
Answers
a)−x2≤x2sinx1≤x2, both bounds →0: the limit is 0. limsinx1 does not exist.
b)∣x∣1+x bounds it, and →0: the limit is 0.
c)7
d)The bounds −1 and 1 differ: no conclusion. sinx1=0 at x=nπ1 and =1 at x=(4n+1)π2: no limit.
e)1 (with the inequalities reversed for x<0)
a)
The product law needs both limits to exist, and limx→0sinx1 does not (see d), so it has no permit. Squeeze instead. For every x=0, −1≤sinx1≤1; multiplying by x2>0 keeps the inequalities: −x2≤x2sinx1≤x2. Since limx→0(−x2)=0=limx→0x2, the squeeze theorem gives limx→0x2sinx1=0. The figure is the whole argument in one picture: the curve wiggles faster and faster, but it is trapped in a funnel whose two walls meet at the origin. The expected write-up has three lines: the bounds, their common limit, the name of the theorem.
b)
The domain requires x3+x2=x2(x+1)≥0, that is x≥−1, and x=0. There, x2(x+1)=∣x∣x+1, since x2=∣x∣. As −1≤sinxπ≤1 and ∣x∣x+1≥0: −∣x∣x+1≤x3+x2sinxπ≤∣x∣x+1. Both bounds tend to 0⋅1=0 by the product and root laws, so the limit is 0. Writing x2=x gives bounds that swap places for x<0, and the inequality chain is then false on the left side.
c)
Both bounds are polynomials, so by direct substitution limx→4(4x−9)=7 and limx→4(x2−4x+7)=16−16+7=7. They agree, and the inequality holds for all x≥0, which includes every x near 4. By the squeeze theorem, limx→4f(x)=7. The hypothesis is consistent: (x2−4x+7)−(4x−9)=(x−4)2≥0, and the two bounds touch exactly at x=4, which is why they pinch there. Here the inequality at x=4 even forces 7≤f(4)≤7, so f(4)=7, but the limit did not need it: the squeeze only uses x=4.
d)
The bounds −1 and 1 tend to two DIFFERENT limits, so the squeeze theorem does not apply, and it never claims that a limit exists somewhere between two bounds. To prove that the limit does not exist, exhibit two families of numbers approaching 0 on which the function takes two different values. At x=nπ1, n=1,2,3,…, sinx1=sin(nπ)=0. At x=(4n+1)π2, sinx1=sin(2nπ+2π)=1. Both families get as close to 0 as we like, so arbitrarily close to 0 the function takes the value 0 and the value 1: it cannot approach a single number. The limit does not exist, from either side.
e)
Put t=x1: x1−1<⌊x1⌋≤x1. For x>0, multiplying by x keeps the inequalities: 1−x<x⌊x1⌋≤1. For x<0, multiplying by x REVERSES them: 1−x>x⌊x1⌋≥1, that is 1≤x⌊x1⌋<1−x. On each side both bounds tend to 1, so both one-sided limits equal 1, and limx→0x⌊x1⌋=1. Forgetting the reversal for x<0 gives a chain that is false, even though the answer happens to survive; the method mark does not.
Exercise 7: Using sin(x)/x → 1: rewrite until the angle and the denominator match
Admit the fundamental trigonometric limit limθ→0θsinθ=1, with θ in RADIANS; it is proved later in the course, when the derivative of sin is computed. It is used by rewriting: the argument of the sine and the denominator must be the SAME quantity, and that quantity must tend to 0. The figure shows y=xsinx, which is not defined at 0 and yet closes in on 1 from both sides.
Only the limit laws, the admitted limit and algebra are allowed in this exercise.
a) Evaluate limx→02xsin7x.
b) Evaluate limx→0sin5xsin3x.
c) Evaluate limx→0x+tanxsinx.
d) Evaluate limx→0x2sin23x and limx→0xsin(x2).
e) A student writes limx→πx−πsinx=1 “because it is sine over its angle”. Find the correct limit with the substitution t=x−π.
Show the solution
Answers
a)27
b)53
c)21
d)9 and 0
e)−1
a)
The angle is 7x, so the denominator must be made into 7x: 2xsin7x=27⋅7xsin7x. As x→0, θ=7x→0, so 7xsin7x→1, and by the constant multiple law the limit is 27. The two wrong answers on the market are 1, for sine over anything, and 27 written without the rewriting, which a marker reads as a guess. Write the factor 27 and the matched quotient explicitly.
b)
Divide top and bottom by x and match each sine with its own angle: sin5xsin3x=5⋅5xsin5x3⋅3xsin3x for x near 0, x=0. The numerator tends to 3⋅1 and the denominator to 5⋅1=5=0, which gives the quotient law its permit: the limit is 53. Cancelling the sines, or the sin symbols, to get 5x3x is not algebra; the correct rewriting reaches the same number for the right reason.
c)
Divide numerator and denominator by x: 1+xtanxxsinx. Now xtanx=xsinx⋅cosx1→1⋅11=1, by the product and quotient laws, since cos0=1=0. So the denominator tends to 1+1=2=0, the numerator to 1, and the limit is 21. Dividing by x is the move that turns every piece into a known limit; the substitution x=0 gives 00 and says only that such a move is needed.
d)
x2sin23x=(xsin3x)2=(3⋅3xsin3x)2→(3⋅1)2=9, by the power law. For the second, the angle is x2 and the denominator is only x: supply the missing factor, xsin(x2)=x⋅x2sin(x2). As x→0, θ=x2→0, so the second factor tends to 1 and the product to 0⋅1=0. The answer 1 is what one gets by matching carelessly; the answer 3 instead of 9 is what one gets by forgetting that the square applies to the factor 3 too.
e)
The admitted limit is about an angle that tends to 0; here x→π, and sinx→0 while the denominator is x−π, not x. Put t=x−π, so t→0 as x→π, and sinx=sin(t+π)=−sint by the addition formula. The quotient becomes t−sint→−1. So limx→πx−πsinx=−1. The sign check is quick: for x slightly above π, sinx<0 and x−π>0, so the quotient is negative, and 1 cannot be right. Before quoting the fundamental limit, check that the angle tends to 0; if it does not, substitute until it does.
Exercise 8: Five statements to correct
Each statement below was written by a student on a MATH 140 assignment, and each is false. Say what is wrong, give a counterexample, and write the correct statement.
a) If f(a) is defined, then limx→af(x)=f(a).
b) If limx→af(x) does not exist, then limx→a[f(x)]2 does not exist.
c) If direct substitution gives 00, the limit is 1, since a quantity divided by itself is 1.
d) If limx→a−f(x) and limx→a+f(x) both exist, then limx→af(x) exists.
e) If f(x)<g(x) for all x=a near a, and both limits exist, then limx→af(x)<limx→ag(x).
Show the solution
Answers
a)False: ⌊x⌋+⌊−x⌋ is 0 at 2 with limit −1. True for polynomials and for rational functions with a in the domain.
b)False: ∣x∣x has no limit at 0, its square is 1. True the other way round.
c)False: x−1x2−1→2, x−1(x−1)2→0. The form 00 must be rewritten.
d)False: ⌊x⌋ at 2 gives 1 and 2. The one-sided limits must also be EQUAL.
e)False: 0<x2 for x=0, both limits 0. True with ≤ in the conclusion.
a)
FALSE. By Exercise 5 c), s(x)=⌊x⌋+⌊−x⌋ is defined at 2, with s(2)=0, yet limx→2s(x)=−1. The function of Exercise 1 gives another counterexample at −2: limit 1, value 3. The limit reads the values NEAR a, and the value at a can be moved without the limit noticing. Correct statement: if f is a polynomial, or a rational function with a in its domain, then limx→af(x)=f(a) (direct substitution property). For a general function, equality of the limit and the value is an extra property, studied in the next chapter.
b)
FALSE. f(x)=∣x∣x equals 1 for x>0 and −1 for x<0, so it has no limit at 0; but [f(x)]2=1 for every x=0, so limx→0[f(x)]2=1. Squaring erases the sign, which was the only thing that differed between the two sides. Correct statement: if limx→af(x)=L exists, then limx→a[f(x)]2=L2 (power law). The laws go from the pieces to the combination, never back.
c)
FALSE. At x=1, x−1x2−1, x−1(x−1)2 and x−1∣x−1∣ all give 00 on substitution, and their limits are 2, 0 and nonexistent (the sides give −1 and 1). Numerator and denominator are not the same quantity, they are two quantities that both tend to 0, at different speeds. Correct statement: 00 is an indeterminate form; it means the quotient law has no permit, and the expression must be rewritten (factor, conjugate, common denominator) and the common factor cancelled, using x=a, before substituting.
d)
FALSE. For ⌊x⌋ at a=2: limx→2−⌊x⌋=1 and limx→2+⌊x⌋=2 both exist, and limx→2⌊x⌋ does not. Correct statement: limx→af(x)=L if and only if limx→a−f(x)=L AND limx→a+f(x)=L, the same L on both sides. Existence of each side is not enough, their equality is the whole point.
e)
FALSE. f(x)=0 and g(x)=x2 satisfy f(x)<g(x) for every x=0, but limx→0f(x)=0=limx→0g(x): the strict inequality is lost in the limit. Correct statement: if f(x)≤g(x) for x near a (except possibly at a) and both limits exist, then limx→af(x)≤limx→ag(x). A strict inequality becomes a non-strict one; this is exactly why the squeeze theorem is stated with ≤.
Exercise 9: A final exam problem: choose the constants so that the limit exists
A classic of MATH 140 finals gives a quotient whose denominator tends to 0 and asks for the constants that make the limit exist. One principle does all the work, and it is the product law used backwards: if limx→aq(x)=0 and limx→aq(x)p(x)=L is a finite number, then limx→ap(x)=0.
No calculator; every constant is exact.
a) Prove the principle stated above.
b) Find the number a for which limx→−2x2+x−23x2+ax+a+3 exists. Why does no other value work?
c) For that value of a, evaluate the limit.
d) Find constants b>−1 and c such that limx→1x−1x+b−c=41.
e) Find the polynomial p of degree 2 such that limx→2x−2p(x)=6 and p(0)=4.
Show the solution
Answers
a)p=qp⋅q→L⋅0=0
b)a=15; for a=15 the numerator tends to 15−a=0 and the principle is violated.
c)−1
d)b=3, c=2
e)p(x)=(x−2)(4x−2)=4x2−10x+4
a)
For x near a with q(x)=0, write p(x)=q(x)p(x)⋅q(x). Both factors have limits, L and 0, so the product law has its permit and gives limx→ap(x)=L⋅0=0. The contrapositive is the form used in practice: if the denominator tends to 0 and the numerator tends to a NONZERO number, the quotient has no finite limit. This is the same argument as in Exercise 2 a).
b)
The denominator x2+x−2=(x+2)(x−1) tends to 0 as x→−2. By a), if the limit exists the numerator must tend to 0 as well, and since it is a polynomial its limit is its value: 3(4)−2a+a+3=15−a. So 15−a=0 and a=15. For any other a, the numerator tends to 15−a=0 while the denominator tends to 0, and by the contrapositive of a) there is no finite limit. Finding a=15 is only HALF the question: the condition is necessary, and c) must still show that the limit then exists.
c)
With a=15, the numerator is 3x2+15x+18=3(x2+5x+6)=3(x+2)(x+3), which does vanish at −2. For x=−2, the quotient is (x+2)(x−1)3(x+2)(x+3)=x−13(x+3), and by direct substitution the limit is −33⋅1=−1. The factor x+2 appearing on top is the confirmation that a=15 was right: the necessary condition of b) produced exactly the common factor that makes the form 00 removable.
d)
The denominator tends to 0, so by a) the numerator must too: 1+b−c=0, so c=1+b. Then, with the conjugate, x−1x+b−1+b=(x−1)(x+b+1+b)(x+b)−(1+b)=x+b+1+b1 for x=1, which tends to 21+b1. Setting 21+b1=41 gives 1+b=2, so b=3 and c=2. Check: x−1x+3−2=x+3+21→41.
e)
By a), p(x)→0 as x→2, and since p is a polynomial, p(2)=0. By the factor theorem, p(x)=(x−2)(mx+n) for some constants m=0 and n. For x=2, x−2p(x)=mx+n→2m+n, so 2m+n=6. And p(0)=(−2)(n)=4 gives n=−2, then m=4. So p(x)=(x−2)(4x−2)=4x2−10x+4. Check: p(0)=4, and x−2p(x)=4x−2→6. The whole problem is the principle of a) followed by the factor theorem, the two tools of the form 00.
Exercise 10: A final exam problem: a function that cannot be drawn, and its limits
Let f(x)=x if x is rational and f(x)=0 if x is irrational, and let g(x)=x2 if x is rational and g(x)=2x−1 if x is irrational. Neither graph can be drawn: every interval, however small, contains both rational and irrational numbers, which you may use without proof. The limits still make sense, because a limit only asks where the values go as x approaches a.
This is the shape of the last question of a MATH 140 paper on limits: no computation to hide behind, only the definition of a limit, the squeeze theorem and a clear argument.
a) Prove that limx→0f(x)=0.
b) Prove that limx→1f(x) does not exist.
c) Prove that limx→1g(x)=1, by squeezing ∣g(x)−1∣.
d) Prove that limx→ag(x) does not exist for any a=1.
e) Build a function k of the same kind, rational x on one polynomial and irrational x on another, whose limit exists at exactly two numbers, 1 and 2. Give these two limits.
Show the solution
Answers
a)−∣x∣≤f(x)≤∣x∣ and both bounds →0: the limit is 0.
b)Values near 1 at rational points, 0 at irrational points: no single limit.
c)0≤∣g(x)−1∣≤∣x2−1∣+∣2x−2∣→0, so g(x)→1.
d)Near a, values close to a2 and to 2a−1, and a2−(2a−1)=(a−1)2=0.
e)k(x)=x2 (rational), 3x−2 (irrational); limits 1 at x=1 and 4 at x=2.
a)
For every x, either f(x)=x or f(x)=0, and in both cases ∣f(x)∣≤∣x∣, that is −∣x∣≤f(x)≤∣x∣. Both bounds tend to 0 as x→0, so by the squeeze theorem limx→0f(x)=0. The squeeze theorem does not need to know which x are rational: one inequality, valid for all x, covers both cases at once. This is its power when the function has no formula to simplify.
b)
Suppose limx→1f(x)=L. Then all values f(x) with x close enough to 1 are close to L. But arbitrarily close to 1 there are rational x, where f(x)=x is close to 1, and irrational x, where f(x)=0. The values would have to be close to 1 and close to 0 at the same time, which forces L=1 and L=0. Contradiction: the limit does not exist. The same argument works at every a=0, and fails at a=0 exactly because there the two targets a and 0 coincide.
c)
For every x, g(x)−1 equals either x2−1 or 2x−2, so 0≤∣g(x)−1∣≤∣x2−1∣+∣2x−2∣. As x→1, the upper bound tends to 0+0=0 by the limit laws, so by the squeeze theorem ∣g(x)−1∣→0. Finally −∣g(x)−1∣≤g(x)−1≤∣g(x)−1∣, and a second squeeze gives g(x)−1→0, so limx→1g(x)=1. Writing ∣g(x)−1∣≤max(∣x2−1∣,∣2x−2∣) is also correct; the sum is simply easier to handle with the limit laws.
d)
Fix a=1. Arbitrarily close to a there are rational x, where g(x)=x2 is close to a2, and irrational x, where g(x)=2x−1 is close to 2a−1. These two targets differ, since a2−(2a−1)=(a−1)2>0 for a=1. So the values cannot all approach a single number: as in b), the limit does not exist. The solution figure shows why 1 is special: the parabola y=x2 and the line y=2x−1 meet only at (1,1), where the line touches the parabola. Near any other a, the values of g are torn between two different heights.
e)
The limit of such a function exists exactly where the two polynomials take the same value, by the arguments of c) and d). So choose two polynomials whose difference vanishes exactly at 1 and 2: x2−(3x−2)=x2−3x+2=(x−1)(x−2). Let k(x)=x2 for rational x and k(x)=3x−2 for irrational x. At x=1, both pieces tend to 1, and ∣k(x)−1∣≤∣x2−1∣+∣3x−3∣→0 gives limx→1k(x)=1; at x=2, both tend to 4, and the same squeeze gives limx→2k(x)=4. At any other a, a2−(3a−2)=(a−1)(a−2)=0 and the limit does not exist. Many answers are possible; any pair of polynomials whose difference has the roots 1 and 2 only is correct.
Something missing from this set?A type of exercise your teacher gives, a problem you are stuck on, a mistake you spotted: tell me, I read every request.
Sending goes through your free space: that is how I can answer you and tell you when the exercise is added. An email is enough, no password. Create your space.
Rather not create an account? Write to me directly.