# Math Help - Density Functions and Distribution Functions

1. ## Density Functions and Distribution Functions

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!

2. You'll kick yourself.

Before the density function starts, F(x) = 0 for x < 0.
After the density function is done, F(x) = 1 for x > 1.

It is the nature of it.

3. wow lol thanks! yes i am kicking myself.... such a simple idea and somehow i forgot to apply it.