Skip to content
Worked Examples · Example 13

Q.Find the intervals in which the function ff given by f(x)=sin⁡x+cos⁡x, 0≤x≤2πf(x) = \sin x + \cos x,\ 0 \le x \le 2\pi is increasing or decreasing.

Uttarakhand UbseTextbookSubjective· 3mImportance★★★★★
Appeared in past exams:KEAM 2025· Set eng-2025-0428· 4mreworded
27% · 50/188 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)=sin⁡x+cos⁡xf(x) = \sin x + \cos x is increasing on [0,π4)[0, \frac{\pi}{4}) and (5π4,2π](\frac{5\pi}{4}, 2\pi], and decreasing on (π4,5π4)(\frac{\pi}{4}, \frac{5\pi}{4}), determined by the sign of its derivative f′(x)=cos⁡x−sin⁡xf'(x) = \cos x - \sin x.

To decide where a function is increasing or decreasing, we look at the sign of its derivative. If f′(x)>0f'(x) > 0, the function is rising; if f′(x)<0f'(x) < 0, it is falling. The key here is to find where f′(x)f'(x) changes sign, which happens at its zeros.

  1. Find the derivative.

    f(x)=sin⁡x+cos⁡xf(x) = \sin x + \cos x

    f′(x)=cos⁡x−sin⁡xf'(x) = \cos x - \sin x

  2. Set the derivative to zero to find critical points.

    cos⁡x−sin⁡x=0  ⟹  cos⁡x=sin⁡x\cos x - \sin x = 0 \implies \cos x = \sin x

    This happens when tan⁡x=1\tan x = 1. Within 0≤x≤2π0 \le x \le 2\pi, the solutions are:

    x=π4x = \frac{\pi}{4} and x=5π4x = \frac{5\pi}{4}.

    These two points divide the interval [0,2π][0, 2\pi] into three subintervals:

    [0,π4)[0, \frac{\pi}{4}), (π4,5π4)(\frac{\pi}{4}, \frac{5\pi}{4}), and (5π4,2π](\frac{5\pi}{4}, 2\pi].

  3. Test the sign of f′(x)f'(x) in each interval.

    Pick a convenient test point inside each interval and evaluate f′(x)=cos⁡x−sin⁡xf'(x) = \cos x - \sin x.

    • Interval [0,π4)[0, \frac{\pi}{4}): Choose x=0x = 0.

      f′(0)=cos⁡0−sin⁡0=1−0=1>0f'(0) = \cos 0 - \sin 0 = 1 - 0 = 1 > 0

      So ff is increasing here.

    • Interval (π4,5π4)(\frac{\pi}{4}, \frac{5\pi}{4}): Choose x=πx = \pi.

      f′(π)=cos⁡π−sin⁡π=−1−0=−1<0f'(\pi) = \cos \pi - \sin \pi = -1 - 0 = -1 < 0

      So ff is decreasing here.

    • Interval (5π4,2π](\frac{5\pi}{4}, 2\pi]: Choose x=2πx = 2\pi.

      f′(2π)=cos⁡2π−sin⁡2π=1−0=1>0f'(2\pi) = \cos 2\pi - \sin 2\pi = 1 - 0 = 1 > 0

      So ff is increasing here.

Watch out

A common mistake is to forget that tan⁡x=1\tan x = 1 has two solutions in [0,2π][0, 2\pi]: π4\frac{\pi}{4} and 5π4\frac{5\pi}{4}. Only checking the first quadrant leads to an incomplete analysis. …

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.