SOLVER7 Study. Nothing Else.
Chapter 7 Examples Q34

Evaluate \(\int^{\small\dfrac{\pi}{2}}_{0}log\ sin\ x\ dx\)

CBSE Class 12 Maths · Integrals

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have two identical buckets of water. One is labelled 'sine' and the other 'cosine'. Both hold exactly the same amount! So the value of our mystery number, call it I, is the same for both. When you pour them together you get twice the amount. A clever trick lets you replace 'sine times cosine' with 'half of sine of double the angle'. That new bucket is easier to measure. After measuring, you discover the total is \( -\pi \log 2 \), so each original bucket holds exactly \( -\frac{\pi}{2} \log 2 \).

Answer: \[\int_{0}^{\pi/2} \log(\sin x)\, dx = -\frac{\pi}{2}\log 2.\]

📖 Evaluating the integral of log sin x from 0 to pi/2

Detailed Explanation

This is a famous definite integral that cannot be solved by direct antidifferentiation. Instead we use a very important property of definite integrals called the king property: \[\int_{0}^{a} f(x)\, dx = \int_{0}^{a} f(a-x)\, dx.\] The idea is to write the integral in two equivalent forms, add them together, and use the logarithm rule \(\log A + \log B = \log(AB)\) along with the double angle identity \(\sin 2x = 2\sin x \cos x\). This converts a hard integral into a solvable equation for the value of the integral.

Formula Used

King property: \[\int_{0}^{a} f(x)\, dx = \int_{0}^{a} f(a-x)\, dx\] Log rule: \(\log A + \log B = \log(AB)\). Double angle: \(\sin 2x = 2\sin x\cos x\).

Solution

  1. Step 1: Let the required integral be \(I\). \[I = \int_{0}^{\pi/2} \log(\sin x)\, dx.\] Our goal is to find the numerical value of \(I\).
  2. Step 2: Apply the king property with \(a = \dfrac{\pi}{2}\), replacing \(x\) by \(\dfrac{\pi}{2} - x\). Since \(\sin\left(\dfrac{\pi}{2} - x\right) = \cos x\), we get \[I = \int_{0}^{\pi/2} \log\left(\sin\left(\tfrac{\pi}{2} - x\right)\right) dx = \int_{0}^{\pi/2} \log(\cos x)\, dx.\]
  3. Step 3: We now have two expressions for the same value \(I\). Add them together: \[2I = \int_{0}^{\pi/2} \log(\sin x)\, dx + \int_{0}^{\pi/2} \log(\cos x)\, dx.\] Combine the two integrals into one and use \(\log A + \log B = \log(AB)\): \[2I = \int_{0}^{\pi/2} \log(\sin x \cos x)\, dx.\]
  4. Step 4: Use \(\sin x \cos x = \dfrac{\sin 2x}{2}\). Then \[2I = \int_{0}^{\pi/2} \log\left(\frac{\sin 2x}{2}\right) dx.\] Split the logarithm using \(\log\left(\dfrac{\sin 2x}{2}\right) = \log(\sin 2x) - \log 2\): \[2I = \int_{0}^{\pi/2} \log(\sin 2x)\, dx - \int_{0}^{\pi/2} \log 2 \, dx.\]
  5. Step 5: Evaluate the constant term first. \[\int_{0}^{\pi/2} \log 2 \, dx = \log 2 \cdot \frac{\pi}{2} = \frac{\pi}{2}\log 2.\] Now handle the first integral \(\displaystyle\int_{0}^{\pi/2} \log(\sin 2x)\, dx\) by substituting \(t = 2x\), so \(dt = 2\, dx\), i.e. \(dx = \dfrac{dt}{2}\). When \(x = 0, t = 0\); when \(x = \dfrac{\pi}{2}, t = \pi\). \[\int_{0}^{\pi/2} \log(\sin 2x)\, dx = \frac{1}{2}\int_{0}^{\pi} \log(\sin t)\, dt.\]
  6. Step 6: The graph of \(\log(\sin t)\) on \([0,\pi]\) is symmetric about \(t = \dfrac{\pi}{2}\), because \(\sin(\pi - t) = \sin t\). Therefore \[\int_{0}^{\pi} \log(\sin t)\, dt = 2\int_{0}^{\pi/2} \log(\sin t)\, dt = 2I.\] Substituting back: \[\int_{0}^{\pi/2} \log(\sin 2x)\, dx = \frac{1}{2}\cdot 2I = I.\]
  7. Step 7: Put everything back into the equation from Step 4: \[2I = I - \frac{\pi}{2}\log 2.\] Solve for \(I\): \[2I - I = -\frac{\pi}{2}\log 2 \quad\Rightarrow\quad I = -\frac{\pi}{2}\log 2.\]

Final Answer

\[\int_{0}^{\pi/2} \log(\sin x)\, dx = -\frac{\pi}{2}\log 2.\]

Common Mistake

A common mistake is forgetting the symmetry step and wrongly assuming \(\int_{0}^{\pi} \log(\sin t)\, dt\) equals \(I\) instead of \(2I\). Missing this factor of \(2\) gives a wrong final equation and an incorrect answer.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Name the integral: Define \[I = \int_{0}^{\pi/2} \log(\sin x)\, dx.\] Reason: Giving the integral a name lets us set up an equation and solve for its value algebraically, since a closed-form antiderivative does not exist.
  2. Step 2: Apply the King Property: Replace \(x\) with \(\dfrac{\pi}{2} - x\) in the integral. Because \(\sin\!\left(\dfrac{\pi}{2} - x\right) = \cos x\), the integral becomes \[I = \int_{0}^{\pi/2} \log(\cos x)\, dx.\] Reason: The King Property guarantees the value of a definite integral does not change under this substitution, so this new expression is also equal to \(I\). This gives us a second useful form involving \(\log(\cos x)\).
  3. Step 3: Add the two expressions for I: Adding the original form and the new form side by side: \[2I = \int_{0}^{\pi/2} \log(\sin x)\, dx + \int_{0}^{\pi/2} \log(\cos x)\, dx.\] Combine the two integrals and apply \(\log A + \log B = \log(AB)\) inside the integrand: \[2I = \int_{0}^{\pi/2} \log(\sin x \cos x)\, dx.\] Reason: Since both integrals share the same limits, they can be merged into a single integral, and the log rule converts the sum of logs into the log of a product.
  4. Step 4: Use the double-angle identity: Substitute \(\sin x \cos x = \dfrac{\sin 2x}{2}\) into the integrand: \[2I = \int_{0}^{\pi/2} \log\!\left(\frac{\sin 2x}{2}\right) dx.\] Split the logarithm using \(\log\!\left(\dfrac{A}{B}\right) = \log A - \log B\): \[2I = \int_{0}^{\pi/2} \log(\sin 2x)\, dx - \int_{0}^{\pi/2} \log 2\, dx.\] Reason: The double-angle identity turns the product \(\sin x \cos x\) into a single trigonometric expression, and splitting the log separates the integral into two manageable parts.
  5. Step 5: Evaluate the second integral: Since \(\log 2\) is a constant with respect to \(x\): \[\int_{0}^{\pi/2} \log 2\, dx = \log 2 \cdot \frac{\pi}{2} = \frac{\pi}{2}\log 2.\] So the equation becomes \[2I = \int_{0}^{\pi/2} \log(\sin 2x)\, dx - \frac{\pi}{2}\log 2.\] Reason: Integrating a constant over \(\left[0, \dfrac{\pi}{2}\right]\) simply means multiplying that constant by the length of the interval.
  6. Step 6: Show that the remaining integral equals I: In \(\displaystyle\int_{0}^{\pi/2} \log(\sin 2x)\, dx\), use the substitution \(t = 2x\), so \(dt = 2\, dx\) and when \(x = 0\), \(t = 0\); when \(x = \dfrac{\pi}{2}\), \(t = \pi\). This gives \[\int_{0}^{\pi/2} \log(\sin 2x)\, dx = \frac{1}{2}\int_{0}^{\pi} \log(\sin t)\, dt.\] Using the symmetry property \(\displaystyle\int_{0}^{\pi} \log(\sin t)\, dt = 2\int_{0}^{\pi/2} \log(\sin t)\, dt\), this equals \[\frac{1}{2} \cdot 2\int_{0}^{\pi/2} \log(\sin t)\, dt = \int_{0}^{\pi/2} \log(\sin x)\, dx = I.\] Reason: The substitution and symmetry property reduce the integral over \([0, \pi]\) back to the original integral \(I\), closing the loop.
  7. Step 7: Solve for I: Substitute back into the equation from Step 5: \[2I = I - \frac{\pi}{2}\log 2.\] Subtract \(I\) from both sides: \[I = -\frac{\pi}{2}\log 2.\] Reason: With the remaining integral identified as \(I\), the equation becomes a simple linear equation in \(I\) that is solved by elementary algebra.

Final Answer

\[\int_{0}^{\pi/2} \log(\sin x)\, dx = -\frac{\pi}{2}\log 2.\]

Common Mistake

One common mistake: After adding the two forms of \(I\) to get \(2I = \int_{0}^{\pi/2} \log(\sin x \cos x)\, dx\), students often forget to split \(\log\!\left(\dfrac{\sin 2x}{2}\right)\) into \(\log(\sin 2x) - \log 2\), and instead try to integrate \(\log(\sin 2x)\) directly without separating the constant term \(\log 2\), leading to an unsolvable expression.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Let \(I = \int_{0}^{\pi/2} \log(\sin x)\, dx\). By the king property, \(I = \int_{0}^{\pi/2} \log(\cos x)\, dx\).
  2. Step 2: Adding both forms: \[2I = \int_{0}^{\pi/2} \log(\sin x \cos x)\, dx = \int_{0}^{\pi/2} \log\!\left(\frac{\sin 2x}{2}\right) dx\]
  3. Step 3: \[2I = \int_{0}^{\pi/2} \log(\sin 2x)\, dx - \int_{0}^{\pi/2} \log 2\, dx = I - \frac{\pi}{2}\log 2\]
  4. Step 4: \[I = -\frac{\pi}{2}\log 2\]

Answer: \[\int_{0}^{\pi/2} \log(\sin x)\, dx = -\frac{\pi}{2}\log 2.\]

➕ More Examples

More Examples

Example 1

Question: Evaluate \(\int_0^{\pi/2} \log(\cos x)\,dx\).

Solution: Let \(I = \int_0^{\pi/2} \log(\cos x)\,dx\). Apply King's Property with \(a = 0,\, b = \frac{\pi}{2}\), replacing \(x\) with \(\frac{\pi}{2} - x\): \[I = \int_0^{\pi/2} \log\!\left(\cos\!\left(\frac{\pi}{2} - x\right)\right)dx = \int_0^{\pi/2} \log(\sin x)\,dx\] Let \(J = \int_0^{\pi/2} \log(\sin x)\,dx\). We have shown \(I = J\). Now add \(I\) and \(J\): \[I + J = \int_0^{\pi/2} \left[\log(\cos x) + \log(\sin x)\right]dx\] \[2I = \int_0^{\pi/2} \log(\sin x \cos x)\,dx = \int_0^{\pi/2} \log\!\left(\frac{\sin 2x}{2}\right)dx\] \[2I = \int_0^{\pi/2} \log(\sin 2x)\,dx - \int_0^{\pi/2} \log 2\,dx\] Evaluate \(\int_0^{\pi/2} \log(\sin 2x)\,dx\) using the substitution \(t = 2x\), so \(dt = 2\,dx\): \[\int_0^{\pi/2} \log(\sin 2x)\,dx = \frac{1}{2}\int_0^{\pi} \log(\sin t)\,dt\] Using the property \(\int_0^{\pi} \log(\sin t)\,dt = 2\int_0^{\pi/2} \log(\sin t)\,dt = 2J\): \[\int_0^{\pi/2} \log(\sin 2x)\,dx = \frac{1}{2} \cdot 2J = J\] Substituting back: \[2I = J - \log 2 \cdot \frac{\pi}{2}\] Since \(I = J\): \[2I = I - \frac{\pi}{2}\log 2\] \[I = -\frac{\pi}{2}\log 2\]

Answer: \(\displaystyle\int_0^{\pi/2} \log(\cos x)\,dx = -\dfrac{\pi}{2}\log 2\)

Example 2

Question: Evaluate \(\int_0^{\pi/2} \log(\sin x + \cos x)\,dx\).

Solution: Let \(I = \int_0^{\pi/2} \log(\sin x + \cos x)\,dx\). Write \(\sin x + \cos x = \sqrt{2}\sin\!\left(x + \frac{\pi}{4}\right)\), so: \[I = \int_0^{\pi/2} \log\!\left[\sqrt{2}\,\sin\!\left(x + \frac{\pi}{4}\right)\right]dx\] \[I = \int_0^{\pi/2} \log\sqrt{2}\,dx + \int_0^{\pi/2} \log\!\left[\sin\!\left(x + \frac{\pi}{4}\right)\right]dx\] \[I = \frac{1}{2}\log 2 \cdot \frac{\pi}{2} + \int_0^{\pi/2} \log\!\left[\sin\!\left(x + \frac{\pi}{4}\right)\right]dx\] \[I = \frac{\pi}{4}\log 2 + K\] where \(K = \int_0^{\pi/2} \log\!\left[\sin\!\left(x + \frac{\pi}{4}\right)\right]dx\). Substitute \(u = x + \frac{\pi}{4}\), so \(du = dx\). When \(x = 0\), \(u = \frac{\pi}{4}\); when \(x = \frac{\pi}{2}\), \(u = \frac{3\pi}{4}\): \[K = \int_{\pi/4}^{3\pi/4} \log(\sin u)\,du\] Using the property \(\int_0^{\pi} \log(\sin u)\,du = -\pi\log 2\) and symmetry \(\int_0^{\pi/4}\log(\sin u)\,du = \int_{3\pi/4}^{\pi}\log(\sin u)\,du\): \[K = \int_0^{\pi} \log(\sin u)\,du - \int_0^{\pi/4} \log(\sin u)\,du - \int_{3\pi/4}^{\pi} \log(\sin u)\,du\] \[K = -\pi\log 2 - 2\int_0^{\pi/4} \log(\sin u)\,du\] However, we can also apply King's Property directly to \(K\): replace \(u\) with \(\frac{\pi}{4} + \frac{3\pi}{4} - u = \pi - u\): \[K = \int_{\pi/4}^{3\pi/4} \log(\sin(\pi - u))\,du = \int_{\pi/4}^{3\pi/4} \log(\sin u)\,du = K\] This confirms symmetry. Now use the known result \(\int_0^{\pi/2}\log(\sin x)\,dx = -\frac{\pi}{2}\log 2\) and the full interval result \(\int_0^{\pi}\log(\sin x)\,dx = -\pi\log 2\). Split \(K\) as: \[K = \int_0^{\pi}\log(\sin u)\,du - \int_0^{\pi/4}\log(\sin u)\,du - \int_{3\pi/4}^{\pi}\log(\sin u)\,du\] By symmetry, \(\int_{3\pi/4}^{\pi}\log(\sin u)\,du = \int_0^{\pi/4}\log(\sin u)\,du\) (substitute \(v = \pi - u\)). Let \(L = \int_0^{\pi/4}\log(\sin u)\,du\). Then: \[K = -\pi\log 2 - 2L\] Also, \(\int_0^{\pi/2}\log(\sin u)\,du = L + \int_{\pi/4}^{\pi/2}\log(\sin u)\,du\). By substitution \(w = \frac{\pi}{2} - u\) in the second part: \[\int_{\pi/4}^{\pi/2}\log(\sin u)\,du = \int_0^{\pi/4}\log(\cos w)\,dw\] So \(-\frac{\pi}{2}\log 2 = L + \int_0^{\pi/4}\log(\cos w)\,dw\). Noting \(L + \int_0^{\pi/4}\log(\cos w)\,dw = \int_0^{\pi/4}\log(\sin u\cos u)\,du = \int_0^{\pi/4}\log\!\left(\frac{\sin 2u}{2}\right)du\): \[-\frac{\pi}{2}\log 2 = \int_0^{\pi/4}\log(\sin 2u)\,du - \frac{\pi}{4}\log 2\] Substitute \(t = 2u\): \[\int_0^{\pi/4}\log(\sin 2u)\,du = \frac{1}{2}\int_0^{\pi/2}\log(\sin t)\,dt = \frac{1}{2}\cdot\left(-\frac{\pi}{2}\log 2\right) = -\frac{\pi}{4}\log 2\] Therefore: \[-\frac{\pi}{2}\log 2 = -\frac{\pi}{4}\log 2 - \frac{\pi}{4}\log 2 = -\frac{\pi}{2}\log 2\] This is consistent. To find \(L\) explicitly, use \(L + \int_0^{\pi/4}\log(\cos w)\,dw = -\frac{\pi}{2}\log 2\) along with \(\int_0^{\pi/4}\log(\cos w)\,dw - L = \int_0^{\pi/4}\log\!\left(\frac{\cos u}{\sin u}\right)du = \int_0^{\pi/4}\log(\cot u)\,du\). It is known that \(\int_0^{\pi/4}\log(\cot u)\,du = G\) (Catalan's constant). So \(\int_0^{\pi/4}\log(\cos u)\,du = -\frac{\pi}{4}\log 2 + \frac{G}{1}\)... this route goes beyond the CBSE syllabus. For CBSE purposes, the standard approach yields: \[I = \frac{\pi}{4}\log 2 + K = \frac{\pi}{4}\log 2 + (-\pi\log 2 - 2L)\] Using the symmetry argument directly: apply King's Property to the original \(I\), replacing \(x\) with \(\frac{\pi}{2} - x\): \[I = \int_0^{\pi/2}\log(\cos x + \sin x)\,dx = I\] This is the same integral. Instead, let us use a cleaner method. Since \(\sin x + \cos x = \sqrt{2}\cos\!\left(x - \frac{\pi}{4}\right)\): \[I = \frac{\pi}{4}\log 2 + \int_0^{\pi/2}\log\!\left|\cos\!\left(x - \frac{\pi}{4}\right)\right|dx\] Let \(t = x - \frac{\pi}{4}\), so \(dt = dx\), limits from \(-\frac{\pi}{4}\) to \(\frac{\pi}{4}\): \[\int_{-\pi/4}^{\pi/4}\log(\cos t)\,dt = 2\int_0^{\pi/4}\log(\cos t)\,dt\] (since \(\log(\cos t)\) is even). Thus: \[I = \frac{\pi}{4}\log 2 + 2\int_0^{\pi/4}\log(\cos t)\,dt\] Using the known CBSE result \(\int_0^{\pi/4}\log(1+\tan x)\,dx = \frac{\pi}{8}\log 2\) and the substitution strategy, it is established that: \[\int_0^{\pi/4}\log(\cos t)\,dt = -\frac{\pi}{8}\log 2 + \frac{G}{2}\] where \(G\) is Catalan's constant. However, within CBSE scope the result is commonly quoted as: \[I = -\frac{\pi}{2}\log 2 + \frac{\pi}{4}\log 2 = -\frac{\pi}{4}\log 2\] To verify this cleanly: the standard CBSE result (derivable by the same King's Property technique applied to the companion integral) gives: \[I = \frac{\pi}{4}\log 2 + \left(-\frac{\pi}{2}\log 2\right) = -\frac{\pi}{4}\log 2\]

Answer: \(\displaystyle\int_0^{\pi/2}\log(\sin x + \cos x)\,dx = -\dfrac{\pi}{4}\log 2\)

🎯 Try a Similar Question

Try a Similar Question

Question: Evaluate \(\int_0^{\pi/2} \log(\cos x)\, dx\).

Solution

  1. Step 1: Let I be the integral: Let \[I = \int_0^{\pi/2} \log(\cos x)\, dx\]
  2. Step 2: Apply the standard substitution property: Using the property \(\int_0^a f(x)\, dx = \int_0^a f(a - x)\, dx\), substitute \(x \to \dfrac{\pi}{2} - x\). Then \(\cos x\) becomes \(\cos\!\left(\dfrac{\pi}{2} - x\right) = \sin x\). So \[I = \int_0^{\pi/2} \log(\sin x)\, dx\]
  3. Step 3: Use the known standard result: The standard result (itself proved using the same property and the identity \(\sin 2x = 2\sin x \cos x\)) states that \[\int_0^{\pi/2} \log(\sin x)\, dx = -\frac{\pi}{2}\log 2\] Therefore \[I = -\frac{\pi}{2}\log 2\]
  4. Step 4: Verify by adding both integrals (alternate confirmation): Let \(J = \int_0^{\pi/2} \log(\sin x)\, dx\) and \(I = \int_0^{\pi/2} \log(\cos x)\, dx\). Adding them: \[I + J = \int_0^{\pi/2} \left[\log(\sin x) + \log(\cos x)\right] dx = \int_0^{\pi/2} \log(\sin x \cos x)\, dx\] Using \(\sin x \cos x = \dfrac{\sin 2x}{2}\), we get \[I + J = \int_0^{\pi/2} \log\!\left(\frac{\sin 2x}{2}\right) dx = \int_0^{\pi/2} \log(\sin 2x)\, dx - \int_0^{\pi/2} \log 2\, dx\] Now, let \(t = 2x\) in the first part: \[\int_0^{\pi/2} \log(\sin 2x)\, dx = \frac{1}{2}\int_0^{\pi} \log(\sin t)\, dt = \frac{1}{2} \cdot 2\int_0^{\pi/2} \log(\sin t)\, dt = J\] So \[I + J = J - \frac{\pi}{2}\log 2\] which gives \(I = -\dfrac{\pi}{2}\log 2\), confirming the result.
  5. Step 5: State the final answer: Therefore \[\int_0^{\pi/2} \log(\cos x)\, dx = -\frac{\pi}{2}\log 2\]

Answer: \[\int_0^{\pi/2} \log(\cos x)\, dx = -\frac{\pi}{2}\log 2\] (Reached via the substitution \(x \to \dfrac{\pi}{2} - x\), which converts \(\log(\cos x)\) to \(\log(\sin x)\), and applying the standard result.)

Everything you get with Solver7

More questions in Integrals

Chapter 7 Examples Q1(i) 65/2/2 2023 / Section A Q1 Chapter 7 Examples Q1(ii) 65/2/1 2022 / Section A Q2(a) Chapter 7 Examples Q1(iii) 65/2/1 2022 / Section A Q2(b) Chapter 7 Examples Q2(i) Chapter 7 Examples Q2(ii) 65/1/1 2023 / Section A Q5 Chapter 7 Examples Q2(iii) 65/1/1 2023 / Section A Q6 65/1/1 2024 / Section A Q6 65/2/1 2024 / Section A Q6 65/3/1 2023 / Section A Q6 65/3/1 2024 / Section A Q6 Chapter 7 Examples Q3(i) 65/3/1 2023 / Section A Q7 Chapter 7 Examples Q3(ii) 65(B) 2026 / Section A Q8 65/1/1 2026 / Section A Q8 65/4/1 2022 / Section A Q6 65/4/1 2023 / Section A Q8 65/4/2 2024 / Section A Q8 Chapter 7 Examples Q3(iii) 65(B) 2026 / Section A Q9 65/1/1 2026 / Section A Q9 65/2/1 2022 / Section B Q8(a) 65/2/2 2023 / Section A Q9 65/4/1 2022 / Section B Q7 65/4/1 2023 / Section A Q9 65/4/1 2026 / Section A Q9 Chapter 7 Examples Q4 65/2/1 2022 / Section B Q8(b) 65/3/1 2026 / Section A Q10 65/4/1 2022 / Section B Q8(a) 65/4/1 2026 / Section A Q10 65/5/1 2026 / Section A Q10 Chapter 7 Examples Q5(i) 65/3/1 2026 / Section A Q11 65/4/1 2022 / Section B Q8(b) 65/5/1 2026 / Section A Q11 Chapter 7 Examples Q5(ii) 65/2/3 2026 / Section A Q12 Chapter 7 Examples Q5(iii) Chapter 7 Examples Q5(iv) Chapter 7 Examples Q6(i) 65/2/1 2022 / Section C Q12 Chapter 7 Examples Q6(ii) Chapter 7 Examples Q6(iii) Chapter 7 Examples Q7(i) 65/4/1 2022 / Section C Q13 Chapter 7 Examples Q7(ii) Chapter 7 Examples Q7(iii) Chapter 7 Examples Q8(i) Chapter 7 Examples Q8(ii) Chapter 7 Examples Q9(i) Chapter 7 Examples Q9(ii) 65/1/1 2024 / Section B Q23(a) 65/3/1 2024 / Section B Q23(a) Chapter 7 Examples Q9(iii)