JEE Main 2025 · 4 April · morning · Numerical answer · +4 / −1

Let m and n be the number of points at which the function f(x)=max {x, x³, x⁵, … x²¹}, x ∈ ℝ, is not differentiable and not continuous, respectively. Then m+n is equal to _________.

Answer and solution

Answer 3

Solution

Maths sir · 4 steps

Odd powers all pass through −1, 0 and 1. Find which power wins on each piece, then check the joins.

  1. Compare the powers. For |x| > 1, higher powers have larger size. For |x| < 1, higher powers have smaller size. Odd powers keep the sign of x, so only x and x²¹ can ever be the maximum.
    IntervalLargest termReason
    x ≤ -1xAll terms are negative, and x has the smallest size
    -1 ≤ x ≤ 0x²¹All terms are negative, and x²¹ is closest to 0
    0 ≤ x ≤ 1xAll terms are positive, and x is the largest
    x ≥ 1x²¹All terms are positive, and x²¹ grows fastest
  2. Continuity. A maximum of continuous functions is continuous. The pieces also agree at the joins: f(-1) = -1, f(0) = 0, f(1) = 1. So f is continuous everywhere and n = 0.
  3. Differentiability. The slope of x is 1 and the slope of x²¹ is 21x²⁰. At x = -1 the slopes are 1 and 21. At x = 0 they are 0 and 1. At x = 1 they are 1 and 21. They differ at all three joins, so m = 3.
  4. So. m + n = 3 + 0 = 3.

The common slip: 2. Missing the switch at x = 0 and counting corners only at x = ± 1 gives 2. Between -1 and 0 the winner is x²¹, not x.

The idea to keep. For a max or min of functions, first find which function wins on each interval. Then compare left and right slopes at every switch point. A max of continuous functions is always continuous.

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 2025.