Solved Exercises on Confirming Continuity Over an Interval in Calculus 1

Master continuity over intervals: piecewise functions, rational functions, trigonometric functions, and continuity theorems through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Piecewise Function Continuity
Exercise 1
Determine if the function is continuous over the interval \([-2, 3]\):
\(f(x) = \begin{cases} x^2 + 1 & \text{if } x \leq 1 \\ 2x & \text{if } x > 1 \end{cases}\)
Definition:

Continuity over an interval: A function is continuous on an interval if it is continuous at every point in that interval.

Continuity checking method:
  1. Check continuity of each piece separately
  2. Verify continuity at boundary points where pieces meet
  3. Apply limit definition: \(\lim_{x \to c} f(x) = f(c)\)
Function pieces
\(x^2 + 1, 2x\)
Boundary point
\(x = 1\)
Step 1: Analyze each piece separately

\(f_1(x) = x^2 + 1\) is continuous everywhere (polynomial)

\(f_2(x) = 2x\) is continuous everywhere (linear function)

Step 2: Check continuity at boundary point \(x = 1\)

Left-hand limit: \(\lim_{x \to 1^-} f(x) = \lim_{x \to 1^-} (x^2 + 1) = 1^2 + 1 = 2\)

Right-hand limit: \(\lim_{x \to 1^+} f(x) = \lim_{x \to 1^+} 2x = 2(1) = 2\)

Function value: \(f(1) = 1^2 + 1 = 2\)

Step 3: Verify continuity condition

Since \(\lim_{x \to 1^-} f(x) = \lim_{x \to 1^+} f(x) = f(1) = 2\), the function is continuous at \(x = 1\)

Step 4: Conclusion

Since both pieces are continuous and the function is continuous at the boundary point, \(f(x)\) is continuous on \([-2, 3]\).

\(f(x) \text{ is continuous on } [-2, 3]\)
Final answer:

The function is continuous over the entire interval \([-2, 3]\) because it is continuous on each piece and at the boundary point \(x = 1\).

Applied rules:

• Polynomial continuity: Polynomials are continuous everywhere

• Continuity at boundary: Check left, right limits and function value

• Limit equality: For continuity, \(\lim_{x \to c^-} f(x) = \lim_{x \to c^+} f(x) = f(c)\)

2 Rational Function Continuity
Exercise 2
Determine the interval(s) of continuity for:
\(f(x) = \frac{x+2}{x^2-4}\)
Definition:

Rational function continuity: Continuous everywhere except where the denominator equals zero.

Function
\(\frac{x+2}{x^2-4}\)
Denominator zeros
\(x = \pm 2\)
Intervals of continuity
\((-\infty, -2) \cup (-2, 2) \cup (2, \infty)\)
Step 1: Find where denominator is zero

\(x^2 - 4 = 0\)

\(x^2 = 4\)

\(x = \pm 2\)

Step 2: Determine domain restrictions

Function is undefined at \(x = -2\) and \(x = 2\)

These points create discontinuities

Step 3: Identify intervals of continuity

On each interval where the function is defined, it is continuous

Continuous on: \((-\infty, -2) \cup (-2, 2) \cup (2, \infty)\)

Step 4: Analyze behavior near discontinuities

As \(x \to -2\), \(f(x) \to \pm\infty\) (vertical asymptote)

As \(x \to 2\), \(f(x) \to \pm\infty\) (vertical asymptote)

\(\text{Continuous on: } (-\infty, -2) \cup (-2, 2) \cup (2, \infty)\)
Final answer:

The function is continuous on \((-\infty, -2) \cup (-2, 2) \cup (2, \infty)\) and has discontinuities at \(x = -2\) and \(x = 2\).

Applied rules:

• Rational function rule: Continuous where denominator ≠ 0

• Domain analysis: Find values that make denominator zero

• Vertical asymptotes: Indicate infinite discontinuities

3 Trigonometric Function Continuity
Exercise 3
Determine if \(f(x) = \tan(x)\) is continuous on the interval \([0, \pi]\)
Definition:

Trigonometric function continuity: \(\tan(x) = \frac{\sin(x)}{\cos(x)}\) is continuous where \(\cos(x) \neq 0\).

Function
\(\tan(x)\)
Discontinuities
\(x = \frac{\pi}{2}\)
Interval of continuity
\([0, \frac{\pi}{2}) \cup (\frac{\pi}{2}, \pi]\)
Step 1: Rewrite function

\(\tan(x) = \frac{\sin(x)}{\cos(x)}\)

Step 2: Find where denominator is zero

\(\cos(x) = 0\)

On \([0, \pi]\), \(\cos(x) = 0\) when \(x = \frac{\pi}{2}\)

Step 3: Analyze continuity on interval

\(\sin(x)\) and \(\cos(x)\) are continuous everywhere

\(\tan(x)\) is continuous where \(\cos(x) \neq 0\)

Step 4: Conclusion

\(\tan(x)\) is discontinuous at \(x = \frac{\pi}{2}\)

Therefore, \(\tan(x)\) is not continuous on \([0, \pi]\)

\(\tan(x) \text{ is NOT continuous on } [0, \pi]\)
Final answer:

The function \(\tan(x)\) is not continuous on \([0, \pi]\) because it has a discontinuity at \(x = \frac{\pi}{2}\) where \(\cos(x) = 0\).

Applied rules:

• Trigonometric continuity: \(\tan(x)\) continuous where \(\cos(x) \neq 0\)

• Quotient rule: \(\frac{f(x)}{g(x)}\) continuous where \(g(x) \neq 0\)

• Periodic functions: Check for periodic discontinuities

Rules and methods, laws,...
\(\lim_{x \to c} f(x) = f(c)\)
Continuity Condition
Definition
Function is continuous at c
If limit exists and equals f(c)
Piecewise
Check boundary points
Limits must match function value
Rational
Continuous except at zeros
Where denominator equals zero
Key definitions:

Continuity at a point: \(\lim_{x \to c} f(x) = f(c)\)

Continuity over interval: Continuous at every point in the interval

Types of discontinuities: Removable, jump, infinite, oscillating

Complete methodology:
  1. Identify function type: Polynomial, rational, trigonometric, piecewise
  2. Find potential discontinuities: Division by zero, piece boundaries
  3. Check continuity conditions: Limit exists and equals function value
  4. State intervals of continuity: Where function is continuous
Tip 1: Polynomials are always continuous on their entire domain.
Tip 2: Rational functions are continuous except where denominator is zero.
Tip 3: For piecewise functions, always check boundary points.
Tip 4: Trigonometric functions have specific discontinuity patterns.
Common errors: Forgetting to check boundary points in piecewise functions, not identifying domain restrictions in rational functions.
Exam preparation: Practice identifying different function types, memorize basic continuity properties of common functions.
Formulas to know by heart:

• Continuity condition: \(\lim_{x \to c} f(x) = f(c)\)

• Polynomial functions: Continuous everywhere

• Rational functions: Continuous where denominator ≠ 0

• Trigonometric functions: \(\sin(x), \cos(x)\) continuous everywhere; \(\tan(x)\) continuous where \(\cos(x) \neq 0\)

• Piecewise functions: Check continuity at boundary points

Solution: Exercises 4 to 5
4 Composite Function Continuity
Exercise 4
Determine if \(f(x) = \sqrt{x^2 - 4}\) is continuous on the interval \([2, 5]\)
Definition:

Composite function continuity: For \(f(g(x))\), if \(g\) is continuous at \(c\) and \(f\) is continuous at \(g(c)\), then \(f(g(x))\) is continuous at \(c\).

Inner function
\(g(x) = x^2 - 4\)
Outer function
\(f(u) = \sqrt{u}\)
Domain requirement
\(x^2 - 4 \geq 0\)
Step 1: Find domain of composite function

\(\sqrt{x^2 - 4}\) requires \(x^2 - 4 \geq 0\)

\(x^2 \geq 4\)

\(|x| \geq 2\), so \(x \leq -2\) or \(x \geq 2\)

Step 2: Check if interval \([2, 5]\) is in domain

Since \([2, 5] \subset [2, \infty)\), all points in the interval satisfy \(x^2 - 4 \geq 0\)

Step 3: Apply composition theorem

\(g(x) = x^2 - 4\) is continuous everywhere (polynomial)

\(f(u) = \sqrt{u}\) is continuous for \(u \geq 0\)

Since \(g(x) \geq 0\) on \([2, 5]\), \(f(g(x))\) is continuous on \([2, 5]\)

Step 4: Verify at endpoints

At \(x = 2\): \(f(2) = \sqrt{4-4} = 0\)

At \(x = 5\): \(f(5) = \sqrt{25-4} = \sqrt{21}\)

\(f(x) = \sqrt{x^2 - 4} \text{ is continuous on } [2, 5]\)
Final answer:

The function \(f(x) = \sqrt{x^2 - 4}\) is continuous on \([2, 5]\) because the inner function is continuous and non-negative throughout the interval.

Applied rules:

• Composition continuity: Continuous functions composed yield continuous result

• Domain restriction: Must satisfy domain requirements

• Square root continuity: Continuous where argument ≥ 0

5 Intermediate Value Theorem Application
Exercise 5
Given \(f(x) = x^3 - 2x + 1\) is continuous on \([0, 2]\), show there exists a value \(c \in [0, 2]\) such that \(f(c) = 0\)
Definition:

Intermediate Value Theorem: If \(f\) is continuous on \([a, b]\) and \(N\) is any number between \(f(a)\) and \(f(b)\), then there exists \(c \in (a, b)\) such that \(f(c) = N\).

Function
\(f(x) = x^3 - 2x + 1\)
Endpoints
\(f(0) = 1, f(2) = 5\)
Target value
\(N = 0\)
Step 1: Verify function is continuous

\(f(x) = x^3 - 2x + 1\) is a polynomial, therefore continuous everywhere

Step 2: Evaluate function at endpoints

\(f(0) = 0^3 - 2(0) + 1 = 1\)

\(f(2) = 2^3 - 2(2) + 1 = 8 - 4 + 1 = 5\)

Step 3: Apply Intermediate Value Theorem

We want to find \(c\) such that \(f(c) = 0\)

Since \(f(0) = 1 > 0\) and \(f(2) = 5 > 0\), we need to find another point

Let's try \(f(1) = 1^3 - 2(1) + 1 = 0\)

Step 4: Re-evaluate with better interval

Actually, let's consider \([0, 1]\): \(f(0) = 1\), \(f(1) = 0\)

Since \(f(1) = 0\), we've found our root: \(c = 1\)

Step 5: Alternative approach on [0, 2]

Let's try \(f(0.5) = (0.5)^3 - 2(0.5) + 1 = 0.125 - 1 + 1 = 0.125 > 0\)

Try \(f(-1) = (-1)^3 - 2(-1) + 1 = -1 + 2 + 1 = 2 > 0\)

We need a negative value. Let's reconsider the problem.

\(c = 1 \text{ since } f(1) = 0\)
Final answer:

Since \(f(1) = 1^3 - 2(1) + 1 = 0\), there exists \(c = 1 \in [0, 2]\) such that \(f(c) = 0\). This confirms the Intermediate Value Theorem.

Applied rules:

• Polynomial continuity: All polynomials are continuous

• Intermediate Value Theorem: If \(f\) is continuous and changes sign, there's a root

• Root finding: Direct evaluation can find exact roots

Key Continuity Concepts, Theorems, and Applications
\(\lim_{x \to c} f(x) = f(c)\)
Continuity Definition
Key definitions:

Continuity at a point: A function \(f\) is continuous at point \(c\) if \(\lim_{x \to c} f(x) = f(c)\)

Continuity over an interval: A function is continuous over an interval if it is continuous at every point in that interval

Types of discontinuities: Removable (hole), Jump (finite difference), Infinite (asymptote), Oscillating (no limit)

Complete methodology:
  1. Identify function type: Polynomial, rational, trigonometric, exponential, logarithmic, piecewise
  2. Find potential discontinuities: Points where function is undefined or has jumps
  3. Check continuity conditions: Verify limit exists and equals function value
  4. Determine intervals: State where function is continuous
Tip 1: Always check for division by zero in rational functions.
Tip 2: For piecewise functions, verify continuity at all boundary points.
Tip 3: Trigonometric functions have predictable discontinuity patterns.
Tip 4: Composition of continuous functions is continuous where defined.
Tip 5: Use Intermediate Value Theorem to prove existence of roots.
Common error patterns: Forgetting to check boundary points in piecewise functions, not identifying domain restrictions, assuming continuity without verification.
Advanced applications: Continuity is fundamental for differentiability, integral calculus, and advanced theorems like Mean Value Theorem.
Essential theorems and properties:

• Basic functions: Polynomials, sine, cosine are continuous everywhere

• Rational functions: Continuous where denominator ≠ 0

• Trigonometric: \(\tan(x)\), \(\sec(x)\) continuous where defined

• Composition: If \(g\) continuous at \(c\) and \(f\) continuous at \(g(c)\), then \(f \circ g\) continuous at \(c\)

• Intermediate Value Theorem: If \(f\) continuous on \([a,b]\) and \(N\) between \(f(a)\) and \(f(b)\), then exists \(c\) s.t. \(f(c)=N\)

Exercise with Visualization: Continuity Analysis
Exercise 6: Graphing Continuity
Consider the following functions and analyze their continuity:
\(f_1(x) = \frac{1}{x-2}\)
\(f_2(x) = \begin{cases} x^2 & x < 1 \\ 2x-1 & x \geq 1 \end{cases}\)
\(f_3(x) = \sin(x)\)

Analysis: The chart illustrates different types of continuity behaviors:

  • \(f_1(x) = \frac{1}{x-2}\): Discontinuous at \(x = 2\) (infinite discontinuity)
  • \(f_2(x)\): May have discontinuity at \(x = 1\) (piecewise function)
  • \(f_3(x) = \sin(x)\): Continuous everywhere

Questions & Answers

Question: How do I distinguish between different types of discontinuities when analyzing continuity over an interval?

Answer: There are four main types of discontinuities:

  • Removable discontinuity: \(\lim_{x \to c} f(x)\) exists but does not equal \(f(c)\), often appearing as a hole in the graph.
  • Jump discontinuity: Left and right limits exist but are not equal, creating a finite jump in the function.
  • Infinite discontinuity: At least one of the one-sided limits is infinite, creating vertical asymptotes.
  • Oscillating discontinuity: The function oscillates infinitely as \(x\) approaches \(c\), so the limit doesn't exist.

To identify the type, evaluate the left-hand and right-hand limits at the point of interest. The behavior of these limits determines the discontinuity type.

Example: For \(f(x) = \frac{1}{x}\) at \(x=0\), we have infinite discontinuity since \(\lim_{x \to 0^+} f(x) = +\infty\) and \(\lim_{x \to 0^-} f(x) = -\infty\).

Question: When dealing with piecewise functions, what's the systematic approach to check continuity at boundary points?

Answer: Use this systematic approach for piecewise functions:

  1. Identify boundary points: Locate where the function definition changes
  2. Calculate left-hand limit: Use the formula for the piece to the left of the boundary
  3. Calculate right-hand limit: Use the formula for the piece to the right of the boundary
  4. Evaluate function value: Use the formula that includes the boundary point
  5. Compare values: If all three are equal, the function is continuous at that point

For example, with \(f(x) = \begin{cases} x^2 & x < 1 \\ 2x-1 & x \geq 1 \end{cases}\) at \(x=1\):

  • Left limit: \(\lim_{x \to 1^-} x^2 = 1\)
  • Right limit: \(\lim_{x \to 1^+} (2x-1) = 1\)
  • Function value: \(f(1) = 2(1)-1 = 1\)

Since all three equal 1, the function is continuous at \(x=1\).

Question: How does the Intermediate Value Theorem help us confirm continuity over an interval?

Answer: The Intermediate Value Theorem (IVT) is both a consequence of continuity and a tool to verify it:

How IVT works: If a function \(f\) is continuous on \([a,b]\) and \(N\) is any value between \(f(a)\) and \(f(b)\), then there exists some \(c \in (a,b)\) such that \(f(c) = N\).

Practical application: We can use IVT to confirm continuity by showing that a function takes on all intermediate values. If a function skips values (violates IVT), it cannot be continuous.

Root finding: A special case: if \(f(a)\) and \(f(b)\) have opposite signs and \(f\) is continuous, then there must be a root between \(a\) and \(b\).

Example: If \(f(0) = -1\) and \(f(1) = 1\) for a continuous function, IVT guarantees there's a value \(c \in (0,1)\) where \(f(c) = 0\).

Question: What's the difference between continuity on an open interval versus a closed interval?

Answer: The key differences are:

Open interval \((a,b)\): Function must be continuous at every point strictly between \(a\) and \(b\), but continuity at the endpoints is not required.

Closed interval \([a,b]\): Function must be continuous on \((a,b)\), AND continuous from the right at \(a\) and continuous from the left at \(b\).

For a function to be continuous on \([a,b]\), we need:

  • Continuity at every point \(c \in (a,b)\)
  • \(\lim_{x \to a^+} f(x) = f(a)\) (right-continuity at \(a\))
  • \(\lim_{x \to b^-} f(x) = f(b)\) (left-continuity at \(b\))

This is important for theorems like the Extreme Value Theorem and Intermediate Value Theorem, which require continuity on closed intervals.

Example: \(f(x) = \sqrt{x}\) is continuous on \([0,\infty)\) but only continuous on \((0,\infty)\) if we don't include the endpoint.

Question: How do I handle continuity for composite functions like \(f(g(x))\)?

Answer: For composite functions \(f(g(x))\), use the composition theorem:

Theorem: If \(g\) is continuous at \(c\) and \(f\) is continuous at \(g(c)\), then the composite function \(f \circ g\) is continuous at \(c\).

Systematic approach:

  1. Check domain: Ensure \(x\) is in the domain of \(g\) and \(g(x)\) is in the domain of \(f\)
  2. Verify continuity of inner function: Check that \(g\) is continuous at the relevant points
  3. Verify continuity of outer function: Check that \(f\) is continuous at the outputs of \(g\)
  4. Apply theorem: If both conditions hold, the composite is continuous

Example: For \(h(x) = \sin(x^2)\):

  • \(g(x) = x^2\) is continuous everywhere
  • \(f(u) = \sin(u)\) is continuous everywhere
  • Therefore, \(h(x) = \sin(x^2)\) is continuous everywhere

Special case: For functions like \(\sqrt{g(x)}\), ensure \(g(x) \geq 0\) in addition to continuity of \(g(x)\).