I want to understand Integration and Continuous probability distribution here is the question i want the solution with step by step method. Please mention every step & calculation that how it comes?
Q#1 A continuous random variable X has the density function
f(x)=x for 0<x<1
2-x for 1_<x<2
a. Show that P(0<X<2)=1
b. Find P(X<1.2).