Skip to content
Exercise 5.1 · Q32

Q.Show that the function defined by f(x)=∣cos⁡x∣f(x) = |\cos x| is a continuous function.

Puducherry CbseNCERTSubjective· 3mImportance★★★★★est
11% · 32/281 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

The function f(x)=∣cos⁡x∣f(x) = |\cos x| is continuous for all real xx because it is the composition of the continuous cosine function with the continuous absolute value function, and the composition of continuous functions is continuous.

Why This Approach Works

The key insight here is that we don't need to wrestle with ϵ\epsilon-δ\delta proofs or check continuity at every single point manually. Instead, we can use a powerful theorem: the composition of continuous functions is continuous.

Think of f(x)=∣cos⁡x∣f(x) = |\cos x| as two machines working in sequence:

  1. First, the "cosine machine" takes xx and produces cos⁡x\cos x.
  2. Then, the "absolute value machine" takes that result and produces ∣cos⁡x∣|\cos x|.

If each machine individually produces continuous outputs, then the combined machine also produces continuous outputs. This is the composition rule in action.

Composition of Continuous Functions:

If gg is continuous at x=ax = a and hh is continuous at g(a)g(a), then the composite function f(x)=h(g(x))f(x) = h(g(x)) is continuous at x=ax = a.

Step-by-Step Solution

1. Identify the two functions being composed.

We have f(x)=∣cos⁡x∣f(x) = |\cos x|. Let:

  • g(x)=cos⁡xg(x) = \cos x (the inner function)
  • h(t)=∣t∣h(t) = |t| (the outer function)

Then f(x)=h(g(x))=∣cos⁡x∣f(x) = h(g(x)) = |\cos x|.

2. Show that g(x)=cos⁡xg(x) = \cos x is continuous everywhere.

The cosine function is continuous for all real numbers. This is a standard result from trigonometry — its graph is a smooth, unbroken wave with no jumps, holes, or vertical asymptotes. Formally, for any real aa:

lim⁡x→acos⁡x=cos⁡a\lim_{x \to a} \cos x = \cos a

Note

You can prove cos⁡x\cos x is continuous using the identity cos⁡x−cos⁡a=−2sin⁡(x+a2)sin⁡(x−a2)\cos x - \cos a = -2\sin\left(\frac{x+a}{2}\right)\sin\left(\frac{x-a}{2}\right) and the fact that ∣sin⁡θ∣≤∣θ∣|\sin \theta| \leq |\theta|, but for most exam purposes, the continuity of cos⁡x\cos x is taken as known.

3. Show that h(t)=∣t∣h(t) = |t| is continuous everywhere.

The absolute value function is also continuous for all real numbers. For any real aa:

lim⁡t→a∣t∣=∣a∣\lim_{t \to a} |t| = |a|

This is easy to see geometrically — the graph of ∣t∣|t| is a V-shape with no breaks. The only potential worry is at t=0t = 0, but even there, the left-hand limit and right-hand limit both equal 00, which equals ∣0∣|0|.

Watch out

A common mistake is to think ∣t∣|t| is not differentiable at t=0t = 0 (which is true — the V has a sharp corner) and then incorrectly conclude it's not continuous there. Continuity and differentiability are different concepts. A function can be continuous at a point without being differentiable there. ∣t∣|t| is continuous everywhere, including at t=0t = 0.

4. Apply the composition theorem.

Since:

  • g(x)=cos⁡xg(x) = \cos x is continuous at every real number xx
  • h(t)=∣t∣h(t) = |t| is continuous at every real number tt, including at t=cos⁡xt = \cos x (since cos⁡x\cos x always lies between −1-1 and 11, and ∣t∣|t| is continuous everywhere) …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.