StepWorking
01given
The integral expression is I=12∫03∣x2−3x+2∣dx.
02goal
Evaluate the definite integral and determine the integer value of I.
03approach
Factor the quadratic x2−3x+2=(x−1)(x−2). Determine its sign over [0,3]: positive on [0,1) and (2,3], negative on (1,2). Split the integral into three sub-intervals: [0,1], [1,2], and [2,3].
04execute
Evaluate each piece:
∫(x2−3x+2)dx=3x3−23x2+2x.
On [0,1]: [31−23+2]−0=65.
On [1,2]: the quadratic is negative, so −∫12(x2−3x+2)dx=−[(38−6+4)−(31−23+2)]=−[32−65]=61.
On [2,3]: [(9−227+6)−(38−6+4)]=23−32=65.
Sum of integrals: 65+61+65=611.
Multiply by 12: 12×611=22.
✓verify
By symmetry of the parabola y=x2−3x+2 about its vertex at x=1.5, the area from 0 to 1 must equal the area from 2 to 3 (both equal 5/6). The area between the roots [1,2] is given by Archimedes' formula 6∣a∣(x2−x1)3=61(1)3=61. Total integral =5/6+1/6+5/6=11/6. Multiplying by 12 gives 22. The result is completely verified.