Question
Question: Integrate \[\log (\sin x + \cos x)dx\] from \[\dfrac{{ - \pi}}{4}\] to \[\dfrac{{\pi}}{4}\]....
Integrate log(sinx+cosx)dx from 4−π to 4π.
Solution
In order to determine the integral of the given logarithmic function, log(sinx+cosx)dx. First, we have to compare the given function with the formula, b∫af(x)dx=o∫a[f(x)+f(−x)]dxis continuous in interval[−a,a], the process of finding integrals is called integration.
and also, the logarithmic formula is (loga+logb=logab)used to get the required solution.
Complete step-by-step answer:
We are given integrate the equationlog(sinx+cosx)dx with the interval from −4π to 4π.
Now, consider, I=4−π∫4πlog(sinx+cosx)dx ----------(1)
Let the functionf(x) is continuous in interval [-a,a], then
b∫af(x)dx=o∫a[f(x)+f(−x)]dx
I=0∫4π[log(sin(x)+cos(x))+log(sin(−x)+cos(−x))]dx
Expanding the bracket on RHS, since cos(−x)=cosxbut, sin(−x)=−sinx
I=0∫4π[log(sinx+cosx)+log(cosx−sinx)]dx
Accordingly, we get the logarithmic formula is (loga+logb=logab)
I=0∫4π[log(sinx+cosx)(cosx−sinx)]dx
We can write this as follows
I=0∫4πlog(cos2x−sin2x)dx
I=0∫4πlog(cos2x)dx --------(2)
Now, let us consider 2x = t$$$$ \Rightarrow dx = \dfrac{{dt}}{2}
When x=0then t=0
When x=4π then t=2(4π)⇒t=2π
Now, we can substitute all the values in the equation (2), then
⇒I=0∫tlog(cost)dx
⇒I=0∫2πlog(cost)(2dt)
⇒I=210∫2πlog(cost)dt --------- (3)
By symmetry we have thelog(sinx)dx=I=log(cosx)dx on the interval of [0,2π]. So this is true for any even or odd function on this interval. 0∫2πlog(cosx)dx=I=0∫2πlog(sinx)dx, as is an exercise from Demidovich problem in analysis. then
⇒I=210∫2πlog(sint)dt --------- (4)
Here, adding the equation (3) and (4), we can get
⇒I+I=210∫2πlog(sint+cost)dt
since, (log(a+b)=logab)
⇒2I=210∫2πlog(sintcost)dt
⇒2I=210∫2πlog2sin2tdt
Now, we can substitute back ‘t’ value, we can get
⇒2I=210∫2π(log(sin2x)−log2)dx
From the equation (4) ⇒I=210∫2πlog(sint)dt where, t=2x, we can get
⇒2I=I−(21)2πlog2
By subtracting ‘I’ on both sides of the equation, now
Therefore, I=−4πloge2
Hence, Integratelog(sinx+cosx)dxfrom4−πto4π is I=−4πloge2
Note: we note that an exercise from Demidovich problem in analysis we have to remind is0∫2πlog(cosx)dx=I=0∫2πlog(sinx)dx.
In integral, there are two types of integrals in maths are definite integral and Indefinite integral
Definite Integral: An integral that contains the upper and lower limits then it is a definite integral. On a real line, x is restricted to lie. Riemann Integral is the other name of the Definite Integral.A definite Integral is represented as: a∫bf(x)dx
Indefinite Integral : Indefinite integrals are defined without upper and lower limits. It is represented as: ∫f(x)dx=F(x)+C. Where C is any constant and the function f(x)is called the integrand.