The interval in which y=f(x)=x2−3x+3x−1 transforms the real line is known as the range of the function.
Since y=x2−3x+3x−1∴yx2−3xy+3y=x−1
or yx2−x(1+3y)+3y+1=0
If y=0, it is quadratic in x and ∵ x is real, ∴(1+3y)2−4y(3y+1)≥0 ⇒1+9y2+6y−12y2−4y≥0 ⇒−3y2+2y+1≥0⇒3y2−2y−1≤0 ⇒(3y+1)(y−1)≤0⇒−31≤y≤1(y=0)
Also, y =x2−3x+3x−1⇒y=0 for x=1 ∴y=0 is also valid.
Hence the reqd. interval is [−31,1]