2.4 Continuity

Learning Objectives

In this section, you will learn to:
  • Explain the three conditions for continuity at a point.
  • Describe three kinds of discontinuities.
  • Define continuity on an interval.
  • State the theorem for limits of composite functions.
  • Provide an example of the intermediate value theorem.

Many functions have a graph you can trace with a single, unbroken pencil stroke — never lifting the tip off the page. Those functions are called continuous. Other functions have spots where a break shows up but behave like continuous functions everywhere else. We say such functions have a discontinuity at a point where a break occurs, and they are continuous on intervals that avoid those problem spots.

We start small: what does it mean for a function to be continuous at a single point? The picture is the simple one above — at the point in question, the graph hands the pencil off cleanly with no jump, no hole, no asymptote. The rest of the section turns that picture into testable conditions, classifies the ways continuity can break, and then puts continuity to work in the Intermediate Value Theorem.

2.4.1 Continuity at a Point

Definition 2.4.1: Continuity at a Point

A function \(f(x)\) is continuous at a point \(a\) if and only if the following three conditions are satisfied:

  1. \(f(a)\) is defined.
  2. \(\lim_{x\to a}f(x)\) exists.
  3. \(\lim_{x\to a}f(x)=f(a).\)

A function is discontinuous at a point \(a\) if it fails to be continuous at \(a\).

The next strategy box collects the routine — work the three tests in order, and as soon as one fails you can stop and report the failure.

Problem-Solving Strategy: Determining Continuity at a Point

To test whether \(f(x)\) is continuous at \(x=a\):

1. Check that \(f(a)\) is defined. If not, \(f\) is discontinuous at \(a\) and you are done.

2. If \(f(a)\) is defined, compute \(\lim_{x\to a}f(x)\). If the limit does not exist, \(f\) is discontinuous at \(a\) and you are done.

3. If the limit exists, compare it to \(f(a)\). If they are equal, \(f\) is continuous at \(a\); otherwise \(f\) is discontinuous at \(a\).

The next three examples walk the checklist on one function each — and each example trips a different condition.

Before we lock in a formal definition, let's stare at the failure modes — the ways a function can refuse to be continuous at a point. The conditions in the definition come straight out of patching each failure.

Our first failure mode is shown in Figure 2.32. The graph of \(f(x)\) has a hole at the point \(a\) — in fact, \(f(a)\) is not even defined. So at the very least we need:

$$ \text{i.}\ f(a)\ \text{is defined.} $$

Figure 2.32 — The function \(f(x)\) is not continuous at \(a\) because \(f(a)\) is undefined.

Condition (i) alone is not enough. In Figure 2.33, \(f(a)\) is defined, but the function still has a gap there because the two-sided limit \(\lim_{x\to a}f(x)\) does not exist. So we add:

$$ \text{ii.}\ \lim_{x\to a}f(x)\ \text{exists.} $$

Figure 2.33 — The function \(f(x)\) is not continuous at \(a\) because \(\lim_{x\to a}f(x)\) does not exist.

Conditions (i) and (ii) together are still not enough. In Figure 2.34 the function value exists, the limit exists — and they disagree. The graph approaches one height but the point sits at another. So we add the final condition:

$$ \text{iii.}\ \lim_{x\to a}f(x)=f(a). $$

Figure 2.34 — The function \(f(x)\) is not continuous at \(a\) because \(\lim_{x\to a}f(x)\ne f(a).\)

Try It Now 2.4.1

Using the definition, determine whether the function

$$ f(x)=\begin{cases}2x+1 & \text{if } x<1 \\ 2 & \text{if } x=1 \\ -x+4 & \text{if } x>1\end{cases} $$

is continuous at \(x=1\). If the function is not continuous at 1, indicate which condition for continuity at a point fails to hold.

Solution

Step 1 — Condition (i): \(f(1)=2\), so the point is defined.

Step 2 — Condition (ii): Compute one-sided limits.

$$ \lim_{x\to 1^-}f(x)=2(1)+1=3, \qquad \lim_{x\to 1^+}f(x)=-(1)+4=3. $$

Both one-sided limits equal 3, so \(\lim_{x\to 1}f(x)=3\). Condition (ii) holds.

Step 3 — Condition (iii): Compare. \(f(1)=2\) but \(\lim_{x\to 1}f(x)=3\). The values disagree, so condition (iii) fails.

Answer: \(f\) is discontinuous at \(x=1\); condition (iii) fails.

The next theorem says that for a huge family of familiar functions — polynomials and ratios of polynomials — continuity is automatic everywhere they are defined. We get this for free from the limit laws of the previous section.

Theorem 2.4.1: Continuity of Polynomials and Rational Functions

Polynomials and rational functions are continuous at every point in their domains.

Proof. In the previous section we showed that for any polynomial \(p(x)\), \(\lim_{x\to a}p(x)=p(a)\), and that for a rational function \(\dfrac{p(x)}{q(x)}\) we have \(\lim_{x\to a}\dfrac{p(x)}{q(x)}=\dfrac{p(a)}{q(a)}\) as long as \(q(a)\ne 0\). Both statements say exactly that condition (iii) of Definition 2.1 holds — so each function is continuous everywhere on its domain. \(\square\)

We now apply this theorem to find where a given rational function is continuous.

Example 2.4.1: Determining Continuity at a Point, Condition 1

Using the definition, determine whether the function \(f(x)=\dfrac{x^2-4}{x-2}\) is continuous at \(x=2\). Justify the conclusion.

Solution

Step 1 — Test condition (i). Try to evaluate \(f(2)\):

$$ f(2)=\frac{2^2-4}{2-2}=\frac{0}{0}, $$

which is undefined. Condition (i) fails immediately.

Step 2 — Stop. Once condition (i) fails, we don't need to test conditions (ii) and (iii) to conclude discontinuity. The function \(f(x)=\dfrac{x^2-4}{x-2}\) is discontinuous at \(x=2\) because \(f(2)\) is undefined. The graph of \(f(x)\) is shown in Figure 2.35.

Figure 2.35 — The function f(x) = (x²-4)/(x-2) is discontinuous at 2 because f(2) is undefined.

Figure 2.35 — The function \(f(x)\) is discontinuous at 2 because \(f(2)\) is undefined.

Answer: Discontinuous at \(x=2\); condition (i) fails.

Try It Now 2.4.2

For what values of \(x\) is \(f(x)=3x^4-4x^2\) continuous?

Solution

Step 1 — Identify the function type. This is a polynomial — only sums, products, and integer powers of \(x\) and constants.

Step 2 — Apply the theorem. Polynomials are continuous on their entire domain, which is all real numbers.

Answer: Continuous on \((-\infty,\infty)\) — every real number.

Example 2.4.2: Determining Continuity at a Point, Condition 2

Using the definition, determine whether the function

$$ f(x)=\begin{cases}-x^2+4 & \text{if } x\le 3 \\ 4x-8 & \text{if } x>3\end{cases} $$

is continuous at \(x=3\). Justify the conclusion.

Solution

Step 1 — Test condition (i). Because \(x=3\) lies on the \(x\le 3\) branch, use the top formula:

$$ f(3)=-(3)^2+4=-5. $$

So \(f(3)\) is defined. Condition (i) holds.

Step 2 — Test condition (ii). Compute the two one-sided limits. From the left we are still on the top branch:

$$ \lim_{x\to 3^-}f(x)=-(3)^2+4=-5. $$

From the right we switch to the bottom branch:

$$ \lim_{x\to 3^+}f(x)=4(3)-8=4. $$

The two one-sided limits disagree, so \(\lim_{x\to 3}f(x)\) does not exist. Condition (ii) fails.

Step 3 — Stop. The function is discontinuous at \(x=3\). The graph of \(f(x)\) is shown in Figure 2.36.

Figure 2.36 — The function f(x) is not continuous at 3 because lim(x→3) f(x) does not exist.

Figure 2.36 — The function \(f(x)\) is not continuous at 3 because \(\lim_{x\to 3}f(x)\) does not exist.

Answer: Discontinuous at \(x=3\); condition (ii) fails.

Example 2.4.3: Determining Continuity at a Point, Condition 3

Using the definition, determine whether the function

$$ f(x)=\begin{cases}\dfrac{\sin x}{x} & \text{if } x\ne 0 \\ 1 & \text{if } x=0\end{cases} $$

is continuous at \(x=0\).

Solution

Step 1 — Test condition (i). The piecewise branch at \(x=0\) gives \(f(0)=1\). Condition (i) holds.

Step 2 — Test condition (ii). From the previous section we know the famous trig limit:

$$ \lim_{x\to 0}f(x)=\lim_{x\to 0}\frac{\sin x}{x}=1. $$

Condition (ii) holds.

Step 3 — Test condition (iii). Compare:

$$ f(0)=1=\lim_{x\to 0}f(x). $$

Condition (iii) holds. All three conditions are satisfied.

Answer: \(f(x)\) is continuous at \(x=0\).

Example 2.4.4: Continuity of a Rational Function

For what values of \(x\) is \(f(x)=\dfrac{x+1}{x-5}\) continuous?

Solution

Step 1 — Identify the domain. This is a rational function, so it is defined wherever the denominator is nonzero. \(x-5=0\) when \(x=5\), so the domain is every real number except \(5\).

Step 2 — Apply the theorem. Rational functions are continuous on their domains, so \(f(x)\) is continuous for every real \(x\) except \(x=5\).

Answer: Continuous on \((-\infty,5)\cup(5,\infty)\).

2.4.2 Types of Discontinuities

Definition 2.4.2: Types of Discontinuities

If \(f(x)\) is discontinuous at \(a\), then:

  1. \(f\) has a removable discontinuity at \(a\) if \(\lim_{x\to a}f(x)\) exists. (Here "exists" means \(\lim_{x\to a}f(x)=L\) for some real number \(L\) — not \(\pm\infty\).)
  2. \(f\) has a jump discontinuity at \(a\) if \(\lim_{x\to a^-}f(x)\) and \(\lim_{x\to a^+}f(x)\) both exist (as real numbers, not \(\pm\infty\)), but \(\lim_{x\to a^-}f(x)\ne\lim_{x\to a^+}f(x)\).
  3. \(f\) has an infinite discontinuity at \(a\) if \(\lim_{x\to a^-}f(x)=\pm\infty\) and/or \(\lim_{x\to a^+}f(x)=\pm\infty\).

As we have already seen in Examples 2.1 and 2.2, discontinuities don't all look alike. We sort them into three named flavors:

  • A removable discontinuity is a hole — the limit exists, but either the function is undefined there or the function value sits at the wrong height.
  • A jump discontinuity is a step — the function approaches different heights from the left and the right.
  • An infinite discontinuity is a vertical asymptote — the function blows up to \(\pm\infty\) from at least one side.
The limit decides the label

The classification hinges entirely on what \(\lim_{x\to a}f(x)\) does. If the two-sided limit exists (finite), the break is removable — you could redefine \(f(a)\) to patch it. If the one-sided limits exist but disagree, the break is a jump. If at least one one-sided limit blows up, the break is infinite. Compute the limit first, then read off the label.

Figure 2.37 puts the three pictures side by side. These names cover the cases you'll see most often, but be aware: not every discontinuity fits neatly into one of these three boxes (oscillating breaks, for instance, are their own beast).

Figure 2.37 — Discontinuities are classified as (a) removable, (b) jump, or (c) infinite.

Figure 2.37 — Discontinuities are classified as (a) removable, (b) jump, or (c) infinite.

The formal definition collects the three cases:

Try It Now 2.4.3

For

$$ f(x)=\begin{cases}x^2 & \text{if } x\ne 1 \\ 3 & \text{if } x=1\end{cases}, $$

decide whether \(f\) is continuous at \(1\). If \(f\) is not continuous at \(1\), classify the discontinuity as removable, jump, or infinite.

Solution

Step 1 — Check continuity. \(f(1)=3\) (defined). The limit comes from the \(x\ne 1\) branch, so

$$ \lim_{x\to 1}f(x)=\lim_{x\to 1}x^2=1. $$

Since \(f(1)=3\ne 1=\lim_{x\to 1}f(x)\), condition (iii) fails — discontinuous at 1.

Step 2 — Classify. The two-sided limit exists (as the real number 1), so by Definition 2.2(1) this is a removable discontinuity.

Answer: Removable discontinuity at \(x=1\); redefining \(f(1)=1\) would restore continuity.

Example 2.4.5: Classifying a Discontinuity

In Example 2.4.1, we showed that \(f(x)=\dfrac{x^2-4}{x-2}\) is discontinuous at \(x=2\). Classify this discontinuity as removable, jump, or infinite.

Solution

Step 1 — Compute the limit. Factor the top and cancel:

$$ \begin{aligned} \lim_{x\to 2}f(x) &=\lim_{x\to 2}\frac{x^2-4}{x-2} \\ &=\lim_{x\to 2}\frac{(x-2)(x+2)}{x-2} \\ &=\lim_{x\to 2}(x+2) \\ &=4. \end{aligned} $$

Step 2 — Read the label. The limit exists (as the real number 4), so by Definition 2.2(1) the discontinuity is removable.

Answer: Removable discontinuity at \(x=2\). If we redefined \(f(2)=4\), continuity would be restored.

Example 2.4.6: Classifying a Discontinuity

In Example 2.4.2 we showed that

$$ f(x)=\begin{cases}-x^2+4 & \text{if } x\le 3 \\ 4x-8 & \text{if } x>3\end{cases} $$

is discontinuous at \(x=3\). Classify this discontinuity as removable, jump, or infinite.

Solution

Step 1 — Recall the one-sided limits. From Example 2.4.2,

$$ \lim_{x\to 3^-}f(x)=-5 \qquad \text{and} \qquad \lim_{x\to 3^+}f(x)=4. $$

Step 2 — Read the label. Both one-sided limits exist (real numbers, not \(\pm\infty\)) but they disagree. By Definition 2.2(2), the discontinuity is a jump.

Answer: Jump discontinuity at \(x=3\).

Example 2.4.7: Classifying a Discontinuity

Determine whether \(f(x)=\dfrac{x+2}{x+1}\) is continuous at \(-1\). If the function is discontinuous at \(-1\), classify the discontinuity as removable, jump, or infinite.

Solution

Step 1 — Check the function value. \(f(-1)\) requires dividing by \(-1+1=0\), which is undefined. So \(f\) is discontinuous at \(-1\).

Step 2 — Compute one-sided limits. As \(x\to -1\), the numerator approaches \(1\) and the denominator approaches \(0\). The sign of the denominator decides which infinity:

$$ \lim_{x\to -1^-}\frac{x+2}{x+1}=-\infty, \qquad \lim_{x\to -1^+}\frac{x+2}{x+1}=+\infty. $$

Step 3 — Read the label. At least one (in fact both) one-sided limits are infinite, so by Definition 2.2(3), the discontinuity is infinite.

Answer: Infinite discontinuity at \(x=-1\) — there is a vertical asymptote there.

2.4.3 Continuity over an Interval

Continuity at a single point is the right opening move. The real-world question, though, is usually "is the function continuous over this whole stretch?" — the kind of statement we need before applying theorems like the Intermediate Value Theorem later in the section. Picture the pencil-trace test again: a function is continuous over an interval if you can drag the pencil from one end to the other without ever lifting it. The complication is what happens at the endpoints of a closed interval, and that's where one-sided continuity comes in.

Definition 2.4.3: One-Sided Continuity and Continuity over an Interval
  1. A function \(f(x)\) is continuous from the right at \(a\) if \(\lim_{x\to a^+}f(x)=f(a).\)
  1. A function \(f(x)\) is continuous from the left at \(a\) if \(\lim_{x\to a^-}f(x)=f(a).\)
  1. A function is continuous over an open interval \((a,b)\) if it is continuous at every point in the interval. A function \(f(x)\) is continuous over a closed interval \([a,b]\) if it is continuous at every point in \((a,b)\) and is continuous from the right at \(a\) and is continuous from the left at \(b\). Continuity over a half-open interval like \((a,b]\) is defined analogously: continuous over \((a,b)\) and continuous from the left at \(b\). Other interval shapes work the same way — match the side of the endpoint to the side of the limit.

Why the one-sided requirements at endpoints? Approaching \(a\) from outside the interval doesn't make sense — there's nothing to approach from. The right-hand requirement at \(a\) and the left-hand requirement at \(b\) are exactly what we need so the pencil can start at \(\bigl(a,f(a)\bigr)\) and finish at \(\bigl(b,f(b)\bigr)\) without ever lifting. If, say, \(\lim_{x\to a^+}f(x)\ne f(a)\), the very first stroke would already require a lift.

Try It Now 2.4.4

State the interval(s) over which the function \(f(x)=\sqrt{x+3}\) is continuous.

Solution

Step 1 — Find the domain. \(x+3\ge 0\) gives \(x\ge -3\), so the domain is \([-3,\infty)\).

Step 2 — Check the open interior. For every \(a>-3\), the root law gives \(\lim_{x\to a}\sqrt{x+3}=\sqrt{a+3}=f(a)\), so \(f\) is continuous on \((-3,\infty)\).

Step 3 — Check the left endpoint. \(\lim_{x\to -3^+}\sqrt{x+3}=0=f(-3)\), so \(f\) is continuous from the right at \(-3\).

Answer: Continuous over \([-3,\infty)\).

The next theorem lets us push limits through a continuous outer function. This is the engine we'll use to prove the trig functions are continuous everywhere on their domains.

Theorem 2.4.2: Composite Function Theorem

If \(f(x)\) is continuous at \(L\) and \(\lim_{x\to a}g(x)=L\), then

$$ \lim_{x\to a}f\bigl(g(x)\bigr)=f\!\left(\lim_{x\to a}g(x)\right)=f(L). $$

In words: when the outer function is continuous at the destination, the limit symbol slides inside the outer function. We can compute the inner limit first, then plug it in.

Before we use it, recall from the limit-laws section that \(\lim_{x\to 0}\cos x=1=\cos(0)\), so \(\cos x\) is continuous at \(0\). The next example pairs that fact with the composite function theorem.

Example 2.4.8: Continuity on an Interval

State the interval(s) over which the function \(f(x)=\dfrac{x-1}{x^2+2x}\) is continuous.

Solution

Step 1 — Find the domain. The denominator factors as \(x(x+2)\) and equals zero when \(x=0\) or \(x=-2\). So the domain is every real number except those two values:

$$ (-\infty,-2)\cup(-2,0)\cup(0,+\infty). $$

Step 2 — Apply the rational-function theorem. Rational functions are continuous everywhere on their domain. So \(f(x)\) is continuous on each of the three intervals above.

Answer: Continuous over \((-\infty,-2)\), \((-2,0)\), and \((0,+\infty)\).

Try It Now 2.4.5

Evaluate \(\displaystyle\lim_{x\to \pi}\sin(x-\pi).\)

Solution

Step 1 — Identify the composition. Outer: \(\sin x\) (continuous at \(0\)). Inner: \(g(x)=x-\pi\).

Step 2 — Inner limit. \(\displaystyle\lim_{x\to \pi}(x-\pi)=0\).

Step 3 — Push the limit through.

$$ \lim_{x\to \pi}\sin(x-\pi)=\sin\!\left(\lim_{x\to \pi}(x-\pi)\right)=\sin(0)=0. $$

Answer: \(0\).

The Composite Function Theorem, combined with the continuity of \(\sin x\) and \(\cos x\) at \(0\), unlocks the next theorem — trig functions are continuous everywhere they are defined.

Theorem 2.4.3: Continuity of Trigonometric Functions

Trigonometric functions are continuous over their entire domains.

Proof (cosine case). We show \(\lim_{x\to a}\cos x=\cos a\) for every real \(a\). Use the angle-sum identity \(\cos(u+v)=\cos u\cos v-\sin u\sin v\) with \(u=x-a\) and \(v=a\):

$$ \begin{aligned} \lim_{x\to a}\cos x &=\lim_{x\to a}\cos\bigl((x-a)+a\bigr) \\ &=\lim_{x\to a}\bigl(\cos(x-a)\cos a-\sin(x-a)\sin a\bigr) \\ &=\cos\!\left(\lim_{x\to a}(x-a)\right)\cos a-\sin\!\left(\lim_{x\to a}(x-a)\right)\sin a \\ &=\cos(0)\cos a-\sin(0)\sin a \\ &=1\cdot\cos a-0\cdot\sin a=\cos a. \end{aligned} $$

The pivot at step 3 is the Composite Function Theorem applied to \(\sin\) and \(\cos\) at \(0\), where both are continuous. The proof for \(\sin x\) is analogous. The remaining trig functions are quotients of sine and cosine, so their continuity (on their domains) follows from the quotient limit law. \(\square\)

The composite function theorem is one of those small theorems that keeps showing up. We will reach for it again and again as we work with chained-together functions.

Example 2.4.9: Continuity over an Interval

State the interval(s) over which the function \(f(x)=\sqrt{4-x^2}\) is continuous.

Solution

Step 1 — Find the domain. We need \(4-x^2\ge 0\), i.e. \(-2\le x\le 2\). So the domain is the closed interval \([-2,2]\).

Step 2 — Check continuity on the open interior. From the limit laws (root law), for every \(a\in(-2,2)\):

$$ \lim_{x\to a}\sqrt{4-x^2}=\sqrt{4-a^2}=f(a), $$

so \(f\) is continuous at every interior point.

Step 3 — Check the endpoints. At \(x=-2\), only the right-hand limit makes sense (the domain doesn't extend to the left). Compute:

$$ \lim_{x\to -2^+}\sqrt{4-x^2}=\sqrt{4-4}=0=f(-2), $$

so \(f\) is continuous from the right at \(-2\). Symmetrically at \(x=2\):

$$ \lim_{x\to 2^-}\sqrt{4-x^2}=0=f(2), $$

so \(f\) is continuous from the left at \(2\).

Step 4 — Combine. \(f\) is continuous over \([-2,2]\).

Answer: Continuous over \([-2,2]\).

Example 2.4.10: Limit of a Composite Cosine Function

Evaluate \(\displaystyle\lim_{x\to \pi/2}\cos\!\left(x-\dfrac{\pi}{2}\right).\)

Solution

Step 1 — Spot the composition. The function is \(\cos\bigl(g(x)\bigr)\) where \(g(x)=x-\dfrac{\pi}{2}\) is the inner function.

Step 2 — Compute the inner limit.

$$ \lim_{x\to \pi/2}\!\left(x-\frac{\pi}{2}\right)=\frac{\pi}{2}-\frac{\pi}{2}=0. $$

Step 3 — Push the limit through. Because \(\cos x\) is continuous at \(0\), the composite function theorem applies:

$$ \lim_{x\to \pi/2}\cos\!\left(x-\frac{\pi}{2}\right)=\cos\!\left(\lim_{x\to \pi/2}\!\left(x-\frac{\pi}{2}\right)\right)=\cos(0)=1. $$

Answer: \(1\).

2.4.4 The Intermediate Value Theorem

A function that is continuous over a closed interval inherits a whole bundle of useful properties. The first of these — and one of the most useful theorems in single-variable calculus — is the Intermediate Value Theorem. The idea is intuitive: if you trace the graph from \(\bigl(a,f(a)\bigr)\) to \(\bigl(b,f(b)\bigr)\) without lifting your pencil, you must pass through every horizontal level between \(f(a)\) and \(f(b)\) somewhere along the way.

Theorem 2.4.4: The Intermediate Value Theorem (IVT)

Let \(f\) be continuous over a closed, bounded interval \([a,b]\). If \(z\) is any real number between \(f(a)\) and \(f(b)\), then there is a number \(c\) in \([a,b]\) satisfying \(f(c)=z\) (see Figure 2.38).

Figure 2.38 — A continuous curve over \([a,b]\). Because \(z\) lies between \(f(a)\) and \(f(b)\), the IVT guarantees a value \(c\in[a,b]\) with \(f(c)=z\).

The IVT is an existence theorem — it guarantees a \(c\) exists, but it doesn't tell you which value of \(c\) works, and it doesn't tell you that there's only one. The most common application: pick \(z=0\) and use the IVT to prove an equation has a solution.

Try It Now 2.4.6

Show that \(f(x)=x^3-x^2-3x+1\) has a zero over the interval \([0,1]\).

Solution

Step 1 — Check continuity. Polynomials are continuous on \((-\infty,\infty)\), so \(f\) is continuous on \([0,1]\). IVT applies.

Step 2 — Evaluate endpoints.

$$ f(0)=0-0-0+1=1>0, \qquad f(1)=1-1-3+1=-2<0. $$

Step 3 — Apply the IVT with \(z=0\). Since \(0\) lies between \(-2\) and \(1\), there exists a \(c\) in \([0,1]\) with \(f(c)=0\).

Answer: \(f(x)=x^3-x^2-3x+1\) has at least one zero in \([0,1]\).

Example 2.4.11: Application of the Intermediate Value Theorem

Show that \(f(x)=x-\cos x\) has at least one zero.

Solution

Step 1 — Check continuity. \(f(x)=x-\cos x\) is a difference of two functions that are continuous on \((-\infty,+\infty)\), so \(f\) itself is continuous everywhere. The IVT will apply on any closed interval.

Step 2 — Find an interval with sign change. Try the endpoints \(a=0\) and \(b=\pi/2\):

$$ f(0)=0-\cos(0)=-1<0, $$ $$ f\!\left(\frac{\pi}{2}\right)=\frac{\pi}{2}-\cos\!\left(\frac{\pi}{2}\right)=\frac{\pi}{2}-0=\frac{\pi}{2}>0. $$

Step 3 — Apply the IVT with \(z=0\). Since \(f\) is continuous on \([0,\pi/2]\) and \(0\) lies between \(f(0)=-1\) and \(f(\pi/2)=\pi/2\), the IVT guarantees a number \(c\) in \([0,\pi/2]\) with \(f(c)=0\).

Answer: \(f(x)=x-\cos x\) has at least one zero in the interval \([0,\pi/2]\).

Example 2.4.12: When Can You Apply the Intermediate Value Theorem?

If \(f(x)\) is continuous over \([0,2]\), \(f(0)>0\), and \(f(2)>0\), can we use the Intermediate Value Theorem to conclude that \(f(x)\) has no zeros in the interval \([0,2]\)? Explain.

Solution

Step 1 — Read the theorem carefully. The IVT only guarantees the existence of a value \(c\) where \(f(c)=z\) when \(z\) lies between \(f(a)\) and \(f(b)\). When both endpoints are positive, the IVT says nothing about values that are not between them — like \(z=0\).

Step 2 — Counterexample. Consider \(f(x)=(x-1)^2\). It is continuous on \([0,2]\) with \(f(0)=1>0\) and \(f(2)=1>0\), yet \(f(1)=0\). So the function has a zero even though both endpoint values are positive.

Answer: No. The IVT does not say the function cannot reach values outside the bracket \([f(a),f(b)]\); it only guarantees it does reach the values inside.

Example 2.4.13: When Can You Apply the Intermediate Value Theorem?

For \(f(x)=\dfrac{1}{x}\), \(f(-1)=-1<0\) and \(f(1)=1>0\). Can we conclude that \(f(x)\) has a zero in the interval \([-1,1]\)?

Solution

Step 1 — Check the IVT hypotheses. The IVT requires \(f\) to be continuous on the entire closed interval \([-1,1]\). But \(f(x)=\dfrac{1}{x}\) is undefined at \(x=0\), which is in \([-1,1]\). So \(f\) is not continuous on \([-1,1]\) — there's an infinite discontinuity at \(0\).

Step 2 — Conclusion. The hypotheses of the IVT are not satisfied, so the theorem does not apply. In fact, \(\dfrac{1}{x}\) is never zero — the sign flip across \(0\) happens because the function blows up to \(\pm\infty\), not because it crosses through zero.

Answer: No — the IVT requires continuity over the whole closed interval, and \(\dfrac{1}{x}\) is not continuous at \(0\).

Problem Set 2.4

For the following exercises, determine the point(s), if any, at which each function is discontinuous. Classify any discontinuity as jump, removable, infinite, or other.

Problem 1. \(f(x)=\dfrac{1}{\sqrt{x}}\)

Problem 2. \(f(x)=\dfrac{2}{x^2+1}\)

Problem 3. \(f(x)=\dfrac{x}{x^2-x}\)

Problem 4. \(g(t)=t^{-1}+1\)

Problem 5. \(f(x)=\dfrac{5}{e^x-2}\)

Problem 6. \(f(x)=\dfrac{|x-2|}{x-2}\)

Problem 7. \(H(x)=\tan 2x\)

Problem 8. \(f(t)=\dfrac{t+3}{t^2+5t+6}\)

Solutions 1–8

Problem 1

Step 1 — Identify the domain: The expression \(\dfrac{1}{\sqrt{x}}\) requires \(\sqrt{x}\) to be defined and nonzero, so we need \(x>0\). The natural domain is \((0,\infty)\).

Step 2 — Check behavior at boundary points: For \(x<0\), \(f\) is not defined (no real square root). At \(x=0\), \(f\) is undefined and \(\sqrt{x}\to 0^+\), so

$$\lim_{x\to 0^+}\frac{1}{\sqrt{x}}=+\infty.$$

Step 3 — Classify: Since one-sided behavior at \(0\) is infinite (and the function is not defined on the left), \(x=0\) is an infinite discontinuity. On \((0,\infty)\), \(f\) is continuous as a composition of continuous functions.

Answer: Infinite discontinuity at \(x=0\); continuous on \((0,\infty)\).

Problem 2

Step 1 — Examine the denominator: \(x^2+1\ge 1>0\) for every real \(x\), so the denominator never vanishes.

Step 2 — Apply continuity of rational functions: \(f(x)=\dfrac{2}{x^2+1}\) is a rational function whose denominator has no real roots, hence \(f\) is continuous on all of \(\mathbb{R}\).

Answer: No discontinuities; \(f\) is continuous on \((-\infty,\infty)\).

Problem 3

Step 1 — Factor the denominator: \(x^2-x=x(x-1)\), so

$$f(x)=\frac{x}{x(x-1)}.$$

The denominator is zero at \(x=0\) and \(x=1\); these are the candidate discontinuities.

Step 2 — Simplify and classify \(x=0\): For \(x\ne 0\), \(f(x)=\dfrac{1}{x-1}\). Then

$$\lim_{x\to 0}f(x)=\lim_{x\to 0}\frac{1}{x-1}=-1,$$

a finite limit, but \(f(0)\) is undefined. This is a removable discontinuity at \(x=0\).

Step 3 — Classify \(x=1\): Near \(x=1\), \(\dfrac{1}{x-1}\to+\infty\) from the right and \(-\infty\) from the left, so

$$\lim_{x\to 1^+}f(x)=+\infty,\qquad \lim_{x\to 1^-}f(x)=-\infty.$$

This is an infinite discontinuity at \(x=1\).

Answer: Removable discontinuity at \(x=0\); infinite discontinuity at \(x=1\).

Problem 4

Step 1 — Rewrite: \(g(t)=t^{-1}+1=\dfrac{1}{t}+1\). The only candidate for discontinuity is \(t=0\), where \(g\) is undefined.

Step 2 — Take one-sided limits at \(t=0\):

$$\lim_{t\to 0^+}\left(\frac{1}{t}+1\right)=+\infty,\qquad \lim_{t\to 0^-}\left(\frac{1}{t}+1\right)=-\infty.$$

Step 3 — Classify: Both one-sided limits are infinite, so \(t=0\) is an infinite discontinuity.

Answer: Infinite discontinuity at \(t=0\); continuous on \((-\infty,0)\cup(0,\infty)\).

Problem 5

Step 1 — Locate denominator zeros: Set \(e^x-2=0\), giving \(e^x=2\), so \(x=\ln 2\). Elsewhere \(e^x-2\ne 0\) and the numerator \(5\) is constant.

Step 2 — Analyze one-sided behavior at \(x=\ln 2\): As \(x\to\ln 2^+\), \(e^x>2\), so \(e^x-2\to 0^+\) and \(\dfrac{5}{e^x-2}\to+\infty\). As \(x\to\ln 2^-\), \(e^x<2\), so \(e^x-2\to 0^-\) and \(\dfrac{5}{e^x-2}\to-\infty\).

Step 3 — Classify: Infinite discontinuity at \(x=\ln 2\). Elsewhere, \(f\) is continuous as a quotient of continuous functions with nonzero denominator.

Answer: Infinite discontinuity at \(x=\ln 2\).

Problem 6

Step 1 — Identify the candidate: The denominator \(x-2\) is zero at \(x=2\); the numerator \(|x-2|\) is also zero there, but \(f(2)\) is undefined.

Step 2 — Compute one-sided limits at \(x=2\): For \(x>2\), \(|x-2|=x-2\), so \(f(x)=1\) and \(\lim_{x\to 2^+}f(x)=1\). For \(x<2\), \(|x-2|=-(x-2)\), so \(f(x)=-1\) and \(\lim_{x\to 2^-}f(x)=-1\).

Step 3 — Classify: Both one-sided limits exist as finite numbers but disagree (\(1\ne -1\)). This is a jump discontinuity at \(x=2\).

Answer: Jump discontinuity at \(x=2\).

Problem 7

Step 1 — Rewrite \(\tan 2x\): \(H(x)=\dfrac{\sin 2x}{\cos 2x}\) is undefined where \(\cos 2x=0\), i.e. when \(2x=\dfrac{\pi}{2}+k\pi\) for integer \(k\), giving

$$x=\frac{\pi}{4}+\frac{k\pi}{2},\quad k\in\mathbb{Z}.$$

Step 2 — Behavior at each such \(x\): Near these points, \(\cos 2x\to 0\) while \(\sin 2x=\pm 1\ne 0\), so \(H(x)\) blows up to \(\pm\infty\) from either side.

Step 3 — Classify: Each of these points is an infinite discontinuity. Elsewhere \(H\) is continuous as a composition/quotient of continuous functions.

Answer: Infinite discontinuities at \(x=\dfrac{\pi}{4}+\dfrac{k\pi}{2}\) for every integer \(k\).

Problem 8

Step 1 — Factor the denominator: \(t^2+5t+6=(t+2)(t+3)\), so

$$f(t)=\frac{t+3}{(t+2)(t+3)}.$$

Candidate discontinuities are \(t=-2\) and \(t=-3\).

Step 2 — Classify \(t=-3\): For \(t\ne -3\), \(f(t)=\dfrac{1}{t+2}\). Then

$$\lim_{t\to -3}f(t)=\frac{1}{-3+2}=-1,$$

a finite limit, while \(f(-3)\) is undefined. Removable discontinuity at \(t=-3\).

Step 3 — Classify \(t=-2\): \(\dfrac{1}{t+2}\to+\infty\) as \(t\to -2^+\) and \(\to-\infty\) as \(t\to -2^-\). Infinite discontinuity at \(t=-2\).

Answer: Removable discontinuity at \(t=-3\); infinite discontinuity at \(t=-2\).

For the following exercises, decide if the function is continuous at the given point. If it is discontinuous, what type of discontinuity is it?

Problem 9. \(f(x)=\dfrac{2x^2-5x+3}{x-1}\) at \(x=1\)

Problem 10. \(h(\theta)=\dfrac{\sin\theta-\cos\theta}{\tan\theta}\) at \(\theta=\pi\)

Problem 11. \(g(u)=\begin{cases}\dfrac{6u^2+u-2}{2u-1} & \text{if } u\ne \dfrac{1}{2} \\ \dfrac{7}{2} & \text{if } u=\dfrac{1}{2}\end{cases}\), at \(u=\dfrac{1}{2}\)

Problem 12. \(f(y)=\dfrac{\sin(\pi y)}{\tan(\pi y)}\), at \(y=1\)

Problem 13. \(f(x)=\begin{cases}x^2-e^x & \text{if } x<0 \\ x-1 & \text{if } x\ge 0\end{cases}\), at \(x=0\)

Problem 14. \(f(x)=\begin{cases}x\sin(x) & \text{if } x\le \pi \\ x\tan(x) & \text{if } x>\pi\end{cases}\), at \(x=\pi\)

In the following exercises, find the value(s) of \(k\) that makes each function continuous over the given interval.

Problem 15. \(f(x)=\begin{cases}3x+2, & x

Problem 16. \(f(\theta)=\begin{cases}\sin\theta, & 0\le \theta<\dfrac{\pi}{2} \\ \cos(\theta+k), & \dfrac{\pi}{2}\le \theta\le \pi\end{cases}\)

Problem 17. \(f(x)=\begin{cases}\dfrac{x^2+3x+2}{x+2}, & x\ne -2 \\ k, & x=-2\end{cases}\)

Problem 18. \(f(x)=\begin{cases}e^{kx}, & 0\le x<4 \\ x+3, & 4\le x\le 8\end{cases}\)

Problem 19. \(f(x)=\begin{cases}\sqrt{kx}, & 0\le x\le 3 \\ x+1, & 3

In the following exercises, use the Intermediate Value Theorem (IVT).

Problem 20. Let \(h(x)=\begin{cases}3x^2-4, & x\le 2 \\ 5+4x, & x>2\end{cases}\). Over the interval \([0,4]\), there is no value of \(x\) such that \(h(x)=10\), although \(h(0)<10\) and \(h(4)>10\). Explain why this does not contradict the IVT.

Problem 21. A particle moving along a line has at each time \(t\) a position function \(s(t)\), which is continuous. Assume \(s(2)=5\) and \(s(5)=2\). Another particle moves such that its position is given by \(h(t)=s(t)-t\). Explain why there must be a value \(c\) for \(2

Problem 22. [T] Use the statement "The cosine of \(t\) is equal to \(t\) cubed."

a) Write a mathematical equation of the statement.

b) Prove that the equation in part a. has at least one real solution.

c) Use a calculator to find an interval of length 0.01 that contains a solution.

Problem 23. Apply the IVT to determine whether \(2^x=x^3\) has a solution in one of the intervals \([1.25,1.375]\) or \([1.375,1.5]\). Briefly explain your response for each interval.

Problem 24. Consider the graph of the function \(y=f(x)\) shown in the following graph.

a) Find all values for which the function is discontinuous.

b) For each value in part a., state why the formal definition of continuity does not apply.

c) Classify each discontinuity as either jump, removable, or infinite.

Exercise figure (Problem 24) — A continuous curve over the interval [a, b].

Problem 25. Let \(f(x)=\begin{cases}3x, & x>1 \\ x^3, & x<1\end{cases}\).

a) Sketch the graph of \(f\).

b) Is it possible to find a value \(k\) such that \(f(1)=k\), which makes \(f(x)\) continuous for all real numbers? Briefly explain.

Problem 26. Let \(f(x)=\dfrac{x^4-1}{x^2-1}\) for \(x\ne -1, 1\).

a) Sketch the graph of \(f\).

b) Is it possible to find values \(k_1\) and \(k_2\) such that \(f(-1)=k_1\) and \(f(1)=k_2\), and that makes \(f(x)\) continuous for all real numbers? Briefly explain.

Problem 27. Sketch the graph of a function \(y=f(x)\) with properties i. through vi.

i. The domain of \(f\) is \((-\infty,+\infty)\).

ii. \(f\) has an infinite discontinuity at \(x=-6\).

iii. \(f(-6)=3\).

iv. \(\lim_{x\to -3^-}f(x)=\lim_{x\to -3^+}f(x)=2\).

v. \(f(-3)=3\).

vi. \(f\) is left continuous but not right continuous at \(x=3\).

Problem 28. Sketch the graph of a function \(y=f(x)\) with properties i. through iv.

i. The domain of \(f\) is \([0,5]\).

ii. \(\lim_{x\to 1^+}f(x)\) and \(\lim_{x\to 1^-}f(x)\) exist and are equal.

iii. \(f(x)\) is left continuous but not continuous at \(x=2\), and right continuous but not continuous at \(x=3\).

iv. \(f(x)\) has a removable discontinuity at \(x=1\), a jump discontinuity at \(x=2\), and the following limits hold: \(\lim_{x\to 3^-}f(x)=-\infty\) and \(\lim_{x\to 3^+}f(x)=2\).

In the following exercises, suppose \(y=f(x)\) is defined for all \(x\). For each description, sketch a graph with the indicated property.

Problem 29. Discontinuous at \(x=1\) with \(\lim_{x\to -1}f(x)=-1\) and \(\lim_{x\to 2}f(x)=4\).

Problem 30. Discontinuous at \(x=2\) but continuous elsewhere with \(\lim_{x\to 0}f(x)=\dfrac{1}{2}\).

Determine whether each of the given statements is true. Justify your response with an explanation or counterexample.

Problem 31. \(f(t)=\dfrac{2}{e^t-e^{-t}}\) is continuous everywhere.

Problem 32. If the left- and right-hand limits of \(f(x)\) as \(x\to a\) exist and are equal, then \(f\) cannot be discontinuous at \(x=a\).

Problem 33. If a function is not continuous at a point, then it is not defined at that point.

Problem 34. According to the IVT, \(\cos x-\sin x-x=2\) has a solution over the interval \([-1,1]\).

Problem 35. If \(f(x)\) is continuous such that \(f(a)\) and \(f(b)\) have opposite signs, then \(f(x)=0\) has exactly one solution in \([a,b]\).

Problem 36. The function \(f(x)=\dfrac{x^2-4x+3}{x^2-1}\) is continuous over the interval \([0,3]\).

Problem 37. If \(f(x)\) is continuous everywhere and \(f(a), f(b)>0\), then there is no root of \(f(x)\) in the interval \([a,b]\).

[T] The following problems consider the scalar form of Coulomb's law, which describes the electrostatic force between two point charges, such as electrons. It is given by the equation \(F(r)=k_e\dfrac{|q_1 q_2|}{r^2}\), where \(k_e\) is Coulomb's constant, \(q_i\) are the magnitudes of the charges of the two particles, and \(r\) is the distance between the two particles.

Problem 38. To simplify the calculation of a model with many interacting particles, after some threshold value \(r=R\), we approximate \(F\) as zero.

a) Explain the physical reasoning behind this assumption.

b) What is the force equation?

c) Evaluate the force \(F\) using both Coulomb's law and our approximation, assuming two protons with a charge magnitude of \(1.6022\times 10^{-19}\) coulombs (C), and the Coulomb constant \(k_e=8.988\times 10^9\;\text{N}\cdot\text{m}^2/\text{C}^2\) are 1 m apart. Also, assume \(R<1\) m. How much inaccuracy does our approximation generate? Is our approximation reasonable?

d) Is there any finite value of \(R\) for which this system remains continuous at \(R\)?

Problem 39. Instead of making the force 0 at \(R\), instead we let the force be \(10^{-20}\) for \(r\ge R\). Assume two protons, which have a magnitude of charge \(1.6022\times 10^{-19}\) C, and the Coulomb constant \(k_e=8.988\times 10^9\;\text{N}\cdot\text{m}^2/\text{C}^2\). Is there a value \(R\) that can make this system continuous? If so, find it.

Recall the discussion on spacecraft from the chapter opener. The following problems consider a rocket launch from Earth's surface. The force of gravity on the rocket is given by \(F(d)=-mk/d^2\), where \(m\) is the mass of the rocket, \(d\) is the distance of the rocket from the center of Earth, and \(k\) is a constant.

Problem 40. [T] Determine the value and units of \(k\) given that the mass of the rocket is 3 million kg. (Hint: The distance from the center of Earth to its surface is 6378 km.)

Problem 41. [T] After a certain distance \(D\) has passed, the gravitational effect of Earth becomes quite negligible, so we can approximate the force function by \(F(d)=\begin{cases}-\dfrac{mk}{d^2} & \text{if } d

Problem 42. As the rocket travels away from Earth's surface, there is a distance \(D\) where the rocket sheds some of its mass, since it no longer needs the excess fuel storage. We can write this function as \(F(d)=\begin{cases}-\dfrac{m_1 k}{d^2} & \text{if } d

Prove the following functions are continuous everywhere.

Problem 43. \(f(\theta)=\sin\theta\)

Problem 44. \(g(x)=|x|\)

Problem 45. Where is \(f(x)=\begin{cases}0 & \text{if } x \text{ is irrational} \\ 1 & \text{if } x \text{ is rational}\end{cases}\) continuous?

Solutions 9–45

Problem 9

Step 1 — Check the value: \(f(1)\) requires dividing by \(1-1=0\), so \(f(1)\) is undefined and continuity at \(x=1\) fails.

Step 2 — Factor and simplify: \(2x^2-5x+3=(2x-3)(x-1)\), so for \(x\ne 1\)

$$f(x)=\frac{(2x-3)(x-1)}{x-1}=2x-3.$$

Therefore \(\lim_{x\to 1}f(x)=2(1)-3=-1\), a finite real number.

Step 3 — Classify: The limit exists but \(f(1)\) is undefined. This is a removable discontinuity.

Answer: Discontinuous at \(x=1\); the discontinuity is removable.

Problem 10

Step 1 — Evaluate the pieces at \(\theta=\pi\): \(\sin\pi=0\), \(\cos\pi=-1\), and \(\tan\pi=\dfrac{\sin\pi}{\cos\pi}=0\). The denominator is \(0\) while the numerator is \(0-(-1)=1\), so \(h(\pi)\) is undefined and \(h\) is discontinuous at \(\theta=\pi\).

Step 2 — Take one-sided limits: Write \(h(\theta)=\dfrac{\sin\theta-\cos\theta}{\sin\theta/\cos\theta}=\dfrac{(\sin\theta-\cos\theta)\cos\theta}{\sin\theta}\). As \(\theta\to\pi\), the numerator \((\sin\theta-\cos\theta)\cos\theta\to (0-(-1))(-1)=-1\), while \(\sin\theta\to 0\) with \(\sin\theta>0\) for \(\theta\to\pi^-\) and \(\sin\theta<0\) for \(\theta\to\pi^+\). Hence

$$\lim_{\theta\to\pi^-}h(\theta)=-\infty,\qquad \lim_{\theta\to\pi^+}h(\theta)=+\infty.$$

Step 3 — Classify: One-sided limits are infinite, so this is an infinite discontinuity at \(\theta=\pi\).

Answer: Discontinuous at \(\theta=\pi\); infinite discontinuity.

Problem 11

Step 1 — Compute the limit as \(u\to\tfrac{1}{2}\): Factor the numerator: \(6u^2+u-2=(2u-1)(3u+2)\). Then for \(u\ne\tfrac{1}{2}\),

$$\frac{6u^2+u-2}{2u-1}=\frac{(2u-1)(3u+2)}{2u-1}=3u+2.$$

So \(\lim_{u\to 1/2}g(u)=3\cdot\tfrac{1}{2}+2=\tfrac{7}{2}\).

Step 2 — Compare to the defined value: \(g\!\left(\tfrac{1}{2}\right)=\tfrac{7}{2}\), which matches the limit.

Step 3 — Conclude: The limit equals the function value, so \(g\) is continuous at \(u=\tfrac{1}{2}\).

Answer: Continuous at \(u=\dfrac{1}{2}\).

Problem 12

Step 1 — Evaluate at \(y=1\): \(\sin(\pi)=0\) and \(\tan(\pi)=0\), so \(f(1)\) is undefined — \(f\) is discontinuous at \(y=1\).

Step 2 — Simplify and take the limit: For values of \(y\) near \(1\) with \(\sin(\pi y)\ne 0\),

$$f(y)=\frac{\sin(\pi y)}{\tan(\pi y)}=\frac{\sin(\pi y)\cos(\pi y)}{\sin(\pi y)}=\cos(\pi y).$$

Hence \(\lim_{y\to 1}f(y)=\cos\pi=-1\), a finite real number.

Step 3 — Classify: Limit exists but \(f(1)\) is undefined — removable discontinuity.

Answer: Discontinuous at \(y=1\); the discontinuity is removable.

Problem 13

Step 1 — Compute \(f(0)\): Since \(0\ge 0\), use the second piece: \(f(0)=0-1=-1\).

Step 2 — Take one-sided limits at \(x=0\):

$$\lim_{x\to 0^-}f(x)=\lim_{x\to 0^-}(x^2-e^x)=0-1=-1,$$ $$\lim_{x\to 0^+}f(x)=\lim_{x\to 0^+}(x-1)=-1.$$

Step 3 — Conclude: Both one-sided limits equal \(-1=f(0)\), so \(\lim_{x\to 0}f(x)=f(0)\) and \(f\) is continuous at \(x=0\).

Answer: Continuous at \(x=0\).

Problem 14

Step 1 — Compute \(f(\pi)\): Since \(\pi\le\pi\), use the first piece: \(f(\pi)=\pi\sin\pi=\pi\cdot 0=0\).

Step 2 — Left-hand limit:

$$\lim_{x\to\pi^-}f(x)=\lim_{x\to\pi^-}x\sin x=\pi\sin\pi=0.$$

Step 3 — Right-hand limit:

$$\lim_{x\to\pi^+}f(x)=\lim_{x\to\pi^+}x\tan x=\pi\tan\pi=\pi\cdot 0=0.$$

Step 4 — Compare: Both one-sided limits equal \(0=f(\pi)\), so \(\lim_{x\to\pi}f(x)=f(\pi)\) and \(f\) is continuous at \(x=\pi\).

Answer: Continuous at \(x=\pi\).

Problem 15

Step 1 — Identify where continuity could fail: Each branch is a polynomial, hence continuous on its domain. The only candidate for discontinuity is the boundary \(x=k\), where the rule switches from \(3x+2\) to \(2x-3\).

Step 2 — Force the one-sided limits to agree: At \(x=k\) the left limit is \(\lim_{x\to k^-}(3x+2)=3k+2\), and the function value (also the right limit) is \(2k-3\). Continuity at \(k\) requires

$$3k+2=2k-3.$$

Step 3 — Solve for \(k\): Subtract \(2k\) from both sides: \(k+2=-3\), so \(k=-5\).

Answer: \(k=-5\).

Problem 16

Step 1 — Locate the seam: Both \(\sin\theta\) and \(\cos(\theta+k)\) are continuous everywhere; we only need to match values at \(\theta=\pi/2\).

Step 2 — Match the two branches: The left-hand limit is \(\sin(\pi/2)=1\). The right-hand value is \(\cos(\pi/2+k)=-\sin k\). Continuity requires

$$-\sin k = 1, \quad \text{i.e.,} \quad \sin k = -1.$$

Step 3 — Solve for \(k\): The general solution is \(k=-\dfrac{\pi}{2}+2\pi n\) for any integer \(n\). The simplest choice is \(k=-\dfrac{\pi}{2}\).

Answer: \(k=-\dfrac{\pi}{2}+2\pi n\) for integer \(n\); typically \(k=-\dfrac{\pi}{2}\).

Problem 17

Step 1 — Simplify the rational expression: Factor the numerator:

$$\frac{x^2+3x+2}{x+2}=\frac{(x+1)(x+2)}{x+2}=x+1 \quad (x\ne -2).$$

Step 2 — Compute the limit at the trouble point: \(\lim_{x\to -2}(x+1)=-1\).

Step 3 — Match \(f(-2)\) to the limit: Continuity at \(-2\) requires \(f(-2)=k=-1\).

Answer: \(k=-1\).

Problem 18

Step 1 — Identify the seam: Both branches are continuous on their pieces. Match values at \(x=4\).

Step 2 — Set up the matching equation: The left limit is \(\lim_{x\to 4^-}e^{kx}=e^{4k}\); the right value is \(4+3=7\). Continuity requires

$$e^{4k}=7.$$

Step 3 — Solve for \(k\): Take the natural log of both sides:

$$4k=\ln 7 \quad\Longrightarrow\quad k=\frac{\ln 7}{4}.$$

Answer: \(k=\dfrac{\ln 7}{4}\).

Problem 19

Step 1 — Identify the seam: Both pieces are continuous on their respective intervals (assuming \(kx\ge 0\) on \([0,3]\)). Match values at \(x=3\).

Step 2 — Set up the matching equation: The left value is \(\sqrt{3k}\); the right limit is \(3+1=4\). Continuity requires

$$\sqrt{3k}=4.$$

Step 3 — Solve for \(k\): Square both sides: \(3k=16\), so \(k=\dfrac{16}{3}\). Check: \(k>0\) keeps the radicand non-negative on \([0,3]\).

Answer: \(k=\dfrac{16}{3}\).

Problem 20

Step 1 — Check continuity of \(h\) on \([0,4]\): At the seam \(x=2\), the left value is \(h(2)=3(4)-4=8\); the right limit is \(\lim_{x\to 2^+}(5+4x)=13\). These disagree, so \(h\) has a jump discontinuity at \(x=2\).

Step 2 — State the IVT hypothesis: The IVT requires the function to be continuous on the closed interval. Here \(h\) is not continuous on \([0,4]\) because of the jump at \(x=2\).

Step 3 — Reconcile: Although \(h(0)=-4<10\) and \(h(4)=21>10\), the values between \(8\) and \(13\) (in particular \(10\)) are skipped over by the jump and are never attained. The IVT's conclusion is not contradicted because its hypothesis (continuity on the closed interval) fails.

Answer: The IVT requires continuity on the entire closed interval, and \(h\) is discontinuous at \(x=2\). With the hypothesis broken, the IVT makes no prediction, so there is no contradiction.

Problem 21

Step 1 — Establish continuity of \(h\): Since \(s(t)\) is continuous and \(t\) is continuous, the difference \(h(t)=s(t)-t\) is continuous on \([2,5]\).

Step 2 — Evaluate at the endpoints:

$$h(2)=s(2)-2=5-2=3>0,$$ $$h(5)=s(5)-5=2-5=-3<0.$$

Step 3 — Apply the IVT: Because \(h\) is continuous on \([2,5]\) and \(h(2)>0>h(5)\), the value \(0\) lies between \(h(2)\) and \(h(5)\). The IVT guarantees a \(c\in(2,5)\) with \(h(c)=0\) (equivalently, \(s(c)=c\)).

Answer: By the IVT applied to the continuous function \(h\) on \([2,5]\), some \(c\in(2,5)\) satisfies \(h(c)=0\).

Problem 22

Step 1 — (a) Write the equation: "Cosine of \(t\) equals \(t\) cubed" gives

$$\cos t = t^3.$$

Step 2 — (b) Build an auxiliary continuous function: Let \(g(t)=\cos t - t^3\). Then \(g\) is continuous on \(\mathbb{R}\) (cosine and polynomials are continuous). Evaluate at convenient endpoints:

$$g(0)=\cos 0 - 0 = 1>0,$$ $$g(1)=\cos 1 - 1 \approx 0.5403-1 = -0.4597<0.$$

Since \(g\) is continuous on \([0,1]\) and changes sign, the IVT guarantees a \(c\in(0,1)\) with \(g(c)=0\), i.e., \(\cos c = c^3\).

Step 3 — (c) Narrow to an interval of length 0.01: Bisect repeatedly. Using a calculator,

- \(g(0.86)=\cos(0.86)-0.86^3\approx 0.6518-0.6361\approx 0.0157>0\), - \(g(0.87)=\cos(0.87)-0.87^3\approx 0.6442-0.6585\approx -0.0143<0\).

The sign change places a root in \([0.86,0.87]\), an interval of length \(0.01\).

Answer: (a) \(\cos t=t^3\); (b) by the IVT on \(g(t)=\cos t-t^3\) over \([0,1]\), a solution exists; (c) a solution lies in \([0.86, 0.87]\).

Problem 23

Step 1 — Set up the test function: Let \(g(x)=2^x-x^3\). Both \(2^x\) and \(x^3\) are continuous, so \(g\) is continuous everywhere. A root of \(g\) corresponds to a solution of \(2^x=x^3\).

Step 2 — Test \([1.25, 1.375]\):

- \(g(1.25)=2^{1.25}-1.25^3 \approx 2.3784-1.9531\approx 0.4253>0\), - \(g(1.375)=2^{1.375}-1.375^3 \approx 2.5937-2.5996\approx -0.0059<0\).

Sign change present, so by IVT there is a solution in \([1.25,1.375]\).

Step 3 — Test \([1.375, 1.5]\):

- \(g(1.375)\approx -0.0059<0\), - \(g(1.5)=2^{1.5}-1.5^{3}\approx 2.8284-3.3750\approx -0.5466<0\).

No sign change, so the IVT yields no conclusion here (a root may or may not exist, but this test does not detect one).

Answer: A solution exists in \([1.25, 1.375]\) by the IVT (sign change). The IVT does not guarantee a solution in \([1.375, 1.5]\) since \(g\) has the same sign at both endpoints.

Problem 24

Step 1 — Inspect the provided figure: The figure accompanying this section illustrates the IVT: a single continuous curve drawn over an interval \([a,b]\) with no breaks, holes, jumps, or vertical asymptotes shown. Every point on the curve is a single well-defined value of \(f\).

Step 2 — (a) List discontinuities: Based strictly on what is depicted, there are no points of discontinuity to report — the function shown is continuous on its visible domain \([a,b]\).

Step 3 — (b) Why the formal definition does not flag any point: At every \(x\) shown, the limit exists and equals \(f(x)\); all three conditions of the formal definition (\(f(x)\) defined, \(\lim_{t\to x}f(t)\) exists, and the two are equal) hold throughout, so none of them can be used to identify a discontinuity.

Step 4 — (c) Classification: With no discontinuities present, there is nothing to classify. (For reference: had the graph shown an open/filled-point pair at a single \(x\), that would be removable; a vertical gap between two pieces would be jump; a vertical asymptote would be infinite.)

Answer: The figure shows a continuous curve, so (a) there are no discontinuities, (b) the definition is satisfied everywhere visible, and (c) there is nothing to classify.

Problem 25

Step 1 — (a) Describe the graph: For \(x<1\), draw the cubic \(y=x^3\); it passes through \((-1,-1)\) and approaches the point \((1,1)\) as \(x\to 1^-\) (open circle at \((1,1)\)). For \(x>1\), draw the line \(y=3x\); as \(x\to 1^+\), \(y\to 3\) (open circle at \((1,3)\)). At \(x=1\) the function is currently undefined.

Step 2 — Examine the one-sided limits at \(x=1\):

$$\lim_{x\to 1^-}f(x)=\lim_{x\to 1^-}x^3=1, \qquad \lim_{x\to 1^+}f(x)=\lim_{x\to 1^+}3x=3.$$

These are not equal, so \(\lim_{x\to 1}f(x)\) does not exist.

Step 3 — (b) Decide whether one \(k\) can repair continuity: Continuity at \(x=1\) requires \(\lim_{x\to 1}f(x)\) to exist and equal \(f(1)=k\). Since the two one-sided limits disagree (a jump), no single value of \(k\) can make \(f\) continuous at \(x=1\).

Answer: (a) Cubic on the left, line \(y=3x\) on the right, with a jump at \(x=1\) (open circles at \((1,1)\) and \((1,3)\)). (b) No such \(k\) exists; the one-sided limits at \(1\) differ.

Problem 26

Step 1 — Simplify the formula: Factor the numerator as a difference of squares:

$$\frac{x^4-1}{x^2-1}=\frac{(x^2-1)(x^2+1)}{x^2-1}=x^2+1\quad (x\ne \pm 1).$$

Step 2 — (a) Describe the graph: The graph is the upward parabola \(y=x^2+1\) (vertex at \((0,1)\)), but with open circles at \((-1,2)\) and \((1,2)\) since \(f\) is undefined there.

Step 3 — Compute the limits at the holes:

$$\lim_{x\to -1}(x^2+1)=2,\qquad \lim_{x\to 1}(x^2+1)=2.$$

Step 4 — (b) Choose \(k_1\) and \(k_2\): Both discontinuities are removable. Setting \(f(-1)=k_1=2\) and \(f(1)=k_2=2\) fills in the holes so that \(f(x)=x^2+1\) on all of \(\mathbb{R}\), which is continuous everywhere.

Answer: (a) The parabola \(y=x^2+1\) with open holes at \((-1,2)\) and \((1,2)\). (b) Yes: \(k_1=k_2=2\) removes both discontinuities.

Problem 27

Step 1 — Inventory the requirements: domain \((-\infty,\infty)\); infinite discontinuity at \(x=-6\) with \(f(-6)=3\); a removable-style scenario at \(x=-3\) where the two-sided limit equals \(2\) but \(f(-3)=3\); at \(x=3\) the function is left-continuous but not right-continuous.

Step 2 — Build a verbal sketch: To the left of \(x=-6\), draw a curve plunging down (or shooting up) to a vertical asymptote at \(x=-6\); to the right of \(x=-6\), another branch coming back from the opposite infinity. Mark the single point \((-6, 3)\) as a filled dot floating off the curve (the function is defined there even though the limit blows up). Continue smoothly toward \(x=-3\): the curve approaches the point \((-3, 2)\) from both sides (open circle at \((-3,2)\)) while a filled dot sits at \((-3,3)\) above it — a removable discontinuity with \(f(-3)\) reassigned. Continue smoothly to \(x=3\). At \(x=3\), the left branch arrives at a filled dot at \((3, y_0)\) for some chosen \(y_0\); the right branch starts at an open circle at \((3, y_1)\) with \(y_1\ne y_0\) and proceeds rightward. Because the filled value equals the left limit, \(f\) is left-continuous at 3 but not right-continuous.

Step 3 — Verify each property in turn: 1. Domain \((-\infty,\infty)\): every \(x\) has a function value (the asymptote at \(x=-6\) is "filled" by the dot at height 3). 2. Infinite discontinuity at \(x=-6\): vertical asymptote present. 3. \(f(-6)=3\): the floating dot. 4. \(\lim_{x\to -3}f(x)=2\) from both sides: the curve closes on \((-3,2)\). 5. \(f(-3)=3\): the dot above the hole. 6. At \(x=3\): left limit equals \(f(3)\) (left-continuous), right limit differs (jump on the right).

Answer: A sketch with a vertical asymptote at \(x=-6\) (with an isolated dot at \((-6,3)\)), a removable-style hole at \(x=-3\) where the curve approaches \(y=2\) but \(f(-3)=3\), and a jump at \(x=3\) where the left piece closes onto \(f(3)\) (filled) and the right piece starts at a different height (open).

Problem 28

Step 1 — Inventory the requirements: domain \([0,5]\); a removable discontinuity at \(x=1\) (two-sided limit exists and matches itself, but \(f(1)\) sits elsewhere); a jump at \(x=2\) where \(f\) is left-continuous; at \(x=3\), \(f\) is right-continuous, the left-hand limit is \(-\infty\), and the right-hand limit is \(2\).

Step 2 — Build a verbal sketch: Start at \(x=0\) with any value, say \((0,1)\). Draw any continuous curve from \(x=0\) to \(x=1\), arriving at an open circle at \((1, L)\) for some value \(L\). Place a separate filled dot at \((1, L')\) with \(L'\ne L\): the limit exists (= \(L\)), but \(f(1)=L'\), giving a removable discontinuity. Continue from the open circle smoothly to \(x=2\), closing onto a filled dot at \((2, M)\) (left-continuous). To the right of \(x=2\), restart at an open circle at \((2, M')\) with \(M'\ne M\) and draw a curve heading toward \(x=3\), descending to \(-\infty\) (vertical asymptote at \(x=3\) on the left). For \(x>3\), the curve starts at a filled dot at \((3, 2)\) (right-continuous, matches the right limit) and continues to \(x=5\).

Step 3 — Verify each property: 1. Domain \([0,5]\): values exist on the whole interval (including filled dots at \(1\), \(2\), and \(3\)). 2. \(\lim_{x\to 1^\pm}f(x)=L\): both one-sided limits land at the open circle at height \(L\). 3. At \(x=2\): left limit \(=M=f(2)\) (left-continuous), right limit \(=M'\ne M\) (not right-continuous), so jump. 4. At \(x=3\): left limit \(=-\infty\); \(f(3)=2\) matches the right limit \(2\) (right-continuous, not left-continuous). 5. Removable at \(1\), jump at \(2\), \(-\infty\) versus \(2\) at \(3\): all accounted for.

Answer: A sketch on \([0,5]\) with a hole-and-dot pair at \(x=1\) (removable), a left-closed/right-open jump at \(x=2\), and a leftward vertical asymptote (down to \(-\infty\)) at \(x=3\) paired with a filled dot at \((3,2)\) starting the right branch.

Problem 29

Step 1 — Read off the requirements: \(f\) must be discontinuous at \(x=1\), and have specified two-sided limits \(\lim_{x\to -1}f(x)=-1\) and \(\lim_{x\to 2}f(x)=4\) (the function is otherwise continuous at \(-1\) and \(2\)).

Step 2 — Describe a sketch that satisfies all three: Draw any continuous curve that passes through \((-1,-1)\) and \((2,4)\) (for example, a smooth curve sloping upward from lower left through \((-1,-1)\), continuing up through \((2,4)\)). At \(x=1\), break the curve: leave an open circle on the curve at \((1, y_L)\) where the curve "wanted" to go, and place a filled dot at \((1, y_D)\) with \(y_D\ne y_L\) (for example, the curve passes through height 2 at \(x=1\) but you set \(f(1)=5\)). This produces a removable-style discontinuity at \(x=1\) while leaving the limits at \(-1\) and \(2\) untouched.

Step 3 — Verify the conditions: 1. \(\lim_{x\to -1}f(x)=-1\): the curve passes continuously through \((-1,-1)\). 2. \(\lim_{x\to 2}f(x)=4\): the curve passes continuously through \((2,4)\). 3. Discontinuous at \(x=1\): the open circle / filled dot mismatch breaks continuity there.

Answer: Any continuous curve through \((-1,-1)\) and \((2,4)\) with a hole-and-dot mismatch (removable discontinuity) at \(x=1\) — for example, the curve heading through \((1,2)\) but with \(f(1)=5\) marked as a filled dot above the open circle.

Problem 30

Step 1 — Read off the requirements: \(f\) is continuous everywhere except at \(x=2\), and \(\lim_{x\to 0}f(x)=\dfrac{1}{2}\).

Step 2 — Describe a sketch: Draw a smooth curve that passes continuously through \(\left(0,\tfrac{1}{2}\right)\) — for example, a gently rising curve through that point. Extend it smoothly in both directions, keeping it continuous everywhere. At \(x=2\), introduce a single discontinuity: the simplest is a jump (close the left piece with a filled dot at \((2, a)\), restart the right piece with an open circle at \((2, b)\) where \(b\ne a\)). Alternatively, a removable hole or a vertical asymptote at \(x=2\) is acceptable. Outside \(x=2\), the curve has no other breaks.

Step 3 — Verify the conditions: 1. Continuous everywhere except \(x=2\): the only break is the constructed one at \(x=2\). 2. \(\lim_{x\to 0}f(x)=\tfrac{1}{2}\): the smooth curve passes through \(\left(0,\tfrac{1}{2}\right)\), so the limit equals the value.

Answer: A smooth continuous curve passing through \(\left(0,\tfrac{1}{2}\right)\) with exactly one discontinuity at \(x=2\) — for instance, a jump where the left piece closes at \((2,1)\) (filled) and the right piece restarts at \((2,3)\) (open).

Problem 31

Step 1 — Locate the trouble spot: The function \(f(t)=\dfrac{2}{e^{t}-e^{-t}}\) is built from continuous pieces, so it is continuous wherever the denominator is nonzero.

Step 2 — Test the denominator: Set \(e^{t}-e^{-t}=0\). This gives \(e^{t}=e^{-t}\), so \(e^{2t}=1\), hence \(t=0\). At \(t=0\) the function is undefined, so \(f\) is discontinuous there.

Answer: FALSE. \(f\) is undefined (and hence discontinuous) at \(t=0\).

Problem 32

Step 1 — Recall the full definition of continuity at \(x=a\): \(f\) is continuous at \(a\) iff (i) \(f(a)\) is defined, (ii) \(\lim_{x\to a}f(x)\) exists, and (iii) \(\lim_{x\to a}f(x)=f(a)\).

Step 2 — Spot the missing condition: Equal one-sided limits give only (ii). Either \(f(a)\) may be undefined, or it may equal a different value from the limit (a removable discontinuity).

Step 3 — Counterexample: Let \(f(x)=\dfrac{x^{2}-1}{x-1}\). The two-sided limit at \(x=1\) is \(2\), but \(f(1)\) is undefined, so \(f\) is discontinuous at \(1\).

Answer: FALSE.

Problem 33

Step 1 — Possible failure modes: Continuity can fail because \(f(a)\) is undefined, the limit fails to exist, or the limit exists but disagrees with \(f(a)\). Only the first failure mode requires \(f\) to be undefined.

Step 2 — Counterexample: Define

$$f(x)=\begin{cases}1 & x\ne 0\\ 0 & x=0\end{cases}$$

Here \(f(0)=0\) is defined, yet \(\lim_{x\to 0}f(x)=1\ne f(0)\), so \(f\) is discontinuous at \(0\).

Answer: FALSE.

Problem 34

Step 1 — Set up an IVT-friendly function: Let \(g(x)=\cos x-\sin x-x-2\). We want a root of \(g\) on \([-1,1]\).

Step 2 — Continuity: \(g\) is a sum of continuous functions, hence continuous on \([-1,1]\).

Step 3 — Endpoint values:

\(g(-1)=\cos(-1)-\sin(-1)-(-1)-2=\cos 1+\sin 1-1\approx 0.5403+0.8415-1\approx 0.382>0\).

\(g(1)=\cos 1-\sin 1-1-2\approx 0.5403-0.8415-3\approx -3.301<0\).

Step 4 — Apply IVT: \(g\) changes sign on \([-1,1]\), so by the Intermediate Value Theorem there exists \(c\in(-1,1)\) with \(g(c)=0\), i.e. \(\cos c-\sin c-c=2\).

Answer: TRUE.

Problem 35

Step 1 — What IVT actually guarantees: Opposite signs at the endpoints of a continuous function guarantee at least one root, not exactly one.

Step 2 — Counterexample: Take \(f(x)=\sin x\) on \([-\,\pi/2,\,3\pi/2]\). Then \(f(-\pi/2)=-1<0\) and \(f(3\pi/2)=-1<0\)… (need opposite signs). Use instead \(f(x)=\sin x\) on \([-\,\pi/2,\,5\pi/2]\): \(f(-\pi/2)=-1\), \(f(5\pi/2)=1\) — opposite signs, but \(\sin x=0\) has roots at \(0,\pi,2\pi\) inside the interval, i.e. three solutions.

Answer: FALSE — there is at least one solution, but possibly more.

Problem 36

Step 1 — Identify discontinuities: \(f(x)=\dfrac{x^{2}-4x+3}{x^{2}-1}\) is a rational function, continuous except where the denominator is zero, i.e. \(x=\pm 1\).

Step 2 — Check the interval: \(x=1\) lies in \([0,3]\), and \(f(1)\) is undefined there.

Answer: FALSE. \(f\) is discontinuous at \(x=1\in[0,3]\).

Problem 37

Step 1 — Sign alone doesn't preclude roots: Same-sign endpoints don't prevent the function from dipping (or rising) through zero between them.

Step 2 — Counterexample: Let \(f(x)=x^{2}-1\) on \([-2,2]\). Then \(f(-2)=3>0\) and \(f(2)=3>0\), yet \(f\) has roots at \(x=\pm 1\) inside \([-2,2]\).

Answer: FALSE.

Problem 38

Part (a) — Physical reasoning: Coulomb force falls off as \(1/r^{2}\), so beyond a chosen cutoff \(R\) the force on any one particle from a distant particle is negligibly small. In a many-particle simulation, ignoring contributions past \(R\) saves an enormous amount of computation while changing each pairwise force by an amount swamped by other modeling errors.

Part (b) — Piecewise force equation:

$$F(r)=\begin{cases}\,k_{e}\dfrac{|q_{1}q_{2}|}{r^{2}} & 0Part (c) — Two protons, 1 m apart, with \(R<1\): Using Coulomb's law with \(q_{1}=q_{2}=1.6022\times 10^{-19}\) C and \(r=1\) m,

$$F=(8.988\times 10^{9})\,\dfrac{(1.6022\times 10^{-19})^{2}}{1^{2}}\;\text{N}.$$

Compute \((1.6022\times 10^{-19})^{2}\approx 2.567\times 10^{-38}\), so

$$F\approx (8.988\times 10^{9})(2.567\times 10^{-38})\approx 2.307\times 10^{-28}\;\text{N}.$$

Under the approximation, \(F=0\). The absolute inaccuracy is about \(2.3\times 10^{-28}\) N — utterly negligible compared with any macroscopically meaningful force. The approximation is reasonable.

Part (d) — Continuity at \(R\): For the piecewise \(F\) to be continuous at \(R\) we would need

$$\lim_{r\to R^{-}}k_{e}\dfrac{|q_{1}q_{2}|}{r^{2}}=k_{e}\dfrac{|q_{1}q_{2}|}{R^{2}}=0.$$

But \(k_{e}|q_{1}q_{2}|/R^{2}\) is strictly positive for any finite \(R\) (with nonzero charges), so equality with 0 is impossible.

Answer: No finite \(R\) makes the truncated-at-zero model continuous.

Problem 39

Step 1 — Continuity condition at \(r=R\): With

$$F(r)=\begin{cases}k_{e}\dfrac{|q_{1}q_{2}|}{r^{2}} & rcontinuity at \(R\) requires \(k_{e}|q_{1}q_{2}|/R^{2}=10^{-20}\).

Step 2 — Plug in proton charges: \(|q_{1}q_{2}|=(1.6022\times 10^{-19})^{2}\approx 2.567\times 10^{-38}\) C\(^{2}\). Then

$$k_{e}|q_{1}q_{2}|=(8.988\times 10^{9})(2.567\times 10^{-38})\approx 2.307\times 10^{-28}\;\text{N}\cdot\text{m}^{2}.$$

Step 3 — Solve for \(R\):

$$R^{2}=\dfrac{k_{e}|q_{1}q_{2}|}{10^{-20}}=\dfrac{2.307\times 10^{-28}}{10^{-20}}=2.307\times 10^{-8}\;\text{m}^{2},$$ $$R=\sqrt{2.307\times 10^{-8}}\approx 1.519\times 10^{-4}\;\text{m}.$$

Answer: Yes — choose \(R\approx 1.52\times 10^{-4}\) m \((\approx 0.152\) mm\()\).

Problem 40

Step 1 — Set up the equation: At Earth's surface (\(d=R_{\oplus}=6378\) km \(=6.378\times 10^{6}\) m), the gravitational force on the rocket equals its weight: \(-mk/R_{\oplus}^{2}=-mg\).

Step 2 — Solve for \(k\): The masses cancel:

$$k=g\,R_{\oplus}^{2}=(9.8)(6.378\times 10^{6})^{2}.$$

Compute \((6.378\times 10^{6})^{2}\approx 4.068\times 10^{13}\). Then

$$k\approx (9.8)(4.068\times 10^{13})\approx 3.986\times 10^{14}\;\text{m}^{3}/\text{s}^{2}.$$

Step 3 — Units check: \([g][R^{2}]=(\text{m}/\text{s}^{2})(\text{m}^{2})=\text{m}^{3}/\text{s}^{2}\). Consistent with the standard gravitational parameter \(GM_{\oplus}\).

Note on the graphing calculator: Entering \(9.8\times (6378000)^{2}\) on a TI-style calculator returns approximately \(3.986\times 10^{14}\), which a graph of \(k=g\,R^{2}\) at \(R=6378\) km would also show as a horizontal value of the same magnitude.

Answer: \(k\approx 3.986\times 10^{14}\;\text{m}^{3}/\text{s}^{2}\).

Problem 41

Step 1 — Continuity condition at \(d=D\): With \(m=3\times 10^{6}\) kg and \(k\approx 3.986\times 10^{14}\) m\(^{3}\)/s\(^{2}\), continuity requires

$$-\dfrac{mk}{D^{2}}=10{,}000.$$

Step 2 — Solve for \(D\): Take absolute values (the left side is negative, but matching magnitudes in the limit setup; setting the algebraic equality gives the same \(D\) up to sign of the constant — proceed with magnitudes):

$$D^{2}=\dfrac{mk}{10{,}000}=\dfrac{(3\times 10^{6})(3.986\times 10^{14})}{10^{4}}.$$

Numerator: \((3\times 10^{6})(3.986\times 10^{14})\approx 1.196\times 10^{21}\). Divide by \(10^{4}\):

$$D^{2}\approx 1.196\times 10^{17}\;\text{m}^{2},\qquad D\approx 3.458\times 10^{8}\;\text{m}.$$

Step 3 — Sanity check: \(3.458\times 10^{8}\) m is roughly the Earth–Moon distance scale (\(\sim 3.84\times 10^{8}\) m), which is physically plausible for "gravity becomes negligible at the \(10^{4}\) N level for a 3-million-kg rocket."

Note on the graphing calculator: Plotting \(y=-mk/d^{2}\) and \(y=10{,}000\) on the same axes and intersecting (or using the solver on \(mk/d^{2}=10{,}000\)) returns \(D\approx 3.46\times 10^{8}\) m.

Answer: \(D\approx 3.46\times 10^{8}\) m.

Problem 42

Step 1 — Continuity condition at \(D\): Equality of one-sided limits requires

$$-\dfrac{m_{1}k}{D^{2}}=-\dfrac{m_{2}k}{D^{2}}.$$

Step 2 — Simplify: Cancel \(-k/D^{2}\) (nonzero for any finite \(D>0\)). The equation reduces to \(m_{1}=m_{2}\).

Step 3 — Contradict the hypothesis: We are told \(m_{1}\ne m_{2}\), so the equality cannot hold for any finite \(D\).

Answer: No — for \(m_{1}\ne m_{2}\), the piecewise \(F\) has a jump at every finite \(D\) and so cannot be made continuous.

Problem 43

Step 1 — Goal: Show \(\lim_{x\to a}\sin x=\sin a\) for every real \(a\).

Step 2 — Substitute \(x=a+h\): As \(x\to a\), \(h=x-a\to 0\). The composition \(h(x)=x-a\) is continuous, and the limit becomes \(\lim_{h\to 0}\sin(a+h)\).

Step 3 — Angle-sum identity:

$$\sin(a+h)=\sin a\cos h+\cos a\sin h.$$

Step 4 — Use continuity of \(\sin\) and \(\cos\) at \(0\): From the section, \(\lim_{h\to 0}\cos h=1\) and \(\lim_{h\to 0}\sin h=0\). By the sum and product laws for limits,

$$\lim_{h\to 0}\sin(a+h)=\sin a\cdot 1+\cos a\cdot 0=\sin a.$$

Step 5 — Apply the Composite Function Theorem: Since \(h(x)=x-a\) is continuous at \(a\) with \(h(a)=0\), and \(\sin\) is continuous at \(0\) (the chain through which we evaluated), the composition gives \(\lim_{x\to a}\sin x=\sin a\).

Answer: \(\sin\theta\) is continuous at every real \(a\), hence continuous everywhere.

Problem 44

Step 1 — Case \(a>0\): For \(x\) near \(a\), \(x>0\) and so \(|x|=x\). Then \(\lim_{x\to a}|x|=\lim_{x\to a}x=a=|a|\).

Step 2 — Case \(a<0\): For \(x\) near \(a\), \(x<0\) and so \(|x|=-x\). Then \(\lim_{x\to a}|x|=\lim_{x\to a}(-x)=-a=|a|\).

Step 3 — Case \(a=0\): Use one-sided limits.

Right-hand: for \(x>0\), \(|x|=x\), so \(\lim_{x\to 0^{+}}|x|=\lim_{x\to 0^{+}}x=0\).

Left-hand: for \(x<0\), \(|x|=-x\), so \(\lim_{x\to 0^{-}}|x|=\lim_{x\to 0^{-}}(-x)=0\).

Both one-sided limits equal \(0=|0|\), so \(\lim_{x\to 0}|x|=0=|0|\).

Step 4 — Conclude: In every case, \(\lim_{x\to a}|x|=|a|\), so \(g(x)=|x|\) is continuous at every real \(a\).

Answer: \(g(x)=|x|\) is continuous on \((-\infty,\infty)\).

Problem 45

Step 1 — Density facts: Every nonempty open interval contains both rational and irrational numbers (the rationals and irrationals are each dense in \(\mathbb{R}\)).

Step 2 — Test continuity at an arbitrary \(a\): Fix any real \(a\). In every deleted neighborhood of \(a\) we can pick a sequence of rationals \(x_{n}\to a\), giving \(f(x_{n})=1\to 1\), and a sequence of irrationals \(y_{n}\to a\), giving \(f(y_{n})=0\to 0\).

Step 3 — Limit cannot exist: Two sequences approaching \(a\) produce different limits (\(1\) and \(0\)), so \(\lim_{x\to a}f(x)\) does not exist. Hence \(f\) is discontinuous at \(a\).

Step 4 — \(a\) was arbitrary: The argument did not depend on whether \(a\) was rational or irrational.

Answer: \(f\) is discontinuous at every real number — i.e. \(f\) is continuous nowhere.

Key Terms

continuous at a point — \(f(a)\) is defined, \(\lim_{x\to a}f(x)\) exists, and the two are equal.

discontinuous at a point — \(f\) fails at least one of the three conditions for continuity at \(a\).

removable discontinuity — a discontinuity at \(a\) where \(\lim_{x\to a}f(x)\) exists as a real number; can be repaired by redefining \(f(a)\).

jump discontinuity — a discontinuity where the one-sided limits both exist (as real numbers) but disagree.

infinite discontinuity — a discontinuity where at least one one-sided limit is \(\pm\infty\); corresponds to a vertical asymptote.

continuous from the right at \(a\) — \(\lim_{x\to a^+}f(x)=f(a)\).

continuous from the left at \(a\) — \(\lim_{x\to a^-}f(x)=f(a)\).

continuity over an interval — continuous at every interior point and (for closed/half-closed intervals) one-sided continuous at each included endpoint.

Composite Function Theorem — if \(f\) is continuous at \(L\) and \(\lim_{x\to a}g(x)=L\), then \(\lim_{x\to a}f(g(x))=f(L)\).

Intermediate Value Theorem (IVT) — if \(f\) is continuous on \([a,b]\) and \(z\) lies between \(f(a)\) and \(f(b)\), there exists \(c\in[a,b]\) with \(f(c)=z\).