All Exams Test series for 1 year @ ₹349 only
Question

Consider the function \({\rm{f}}\left( {\rm{x}} \right) = \left\{ {\begin{array}{*{20}{c}} {{\rm{ax}} - 2{\rm{\;\;for\;}} - 2 < {\rm{x}} < - 1}\\ { - 1{\rm{\;\;for\;\;}} - 1 \le {\rm{x}} \le 1}\\ {{\rm{a}} + 2{{\left( {{\rm{x}} - 1} \right)}^2}{\rm{\;\;for\;\;\;}}1 < {\rm{x}} < 2} \end{array}} \right.\)

What is the value of a for which f(x) is continuous at x = -1 and x = 1?

This question was previously asked in
NDA II 2015 GAT Previous Year Paper (16-Dec-2015)
The correct answer is

-1

Finding Parameter 'a' for Piecewise Function Continuity

We are given a piecewise function \({\rm{f}}\left( {\rm{x}} \right)\) defined as:

\[ {\rm{f}}\left( {\rm{x}} \right) = \left\{ {\begin{array}{*{20}{c}} {{\rm{ax}} - 2{\rm{\;\;for\;}} - 2 < {\rm{x}} < - 1}\\ { - 1{\rm{\;\;for\;\;}} - 1 \le {\rm{x}} \le 1}\\ {{\rm{a}} + 2{{\left( {{\rm{x}} - 1} \right)}^2}{\rm{\;\;for\;\;\;}}1 < {\rm{x}} < 2} \end{array}} \right. \]

For a function to be continuous at a point \({\rm{c}}\), the following conditions must be met:

  • The function must be defined at \({\rm{x}} = {\rm{c}}\), i.e., \({\rm{f}}({\rm{c}})\) exists.
  • The limit of the function as \({\rm{x}}\) approaches \({\rm{c}}\) must exist, i.e., \(\mathop {\lim }\limits_{x \to c} {\rm{f}}(x)\) exists. This means the left-hand limit and the right-hand limit must be equal: \(\mathop {\lim }\limits_{x \to c^-} {\rm{f}}(x) = \mathop {\lim }\limits_{x \to c^+} {\rm{f}}(x)\).
  • The limit of the function as \({\rm{x}}\) approaches \({\rm{c}}\) must be equal to the function value at \({\rm{c}}\), i.e., \(\mathop {\lim }\limits_{x \to c} {\rm{f}}(x) = {\rm{f}}({\rm{c}})\).

We need to find the value of 'a' for which \({\rm{f}}({\rm{x}})\) is continuous at \({\rm{x}} = -1\) and \({\rm{x}} = 1\).

Analyzing Continuity at x = -1

To check for continuity at \({\rm{x}} = -1\), we examine the function value and the limits around this point.

Step 1: Evaluate the function at x = -1

At \({\rm{x}} = -1\), the function is defined by the second piece \({\rm{f}}({\rm{x}}) = -1\) for \(-1 \le {\rm{x}} \le 1\).

So, \({\rm{f}}(-1) = -1\).

Step 2: Evaluate the left-hand limit at x = -1

The left-hand limit as \({\rm{x}}\) approaches -1 comes from the first piece, where \({\rm{x}} < -1\):

\[ \mathop {\lim }\limits_{x \to -1^-} {\rm{f}}(x) = \mathop {\lim }\limits_{x \to -1^-} ({\rm{ax}} - 2) \]

Substituting \({\rm{x}} = -1\) into the expression:

\[ {\rm{a}}(-1) - 2 = -{\rm{a}} - 2 \]

Step 3: Evaluate the right-hand limit at x = -1

The right-hand limit as \({\rm{x}}\) approaches -1 comes from the second piece, where \({\rm{x}} > -1\):

\[ \mathop {\lim }\limits_{x \to -1^+} {\rm{f}}(x) = \mathop {\lim }\limits_{x \to -1^+} (-1) = -1 \]

Step 4: Apply the continuity condition at x = -1

For continuity at \({\rm{x}} = -1\), the left-hand limit, right-hand limit, and function value must be equal:

\[ \mathop {\lim }\limits_{x \to -1^-} {\rm{f}}(x) = \mathop {\lim }\limits_{x \to -1^+} {\rm{f}}(x) = {\rm{f}}(-1) \]

\[ -{\rm{a}} - 2 = -1 = -1 \]

From this equality, we get the equation:

\[ -{\rm{a}} - 2 = -1 \]

Solving for 'a':

\[ -{\rm{a}} = -1 + 2 \]

\[ -{\rm{a}} = 1 \]

\[ {\rm{a}} = -1 \]

So, for the function to be continuous at \({\rm{x}} = -1\), the value of 'a' must be -1.

Analyzing Continuity at x = 1

Next, we check the conditions for continuity at \({\rm{x}} = 1\).

Step 1: Evaluate the function at x = 1

At \({\rm{x}} = 1\), the function is defined by the second piece \({\rm{f}}({\rm{x}}) = -1\) for \(-1 \le {\rm{x}} \le 1\).

So, \({\rm{f}}(1) = -1\).

Step 2: Evaluate the left-hand limit at x = 1

The left-hand limit as \({\rm{x}}\) approaches 1 comes from the second piece, where \({\rm{x}} < 1\):

\[ \mathop {\lim }\limits_{x \to 1^-} {\rm{f}}(x) = \mathop {\lim }\limits_{x \to 1^-} (-1) = -1 \]

Step 3: Evaluate the right-hand limit at x = 1

The right-hand limit as \({\rm{x}}\) approaches 1 comes from the third piece, where \({\rm{x}} > 1\):

\[ \mathop {\lim }\limits_{x \to 1^+} {\rm{f}}(x) = \mathop {\lim }\limits_{x \to 1^+} ({\rm{a}} + 2{{\left( {{\rm{x}} - 1} \right)}^2}) \]

Substituting \({\rm{x}} = 1\) into the expression:

\[ {\rm{a}} + 2{{\left( {1 - 1} \right)}^2} = {\rm{a}} + 2(0)^2 = {\rm{a}} + 0 = {\rm{a}} \]

Step 4: Apply the continuity condition at x = 1

For continuity at \({\rm{x}} = 1\), the left-hand limit, right-hand limit, and function value must be equal:

\[ \mathop {\lim }\limits_{x \to 1^-} {\rm{f}}(x) = \mathop {\lim }\limits_{x \to 1^+} {\rm{f}}(x) = {\rm{f}}(1) \]

\[ -1 = {\rm{a}} = -1 \]

From this equality, we get the equation:

\[ {\rm{a}} = -1 \]

So, for the function to be continuous at \({\rm{x}} = 1\), the value of 'a' must be -1.

Conclusion for Continuity

Both continuity conditions, at \({\rm{x}} = -1\) and \({\rm{x}} = 1\), require the value of 'a' to be -1. Therefore, for \({\rm{f}}({\rm{x}})\) to be continuous at both points, the value of 'a' must be -1.

Continuity Point f(c) \(\mathop {\lim }\limits_{x \to c^-} {\rm{f}}(x)\) \(\mathop {\lim }\limits_{x \to c^+} {\rm{f}}(x)\) Condition for Continuity
\({\rm{x}} = -1\) -1 \( -{\rm{a}} - 2 \) -1 \( -{\rm{a}} - 2 = -1 \implies {\rm{a}} = -1 \)
\({\rm{x}} = 1\) -1 -1 \( {\rm{a}} \) \( -1 = {\rm{a}} \implies {\rm{a}} = -1 \)

The value of 'a' that satisfies both conditions is -1.

Revision Table: Key Continuity Concepts

Concept Description Condition
Continuity at a Point A function is continuous at \({\rm{x}} = {\rm{c}}\) if there is no break or jump in the graph at that point. \(\mathop {\lim }\limits_{x \to c} {\rm{f}}(x) = {\rm{f}}({\rm{c}})\)
Left-Hand Limit The value a function approaches as the input approaches \({\rm{c}}\) from values less than \({\rm{c}}\). \(\mathop {\lim }\limits_{x \to c^-} {\rm{f}}(x)\)
Right-Hand Limit The value a function approaches as the input approaches \({\rm{c}}\) from values greater than \({\rm{c}}\). \(\mathop {\lim }\limits_{x \to c^+} {\rm{f}}(x)\)
Existence of Limit The limit \(\mathop {\lim }\limits_{x \to c} {\rm{f}}(x)\) exists if and only if the left-hand limit equals the right-hand limit. \(\mathop {\lim }\limits_{x \to c^-} {\rm{f}}(x) = \mathop {\lim }\limits_{x \to c^+} {\rm{f}}(x)\)

Additional Information: Piecewise Functions and Limits

A piecewise function is a function defined by multiple sub-functions, each applying to a different interval of the domain. To analyze the continuity of a piecewise function, we need to pay special attention to the points where the definition of the function changes. These points are called junction points or breakpoints.

For a function to be continuous at a breakpoint \({\rm{c}}\), the pieces of the function must "meet" seamlessly at \({\rm{c}}\). This requires the limit of the function as \({\rm{x}}\) approaches \({\rm{c}}\) from the left (using the function definition for \({\rm{x}} < {\rm{c}}\)), the limit as \({\rm{x}}\) approaches \({\rm{c}}\) from the right (using the function definition for \({\rm{x}} > {\rm{c}}\)), and the value of the function exactly at \({\rm{x}} = {\rm{c}}\) to all be equal.

In this problem, the breakpoints are \({\rm{x}} = -1\) and \({\rm{x}} = 1\). We evaluated the left-hand limit, right-hand limit, and function value at each of these points and set them equal to find the required value of the parameter 'a'. If the question asked for continuity over the entire domain, we would also need to check if each individual piece is continuous within its defined interval, but polynomials (like \({\rm{ax}} - 2\) and \({\rm{a}} + 2{{\left( {{\rm{x}} - 1} \right)}^2}\)) and constant functions (like -1) are continuous everywhere within their domains, so continuity only needs to be checked at the breakpoints.

Was this answer helpful?

Similar Questions

  1. A function is defined as follows: \[ f(x) = \begin{cases} -\dfrac{x}{\sqrt{x^2}}, & x \ne 0, \\[6pt] 0, & x = 0. \end{cases} \] Which one of the following is correct in respect of the above function? 

  2. Let f : A → R, where A = R\(0) is such that \({\rm{f}}\left( {\rm{x}} \right) = \frac{{{\rm{x}} + \left| {\rm{x}} \right|}}{{\rm{x}}}\) . On which one of the following sets is f(x) continuous?

  3. If the function \(\rm f\left( x \right) = \left\{ {\begin{array}{*{20}{c}} {a + bx,\;\;}&{x < 1}\\ {5,}&{x = 1}\\ {b - ax,}&{x > 1} \end{array}} \right.\)  is continuous, then what is the value of (a + b)?

  4. The function \({\rm{f}}\left( {\rm{x}} \right) = \frac{{1 - \sin {\rm{x}} + \cos {\rm{x}}}}{{1 + \sin {\rm{x}} + \cos {\rm{x}}}}\) is not defined at x = π. The value of f(π) so that f(x) is continuous at x = π, is 

  5. Consider the following statements in respect of the function \(\rm f(x) = sin \left(\frac{1}{x^2}\right)\) , x ≠ 0:

    1. It is continuous at x = 0, if f(0) = 0.

    2. It is continuous at  \(x = \frac{2}{\sqrt{\pi}}\) .

    Which of the above statements is/are correct?

  6. The value of k which makes \(f\left( x \right)\; = \;\left\{ {\begin{array}{*{20}{c}} {\sin x\;,x \ne 0}\\ {k\;,x\; = \;0} \end{array}} \right.\) continuous at x = 0, is

  7. If \({\rm{f}}\left( {\rm{x}} \right) = \frac{{{{\rm{x}}^2} - 9}}{{{{\rm{x}}^2} - 2{\rm{x}} - 3}}\) , x ≠ 3 is continuous at x = 3, then which one of the following is correct?

  8. Let f(x) be defined as follows: \({\rm{f}}\left( {\rm{x}} \right) = \left\{ {\begin{array}{*{20}{c}} {2{\rm{x}} + 1,{\rm{\;\;}} - 3 < {\rm{x}} < - 2}\\ {{\rm{x}} - 1,{\rm{\;\;}} - 2 \le {\rm{x}} < 0}\\ {{\rm{x}} + 2,{\rm{\;\;\;}}0 \le {\rm{x}} < 1} \end{array}} \right.\) Which one of the following statements is correct in respect of the above function?

  9. \({\rm{f}}\left( {\rm{x}} \right) = \left\{ {\begin{array}{*{20}{c}} {\frac{{{{\rm{e}}^{\rm{x}}} - 1}}{{\rm{x}}},{\rm{\;\;x}} > 0}\\ {0,{\rm{\;\;\;x}} = 0} \end{array}} \right.\)

    Which one of the following statements is correct?

  10. Consider the following in respect of the function \({\rm{f}}\left( {\rm{x}} \right) = {\rm{\;}}\left\{ {\begin{array}{} {2 + {\rm{x}},{\rm{\;\;x}} \ge 0}\\ {2 - {\rm{x}},{\rm{\;\;x}} < 0} \end{array}} \right.\)

    1.  \(\mathop {\lim }\limits_{{\rm{x}} \to 1} {\rm{f}}\left( {\rm{x}} \right)\)  Does not exists.

    2. f(x) is differentiable at x = 0

    3. f(x) is continuous at x = 0

    Which of the above statement is/are correct?


Important Questions from Continuity of a function

  1. A function is defined as follows: \[ f(x) = \begin{cases} -\dfrac{x}{\sqrt{x^2}}, & x \ne 0, \\[6pt] 0, & x = 0. \end{cases} \] Which one of the following is correct in respect of the above function? 

  2. f(x) = x + |x| is continuous for

  3. Let f : A → R, where A = R\(0) is such that \({\rm{f}}\left( {\rm{x}} \right) = \frac{{{\rm{x}} + \left| {\rm{x}} \right|}}{{\rm{x}}}\) . On which one of the following sets is f(x) continuous?

  4. If the function \(\rm f\left( x \right) = \left\{ {\begin{array}{*{20}{c}} {a + bx,\;\;}&{x < 1}\\ {5,}&{x = 1}\\ {b - ax,}&{x > 1} \end{array}} \right.\)  is continuous, then what is the value of (a + b)?

  5. If  f(x) =\(\left\lbrace \begin{matrix}\dfrac{\sin [\rm x]}{[\rm x]}, \ \ [\rm x] \neq 0 \\\ 0, \ \ [\rm x] = 0\end{matrix} \right.\), where [x] is the Greatest Integer but not larger than x, then \(\rm \displaystyle\lim_{x \rightarrow 0} f(x)\) is

Need Expert Advice?
Test Series
NDA img
Defence
NDA 2026 Mock Test Series (Latest Pattern)
526 Tests 1 Tests Free
1164 Attempts
4.7(159)
English, Hindi

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App