Given,
f(x)=x+∫0π/2sin(x+y)f(y)dy
⇒f(x)=x+∫0π/2(sinxcosy+cosxsiny)f(y)dy
⇒f(x)=x+∫0π/2((cosyf(y)dy)sinx+(sinyf(y)dy)cosx)
And,f(x)=x+π2−4asinx+π2−4bcosx,x∈R
On comparing both the equations of f(x) we get,
⇒π2−4a=∫0π/2cosyf(y)dy…(1)
⇒π2−4b=∫0π/2sinyf(y)dy…(2)
Adding equation (1) and equation (2) we get,
π2−4a+b=∫0π/2(siny+cosy)f(y)dy…(3)
∵∫0af(x)dx=∫0af(a−x)dx
∴π2−4a+b=∫0π/2(siny+cosy)f(2π−y)dy…(4)
Add equation (3) and equation (4) we get,
π2−42(a+b)=∫0π/2(siny+cosy)(2π+π2−4(a+b)(siny+cosy))dy
⇒π2−42(a+b)=π+π2−4a+b(2π+1)
⇒(a+b)=−2π(π+2)