SOLVER7 Study. Nothing Else.
Exercise 5.1 Q21(b)

Discuss the continuity of the following functions: \(f(x) = sin\ x – cos\ x\)

CBSE Class 12 Maths · Continuity and Differentiability

Solution

👶 Simple Explanation

Simple Explanation

Think of continuity like drawing a curve without lifting your pencil. The functions \( \sin x \) and \( \cos x \) are perfectly smooth waves — you can draw them forever without any jumps or breaks. When you subtract one smooth wave from another, the result is still a smooth, unbroken wave. So \( f(x) = \sin x - \cos x \) has no gaps or jumps anywhere. It flows smoothly across every real number, just like its two parent functions do.

Answer: The function \( f(x) = \sin x - \cos x \) is continuous at every real number, i.e. it is continuous on its entire domain \( \mathbb{R} \).

📖 Continuity of f(x) = sin x - cos x

Detailed Explanation

A function \( f \) is said to be continuous at a point \( x = a \) if \( \lim_{x \to a} f(x) = f(a) \). This means the value the function approaches equals the value the function actually takes. A very useful result in CBSE Class 12 is that the sine function \( \sin x \) and the cosine function \( \cos x \) are each continuous at every real number. Another key result is the algebra of continuous functions: if \( g(x) \) and \( h(x) \) are both continuous at a point, then their difference \( g(x) - h(x) \) is also continuous there. Since \( f(x) = \sin x - \cos x \) is just the difference of two standard continuous functions, we can quickly conclude that it is continuous everywhere.

Formula Used

A function \( f \) is continuous at \( x = a \) if \[ \lim_{x \to a} f(x) = f(a). \] If \( g \) and \( h \) are continuous at \( a \), then \( g - h \) is continuous at \( a \).

Solution

  1. Step 1: Identify the two component functions. Write \( f(x) = \sin x - \cos x \) as the difference of \( g(x) = \sin x \) and \( h(x) = \cos x \).
  2. Step 2: Recall the standard results. The functions \( g(x) = \sin x \) and \( h(x) = \cos x \) are known to be continuous for every real value of \( x \). That is, for any real number \( a \), \[ \lim_{x \to a} \sin x = \sin a \] and \[ \lim_{x \to a} \cos x = \cos a. \]
  3. Step 3: Apply the algebra of continuous functions. Since both \( g \) and \( h \) are continuous at every real number, their difference \( g - h \) is also continuous at every real number. So \( f(x) = \sin x - \cos x \) is continuous everywhere.
  4. Step 4: Verify directly using limits at an arbitrary point \( a \). Compute \[ \lim_{x \to a} f(x) = \lim_{x \to a} (\sin x - \cos x). \] Using limit properties this becomes \[ \lim_{x \to a} \sin x - \lim_{x \to a} \cos x = \sin a - \cos a. \]
  5. Step 5: Compare with the function value. We have \( f(a) = \sin a - \cos a \). Since \[ \lim_{x \to a} f(x) = \sin a - \cos a = f(a), \] the condition for continuity is satisfied at the arbitrary point \( a \).

Final Answer

The function \( f(x) = \sin x - \cos x \) is continuous at every real number, i.e. it is continuous on its entire domain \( \mathbb{R} \).

Common Mistake

A common mistake is to think you must test continuity separately at many individual points or search for points of discontinuity. Since \( \sin x \) and \( \cos x \) are continuous everywhere and their difference is also continuous everywhere, there are no points of discontinuity to look for.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Rewrite \( f(x) = \sin x - \cos x \) as the difference of two separate functions: let \( g(x) = \sin x \) and \( h(x) = \cos x \), so \( f(x) = g(x) - h(x) \). — Reason: Breaking a composite function into simpler parts lets us use known continuity results for each part individually.
  2. Step 2: Recall the standard result: \( g(x) = \sin x \) is continuous for every real number \( x \). This means that for any real number \( a \), \[ \lim_{x \to a} \sin x = \sin a. \] — Reason: The continuity of \( \sin x \) over all of \( \mathbb{R} \) is a foundational result in Class 12 calculus and does not require re-derivation.
  3. Step 3: Similarly, recall the standard result: \( h(x) = \cos x \) is also continuous for every real number \( x \). That is, for any real number \( a \), \[ \lim_{x \to a} \cos x = \cos a. \] — Reason: Like \( \sin x \), the continuity of \( \cos x \) over all of \( \mathbb{R} \) is a standard fact that applies without restriction to the domain.
  4. Step 4: Apply the algebra of continuous functions: since both \( g(x) = \sin x \) and \( h(x) = \cos x \) are continuous at every real number \( a \), their difference \( g(x) - h(x) \) is also continuous at every real number \( a \). Therefore, \[ \lim_{x \to a} (\sin x - \cos x) = \sin a - \cos a = f(a). \] — Reason: The algebra of continuous functions guarantees that the difference of two continuous functions is itself continuous, so no further limit computation is needed.
  5. Step 5: Since the argument above holds for an arbitrary real number \( a \), we conclude that \( f(x) = \sin x - \cos x \) is continuous at every point in \( \mathbb{R} \). — Reason: Because no particular value of \( a \) was specified, the conclusion applies universally to the entire real line.

Final Answer

The function \( f(x) = \sin x - \cos x \) is continuous at every real number, i.e. it is continuous on its entire domain \( \mathbb{R} \).

Common Mistake

One common mistake: students sometimes try to check continuity only at a specific point (e.g. \( x = 0 \)) and then incorrectly generalise without invoking the algebra of continuous functions — always state explicitly that both component functions are continuous everywhere and then cite the difference rule to cover all real numbers.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Write \( f(x) = \sin x - \cos x \) as the difference of \( g(x) = \sin x \) and \( h(x) = \cos x \).
  2. Step 2: Standard results: for every \( a \in \mathbb{R} \), \[ \lim_{x \to a} \sin x = \sin a \quad \text{and} \quad \lim_{x \to a} \cos x = \cos a \] so \( \sin x \) and \( \cos x \) are each continuous on \( \mathbb{R} \).
  3. Step 3: By the algebra of continuous functions, \( f(x) = g(x) - h(x) \) is continuous at every \( a \in \mathbb{R} \).

Answer: The function \( f(x) = \sin x - \cos x \) is continuous at every real number, i.e. it is continuous on its entire domain \( \mathbb{R} \).

➕ More Examples

More Examples

Example 1

Question: Discuss the continuity of the function \( f(x) = 2\sin x + 3\cos x \) for all \( x \in \mathbb{R} \).

Solution: We need to check whether \( f(x) = 2\sin x + 3\cos x \) is continuous at every real number \( c \). Step 1: Identify the component functions. Let \( g(x) = 2\sin x \) and \( h(x) = 3\cos x \). Step 2: Check continuity of each component. We know that \( \sin x \) is continuous for all \( x \in \mathbb{R} \). Multiplying by the constant 2 preserves continuity, so \( g(x) = 2\sin x \) is continuous everywhere. Similarly, \( \cos x \) is continuous for all \( x \in \mathbb{R} \). Multiplying by the constant 3 preserves continuity, so \( h(x) = 3\cos x \) is continuous everywhere. Step 3: Apply the algebra of continuous functions. Since \( g(x) \) and \( h(x) \) are both continuous on \( \mathbb{R} \), their sum \( f(x) = g(x) + h(x) \) is also continuous on \( \mathbb{R} \). Step 4: Verify using the limit definition at an arbitrary point \( x = c \). \[ \lim_{x \to c} f(x) = \lim_{x \to c} (2\sin x + 3\cos x) \] Using the continuity of sine and cosine: \[ = 2\sin c + 3\cos c = f(c) \] Since \( \lim_{x \to c} f(x) = f(c) \) for every \( c \in \mathbb{R} \), the function \( f \) is continuous at every real number.

Answer: \( f(x) = 2\sin x + 3\cos x \) is continuous for all \( x \in \mathbb{R} \).

Example 2

Question: Discuss the continuity of the function \( f(x) = \sin x \cdot \cos x \) for all \( x \in \mathbb{R} \).

Solution: We need to check whether \( f(x) = \sin x \cdot \cos x \) is continuous at every real number \( c \). Step 1: Note a useful identity. We can write: \[ f(x) = \sin x \cdot \cos x = \frac{1}{2}\sin 2x \] Step 2: Identify the component functions. Let \( g(x) = \sin x \) and \( h(x) = \cos x \). Step 3: Check continuity of each component. The function \( \sin x \) is continuous for all \( x \in \mathbb{R} \), and \( \cos x \) is also continuous for all \( x \in \mathbb{R} \). Step 4: Apply the algebra of continuous functions. Since \( g(x) \) and \( h(x) \) are both continuous on \( \mathbb{R} \), their product \( f(x) = g(x) \cdot h(x) \) is also continuous on \( \mathbb{R} \). Alternatively, using the identity: \( f(x) = \frac{1}{2}\sin 2x \). Since \( \sin \) is continuous everywhere and \( 2x \) is a continuous function, the composition \( \sin 2x \) is continuous everywhere, and so is \( \frac{1}{2}\sin 2x \). Step 5: Verify using the limit definition at an arbitrary point \( x = c \). \[ \lim_{x \to c} f(x) = \lim_{x \to c} (\sin x \cdot \cos x) \] Using the continuity of sine and cosine: \[ = \sin c \cdot \cos c = f(c) \] Since \( \lim_{x \to c} f(x) = f(c) \) for every \( c \in \mathbb{R} \), the function \( f \) is continuous at every real number.

Answer: \( f(x) = \sin x \cdot \cos x \) is continuous for all \( x \in \mathbb{R} \).

🎯 Try a Similar Question

Try a Similar Question

Question: Discuss the continuity of the function \( f(x) = 2\sin x + 3\cos x \) on \( \mathbb{R} \).

Solution

  1. Step 1: Identify the component functions: Write \( f(x) = 2\sin x + 3\cos x \) as a combination of two elementary functions. Let \( g(x) = \sin x \) and \( h(x) = \cos x \). Then \( f(x) = 2g(x) + 3h(x) \).
  2. Step 2: State continuity of the component functions: It is a standard result that \( \sin x \) is continuous at every point in \( \mathbb{R} \). Similarly, \( \cos x \) is continuous at every point in \( \mathbb{R} \). These results follow from the standard limits \( \lim_{h \to 0} \sin h = 0 \) and \( \lim_{h \to 0} \cos h = 1 \).
  3. Step 3: Apply the algebra of continuous functions: By the theorem on algebra of continuous functions: if \( g \) and \( h \) are continuous on \( \mathbb{R} \), and \( k_1, k_2 \) are any real constants, then \( k_1 g(x) + k_2 h(x) \) is also continuous on \( \mathbb{R} \). Here \( k_1 = 2 \) and \( k_2 = 3 \), both real constants.
  4. Step 4: Verify using the limit definition at an arbitrary point: Let \( c \in \mathbb{R} \) be any point. Then: \[ \lim_{x \to c} f(x) = \lim_{x \to c} \left(2\sin x + 3\cos x\right) = 2\sin c + 3\cos c = f(c). \] Since the limit equals the function value for every \( c \in \mathbb{R} \), the function is continuous at every such point.
  5. Step 5: State the conclusion: Since \( f(x) = 2\sin x + 3\cos x \) is continuous at every point \( c \in \mathbb{R} \), the function is continuous on its entire domain \( \mathbb{R} \).

Answer: The function \( f(x) = 2\sin x + 3\cos x \) is continuous at every real number, i.e., it is continuous on \( \mathbb{R} \).

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/4/1 2026 / 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