Menu Top
Complete Course of Mathematics
Topic 1: Numbers & Numerical Applications Topic 2: Algebra Topic 3: Quantitative Aptitude
Topic 4: Geometry Topic 5: Construction Topic 6: Coordinate Geometry
Topic 7: Mensuration Topic 8: Trigonometry Topic 9: Sets, Relations & Functions
Topic 10: Calculus Topic 11: Mathematical Reasoning Topic 12: Vectors & Three-Dimensional Geometry
Topic 13: Linear Programming Topic 14: Index Numbers & Time-Based Data Topic 15: Financial Mathematics
Topic 16: Statistics & Probability


Content On This Page
Continuity at a Point: Formal Definition Continuity in an Interval (Open and Closed) Types of Discontinuity
Properties of Continuous Functions (Algebra of Continuous Functions) Continuity of Composite Functions Concepts of Limits and Continuity of a Function (Consolidated Applied)


Continuity of a Function



Continuity at a Point: Formal Definition

The concept of continuity is fundamental in calculus and describes functions whose graphs can be drawn without lifting the pen. A function that is continuous at a particular point has a predictable behavior near that point, where the function's value precisely matches the limit it approaches.

Intuitive Understanding of Continuity

Intuitively, a function $f(x)$ is continuous at a point $x = a$ if there are no abrupt changes or breaks in its graph at that point. If you imagine tracing the graph of the function with a pen, you should be able to pass through the point $(a, f(a))$ without lifting the pen from the paper. This implies the graph is smooth and unbroken at $x=a$.

Conversely, a function is discontinuous at a point if its graph has a gap, a jump, a hole, or behaves erratically near that point. These are points where the function's behavior is unpredictable or its value doesn't "fit" with the values around it.

Graphs showing continuous and discontinuous functions

The formal definition precisely captures this intuitive idea using the concept of limits.


Formal Definition of Continuity at a Point

A function $f(x)$ is defined to be continuous at a point $x = a$ if and only if all three of the following conditions are satisfied:

  1. The function is defined at $a$ ($f(a)$ exists): The point $a$ must be in the domain of the function $f(x)$. This means that when you plug $x=a$ into the function rule, you get a specific, finite real number as the output, $f(a)$. The point $(a, f(a))$ must be a point on the graph.

  2. The limit of the function as $x$ approaches $a$ exists ($\lim\limits_{x \to a} f(x)$ exists): The limit of $f(x)$ as $x$ approaches $a$ must exist as a finite real number. Recall from the concept of limits that for the bilateral limit $\lim\limits_{x \to a} f(x)$ to exist, both the left hand limit (LHL) and the right hand limit (RHL) must exist, be finite, and be equal to the same value $L$. That is:

    $\lim\limits_{x \to a^-} f(x) = \lim\limits_{x \to a^+} f(x) = L$, where $L$ is a finite real number.

  3. The value of the limit is equal to the value of the function at $a$ ($\lim\limits_{x \to a} f(x) = f(a)$): This is the crucial condition that ties the function's behavior near $a$ (the limit) to its actual value at $a$. It means that the value the function is approaching as $x$ gets close to $a$ is exactly the value it hits when $x$ is equal to $a$. If the limit exists ($=L$) and the function value is defined ($=f(a)$), this condition requires $L = f(a)$.

If even one of these three conditions is not met, the function $f(x)$ is said to be discontinuous at the point $x = a$. Understanding which condition fails helps in classifying the type of discontinuity.


Example 1. Determine if the function $f(x)$ is continuous at $x=1$, where $f(x) = \begin{cases} x+2 & , & x \neq 1 \\ 5 & , & x = 1 \end{cases}$.

Answer:

We need to check the three conditions for continuity at the point $a=1$.

Condition 1: Is $f(1)$ defined?

The function is defined piecewise. The second part of the definition explicitly gives the value of $f(x)$ when $x=1$.

$f(1) = 5$

[From the function definition]

$f(1)$ is defined and its value is 5. Condition 1 is satisfied.

Condition 2: Does $\lim\limits_{x \to 1} f(x)$ exist?

To find the limit as $x$ approaches 1, we consider values of $x$ that are very close to 1 but are not equal to 1 ($x \neq 1$). For $x \neq 1$, the function is defined as $f(x) = x+2$.

We evaluate the limit using this expression:

$\lim\limits_{x \to 1} f(x) = \lim\limits_{x \to 1} (x+2)$

Since $x+2$ is a polynomial, which is continuous everywhere, we can use direct substitution to evaluate the limit:

$\lim\limits_{x \to 1} (x+2) = 1 + 2 = 3$

[By direct substitution]

The limit $\lim\limits_{x \to 1} f(x)$ exists and its value is 3. Condition 2 is satisfied.

Condition 3: Is $\lim\limits_{x \to 1} f(x) = f(1)$?

We compare the value of the limit found in Condition 2 with the function value found in Condition 1.

From Condition 2, $\lim\limits_{x \to 1} f(x) = 3$.

From Condition 1, $f(1) = 5$.

We check if these two values are equal:

$3 = 5$?

No, $3 \neq 5$. Therefore, $\lim\limits_{x \to 1} f(x) \neq f(1)$. Condition 3 is not satisfied.

Conclusion:

Since Condition 3 (the limit equals the function value) is not met, the function $f(x)$ is discontinuous at $x=1$.

This is an example of a removable discontinuity because the limit exists, and we could make the function continuous at $x=1$ by redefining $f(1)$ to be equal to the limit value (i.e., define $f(1)=3$).



Continuity in an Interval (Open and Closed)

The concept of continuity at a single point can be extended to define what it means for a function to be continuous over an entire interval of real numbers. This involves ensuring the function is continuous at every point within that interval, with special considerations for the endpoints in the case of a closed interval.

Continuity on an Open Interval

A function $f(x)$ is said to be continuous on an open interval $(a, b)$ if it is continuous at every single point $c$ within that interval. That is, for every $c$ such that $a < c < b$, the three conditions for continuity at the point $c$ must be satisfied:

  1. $f(c)$ is defined.
  2. $\lim\limits_{x \to c} f(x)$ exists.
  3. $\lim\limits_{x \to c} f(x) = f(c)$.

If a function is continuous on $(a, b)$, its graph will be an unbroken curve between the vertical lines $x=a$ and $x=b$, although its behavior at $a$ and $b$ themselves is not included in this definition.


Continuity on a Closed Interval

Defining continuity on a closed interval $[a, b]$ requires considering the endpoints separately, as the full bilateral limit $\lim\limits_{x \to a} f(x)$ or $\lim\limits_{x \to b} f(x)$ might not make sense (e.g., if the function's domain is restricted to the interval). Instead, we use one-sided limits at the endpoints.

A function $f(x)$ is said to be continuous on a closed interval $[a, b]$ if the following three conditions are met:

  1. $f$ is continuous on the open interval $(a, b)$: The function must be continuous at every point $c$ such that $a < c < b$. This means the graph is unbroken *within* the interval.

  2. $f$ is continuous from the right at $a$: At the left endpoint $a$, the function's value must equal the limit as $x$ approaches $a$ from within the interval (i.e., from the right side). This means:

    $\lim\limits_{x \to a^+} f(x) = f(a)$

    Note that $f(a)$ must also be defined for this condition to be met.

  3. $f$ is continuous from the left at $b$: At the right endpoint $b$, the function's value must equal the limit as $x$ approaches $b$ from within the interval (i.e., from the left side). This means:

    $\lim\limits_{x \to b^-} f(x) = f(b)$

    Note that $f(b)$ must also be defined for this condition to be met.

For continuity on a closed interval $[a, b]$, the graph must be an unbroken curve from the point $(a, f(a))$ to $(b, f(b))$. The conditions ensure that the function approaches the correct values at the endpoints from within the interval.

Continuity on a closed interval [a, b]

Examples of Functions Continuous on Their Domains

Many elementary functions encountered in calculus are continuous on their natural domains. Recognizing these allows us to quickly identify intervals of continuity.

Also, sums, differences, products, and compositions of continuous functions are continuous on their respective domains. Quotients of continuous functions are continuous wherever the denominator is non-zero.



Types of Discontinuity

When a function $f(x)$ fails to be continuous at a point $x=a$ (meaning at least one of the three conditions for continuity at that point is not met), the function is said to have a discontinuity at $x=a$. Discontinuities are broadly classified into types based on the behavior of the function and its limit near the point of discontinuity.

Classification of Discontinuities

Discontinuities can be primarily categorized into two main types: Removable and Non-Removable.

Type Description Primary Condition Failed Limit Behavior at $x=a$ Graphical Feature at $x=a$
Removable Discontinuity A discontinuity that could be "removed" or fixed by redefining the function's value at the single point $x=a$ to be equal to the limit value. The function's graph has a "hole". Condition 1 ($f(a)$ undefined) OR Condition 3 ($\lim\limits_{x \to a} f(x) \neq f(a)$). Condition 2 ($\lim\limits_{x \to a} f(x)$ exists) is always satisfied for this type. $\lim\limits_{x \to a} f(x)$ exists and is a finite number ($L$), i.e., LHL = RHL = $L$. A "hole" or a single isolated point in the graph.
Non-Removable Discontinuity A discontinuity that cannot be fixed by simply redefining the function value at $x=a$. The reason for discontinuity is more fundamental, related to the function's behavior near $a$. Condition 2 ($\lim\limits_{x \to a} f(x)$ does not exist). $\lim\limits_{x \to a} f(x)$ does not exist as a finite number. This happens if LHL $\neq$ RHL, or if one/both limits are infinite, or if the function oscillates too much. A "jump" in the graph, a vertical asymptote, or wild oscillation near the point.
Jump Discontinuity
(Subtype of Non-Removable)
The function "jumps" from one finite value to another at $x=a$. The values the function approaches from the left and right are different. $\lim\limits_{x \to a} f(x)$ DNE because LHL $\neq$ RHL. (Conditions 1 might be met or not, but Condition 2 fails). LHL ($\lim\limits_{x \to a^-} f(x)$) exists and is finite, RHL ($\lim\limits_{x \to a^+} f(x)$) exists and is finite, but $\lim\limits_{x \to a^-} f(x) \neq \lim\limits_{x \to a^+} f(x)$. A vertical gap or "jump" in the graph. Often occurs in piecewise functions.
Infinite Discontinuity
(Subtype of Non-Removable)
The function's value tends towards positive or negative infinity as $x$ approaches $a$. The point $x=a$ is a vertical asymptote. $\lim\limits_{x \to a} f(x)$ DNE because one or both one-sided limits are infinite. (Conditions 1 might be met or not, but Condition 2 fails). $\lim\limits_{x \to a^-} f(x) = \pm \infty$ or $\lim\limits_{x \to a^+} f(x) = \pm \infty$ (or both). A vertical asymptote at $x=a$.
Oscillating Discontinuity
(Subtype of Non-Removable)
The function values oscillate increasingly rapidly as $x$ approaches $a$ and do not approach any single fixed value (neither finite nor infinite). $\lim\limits_{x \to a} f(x)$ DNE because of unbounded oscillation. (Conditions 1 might be met or not, but Condition 2 fails). $\lim\limits_{x \to a} f(x)$ does not exist due to oscillation (not tending to a finite value or infinity). The graph fluctuates wildly near $x=a$, never settling down to a single value. Example: $\sin(1/x)$ at $x=0$.

Example 1. Identify the type of discontinuity at $x=1$ for the function $f(x) = \frac{x^2 - 1}{x - 1}$.

Answer:

We check the conditions for continuity at $x=1$ to see which one fails.

Condition 1: Is $f(1)$ defined?

Substitute $x=1$ into the function $f(x) = \frac{x^2 - 1}{x - 1}$.

$f(1) = \frac{1^2 - 1}{1 - 1} = \frac{1 - 1}{1 - 1} = \frac{0}{0}$.

The expression $\frac{0}{0}$ is an indeterminate form and is undefined. Thus, $f(1)$ is undefined. Condition 1 for continuity is not met.

This means the function is discontinuous at $x=1$. Now we check the limit to classify the type of discontinuity.

Condition 2: Does $\lim\limits_{x \to 1} f(x)$ exist?

We evaluate the limit $\lim\limits_{x \to 1} \frac{x^2 - 1}{x - 1}$. As seen in the check for Condition 1, this is a $\frac{0}{0}$ indeterminate form, so we use algebraic manipulation (factorization).

For $x \neq 1$, we can factor the numerator as a difference of squares:

$x^2 - 1 = (x - 1)(x + 1)$.

So, for $x \neq 1$, the function can be simplified:

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

[For $x \neq 1$]

Now, evaluate the limit of the simplified expression:

$\lim\limits_{x \to 1} \frac{x^2 - 1}{x - 1} = \lim\limits_{x \to 1} (x + 1)$

Using direct substitution on the simplified expression:

$\lim\limits_{x \to 1} (x + 1) = 1 + 1 = 2$

[By direct substitution]

The limit $\lim\limits_{x \to 1} f(x)$ exists and is equal to the finite value 2. Condition 2 is satisfied.

Conclusion on Type of Discontinuity:

We found that Condition 1 fails ($f(1)$ is undefined), which means the function is discontinuous at $x=1$. However, Condition 2 is satisfied (the limit $\lim\limits_{x \to 1} f(x)$ exists and is finite, equal to 2).

A discontinuity where the limit exists and is finite is classified as a removable discontinuity.

The graph of $f(x) = \frac{x^2-1}{x-1}$ is identical to the line $y = x+1$ everywhere except at $x=1$, where there is a "hole" at the point $(1, 2)$. The limit approaching $x=1$ is 2, but the function value at $x=1$ is missing (undefined).


Example 2. Identify the type of discontinuity at $x=0$ for the function $f(x) = \frac{1}{x^2}$.

Answer:

We check the conditions for continuity at $x=0$.

Condition 1: Is $f(0)$ defined?

Substitute $x=0$ into the function $f(x) = \frac{1}{x^2}$.

$f(0) = \frac{1}{0^2} = \frac{1}{0}$.

Division by zero is undefined. Thus, $f(0)$ is undefined. Condition 1 for continuity is not met.

This means the function is discontinuous at $x=0$. Now we check the limit to classify the type of discontinuity.

Condition 2: Does $\lim\limits_{x \to 0} f(x)$ exist?

We evaluate the limit $\lim\limits_{x \to 0} \frac{1}{x^2}$.

As $x$ approaches 0 from either the left ($x \to 0^-$) or the right ($x \to 0^+$), the value of $x^2$ approaches 0 through positive values (since squaring any non-zero number, positive or negative, results in a positive number).

So, as $x \to 0$, $x^2 \to 0^+$.

When the denominator of a fraction approaches 0 through positive values, and the numerator is a positive constant (like 1), the fraction approaches positive infinity.

$\lim\limits_{x \to 0} \frac{1}{x^2} = +\infty$

[Since $x^2 \to 0^+$ as $x \to 0$]

Since the limit as $x \to 0$ is $+\infty$, the limit does not exist as a finite real number. Condition 2 for continuity is not met.

Conclusion on Type of Discontinuity:

We found that Condition 1 fails ($f(0)$ is undefined) and Condition 2 fails (the limit $\lim\limits_{x \to 0} f(x)$ is infinite, meaning it does not exist as a finite number).

A discontinuity where the limit is infinite is classified as an infinite discontinuity. Infinite discontinuities are a type of non-removable discontinuity.

The line $x=0$ (the y-axis) is a vertical asymptote for the graph of $f(x) = \frac{1}{x^2}$.



Properties of Continuous Functions (Algebra of Continuous Functions)

Just as limits have algebraic properties, functions that are continuous at a point also exhibit predictable behavior under standard arithmetic operations. These properties are directly derived from the corresponding limit properties and allow us to determine the continuity of functions that are built up from simpler continuous functions.

Theorems on Algebra of Continuous Functions

Let $f$ and $g$ be two real-valued functions that are both continuous at a point $x = a$. Based on the definition of continuity and the algebra of limits, the following combined functions are also continuous at $x = a$:

  1. Sum Rule: The function $(f + g)(x) = f(x) + g(x)$ is continuous at $x = a$.

    Proof Idea: To show continuity of $(f+g)$ at $a$, we need to verify the three conditions. Since $f$ and $g$ are continuous at $a$, $f(a)$ and $g(a)$ are defined, so $(f+g)(a) = f(a) + g(a)$ is defined. Also, by the Sum Rule for limits, $\lim\limits_{x \to a} (f(x) + g(x)) = \lim\limits_{x \to a} f(x) + \lim\limits_{x \to a} g(x)$. Since $f$ and $g$ are continuous at $a$, we have $\lim\limits_{x \to a} f(x) = f(a)$ and $\lim\limits_{x \to a} g(x) = g(a)$. Therefore, $\lim\limits_{x \to a} (f(x) + g(x)) = f(a) + g(a) = (f+g)(a)$. The limit exists and equals the function value at $a$, so $(f+g)$ is continuous at $a$.

  2. Difference Rule: The function $(f - g)(x) = f(x) - g(x)$ is continuous at $x = a$.

    Proof Idea: Similar to the sum rule, using the Difference Rule for limits: $\lim\limits_{x \to a} (f(x) - g(x)) = \lim\limits_{x \to a} f(x) - \lim\limits_{x \to a} g(x) = f(a) - g(a) = (f-g)(a)$.

  3. Constant Multiple Rule: The function $(k \cdot f)(x) = k \cdot f(x)$ is continuous at $x = a$ for any real constant $k$.

    Proof Idea: Using the Constant Multiple Rule for limits: $\lim\limits_{x \to a} (k \cdot f(x)) = k \cdot \lim\limits_{x \to a} f(x) = k \cdot f(a) = (k \cdot f)(a)$.

  4. Product Rule: The function $(f \cdot g)(x) = f(x) \cdot g(x)$ is continuous at $x = a$.

    Proof Idea: Using the Product Rule for limits: $\lim\limits_{x \to a} (f(x) \cdot g(x)) = \left(\lim\limits_{x \to a} f(x)\right) \cdot \left(\lim\limits_{x \to a} g(x)\right) = f(a) \cdot g(a) = (f \cdot g)(a)$.

  5. Quotient Rule: The function $(\frac{f}{g})(x) = \frac{f(x)}{g(x)}$ is continuous at $x = a$, provided $g(a) \neq 0$.

    Proof Idea: Using the Quotient Rule for limits: $\lim\limits_{x \to a} \left(\frac{f(x)}{g(x)}\right) = \frac{\lim\limits_{x \to a} f(x)}{\lim\limits_{x \to a} g(x)}$. Since $f$ and $g$ are continuous at $a$ and $g(a) \neq 0$, the limit of the denominator is $\lim\limits_{x \to a} g(x) = g(a) \neq 0$. So, the Quotient Rule applies: $\frac{\lim\limits_{x \to a} f(x)}{\lim\limits_{x \to a} g(x)} = \frac{f(a)}{g(a)} = \left(\frac{f}{g}\right)(a)$. The limit exists and equals the function value, so $(f/g)$ is continuous at $a$ (provided $g(a) \neq 0$). If $g(a) = 0$, the quotient function is undefined at $a$, failing the first condition of continuity.

These theorems can be extended by induction to the sum, difference, and product of any finite number of functions continuous at a point.


Implications for Common Functions

These properties are incredibly powerful because they allow us to conclude the continuity of many common functions simply by recognizing them as combinations of basic continuous functions:



Continuity of Composite Functions

Another fundamental way to combine functions is through composition. The continuity property also holds for the composition of continuous functions, which is a crucial theorem for analyzing the continuity of complex function expressions.

Theorem on Continuity of Composite Functions

Let $f$ and $g$ be two functions such that the composite function $(f \circ g)(x) = f(g(x))$ is defined in an interval containing $a$.

If the function $g(x)$ is continuous at the point $x = a$,

AND the function $f(u)$ is continuous at the point $u = g(a)$ (where $u$ is the output of $g$),

Then, the composite function $(f \circ g)(x) = f(g(x))$ is continuous at the point $x = a$.

Intuitive Understanding

The theorem states that if $g$ is continuous at $a$ and $f$ is continuous at $g(a)$, then the overall process of applying $g$ and then $f$ results in a continuous function at $a$.

Think of it this way: If $x$ is taken very close to $a$, because $g$ is continuous at $a$, the output $g(x)$ will be very close to $g(a)$. Now, since the input to $f$ ($u = g(x)$) is very close to $g(a)$, and $f$ is continuous at $g(a)$, the output $f(g(x))$ will be very close to $f(g(a))$. This precisely matches the condition for $(f \circ g)(x)$ to be continuous at $a$, which is $\lim\limits_{x \to a} f(g(x)) = f(g(a))$.

Using limit notation, the continuity of $g$ at $a$ means $\lim\limits_{x \to a} g(x) = g(a)$. The continuity of $f$ at $g(a)$ means $\lim\limits_{u \to g(a)} f(u) = f(g(a))$. The theorem implies that:

$\lim\limits_{x \to a} f(g(x)) = f\left(\lim\limits_{x \to a} g(x)\right) = f(g(a))$

[Using continuity of $g$ and then $f$]

This property allows us to "pass the limit inside" a continuous function.


Significance and Applications

This theorem is exceptionally useful in calculus because it vastly simplifies the process of determining the continuity of many functions. Many complex functions can be viewed as compositions of simpler, known continuous functions.


Example 1. Determine the interval(s) where the function $h(x) = \ln(x^2 - 4)$ is continuous.

Answer:

We can analyze the continuity of $h(x) = \ln(x^2 - 4)$ using the theorem on the continuity of composite functions. Let $h(x) = f(g(x))$, where:

$g(x) = x^2 - 4$ (This is the inner function)

$f(u) = \ln u$ (This is the outer function, where $u = g(x)$)

Continuity of the inner function $g(x)$:

$g(x) = x^2 - 4$ is a polynomial function. Polynomial functions are continuous for all real numbers $x$. So, $g(x)$ is continuous on $(-\infty, \infty)$.

Continuity of the outer function $f(u)$:

$f(u) = \ln u$ is a logarithmic function. Logarithmic functions are continuous on their domain, which is the set of all positive real numbers, i.e., $u > 0$. So, $f(u)$ is continuous on $(0, \infty)$.

Continuity of the composite function $h(x) = f(g(x))$:

According to the theorem, $h(x) = f(g(x))$ is continuous at a point $x=a$ if $g(x)$ is continuous at $x=a$ and $f(u)$ is continuous at $u=g(a)$.

Since $g(x)$ is continuous everywhere, the first part is always satisfied for any real $a$.

For the second part, $f(u) = \ln u$ is continuous at $u=g(a)$ only if $u = g(a) > 0$. Substituting the expression for $g(a)$, we need $a^2 - 4 > 0$.

So, $h(x)$ is continuous at any point $x$ where $g(x) > 0$.

We need to find the values of $x$ for which $x^2 - 4 > 0$.

$x^2 > 4$

Taking the square root of both sides (and remembering both positive and negative roots), we get $|x| > 2$.

This inequality $|x| > 2$ is satisfied when $x > 2$ or $x < -2$.

These are the intervals $(-\infty, -2)$ and $(2, \infty)$.

Conclusion:

The function $h(x) = \ln(x^2 - 4)$ is continuous on the intervals where $x^2 - 4 > 0$.

Therefore, $h(x)$ is continuous on the intervals $(-\infty, -2)$ and $(2, \infty)$.



Concepts of Limits and Continuity of a Function (Consolidated Applied)

As established earlier, continuity at a point is a specific condition defined using the concept of limits. A function $f(x)$ is continuous at $x=a$ if and only if the limit of $f(x)$ as $x$ approaches $a$ exists, the function is defined at $a$, and the limit value is equal to the function value at $a$. Applying these concepts together is key to solving problems involving piecewise functions or determining values that make a function continuous.

Specifically, for continuity at $x=a$, we require:

$\lim\limits_{x \to a^-} f(x) = \lim\limits_{x \to a^+} f(x) = f(a)$

[Condition for continuity at $x=a$]

When dealing with piecewise functions, the points where the definition changes are potential points of discontinuity. To check for continuity at such a point, we evaluate the left hand limit (using the function definition for $x < a$), the right hand limit (using the function definition for $x > a$), and the function value at $a$ (using the definition for $x=a$), and then verify if they are all equal.


Example 1. Find the value(s) of the constant $k$ such that the function $f(x) = \begin{cases} \frac{kx}{|x|} & , & x < 0 \\ 3 & , & x \ge 0 \end{cases}$ is continuous at $x=0$.

Answer:

For the function $f(x)$ to be continuous at $x=0$, the three conditions for continuity at $x=0$ must be satisfied. This is equivalent to the condition:

$\lim\limits_{x \to 0^-} f(x) = \lim\limits_{x \to 0^+} f(x) = f(0)$

... (i)

Step 1: Find $f(0)$.

According to the definition of the function, for $x \ge 0$, $f(x) = 3$. So, when $x=0$ (which is included in $x \ge 0$), the function value is:

$f(0) = 3$

[From function definition for $x \ge 0$]

Step 2: Find the Left Hand Limit (LHL).

We need to evaluate $\lim\limits_{x \to 0^-} f(x)$. As $x$ approaches 0 from the left side, we consider values of $x$ that are strictly less than 0 ($x < 0$). For $x < 0$, the definition of $f(x)$ is $\frac{kx}{|x|}$.

When $x < 0$, the absolute value $|x|$ is equal to $-x$.

So, for $x < 0$, $f(x) = \frac{kx}{-x}$.

We can simplify this expression for $x < 0$ (since $x \neq 0$, $-x \neq 0$):

$f(x) = \frac{k\cancel{x}}{-\cancel{x}} = -k \quad \text{for } x < 0$

[Simplifying for $x \neq 0$]

Now, evaluate the limit:

LHL = $\lim\limits_{x \to 0^-} f(x) = \lim\limits_{x \to 0^-} (-k)$

[Using definition for $x < 0$]

The limit of a constant $(-k)$ is the constant itself:

LHL = $-k$

... (ii)

Step 3: Find the Right Hand Limit (RHL).

We need to evaluate $\lim\limits_{x \to 0^+} f(x)$. As $x$ approaches 0 from the right side, we consider values of $x$ that are greater than or equal to 0 ($x \ge 0$). For $x \ge 0$, the definition of $f(x)$ is $3$.

So, evaluate the limit using this expression:

RHL = $\lim\limits_{x \to 0^+} f(x) = \lim\limits_{x \to 0^+} (3)$

[Using definition for $x \ge 0$]

The limit of a constant (3) is the constant itself:

RHL = 3

... (iii)

Step 4: Apply the continuity condition.

For continuity at $x=0$, we must satisfy condition (i): LHL = RHL = $f(0)$.

Substitute the values from Steps 1, 2, and 3 into the condition:

$-k = 3 = 3$

From this equality, we get the equation:

$-k = 3$

Solving for $k$:

$k = -3$

Conclusion:

The function $f(x)$ is continuous at $x=0$ if and only if the value of the constant $k$ is -3.


Example 2. Discuss the continuity of the function $f(x) = \frac{\sin x}{x}$ at $x=0$.

Answer:

To discuss the continuity of the function $f(x) = \frac{\sin x}{x}$ at $x=0$, we need to check the three conditions for continuity at $a=0$.

Condition 1: Is $f(0)$ defined?

Substitute $x=0$ into the function definition $f(x) = \frac{\sin x}{x}$:

$f(0) = \frac{\sin 0}{0} = \frac{0}{0}$.

The expression $\frac{0}{0}$ is an indeterminate form, meaning the function is undefined at $x=0$.

Condition 1 for continuity ($f(a)$ is defined) is not met at $x=0$.

Conclusion on Continuity:

Since the first condition for continuity is not satisfied ($f(0)$ is undefined), the function $f(x) = \frac{\sin x}{x}$ is discontinuous at $x=0$.

Further Analysis (Type of Discontinuity):

To determine the type of discontinuity, we should check if the limit exists at $x=0$.

We need to evaluate $\lim\limits_{x \to 0} f(x) = \lim\limits_{x \to 0} \frac{\sin x}{x}$.

This is a fundamental standard trigonometric limit (provided $x$ is in radians, which is standard in calculus limits unless specified otherwise). The value of this limit is known:

$\lim\limits_{x \to 0} \frac{\sin x}{x} = 1$

[Standard trigonometric limit]

The limit $\lim\limits_{x \to 0} f(x)$ exists and is equal to the finite value 1.

Since the limit exists and is finite (value = 1), but the function is undefined at $x=0$ (value = undefined), this is a case where Condition 1 (and consequently Condition 3, as $1 \neq \text{undefined}$) fails, but Condition 2 (limit exists) is met.

This type of discontinuity is classified as a removable discontinuity. The function could be made continuous at $x=0$ by defining a new function $g(x)$ where $g(x) = f(x)$ for $x \neq 0$, and $g(0)$ is defined to be equal to the limit, i.e., $g(0) = 1$. Such a function is called the sinc function, often defined as $g(x) = \begin{cases} \frac{\sin x}{x} & , & x \neq 0 \\ 1 & , & x = 0 \end{cases}$, and it is continuous at $x=0$.