SOLVER7 Study. Nothing Else.
2026 Board Paper Q22(a)

Show that the function \(f(x)=\begin{cases}\dfrac{cos\ x}{-x+\dfrac{\pi}{2}},& x\ne \dfrac{\pi}{2}\\ 1,&x=\dfrac{\pi}{2}\end{cases}\)
is continuous at \(x=\dfrac{\pi}{2}.\)

CBSE Class 12 Maths · Continuity and Differentiability

Solution

👶 Simple Explanation

Simple Explanation

Imagine walking along a path toward a resting spot. Continuity means you arrive exactly where the spot was placed — no sudden jumps or gaps. Here, the function has a special rule everywhere except at \( x = \dfrac{\pi}{2} \), where it is simply assigned the value 1. We check whether the path leads naturally to that same value of 1. Using a clever swap of variables, the limit turns into the familiar pattern where \( \dfrac{\sin t}{t} \) approaches 1 as \( t \) shrinks to zero. The path and the resting spot match perfectly.

Answer: Since \( \lim_{x \to \frac{\pi}{2}} f(x) = 1 = f\left(\dfrac{\pi}{2}\right) \), the function \( f \) is continuous at \( x = \dfrac{\pi}{2} \).

📖 Continuity of a Piecewise Function at x = π/2

Detailed Explanation

A function \( f \) is continuous at a point \( x = a \) if three conditions hold: the value \( f(a) \) exists, the limit \( \lim_{x \to a} f(x) \) exists, and these two are equal. So we must check whether \( \lim_{x \to a} f(x) = f(a) \). Here the function is defined by one rule for \( x \ne \dfrac{\pi}{2} \) and separately given the value \( 1 \) at \( x = \dfrac{\pi}{2} \). To prove continuity we compute the limit of the first rule as \( x \to \dfrac{\pi}{2} \) and compare it with the assigned value \( f\left(\dfrac{\pi}{2}\right) = 1 \). The key idea is a substitution that turns the limit into the standard limit \( \lim_{t \to 0} \dfrac{\sin t}{t} = 1 \).

Formula Used

\( f \) is continuous at \( x = a \iff \lim_{x \to a} f(x) = f(a) \). Standard limit: \( \lim_{t \to 0} \dfrac{\sin t}{t} = 1 \).

Solution

  1. Step 1: Write down what must be checked. The function is \[ f(x) = \begin{cases} \dfrac{\cos x}{-x + \dfrac{\pi}{2}} & x \ne \dfrac{\pi}{2} \\ 1 & x = \dfrac{\pi}{2} \end{cases} \] To prove continuity at \( x = \dfrac{\pi}{2} \), we must show \( \lim_{x \to \frac{\pi}{2}} f(x) = f\left(\dfrac{\pi}{2}\right) \).
  2. Step 2: Note the value of the function at the point. From the definition, \[ f\left(\dfrac{\pi}{2}\right) = 1. \]
  3. Step 3: Set up the limit using the first rule (since near the point but not at it, \( x \ne \dfrac{\pi}{2} \)): \[ \lim_{x \to \frac{\pi}{2}} \dfrac{\cos x}{-x + \dfrac{\pi}{2}}. \] Direct substitution gives \( \dfrac{\cos\frac{\pi}{2}}{0} = \dfrac{0}{0} \), an indeterminate form, so we simplify.
  4. Step 4: Substitute to reduce to a standard limit. Let \( t = x - \dfrac{\pi}{2} \), so that \( x = t + \dfrac{\pi}{2} \) and \( t \to 0 \) as \( x \to \dfrac{\pi}{2} \). Then the denominator becomes \[ -x + \dfrac{\pi}{2} = -\left(t + \dfrac{\pi}{2}\right) + \dfrac{\pi}{2} = -t. \] The numerator becomes \[ \cos x = \cos\left(t + \dfrac{\pi}{2}\right) = -\sin t. \]
  5. Step 5: Rewrite the limit in terms of \( t \): \[ \lim_{x \to \frac{\pi}{2}} \dfrac{\cos x}{-x + \dfrac{\pi}{2}} = \lim_{t \to 0} \dfrac{-\sin t}{-t} = \lim_{t \to 0} \dfrac{\sin t}{t}. \]
  6. Step 6: Apply the standard limit \( \lim_{t \to 0} \dfrac{\sin t}{t} = 1 \): \[ \lim_{x \to \frac{\pi}{2}} f(x) = 1. \]
  7. Step 7: Compare the limit with the function value. Since \[ \lim_{x \to \frac{\pi}{2}} f(x) = 1 = f\left(\dfrac{\pi}{2}\right), \] all three conditions of continuity are satisfied. Hence \( f \) is continuous at \( x = \dfrac{\pi}{2} \).

Final Answer

Since \( \lim_{x \to \frac{\pi}{2}} f(x) = 1 = f\left(\dfrac{\pi}{2}\right) \), the function \( f \) is continuous at \( x = \dfrac{\pi}{2} \).

Common Mistake

A common mistake is to substitute \( x = \dfrac{\pi}{2} \) directly, get \( \dfrac{0}{0} \), and conclude the limit does not exist. In fact \( \dfrac{0}{0} \) is indeterminate; you must simplify (here by the substitution \( t = x - \dfrac{\pi}{2} \)) to evaluate it correctly as \( 1 \).

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Write down the function and identify what must be verified. The function is defined as \[f(x) = \begin{cases} \dfrac{\cos x}{-x + \dfrac{\pi}{2}} & x \ne \dfrac{\pi}{2} \\ 1 & x = \dfrac{\pi}{2} \end{cases}\] — Reason: Clearly stating the piecewise definition helps us identify which rule applies near the point and which rule gives the value at the point.
  2. Step 2: Read off the value of the function at the point directly from its definition: \[f\left(\dfrac{\pi}{2}\right) = 1\] — Reason: This is the right-hand side of the continuity condition. We need this before computing the limit.
  3. Step 3: Set up the limit using the first rule, since for \( x \ne \dfrac{\pi}{2} \) we use the formula branch: \[\lim_{x \to \frac{\pi}{2}} \dfrac{\cos x}{-x + \dfrac{\pi}{2}}\] Direct substitution gives \( \dfrac{0}{0} \), an indeterminate form — Reason: We cannot evaluate this limit by simple substitution, so a substitution to convert it to a known standard form is needed.
  4. Step 4: Introduce the substitution \( t = \dfrac{\pi}{2} - x \). Then as \( x \to \dfrac{\pi}{2} \), we get \( t \to 0 \). Also note that \( \cos x = \cos\!\left(\dfrac{\pi}{2} - t\right) = \sin t \), and the denominator becomes \( -x + \dfrac{\pi}{2} = t \). — Reason: This substitution converts the trigonometric expression into the well-known standard limit form \( \dfrac{\sin t}{t} \).
  5. Step 5: Rewrite the limit entirely in terms of \( t \): \[\lim_{x \to \frac{\pi}{2}} \dfrac{\cos x}{-x + \dfrac{\pi}{2}} = \lim_{t \to 0} \dfrac{\sin t}{t}\] — Reason: After substitution, the limit is now in exactly the standard form whose value is known.
  6. Step 6: Apply the standard limit result: \[\lim_{t \to 0} \dfrac{\sin t}{t} = 1\] So \( \lim_{x \to \frac{\pi}{2}} f(x) = 1 \). — Reason: This is a fundamental standard limit from the CBSE syllabus and gives us the left-hand side of the continuity condition.
  7. Step 7: Compare the limit with the function's value at the point: the limit equals \( 1 \) and \( f\!\left(\dfrac{\pi}{2}\right) = 1 \), so \[\lim_{x \to \frac{\pi}{2}} f(x) = 1 = f\!\left(\dfrac{\pi}{2}\right)\] — Reason: This comparison is the actual continuity check. Since both sides are equal, the definition of continuity is satisfied.

Final Answer

Since \( \lim_{x \to \frac{\pi}{2}} f(x) = 1 = f\left(\dfrac{\pi}{2}\right) \), the function \( f \) is continuous at \( x = \dfrac{\pi}{2} \).

Common Mistake

One common mistake: forgetting to apply the substitution and instead trying to cancel \( \cos x \) with the denominator algebraically, which leads to incorrect manipulation. Always convert the indeterminate form to a standard limit using an appropriate substitution.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Given: \[f(x) = \begin{cases} \dfrac{\cos x}{\dfrac{\pi}{2} - x} & x \ne \dfrac{\pi}{2} \\ 1 & x = \dfrac{\pi}{2} \end{cases}\] So \( f\!\left(\dfrac{\pi}{2}\right) = 1 \).
  2. Step 2: Let \( t = \dfrac{\pi}{2} - x \), so as \( x \to \dfrac{\pi}{2} \), \( t \to 0 \), and \( \cos x = \cos\!\left(\dfrac{\pi}{2} - t\right) = \sin t \). Then: \[\lim_{x \to \frac{\pi}{2}} \frac{\cos x}{\dfrac{\pi}{2} - x} = \lim_{t \to 0} \frac{\sin t}{t} = 1.\]
  3. Step 3: \( \lim_{x \to \frac{\pi}{2}} f(x) = 1 = f\!\left(\dfrac{\pi}{2}\right) \).

Answer: Since \( \lim_{x \to \frac{\pi}{2}} f(x) = 1 = f\left(\dfrac{\pi}{2}\right) \), the function \( f \) is continuous at \( x = \dfrac{\pi}{2} \).

➕ More Examples

More Examples

Example 1

Question: Show that the function \[f(x) = \begin{cases} \dfrac{\sin x}{x - \pi}, & x \ne \pi \\ -1, & x = \pi \end{cases}\] is continuous at \(x = \pi\).

Solution: To check continuity at \(x = \pi\), we need to verify that \(\lim_{x \to \pi} f(x) = f(\pi)\). Step 1: Find the value of the function at \(x = \pi\). From the definition, \(f(\pi) = -1\). Step 2: Compute the limit as \(x \to \pi\). For \(x \ne \pi\), \(f(x) = \dfrac{\sin x}{x - \pi}\). Let \(h = x - \pi\), so as \(x \to \pi\), we have \(h \to 0\). Also, \(x = \pi + h\), so \(\sin x = \sin(\pi + h) = -\sin h\). Therefore, \[\lim_{x \to \pi} \frac{\sin x}{x - \pi} = \lim_{h \to 0} \frac{-\sin h}{h}\] Using the standard limit \(\lim_{h \to 0} \dfrac{\sin h}{h} = 1\), we get \[\lim_{h \to 0} \frac{-\sin h}{h} = -1\] Step 3: Compare the limit with the function value. We have \(\lim_{x \to \pi} f(x) = -1 = f(\pi)\). Since the limit equals the function value, \(f\) is continuous at \(x = \pi\).

Answer: f is continuous at \(x = \pi\) since \(\lim_{x \to \pi} f(x) = -1 = f(\pi)\).

Example 2

Question: Show that the function \[g(x) = \begin{cases} \dfrac{\tan x}{x - \dfrac{\pi}{4}}, & x \ne \dfrac{\pi}{4} \\ 2, & x = \dfrac{\pi}{4} \end{cases}\] is not continuous at \(x = \dfrac{\pi}{4}\). Hence, find the value that should be assigned to \(g\!\left(\dfrac{\pi}{4}\right)\) to make it continuous there.

Solution: To check continuity at \(x = \dfrac{\pi}{4}\), we compute \(\lim_{x \to \pi/4} g(x)\) and compare it with \(g\!\left(\dfrac{\pi}{4}\right) = 2\). Step 1: Compute the limit. Let \(h = x - \dfrac{\pi}{4}\), so as \(x \to \dfrac{\pi}{4}\), we have \(h \to 0\) and \(x = \dfrac{\pi}{4} + h\). We use the identity \(\tan\!\left(\dfrac{\pi}{4} + h\right) = \dfrac{1 + \tan h}{1 - \tan h}\). So \[\lim_{x \to \pi/4} \frac{\tan x}{x - \frac{\pi}{4}} = \lim_{h \to 0} \frac{1}{h} \cdot \frac{1 + \tan h}{1 - \tan h}\] This limit does not simplify to a finite value by a simple substitution because the numerator approaches \(1\) while \(h \to 0\), making the expression grow without bound. However, let us instead reconsider the problem using a standard approach. We rewrite \[\frac{\tan x}{x - \frac{\pi}{4}} = \frac{\tan x - \tan\frac{\pi}{4} + \tan\frac{\pi}{4}}{x - \frac{\pi}{4}} = \frac{\tan x - 1}{x - \frac{\pi}{4}} + \frac{1}{x - \frac{\pi}{4}}\] The term \(\dfrac{1}{x - \pi/4}\) diverges as \(x \to \pi/4\), so this definition does not yield a finite limit. Step 2: Recognise the correct formulation. The natural piecewise function to make continuous is \[g(x) = \begin{cases} \dfrac{\tan x - 1}{x - \dfrac{\pi}{4}}, & x \ne \dfrac{\pi}{4} \\ 2, & x = \dfrac{\pi}{4} \end{cases}\] Now compute \(\lim_{x \to \pi/4} \dfrac{\tan x - 1}{x - \pi/4}\). Let \(h = x - \dfrac{\pi}{4}\), so \(x = \dfrac{\pi}{4} + h\) and \(h \to 0\). We have \(\tan x = \tan\!\left(\dfrac{\pi}{4} + h\right) = \dfrac{1 + \tan h}{1 - \tan h}\), so \[\tan x - 1 = \frac{1 + \tan h}{1 - \tan h} - 1 = \frac{1 + \tan h - (1 - \tan h)}{1 - \tan h} = \frac{2\tan h}{1 - \tan h}\] Therefore, \[\lim_{h \to 0} \frac{\tan x - 1}{h} = \lim_{h \to 0} \frac{2\tan h}{h(1 - \tan h)}\] Using \(\lim_{h \to 0} \dfrac{\tan h}{h} = 1\) and \(\lim_{h \to 0}(1 - \tan h) = 1\), we get \[\lim_{h \to 0} \frac{2\tan h}{h(1 - \tan h)} = 2 \cdot 1 \cdot \frac{1}{1} = 2\] Step 3: Compare with the function value. We have \(\lim_{x \to \pi/4} g(x) = 2 = g\!\left(\dfrac{\pi}{4}\right)\). Since the limit equals the function value, \(g\) is continuous at \(x = \dfrac{\pi}{4}\) when \(g\!\left(\dfrac{\pi}{4}\right) = 2\).

Answer: The value \(g\!\left(\dfrac{\pi}{4}\right) = 2\) makes \(g\) continuous at \(x = \dfrac{\pi}{4}\), since \(\lim_{x \to \pi/4} \dfrac{\tan x - 1}{x - \pi/4} = 2\).

🎯 Try a Similar Question

Try a Similar Question

Question: Show that the function \[ f(x) = \begin{cases} \dfrac{\sin x - 1}{x - \dfrac{\pi}{2}}, & x \ne \dfrac{\pi}{2} \\ 1, & x = \dfrac{\pi}{2} \end{cases} \] is continuous at \( x = \dfrac{\pi}{2} \).

Solution

  1. Step 1: Write the condition for continuity: A function \( f \) is continuous at \( x = \dfrac{\pi}{2} \) if \[ \lim_{x \to \frac{\pi}{2}} f(x) = f\!\left(\frac{\pi}{2}\right). \] We are given \( f\!\left(\dfrac{\pi}{2}\right) = 1 \), so we need to evaluate the limit.
  2. Step 2: Introduce a substitution: Let \( h = x - \dfrac{\pi}{2} \), so that as \( x \to \dfrac{\pi}{2} \), we have \( h \to 0 \). Then \( x = \dfrac{\pi}{2} + h \).
  3. Step 3: Rewrite sin x in terms of h: Using the identity \( \sin\!\left(\dfrac{\pi}{2} + h\right) = \cos h \), the expression inside the limit becomes \[ f(x) = \frac{\sin x - 1}{x - \dfrac{\pi}{2}} = \frac{\cos h - 1}{h}. \]
  4. Step 4: Evaluate the limit: We need \[ \lim_{h \to 0} \frac{\cos h - 1}{h}. \] Using the standard result \( \lim_{h \to 0} \dfrac{\cos h - 1}{h} = 0 \) (which follows from \( \cos h - 1 = -2\sin^2\!\dfrac{h}{2} \)), we get \[ \lim_{h \to 0} \frac{\cos h - 1}{h} = 0. \]
  5. Step 5: Compare limit with function value: We found \[ \lim_{x \to \frac{\pi}{2}} f(x) = 0, \] but \( f\!\left(\dfrac{\pi}{2}\right) = 1 \). Since \( 0 \ne 1 \), the limit does NOT equal the function value.
  6. Step 6: State the conclusion: Since \[ \lim_{x \to \frac{\pi}{2}} f(x) = 0 \ne 1 = f\!\left(\frac{\pi}{2}\right), \] the function \( f \) is NOT continuous at \( x = \dfrac{\pi}{2} \).

Answer: Since \( \lim_{x \to \frac{\pi}{2}} f(x) = 0 \ne 1 = f\!\left(\dfrac{\pi}{2}\right) \), the function \( f \) is NOT continuous at \( x = \dfrac{\pi}{2} \).

Everything you get with Solver7

More questions in Continuity and Differentiability

Chapter 5 Examples Q1 Chapter 5 Examples Q2 Chapter 5 Examples Q3 65/1/1 2024 / Section A Q3 Chapter 5 Examples Q4 65/2/1 2024 / Section A Q4 65/3/1 2024 / Section A Q4 Chapter 5 Examples Q5 65/4/1 2026 / Section A Q5 Chapter 5 Examples Q6 65(B) 2026 / Section A Q6 65/4/1 2023 / Section A Q6 65/4/2 2024 / Section A Q6 65/5/1 2026 / Section A Q6 Chapter 5 Examples Q7 65/3/1 2026 / Section A Q7 65/4/1 2023 / Section A Q7 65/4/1 2026 / Section A Q7 65/4/2 2024 / Section A Q7 Chapter 5 Examples Q8 65/4/1 2026 / Section A Q8 65/5/1 2026 / Section A Q8 Chapter 5 Examples Q9 Chapter 5 Examples Q10 Chapter 5 Examples Q11 65/2/2 2023 / Section A Q11 65/2/3 2026 / Section A Q11 Chapter 5 Examples Q12 65/2/2 2023 / Section A Q12 Chapter 5 Examples Q13 65/1/1 2023 / Section A Q13 65/1/1 2024 / Section A Q13 65/2/1 2024 / Section A Q13 Chapter 5 Examples Q14 65/3/1 2024 / Section A Q14 Chapter 5 Examples Q15 65/3/1 2023 / Section A Q15 Chapter 5 Examples Q16 65/3/1 2023 / Section A Q16 Chapter 5 Examples Q17 Chapter 5 Examples Q18 Chapter 5 Examples Q19 Chapter 5 Examples Q20 Chapter 5 Examples Q21 65/1/1 2024 / Section B Q21(a) 65/1/1 2026 / Section B Q21(a) 65/3/1 2026 / Section B Q21 Chapter 5 Examples Q22 65/1/1 2024 / Section B Q21(b) 65/1/1 2026 / Section B Q21(b) 65/3/1 2024 / Section B Q22(a) 65/5/1 2026 / Section B Q22(a) Chapter 5 Examples Q23 65/2/1 2024 / Section B Q22(a) 65/3/1 2024 / Section B Q22(b) 65/4/1 2023 / Section B Q22 65/4/1 2026 / Section B Q22(b) 65/5/1 2026 / Section B Q22(b) Chapter 5 Examples Q24 65/2/3 2026 / Section B Q23