# Continuous random variable, types and its distribution

The random variable which takes the finite or countably infinite values is known as discrete random variable and its pair with probability forms the distribution for the discrete random variable. Now for the random variable who takes the values as uncountable, what would be the probability and remaining characteristics that we are going to discuss. Thus in brief the continuous random variable is the random variable whose set of values are uncountable. The real life example for the continuous random variable is the life span of electrical or electronic components and arrival of specific public vehicle on the stops etc.

## Continuous random variable and probability density function

Random variable will be continuous random variable if for a non-negative real valued function f on x **∈** **ℝ** and B ⊆ **ℝ** and

this function f is known as **Probability density function ** of the given random variable X.

The probability density function obviously satisfies the following probability axioms

Since from the axioms of the probability we know that the total probability is one so

For the continuous random variable the probability will be calculated in terms of such function f, suppose we want to find the probability for the continuous interval say [a, b] then it would be

As we know the integration represents the area under the curve so this probability shows such area for the probability like

by equating a=b the value will be

and in similar way the probability for the value less than or equal to specific value by following this will be

**Example: **The continuous working time of the electronic component is expressed in the form of continuous random variable and the probability density function is given as

find the probability that the component will work effectively between 50 to 150 hours and the probability of less than 100 hours.

since the random variable represents the continuous random variable so the probability density function given in the question gives the total probability as

So we will get the value of λ

λ =1/100

for the probability of 50 hrs to 150hrs we have

in the similar way the probability less than 100 will be

**Example:** The computer based device has number of chipsets with lifespan given by the probability density function

then after 150 hours find the probability that we have to replace 2 chipset from total 5 chips.

let us consider E_{i} be the event to replace the i-th chipset. so the probability of such event will be

as working of all the chips independent so the probability for 2 to be replace will be

## Cumulative distribution function

Cumulative distribution function for the continuous random variable is defined with the help of probability distribution function as

in another form

we can obtain the probability density function with the help of distribution function as

## Mathematical Expectation and Variance of continuous random variable

## Expectation

The mathematical expectation or mean of the continuous random variable with probability density function can be define as

- For any real valued function of continuous random variable X expectation will be

where g is the real valued function.

- For any non-negative continuous random variable Y the expectation will be

- For any constants a and b

E[aX + b] = aE[X] + b

## Variance

The variance of the continuous random variable X with the parameter mean or expectation can be define in the similar way as discrete random variable is

The proof of all the above properties of expectation and variance we can easily obtain by just following the steps we have in discrete random variable and the definitions of expectation, variance and probability in terms of continuous random variable

**Example:** If the probability density function of continuous random variable X is given by

then find the expectation and variance of the continuous random variable X.

**Solution:** For the given probability density function

the expected value by the definition will be

Now to find the variance we require E[X^{2}]

Since

so

## Uniform random variable

If the continuous random variable X is having the probability density function given by

over the interval (0,1) then this distribution is known as uniform distribution and the random variable is known as uniform random variable.

- For any constants a and b such that 0<a<b<1

## Expectation and Variance of Uniform random variable

For the uniformly continuous random variable X on the general interval (α , β) the expectation by the definition will be

and variance we will get if we find first E[X^{2}]

so

**Example**: At a particular station the trains for the given destination arrive with frequency of 15 minutes form 7 A.M. For the passenger who is on the station at a time between 7 to 7.30 distributed uniformly what will be the probability that the passenger get train within 5 minutes and what will be probability for more than 10 minutes.

**Solution:** As the time from 7 to 7.30 is distributed uniformly for the passenger to be at railway station denote this by uniform random variable X. so the interval will be (0, 30)

Since to get the train within 5 minutes passenger must be at the station between 7.10 to 7.15 or 7.25 to 7.30 so the probability will be

=1/3

In similar manner to get the train after waiting more than 10 minutes passenger must be at the station from 7 to 7.05 or 7.15 to 7.20 so the probability will be

**Example:** Find the probability for the uniform random variable X distributed over the interval (0,10 )

for X<3, X>6 and 3<X<8.

**Solution**: since the random variable is given as uniformly distributed so the probabilities will be

**Example**: **(Bertrands Paradox)** For any random chord of a circle. what would be the probability that the length of that random chord will be greater than the side of the equilateral triangle inscribed in the same circle.

This problems does not have clearance about the random chord so this problem were reformulated in terms of diameter or angle and then answer as 1/3 were obtained.

##### Conclusion:

In this article the concept of continuous random variable and its distribution with probability density function were discussed and the statistical parameter mean, variance for the continuous random variable is given. The uniform random variable and its distribution with example is given which is the type of continuous random variable in the successive article we will focus some important types of continuous random variable with suitable examples and properties. ,if you want further reading then go through:

Schaum’s Outlines of Probability and Statistics

https://en.wikipedia.org/wiki/Probability

If you want to read more topics on Mathematics then go through Mathematics Page.

I am DR. Mohammed Mazhar Ul Haque. I have completed my Ph.D. in Mathematics and working as an Assistant professor in Mathematics. Having 12 years of experience in teaching. Having vast knowledge in Pure Mathematics, precisely on Algebra. Having the immense ability of problem design and solving. Capable of Motivating candidates to enhance their performance.

I love to contribute to Lambdageeks to make Mathematics Simple, Interesting & Self Explanatory for beginners as well as experts.

## Hi Fellow Reader,

We're a small team at Techiescience, working hard among the big players. If you like what you see, please share our content on social media. Your support makes a big difference. Thank you!