- Given
We have
f(x)=x+π2−4asinx+π2−4bcosx
and it satisfies
f(x)=x+∫0π/2sin(x+y)f(y)dy.
We need to find a+b.
- Expand the kernel
Using
sin(x+y)=sinxcosy+cosxsiny,
we get
∫0π/2sin(x+y)f(y)dy=sinx∫0π/2f(y)cosydy+cosx∫0π/2f(y)sinydy.
Let
I1=∫0π/2f(y)cosydy,I2=∫0π/2f(y)sinydy.
Then
f(x)=x+I1sinx+I2cosx.
Comparing with the given form
f(x)=x+π2−4asinx+π2−4bcosx,
we identify
I1=π2−4a,I2=π2−4b.
- Use the form of f(y) to compute I1,I2
Write
f(y)=y+I1siny+I2cosy.
So
I1=∫0π/2f(y)cosydy=∫0π/2ycosydy+I1∫0π/2sinycosydy+I2∫0π/2cos2ydy.
Similarly,
I2=∫0π/2f(y)sinydy=∫0π/2ysinydy+I1∫0π/2sin2ydy+I2∫0π/2sinycosydy.
Now compute the standard integrals:
∫0π/2ycosydy=[ysiny+cosy]0π/2=2π−1,
∫0π/2ysinydy=[−ycosy+siny]0π/2=1,
∫0π/2sinycosydy=21,
∫0π/2cos2ydy=∫0π/2sin2ydy=4π.
Hence,
I1=(2π−1)+21I1+4πI2
I2=1+4πI1+21I2.
Rearrange:
21I1−4πI2=2π−1
−4πI1+21I2=1.
Multiply by 4:
2I1−πI2=2π−4...(1)
−πI1+2I2=4...(2)
- Solve for I1 and I2
From (1) and (2), in matrix form:
(2−π−π2)(I1I2)=(2π−44).
Since
I1=π2−4a,I2=π2−4b,
substitute into (1), (2):
2π2−4a−ππ2−4b=2π−4
−ππ2−4a+2π2−4b=4.
Multiply both equations by (π2−4):
2a−πb=(2π−4)(π2−4)...(3)
−πa+2b=4(π2−4)....(4)
But we only need a+b. So solve directly for I1+I2 first.
Add (1) and (2):
(2−π)(I1+I2)=2π.
Thus
I1+I2=2−π2π=−π−22π.
Now
a+b=(π2−4)(I1+I2).
So
a+b=(π2−4)(−π−22π).
Using
π2−4=(π−2)(π+2),
we get
a+b=−(π−2)(π+2)⋅π−22π=−2π(π+2).
- Match with options
a+b=−2π(π+2)
which is Option A.
- Comparison with stored answer
Stored correct answer: A
Our derived answer: A
So they agree.