$X\sim U(1,3)$. Verify that X has cdf $F_X(x) = 2(x − 1)$ for $x \epsilon(1, 3)$ and thus that $F^{−1}_X (y) = 2y +1$ for $y \epsilon (0, 1)$.
My attempt for $F_X(x)=\int_{-\infty}^{\infty}\frac{1}{b-a}dx=\int_{1}^{x}\frac{1}{3-1}dx=\frac{1}{2}\int_{1}^{x}dx=\frac{1}{2}[x-1]$
But the result is $F_X(x) = 2(x − 1)$.
I couldn't solve $F^{−1}_X (y)$
Surely the question that says $F_{X}(x) = 2(x-1)$ is wrong, since if you substitute 3 for $x$ you are getting $4$ as the answer.