A density function: f(x)= 2x for 0<x<1 and

0 for x<0 or x>1.

Find the distribution function.

This is what I did.

To get the distribution function F(x) for the 2x term you integrate it from 0 to x and get

F(x)= x^2 for 0<x<1

since F(x)= integral from -00 to x of f(x)

but how do u find the other terms for when x<0 and x>1?

Thanks!