The question asks for the value of the definite integral:
$ I = \int_0^{\pi/2} \log (\cos x) \text{ dx} $
We use the property of definite integrals: $$\int_0^a f(x) \text{ dx} = \int_0^a f(a-x) \text{ dx}$. Here, $a = \pi/2$. Applying this property:
$ I = \int_0^{\pi/2} \log \left(\cos \left(\frac{\pi}{2} - x\right)\right) \text{ dx} $
Since $$\cos(\pi/2 - x) = \sin x$, we get:
$ I = \int_0^{\pi/2} \log (\sin x) \text{ dx} $
Let's add the two expressions for $$I$:
$ 2I = \int_0^{\pi/2} \log (\cos x) \text{ dx} + \int_0^{\pi/2} \log (\sin x) \text{ dx} $
$ 2I = \int_0^{\pi/2} [\log (\cos x) + \log (\sin x)] \text{ dx} $
Using the logarithm property $$\log A + \log B = \log (AB)$:
$ 2I = \int_0^{\pi/2} \log (\cos x \sin x) \text{ dx} $
We use the double angle identity $$\sin(2x) = 2 \sin x \cos x$, which implies $$\sin x \cos x = \frac{1}{2} \sin(2x)$.
$ 2I = \int_0^{\pi/2} \log \left(\frac{1}{2} \sin(2x)\right) \text{ dx} $
Using the logarithm property $$\log(A/B) = \log A - \log B$:
$ 2I = \int_0^{\pi/2} [\log (\sin(2x)) - \log 2] \text{ dx} $
$ 2I = \int_0^{\pi/2} \log (\sin(2x)) \text{ dx} - \int_0^{\pi/2} \log 2 \text{ dx} $
The second integral is straightforward:
$ \int_0^{\pi/2} \log 2 \text{ dx} = [\log 2 \cdot x]_0^{\pi/2} = \frac{\pi}{2} \log 2 $
For the first integral, $$\int_0^{\pi/2} \log (\sin(2x)) \text{ dx}$, let $u = 2x$. Then $du = 2 dx$, or $dx = du/2$. The limits change: when $x=0$, $u=0$; when $x=\pi/2$, $u=\pi$.
$ \int_0^{\pi/2} \log (\sin(2x)) \text{ dx} = \int_0^{\pi} \log (\sin u) \frac{du}{2} = \frac{1}{2} \int_0^{\pi} \log (\sin u) \text{ du} $
Using the property $$\int_0^{2a} f(x) \text{ dx} = 2 \int_0^a f(x) \text{ dx}$ if $$f(2a-x) = f(x)$. Here, $f(u) = \log(\sin u)$, and $f(\pi - u) = \log(\sin(\pi - u)) = \log(\sin u) = f(u)$. So, $$\int_0^{\pi} \log (\sin u) \text{ du} = 2 \int_0^{\pi/2} \log (\sin u) \text{ du}$.
Therefore, $$ \int_0^{\pi/2} \log (\sin(2x)) \text{ dx} = \frac{1}{2} \left( 2 \int_0^{\pi/2} \log (\sin u) \text{ du} \right) = \int_0^{\pi/2} \log (\sin u) \text{ du} $
We know from step 2 that $$I = \int_0^{\pi/2} \log (\sin u) \text{ du}$. So, $$ \int_0^{\pi/2} \log (\sin(2x)) \text{ dx} = I $
Substitute the results back into the equation for $$2I$:
$ 2I = I - \frac{\pi}{2} \log 2 $
Subtracting $$I$ from both sides gives:
$ I = -\frac{\pi}{2} \log 2 $
Thus, the value of the integral is $$-\frac{\pi}{2} \log 2$.
Let $$f(t) = \begin{cases} 1, & t \in [0, 2] \\ -t + 3, & t \in [2, 3] \\ 0, & \text{otherwise} \end{cases}$$ Then $$\int_{-\infty}^{\infty} f(\tau) d\tau = \_\_\_\_\_.$$ (rounded off to one decimal place)
The integral $$\frac{1}{\pi} \int_0^\infty \frac{x^{2026}}{(1 + x^{2026})(1 + x^2)} dx$$ evaluates to _________
(Round off to two decimal places)