JEE Main 2021 · 27 July · evening · Single correct · +4 / −1

Let f:[0,∞ ) → [0,3] be a function defined by
f(x) = { max { sin t:0 ≤ t ≤ x} ,, 0 ≤ x ≤ π; 2 + cos x,, x > π
Then which of the following is true?

  1. (a) f is continuous everywhere but not differentiable exactly at one point in (0, ∞)
  2. (b) f is differentiable everywhere in (0, ∞)
  3. (c) f is not continuous exactly at two points in (0, ∞)
  4. (d) f is continuous everywhere but not differentiable exactly at two points in (0, ∞)
Answer and solution

Answer (b) f is differentiable everywhere in (0, ∞)

Solution

Maths sir · 3 steps

Rewrite the max as plain pieces, then compare left and right slopes at the two joins.

  1. Unpack the max. On [0, π/2], sin t is increasing, so its largest value up to x is sin x itself. After π/2 the sine falls, so the largest value stays stuck at 1 all the way to π.

    f(x) = sin x, 0 ≤ x ≤ π/2 ; 1, π/2 < x ≤ π ; 2 + cos x, x > π

    JoinLeft value, slopeRight value, slopeResult
    x = π/2sin π/2 = 1, slope cos π/2 = 01, slope 0continuous and differentiable
    x = π1, slope 02 + cos π = 1, slope -sin π = 0continuous and differentiable
  2. Other points. Away from these two joins, each piece is sin x, a constant or 2 + cos x, and all of these are differentiable. So the only points worth checking were the joins.
  3. So. At both joins the values agree and the slopes agree, both being 0. Hence f is differentiable everywhere in (0, ∞), which is option (b).

The idea to keep. A max or min function is just a piecewise function in disguise. Write out the pieces, then at each join match the values for continuity and the slopes for differentiability.

Answer from the NTA final answer key. Solution by PrepWiser.

Study Continuity & Differentiability

Asked about 90 times in JEE Main since 2020. This question is from 2021.