To find the value of f(0), we start by splitting the given definite integral into two separate integrals:
∫0π(f′(x)+F(x))cosxdx=∫0πf′(x)cosxdx+∫0πF(x)cosxdx=2
Let:
I1=∫0πf′(x)cosxdx
I2=∫0πF(x)cosxdx
Evaluating I1:
Using integration by parts on I1 with u=cosx and dv=f′(x)dx:
- du=−sinxdx
- v=f(x)
Applying the formula ∫udv=uv−∫vdu:
I1=[f(x)cosx]0π−∫0πf(x)(−sinx)dx
I1=(f(π)cosπ−f(0)cos0)+∫0πf(x)sinxdx
Given that f(π)=−6, cosπ=−1, and cos0=1:
I1=((−6)(−1)−f(0)(1))+∫0πf(x)sinxdx
I1=6−f(0)+∫0πf(x)sinxdx
Evaluating I2:
Given F(x)=∫0xf(t)dt, by the Fundamental Theorem of Calculus, we have F′(x)=f(x) and F(0)=0.
Using integration by parts on I2 with u=F(x) and dv=cosxdx:
- du=F′(x)dx=f(x)dx
- v=sinx
Applying the integration by parts formula:
I2=[F(x)sinx]0π−∫0πf(x)sinxdx
I2=(F(π)sinπ−F(0)sin0)−∫0πf(x)sinxdx
Since sinπ=0 and sin0=0:
I2=0−∫0πf(x)sinxdx=−∫0πf(x)sinxdx
Combining I1 and I2:
I1+I2=(6−f(0)+∫0πf(x)sinxdx)+(−∫0πf(x)sinxdx)
I1+I2=6−f(0)
We are given that I1+I2=2:
6−f(0)=2
f(0)=4