0

Given

$f(x) + f(x + 1) = 2$ (f is continuous)

$I_1 = \int^8_0 f(x)dx$

$I_2 = \int^3_{-1} f(x) dx$

Find $I_1 + 2I_2$.


I found $f(x) = f(x+2)$ so function has a period of 2.

So $I_1 = 4\int^2_0 f(x)dx$ but I'm not getting how to solve this.

Shub
  • 586
  • 2
  • 13
  • 2
    Hint: substitute $f(x) = 2 - f(x + 1)$ into expression for $I_2$. – mihaild Apr 19 '23 at 09:12
  • @mihaild thanks a lot :) $$\begin{align} I_2 &= \int^3_{-1} 2 - f(x+1) \ dx\ &= (2x)^3_{-1} - \int^3_{-1} f(x+1)) dx \ &= 8 - \int^4_0 f(y) dy\ &= 8 - 2\int^2_0 f(x) dx\ \end{align}$$ So, $$I_1+2I_2 = 16$$ – Shub Apr 19 '23 at 10:43

1 Answers1

1

$I_2 = \int^3_{-1} f(x) dx$, let $t=x+1$, then we have $I_2 = \int^4_{0} f(t-1) dt$, where $f(t-1)=2-f(t)$,

$$I_2 = \int^4_{0} 2-f(t) dt=8-\int^4_{0} f(t) dt\tag{1}$$

Since the function has a period of $2$, so we have $f(x)=f(x+2)=f(x+4)$,

$$I_1 = \int^8_0 f(x)dx=\int^4_0 f(x)dx+\int^8_4 f(x)dx$$

Let $t=x-4$, then the second integral becomes

$$\int^8_4 f(x)dx=\int^4_0 f(t+4)dt=\int^4_0 f(t)dt$$

Therefore,

$$I_1 = 2\int^4_0 f(x)dx \tag{2}$$

Combine $(1)$ and $(2)$

$$I_1+2I_2=16$$

MathFail
  • 21,128