SOLVER7 Study. Nothing Else.
Exercise 6.3 Q9

What is the maximum value of the function \(sin\ x + cos\ x?\)

CBSE Class 12 Maths · Application of Derivatives

Solution

👶 Simple Explanation

Simple Explanation

Imagine a see-saw that goes up and down smoothly. The functions \( \sin x \) and \( \cos x \) are like two see-saws rocking together. When you add them, the combined see-saw swings a little higher than either one alone. Each see-saw reaches only as high as 1, but together they can reach \( \sqrt{2} \), which is about 1.41. That highest point is the maximum value of their sum. It is like two small waves joining to make one slightly taller wave.

Answer: The maximum value of \( \sin x + \cos x \) is \( \sqrt{2} \).

📖 Maximum Value of sin x + cos x

Detailed Explanation

We want the largest value that \( f(x) = \sin x + \cos x \) can take. There are two standard approaches in Class 12. The first is the maxima–minima method from Application of Derivatives: find where the derivative is zero (critical points), then use the second derivative to check whether that point gives a maximum. The second is the amplitude method: any expression of the form \( a\sin x + b\cos x \) can be rewritten as a single sine (or cosine) function with amplitude \( \sqrt{a^2 + b^2} \), and since sine ranges from \(-1\) to \(1\), the maximum value is exactly this amplitude. Both methods must give the same answer.

Formula Used

For \( a\sin x + b\cos x \), the maximum value is \( \sqrt{a^2 + b^2} \) and the minimum value is \( -\sqrt{a^2 + b^2} \). Also, for maxima–minima: at a maximum \( f'(x) = 0 \) and \( f''(x) < 0 \).

Solution

  1. Step 1: Let the function be \( f(x) = \sin x + \cos x \). We will find its maximum using the derivative method.
  2. Step 2: Differentiate with respect to \( x \). \[ f'(x) = \cos x - \sin x \] The critical points occur where the derivative is zero, because at a maximum the slope of the tangent is zero.
  3. Step 3: Set \( f'(x) = 0 \). \[ \cos x - \sin x = 0 \] So \( \sin x = \cos x \), which gives \( \tan x = 1 \). Hence \( x = \frac{\pi}{4} \) is one such critical point.
  4. Step 4: Use the second derivative to confirm it is a maximum. \[ f''(x) = -\sin x - \cos x \] At \( x = \frac{\pi}{4} \): \[ f''\left(\tfrac{\pi}{4}\right) = -\frac{1}{\sqrt{2}} - \frac{1}{\sqrt{2}} = -\sqrt{2} < 0 \] Since \( f''(x) < 0 \), the point is a maximum.
  5. Step 5: Find the maximum value by substituting \( x = \frac{\pi}{4} \) into \( f(x) \). \[ f\left(\tfrac{\pi}{4}\right) = \sin\tfrac{\pi}{4} + \cos\tfrac{\pi}{4} = \frac{1}{\sqrt{2}} + \frac{1}{\sqrt{2}} = \sqrt{2} \]
  6. Step 6: Check with the amplitude method. Here \( a = 1 \) and \( b = 1 \), so the maximum value is \[ \sqrt{a^2 + b^2} = \sqrt{1^2 + 1^2} = \sqrt{2} \] This matches the calculus result, confirming our answer.

Final Answer

The maximum value of \( \sin x + \cos x \) is \( \sqrt{2} \).

Common Mistake

A common mistake is to add the individual maximum values of \( \sin x \) and \( \cos x \) as \( 1 + 1 = 2 \). This is wrong because \( \sin x \) and \( \cos x \) do not attain their maximum value of \( 1 \) at the same \( x \). The correct maximum is \( \sqrt{2} \), reached at \( x = \frac{\pi}{4} \).

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Define the function: \( f(x) = \sin x + \cos x \). — Reason: Clearly naming the function makes every later step unambiguous.
  2. Step 2: Differentiate \( f(x) \) with respect to \( x \): \[ f'(x) = \cos x - \sin x \] — Reason: At any maximum or minimum, the tangent to the curve is horizontal, so the derivative must equal zero. We need \( f'(x) \) before we can find those critical points.
  3. Step 3: Set the derivative equal to zero and solve: \[ \cos x - \sin x = 0 \] This gives \( \sin x = \cos x \), so \( \tan x = 1 \), and therefore \( x = \dfrac{\pi}{4} \) is a critical point. — Reason: Critical points are candidates for maxima or minima; we must find them before we can confirm which is which.
  4. Step 4: Find the second derivative: \[ f''(x) = -\sin x - \cos x \] — Reason: The second derivative test tells us whether a critical point is a maximum (negative value) or a minimum (positive value).
  5. Step 5: Evaluate the second derivative at \( x = \dfrac{\pi}{4} \): \[ f''\!\left(\frac{\pi}{4}\right) = -\sin\frac{\pi}{4} - \cos\frac{\pi}{4} = -\frac{1}{\sqrt{2}} - \frac{1}{\sqrt{2}} = -\frac{2}{\sqrt{2}} = -\sqrt{2} \] Since \( f''\!\left(\dfrac{\pi}{4}\right) = -\sqrt{2} < 0 \), the function has a local maximum at \( x = \dfrac{\pi}{4} \). — Reason: A negative second derivative confirms the curve is concave down at that point, which means it is indeed a maximum.
  6. Step 6: Calculate the maximum value by substituting \( x = \dfrac{\pi}{4} \) into \( f(x) \): \[ f\!\left(\frac{\pi}{4}\right) = \sin\frac{\pi}{4} + \cos\frac{\pi}{4} = \frac{1}{\sqrt{2}} + \frac{1}{\sqrt{2}} = \frac{2}{\sqrt{2}} = \sqrt{2} \] — Reason: Plugging the critical point back into the original function gives the actual maximum value.
  7. Step 7: Verification using the amplitude method: Here \( a = 1 \) and \( b = 1 \), so the amplitude is \[ \sqrt{a^2 + b^2} = \sqrt{1^2 + 1^2} = \sqrt{2} \] This matches the derivative method, confirming the answer. — Reason: Cross-checking with a second method eliminates calculation errors and reinforces understanding.

Final Answer

The maximum value of \( \sin x + \cos x \) is \( \sqrt{2} \).

Common Mistake

One common mistake: students set \( f'(x) = 0 \) and find \( x = \dfrac{\pi}{4} \) but then forget to apply the second derivative test, so they cannot tell whether the critical point is a maximum or a minimum — always check the sign of \( f''(x) \) at every critical point.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Let \( f(x) = \sin x + \cos x \). Differentiate: \[ f'(x) = \cos x - \sin x \]
  2. Step 2: Set \( f'(x) = 0 \): \( \cos x = \sin x \), so \( \tan x = 1 \), giving \( x = \dfrac{\pi}{4} \). Second derivative: \[ f''(x) = -\sin x - \cos x \] At \( x = \dfrac{\pi}{4} \): \( f''\!\left(\dfrac{\pi}{4}\right) = -\dfrac{1}{\sqrt{2}} - \dfrac{1}{\sqrt{2}} = -\sqrt{2} < 0 \), confirming a maximum.
  3. Step 3: Maximum value: \[ f\!\left(\frac{\pi}{4}\right) = \sin\frac{\pi}{4} + \cos\frac{\pi}{4} = \frac{1}{\sqrt{2}} + \frac{1}{\sqrt{2}} = \sqrt{2} \]

Answer: The maximum value of \( \sin x + \cos x \) is \( \sqrt{2} \).

➕ More Examples

More Examples

Example 1

Question: Find the maximum value of \( f(x) = \sqrt{3}\sin x + \cos x \).

Solution: We have \( f(x) = \sqrt{3}\sin x + \cos x \), which is of the form \( a\sin x + b\cos x \) with \( a = \sqrt{3} \) and \( b = 1 \). Using the standard formula, the maximum value is: \[ R = \sqrt{a^2 + b^2} = \sqrt{(\sqrt{3})^2 + (1)^2} \] \[ R = \sqrt{3 + 1} = \sqrt{4} = 2 \] We can verify this by rewriting the function. Multiply and divide by R = 2: \[ f(x) = 2\left(\frac{\sqrt{3}}{2}\sin x + \frac{1}{2}\cos x\right) \] Recognising that \( \frac{\sqrt{3}}{2} = \cos 30^{\circ} \) and \( \frac{1}{2} = \sin 30^{\circ} \), we get: \[ f(x) = 2\left(\sin x \cos 30^{\circ} + \cos x \sin 30^{\circ}\right) = 2\sin(x + 30^{\circ}) \] Since the maximum value of \( \sin \) is 1, the maximum value of \( f(x) \) is \( 2 \times 1 = 2 \).

Answer: Maximum value = 2

Example 2

Question: Find the maximum value of \( g(x) = 3\sin x + 4\cos x \).

Solution: We have \( g(x) = 3\sin x + 4\cos x \), which is of the form \( a\sin x + b\cos x \) with \( a = 3 \) and \( b = 4 \). Using the standard formula, the maximum value is: \[ R = \sqrt{a^2 + b^2} = \sqrt{3^2 + 4^2} \] \[ R = \sqrt{9 + 16} = \sqrt{25} = 5 \] To verify, we rewrite the expression. Multiply and divide by R = 5: \[ g(x) = 5\left(\frac{3}{5}\sin x + \frac{4}{5}\cos x\right) \] Let \( \cos\phi = \frac{3}{5} \) and \( \sin\phi = \frac{4}{5} \) for some angle \( \phi \). Then: \[ g(x) = 5\left(\sin x \cos\phi + \cos x \sin\phi\right) = 5\sin(x + \phi) \] Since the maximum value of \( \sin(x + \phi) \) is 1, the maximum value of \( g(x) \) is \( 5 \times 1 = 5 \).

Answer: Maximum value = 5

🎯 Try a Similar Question

Try a Similar Question

Question: Find the maximum value of the function \( f(x) = \sqrt{3}\sin x + \cos x \).

Solution

  1. Step 1: Write the function in standard form: We have \( f(x) = \sqrt{3}\sin x + \cos x \). This is of the form \( a\sin x + b\cos x \) with \( a = \sqrt{3} \) and \( b = 1 \).
  2. Step 2: Express using the auxiliary angle method: We write \( f(x) = R\sin(x + \phi) \), where \( R = \sqrt{a^2 + b^2} \). Substituting the values: \[ R = \sqrt{(\sqrt{3})^2 + (1)^2} = \sqrt{3 + 1} = \sqrt{4} = 2. \]
  3. Step 3: Verify the expansion: Expanding \( R\sin(x + \phi) = R\sin x \cos\phi + R\cos x \sin\phi \), we match coefficients: \( R\cos\phi = \sqrt{3} \) and \( R\sin\phi = 1 \). With \( R = 2 \), we get \( \cos\phi = \frac{\sqrt{3}}{2} \) and \( \sin\phi = \frac{1}{2} \), giving \( \phi = \frac{\pi}{6} \). So \( f(x) = 2\sin\left(x + \frac{\pi}{6}\right) \).
  4. Step 4: Find the maximum value: Since the maximum value of \( \sin\left(x + \frac{\pi}{6}\right) \) is \( 1 \), the maximum value of \( f(x) = 2\sin\left(x + \frac{\pi}{6}\right) \) is \( 2 \times 1 = 2 \).
  5. Step 5: State the result: The maximum value is attained when \( x + \frac{\pi}{6} = \frac{\pi}{2} \), i.e., when \( x = \frac{\pi}{3} \). Therefore, the maximum value of \( f(x) = \sqrt{3}\sin x + \cos x \) is \( 2 \).

Answer: The maximum value of \( f(x) = \sqrt{3}\sin x + \cos x \) is \( 2 \).

Everything you get with Solver7

More questions in Application of Derivatives

Chapter 6 Examples Q1 Chapter 6 Examples Q2 Chapter 6 Examples Q3 Chapter 6 Examples Q4 65/1/1 2024 / Section A Q4 Chapter 6 Examples Q5 65(B) 2026 / Section A Q5 65/2/1 2024 / Section A Q5 65/3/1 2024 / Section A Q5 Chapter 6 Examples Q6 65/4/1 2026 / Section A Q6 Chapter 6 Examples Q7 65/1/1 2026 / Section A Q7 Chapter 6 Examples Q8 Chapter 6 Examples Q9(i) 65/3/1 2026 / Section A Q9 65/5/1 2026 / Section A Q9 Chapter 6 Examples Q9(ii) Chapter 6 Examples Q9(iii) Chapter 6 Examples Q10 Chapter 6 Examples Q11 65/2/3 2026 / Section A Q13 Chapter 6 Examples Q12 Chapter 6 Examples Q13 Chapter 6 Examples Q14 65/1/1 2023 / Section A Q16 Chapter 6 Examples Q15 Chapter 6 Examples Q16 65/4/2 2024 / Section A Q18 Chapter 6 Examples Q17 65(B) 2026 / Section A Q19 Chapter 6 Examples Q18 Chapter 6 Examples Q19 65/4/2 2024 / Section B Q21 Chapter 6 Examples Q20 65/3/1 2026 / Section B Q22 Chapter 6 Examples Q21 65(B) 2026 / Section B Q22(a) 65/1/1 2024 / Section B Q22 65/1/1 2026 / Section B Q22 65/3/1 2023 / Section B Q23 Chapter 6 Examples Q22 65(B) 2026 / Section B Q22(b) 65/4/1 2023 / Section B Q23 65/4/1 2026 / Section B Q23 65/4/2 2024 / Section B Q23 65/5/1 2026 / Section B Q23 Chapter 6 Examples Q23 65/2/1 2024 / Section B Q23 65/2/3 2026 / Section B Q24(a) Chapter 6 Examples Q24 65/2/3 2026 / Section B Q24(b) Chapter 6 Examples Q25 65/1/1 2023 / Section B Q25 65/2/1 2024 / Section B Q25 65/2/2 2023 / Section B Q25 Chapter 6 Examples Q26 Chapter 6 Examples Q27 Chapter 6 Examples Q28 65/3/1 2024 / Section C Q27(a)