x Turn on thread page Beta
 You are Here: Home >< Maths

# Getting the cumulative distribution function for this continuous random variable. watch

1. I need to find the median for this random variable, X, and whilst I can sketch it easily and find it, I'd like to know how to do it using the cumulative distribution function.

The Probability density function of X:

1/4 if 0≤x≤1

3/4 if 1<x≤2

0 otherwise.

Apparently the median = 4/3.

2. To find the CDF, you'll need to integrate the first part of the PDF to find F[x] and add that onto the integral of the second part. Reply to me and I'll post a picture if you need to
3. (Original post by zomgleh)
I need to find the median for this random variable, X, and whilst I can sketch it easily and find it, I'd like to know how to do it using the cumulative distribution function.

The Probability density function of X:

1/4 if 0≤x≤1

3/4 if 1<x≤2

0 otherwise.

Apparently the median = 4/3.

Using CDF you should to solve an inequality system for m

The integrals are Riemann-Stieltjes integrals
More simple to calculate median from PDF
4. (Original post by 24DJF)
To find the CDF, you'll need to integrate the first part of the PDF to find F[x] and add that onto the integral of the second part. Reply to me and I'll post a picture if you need to
Ok so I got the Cumulative distribution function to be--
0 for x<0

x/4 for 0≤x≤1

3x/4 - 1/2 for 1<x≤2

1 for x>2

But how do I know which one to choose in order to get the median?
F(m)=0.5 ?
Apparently it's the '3x/4 - 1/2 for 1<x≤2' one.

TSR Support Team

We have a brilliant team of more than 60 Support Team members looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

This forum is supported by:
Updated: March 21, 2013
Today on TSR

### Been caught plagiarising...

...for the 2nd time this year

### Mum says she'll curse me if I don't go to uni

Discussions on TSR

• Latest
Poll
Useful resources

### Maths Forum posting guidelines

Not sure where to post? Read the updated guidelines here

### How to use LaTex

Writing equations the easy way

### Study habits of A* students

Top tips from students who have already aced their exams

## Groups associated with this forum:

View associated groups
Discussions on TSR

• Latest

The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE