We are told that the function satisfies the relation f(x+2x−4)=2x+1 for every real x except x=1,−2.
Our first aim is to rewrite this statement so that the argument of f becomes an independent variable.
Let us set
t=x+2x−4.
We now express x in terms of t.
Multiplying both sides by (x+2) gives
t(x+2)=x−4.
Expanding and bringing like terms together, we have
tx+2t=x−4.
Subtract x from both sides:
tx−x=−4−2t.
Factor x from the left:
x(t−1)=−(4+2t).
So, dividing by (t−1),
x=t−1−(4+2t).
We now substitute this value of x into the given formula 2x+1 in order to obtain f(t):
f(t)=2x+1=2(t−1−(4+2t))+1=t−1−(8+4t)+1=t−1−(8+4t)+t−1t−1=t−1−(8+4t)+t−1=t−1−9−3t=−3t−13+t.
Finally, replacing the dummy variable t by x (because a function’s name of the variable is immaterial), we get the explicit formula
f(x)=−3x−1x+3.
Our task is to integrate this function. We rewrite the integrand by performing polynomial division on the fraction x−1x+3:
Since x+3=(x−1)+4, we have
x−1x+3=1+x−14.
Therefore,
f(x)=−3(1+x−14)=−3−x−112.
Now we integrate term by term:
∫f(x)dx=∫(−3−x−112)dx.
We recall the standard integral formula
∫x−a1dx=ln∣x−a∣+C.
Using this, we get
∫f(x)dx=∫−3dx+∫−x−112dx=−3x−12ln∣x−1∣+C,
where C is the constant of integration. Since ∣x−1∣=∣1−x∣, we can equally well write the logarithmic term as ln∣1−x∣. Thus, another perfectly equivalent final form is
−12ln∣1−x∣−3x+C.
Comparing with the given options, this matches Option B. Hence, the correct answer is Option 2.