Question
Question: Suppose that $f$ is a function on the interval $[1, 3]$ such that $-1 \leq f(x) \leq 1$ for all $x$ ...
Suppose that f is a function on the interval [1,3] such that −1≤f(x)≤1 for all x and ∫f(x)dx=0. Find the maximum value of ∫13xf(x)dx be?

A
log316
B
log34
C
1+log34
D
None of these
Answer
log34
Explanation
Solution
To maximize the integral ∫13xf(x)dx, given the constraints, we should set f(x)=1 where x1 is large and f(x)=−1 where x1 is small. This leads to a step function:
f(x)={1−1if 1≤x≤aif a<x≤3
The condition ∫13f(x)dx=0 implies:
∫1a1dx+∫a3(−1)dx=0 a−1−(3−a)=0 2a−4=0 a=2
Thus, f(x)={1−1if 1≤x≤2if 2<x≤3
Now, calculate the integral:
∫13xf(x)dx=∫12x1dx−∫23x1dx=[lnx]12−[lnx]23=(ln2−ln1)−(ln3−ln2)=2ln2−ln3=ln4−ln3=ln34