The correct option is D [−14,2]
We have f′(x)=x(x2−3x+2)=x(x−1)(x−2)
Clearly f′(x)≤0 in 1≤x≤2 and f′(x)≥0 in 2≤x≤3
∴f′(x) is monotonic decreasing in [1,2]
and monotonic increasing in [2,3]
∴minf(x)=f(2)=∫21x(x2−3x+2)dx
=[x44−x3+x2]21=−14
maxf(x)= the greatest among (f(1),f(3))
Now f(1)=∫x1x(x2−3x+2)dx=0
And f(3)=∫31x(x2−3x+2)dx
=[x44−x3+2]21=2
Therefore maxf(x)=2
Hence range =[−14,2]