### 1 Continuous probability distributions

In order to get a good understanding of continuous probability distributions it is advisable to start by answering some fairly obvious questions such as: “What is a continuous random variable?” “Is there any carry over from the work we have already done on discrete random variables and distributions?” We shall start with some basic concepts and definitions.

#### 1.1 Continuous random variables

In day-to-day situations met by practising engineers, experiments such as measuring current in a piece of wire or measuring the dimensions of machined components play a part. However closely an engineer tries to control an experiment, there will always be small variations in the results obtained due to many factors: the influence of factors outside the control of the engineer. Such influences include changes in ambient temperature which may affect the accuracy of measuring devices used, slight variation in the chemical composition of the materials used to produce the objects (wire, machined components in this case) under investigation. In the case of machined components, many of the small variations seen in measurements may be due to the influence of vibration, cutting tool wear in the machine producing the component, changes in raw material used and the process used to refine it and even the measurement process itself!

Such variations (current and length for example) can be represented by a random variable and it is customary to define an interval , finite or infinite, within which variation can take place. Since such a variable ( $X$ say) can assume any value within an interval we say that the variable is continuous rather than discrete. - its values form an entity we can think of as a continuum.
The following definition summarizes the situation.

#### 1.2 Definition

A random variable $X$ is said to be continuous if it can assume any value in a given interval. This contrasts with the definition of a discrete random variable which can only assume discrete values.

#### 1.3 Practical example

This example will help you to see how continuous random variables arise and will help you to distinguish between continuous and discrete random variables.

Consider a de-magnetised compass needle mounted at its centre so that it can spin freely. Its initial position is shown in Figure 1(a). It is spun clockwise and when it comes to rest the angle $\theta$ , from the vertical, is measured. See Figure 1(b).

Figure 1 (a) and (b)

Let $X$ be the random variable

“angle $\theta$ measured after each spin”

Firstly, note that $X$ is a random variable since it can take any value in the interval 0 to $2\pi$ and we cannot be sure in advance which value it will take. However, after each spin and thinking in probability terms, there are certainly two distinct questions we can ask.

• What is the probability that $X$ lies between two values $a,b$ , i.e. what is $\text{P}\left(a ?
• What is the probability that $X$ assumes a particular value, say $c$ . We are really asking what is the value of $\text{P}\left(X=c\right)$ ?

The first question is easy to answer provided we assume that the probability of the needle coming to rest in a given interval is given by the formula:

The following results are easily obtained and they clearly coincide with what we intuitively feel is correct:

1. $\text{P}\left(0 since the interval $\left(0,\pi ∕2\right)$ covers one quarter of a full circle
2. $\text{P}\left(\frac{\pi }{2} since the interval $\left(\pi ∕2,2\pi \right)$ covers three quarters of a full circle.

It is easy to see the generalization of this result for the interval $\left(a,b\right)$ , in which both $a$ , $b$ lie in the interval $\left(0,2\pi \right):$

$\phantom{\rule{2em}{0ex}}\text{P}\left(a

The second question immediately presents problems! In order to answer a question of this kind would require a measuring device (e.g. a protractor) with infinite precision: no such device exists nor could one ever be constructed. Hence it can never be verified that the needle, after spinning, takes any particular value; all we can be reasonably sure of is that the needle lies between two particular values.

We conclude that in experiments of this kind we never determine the probability that the random variable assume a particular value but only calculate the probability that it lies within a given range of values. This kind of random variable is called a continuous random variable and it is characterised, not by probabilities of the type $\text{P}\left(X=c\right)$ (as was the case with a discrete random variable), but by a function $f\left(x\right)$ called the probability density function (pdf for short). In the case of the rotating needle this function takes the simple form given with corresponding plot:

$\phantom{\rule{2em}{0ex}}\phantom{\rule{2em}{0ex}}f\left(x\right)=\left\{\begin{array}{cc}\hfill \frac{1}{2\pi },\hfill & \hfill 0\le x<2\pi \hfill \\ \hfill 0,\hfill & \hfill \text{elsewhere}\hfill \end{array}\right\$

Figure 2(a) and (b) :

The probability $\text{P}\left(a is the area under the function curve $f\left(x\right)$ and so is given by the integral

$\phantom{\rule{2em}{0ex}}{\int }_{a}^{b}f\left(x\right)dx$

Suppose we wanted to find $\text{P}\left(\frac{\pi }{6} . Then using the definition of the pdf for this case:

$\phantom{\rule{2em}{0ex}}\text{P}\left(\frac{\pi }{6}

This is reasonable since the interval $\left(\frac{\pi }{6},\frac{\pi }{4}\right)$ is one twenty-fourth of the interval 0 to $2\pi$ .

In general terms we have

$\phantom{\rule{2em}{0ex}}\text{P}\left(a

for the pdf under consideration here. Note also that

1. $f\left(x\right)\ge 0$ , for all real $x$
2. ${\int }_{-\infty }^{\infty }f\left(x\right)\phantom{\rule{0.3em}{0ex}}dx={\int }_{0}^{2\pi }\frac{1}{2\pi }\phantom{\rule{0.3em}{0ex}}dx=1,$ i.e. total probability is $1$ .

We are now in a position to give a formal definition of a continuous random variable in Key Point 1.

##### Key Point 1

$X$ is said to be a continuous random variable if there exists a function $f\left(x\right)$ associated with $X$ called the probability density function with the properties

• $f\left(x\right)\ge 0$ for all $x$
• ${\int }_{-\infty }^{\infty }f\left(x\right)dx=1$
• $\text{P}\left(a

The first two bullet points in Key Point 1 are the analogues of the results $\text{P}\left(X={x}_{i}\right)\ge 0$ and ${\sum }_{i}\text{P}\left(X={x}_{i}\right)=1$ for discrete random variables.

Which of the following are not probability density functions?

(iii)
$f\left(x\right)=\left\{\begin{array}{cc}\hfill {x}^{2}-4x+\frac{10}{3},\hfill & \hfill 0\le x\le 3\hfill \\ \hfill 0,\hfill & \hfill \text{elsewhere}\hfill \end{array}\right\$

Check whether the first two statements in Key Point 1 are satisfied for each pdf above:

(i) We can write $f\left(x\right)=\left\{\begin{array}{cc}\hfill x,\hfill & \hfill 0\le x\le 1\hfill \\ \hfill 0,\hfill & \hfill \text{elsewhere}\hfill \end{array}\right\$

$f\left(x\right)\ge 0$ for all $x$ but ${\int }_{-\infty }^{\infty }f\left(x\right)\phantom{\rule{0.3em}{0ex}}dx={\int }_{0}^{1}x\phantom{\rule{0.3em}{0ex}}dx=\frac{1}{2}\ne 1$ .

Thus this function is not a valid probability density function because the integral’s value is not 1.

(ii)

Note that $f\left(x\right)=\left\{\begin{array}{cc}\hfill 1-\frac{1}{2}x,\hfill & \hfill 0\le x\le 2\hfill \\ \hfill \hfill \\ \hfill 0,\hfill & \hfill \text{elsewhere}\hfill \end{array}\right\$ $f\left(x\right)\ge 0$ for all $x$

${\int }_{-\infty }^{\infty }f\left(x\right)\phantom{\rule{0.3em}{0ex}}dx={\int }_{0}^{2}\left(1-\frac{1}{2}x\right)\phantom{\rule{0.3em}{0ex}}dx={\left[x-\frac{{x}^{2}}{4}\right]}_{0}^{2}=2-1=1$

(Alternatively, the area of the triangle is $\frac{1}{2}×1×2=1$ )

This implies that $f\left(x\right)$ is a valid probability density function.

(iii)

${\int }_{-\infty }^{\infty }f\left(x\right)\phantom{\rule{0.3em}{0ex}}dx={\int }_{0}^{3}\left({x}^{2}-4x+\frac{10}{3}\right)\phantom{\rule{0.3em}{0ex}}dx={\left[\frac{{x}^{3}}{3}-2{x}^{2}+\frac{10}{3}x\right]}_{0}^{3}=\left(9-18+10\right)=1$

but $f\left(x\right)<0$ for $1\le x\le 3$ . Hence (iii) is not a pdf.

Find the probability that $X$ takes a value between $-1$ and $1$ when the pdf is given by the following figure.

First find $k$ :

Also ${\int }_{-\infty }^{\infty }f\left(x\right)\phantom{\rule{0.3em}{0ex}}dx=1$ , so $2k=1$ hence $k=\frac{1}{2}$

State the formula for $f\left(x\right)$ :

$f\left(x\right)=\left\{\begin{array}{cc}\frac{1}{2}-\frac{1}{4}x,\hfill & 0\le x\le 2\hfill \\ \hfill \\ \frac{1}{2}+\frac{1}{4}x,\hfill & -2\le x<0\hfill \\ \hfill \\ 0,\hfill & \text{elsewhere}.\hfill \end{array}\right\$

Write down an integral to represent $\text{P}\left(-1 . Use symmetry to evaluate the integral.

${\int }_{-1}^{1}f\left(x\right)\phantom{\rule{0.3em}{0ex}}dx=2{\int }_{0}^{1}\left(\frac{1}{2}-\frac{1}{4}x\right)\phantom{\rule{0.3em}{0ex}}dx=2{\left[\frac{1}{2}x-\frac{1}{8}{x}^{2}\right]}_{0}^{1}=2\left(\frac{1}{2}-\frac{1}{8}\right)=\frac{3}{4}$

#### 1.4 The cumulative distribution function

Analogous to the formula for the cumulative distribution function:

$\phantom{\rule{2em}{0ex}}F\left(x\right)={\sum }_{{x}_{i}\le x}\text{P}\left(X={x}_{i}\right)$

used in the case of a discrete random variable $X$ with associated probabilities $\text{P}\left(X={x}_{i}\right)$ , we define a cumulative probability distribution function $F\left(x\right)$ by means of the integral (being a form of a sum):

$\phantom{\rule{2em}{0ex}}F\left(x\right)={\int }_{-\infty }^{x}f\left(t\right)dt$

The cdf represents the probability of observing a value less than or equal to $x$ .

For the pdf in the diagram below

obtain the cdf and verify the result obtained in the previous Task for $\text{P}\left(-1\le X\le 1\right)$ .

$F\left(x\right)=\left\{\begin{array}{cc}0,\hfill & x\le -2\hfill \\ \hfill \\ \frac{1}{2}+\frac{1}{2}x+\frac{1}{8}{x}^{2}\hfill & -2

$\begin{array}{rcll}\text{P}\left(-1\le x\le 1\right)=F\left(1\right)-F\left(-1\right)& =& \left(\frac{1}{2}+\frac{1}{2}=\frac{1}{8}\right)-\left(\frac{1}{2}-\frac{1}{4}+\frac{1}{8}\right)& \text{}\\ & & & \text{}\\ & =& \frac{1}{2}+\frac{1}{2}-\frac{1}{8}-\frac{1}{8}=\frac{3}{4}.& \text{}\end{array}$
##### Example 1

Traditional electric light bulbs are known to have a mean lifetime to failure of 2000 hours. It is also known that the distribution function $p\left(t\right)$ of the time to failure takes the form

$\phantom{\rule{2em}{0ex}}p\left(t\right)=1-{\text{e}}^{-t∕\mu }$

where $\mu$ is the mean time to failure. You will see if you study the topic of reliability in more detail that this is a realistic distribution function. The reliability function $r\left(t\right)$ , giving the probability that the light bulb is still working at time $t$ , is defined as

$\phantom{\rule{2em}{0ex}}r\left(t\right)=1-p\left(t\right)={\text{e}}^{-t∕\mu }$

Find the proportion of light bulbs that you would expect to fail before 1500 hours and the proportion you would expect to last longer than 2500 hours.

##### Solution

Let $T$ be the random variable ‘time to failure’.

The proportion of bulbs expected to fail before 1500 hours is given as

$\phantom{\rule{2em}{0ex}}\text{P}\left(T<1500\right)=1-{\text{e}}^{-1500∕2000}=1-{\text{e}}^{-3∕4}=1-0.4724=0.5276$

The proportion of bulbs expected to last longer that 2500 hours is given as

$\phantom{\rule{2em}{0ex}}\text{P}\left(T>2500\right)=1-\text{P}\left(T\le 2500\right)={\text{e}}^{-2500∕2000}={\text{e}}^{-5∕4}=0.2865.$

Using $r\left(t\right)=1-p\left(t\right)$ we have $r\left(2500\right)=0.2865$ .

Hence we expect just under 53% of light bulbs to fail before 1500 hours service and just under 29% of light bulbs to give over 2500 hours service.

#### 1.5 Mean and variance of a continuous distribution

You will probably have realised by now that, essentially, the definitions of discrete and continuous random variables are virtually the same provided we use the analogues given in the following table:

 Quantity Discrete Variable Continuous Variable Probability $\text{P}\left(X=x\right)$ $f\left(x\right)dx$ Allowed Values $\text{P}\left(X=x\right)\ge 0$ $f\left(x\right)\ge 0$ Summation $\sum \text{P}\left(X=x\right)$ $\int f\left(x\right)dx$ Expectation $\text{E}\left(X\right)=\sum x\text{P}\left(X=x\right)$ ? Variance $\text{V}\left(X\right)=\sum {\left(x-\mu \right)}^{2}\text{P}\left(X=x\right)$ ?

Completing the above table of analogues to write down the mean and variance of a continuous variable leads to the obvious definitions given in Key Point 2:

##### Key Point 2

Let $X$ be a continuous random variable with associated pdf $f\left(x\right)$ . Then its expectation and variance denoted by $\text{E}\left(X\right)$ (or $\mu$ ) and $\text{V}\left(X\right)$ (or ${\sigma }^{2}$ ) respectively are given by:

$\mu =\text{E}\left(X\right)={\int }_{-\infty }^{\infty }x\phantom{\rule{1em}{0ex}}f\left(x\right)dx$

and

${\sigma }^{2}=\text{V}\left(X\right)={\int }_{-\infty }^{\infty }{\left(x-\mu \right)}^{2}f\left(x\right)dx={\int }_{-\infty }^{\infty }{x}^{2}f\left(x\right)dx-{\mu }^{2}$

As with discrete random variables the variance $\text{V}\left(X\right)$ can be written in an alternative form, more amenable to calculation:

$\phantom{\rule{2em}{0ex}}\text{V}\left(X\right)=\text{E}\left({X}^{2}\right)-{\left[\text{E}\left(X\right)\right]}^{2}$

where $\text{E}\left({X}^{2}\right)={\int }_{-\infty }^{\infty }{x}^{2}f\left(x\right)dx.$

For the variable $X$ with pdf

$\phantom{\rule{2em}{0ex}}f\left(x\right)=\left\{\begin{array}{cc}\hfill \frac{1}{2}x,\hfill & \hfill 0\le x\le 2\hfill \\ \hfill \hfill \\ \hfill 0,\hfill & \hfill \text{elsewhere}\hfill \end{array}\right\$

find $\text{E}\left(X\right)$ and then $\text{V}\left(X\right)$ .

First find $\text{E}\left(X\right)$ :

$\text{E}\left(X\right)={\int }_{0}^{2}\frac{1}{2}x.x\phantom{\rule{0.3em}{0ex}}dx={\left[\frac{1}{6}{x}^{3}\right]}_{0}^{2}=\frac{8}{6}=\frac{4}{3}.$

Now find $\text{E}\left({X}^{2}\right)$ :

$\text{E}\left({X}^{2}\right)={\int }_{0}^{2}\frac{1}{2}x.{x}^{2}\phantom{\rule{0.3em}{0ex}}dx={\left[\frac{1}{8}{x}^{4}\right]}_{0}^{2}=2.$

Now find $\text{V}\left(X\right)$ :

$\begin{array}{rcll}\text{V}\left(X\right)& =& \text{E}\left({X}^{2}\right)-{\left\{\text{E}\left(X\right)\right\}}^{2}\phantom{\rule{2em}{0ex}}\phantom{\rule{2em}{0ex}}\phantom{\rule{2em}{0ex}}\phantom{\rule{2em}{0ex}}\phantom{\rule{2em}{0ex}}\phantom{\rule{2em}{0ex}}\phantom{\rule{2em}{0ex}}\phantom{\rule{2em}{0ex}}\phantom{\rule{2em}{0ex}}\phantom{\rule{2em}{0ex}}\phantom{\rule{2em}{0ex}}\phantom{\rule{2em}{0ex}}& \text{}\\ & =& 2-\frac{16}{9}=\frac{2}{9}.& \text{}\end{array}$

The mileage (in 1000’s of miles) for which a certain type of tyre will last is a random variable with pdf

Find the probability that the tyre will last

1. at most 10,000 miles;
2. between 16,000 and 24,000 miles;
3. at least 30,000 miles.
1. $\text{P}\left(a $\begin{array}{rcll}\text{P}\left(X<10\right)& =& {\int }_{-\infty }^{10}f\left(x\right)\phantom{\rule{0.3em}{0ex}}dx& \text{}\\ & =& {\int }_{0}^{10}\frac{1}{20}{e}^{-x∕20}dx={\left[-{e}^{-x∕20}\right]}_{0}^{10}=0.393& \text{}\end{array}$
2. $\text{P}\left(16
3. $\text{P}\left(X>30\right)={\int }_{30}^{\infty }\frac{1}{20}{e}^{-x∕20}dx={\left[-{e}^{-x∕20}\right]}_{30}^{\infty }={e}^{-1.5}=0.223$

#### 1.6 Important continuous distributions

There are a number of continuous distributions which have important applications in engineering and science. The areas of application and a little of the history (where appropriate) of the more important and useful distributions will be discussed in the later Sections and other Workbooks devoted to each of the distributions. Among the most important continuous probability distributions are:

1. the Uniform or Rectangular distribution, where the random variable $X$ is restricted to a finite interval $\left[a,b\right]$ and $f\left(x\right)$ has constant density often defined by a function of the form:

$\phantom{\rule{2em}{0ex}}f\left(x\right)=\left\{\begin{array}{cc}\hfill \frac{1}{b-a},\hfill & \hfill \phantom{\rule{1em}{0ex}}a\le x\le b\hfill \\ \hfill \hfill \\ \hfill 0\hfill & \hfill \phantom{\rule{1em}{0ex}}\text{otherwise}\hfill \end{array}\right\$

( HELM booklet  38.2)

2. the Exponential distribution defined by a probability density function of the form:

( HELM booklet  38.3)

3. the Normal distribution (often called the Gaussian distribution) where the random variable $X$ is defined by a probability density function of the form:

( HELM booklet  39)

4. the Weibull distribution where the random variable $X$ is defined by a probability density function of the form:

( HELM booklet  46.1)

##### Exercises
1. A target is made of three concentric circles of radii $1∕\sqrt{3}$ , 1 and $\sqrt{3}$ metres. Shots within the inner circle count 4 points, within the middle band 3 points and within the outer band 2 points. (Shots outside the target count zero.) The distance of a shot from the centre of the target is a random variable $R$ with density function $f\left(r\right)=\frac{2}{\pi \left(1+{r}^{2}\right)},\phantom{\rule{1em}{0ex}}r>0$ . Calculate the expected value of the score after five shots.
2. A continuous random variable $T$ has the following probability density function.

$\phantom{\rule{2em}{0ex}}{f}_{T}\left(u\right)=\left\{\begin{array}{cc}\hfill 0\hfill & \hfill \left(u<0\right)\hfill \\ \hfill 3\left(1-u∕k\right)\hfill & \hfill \left(0\le u\le k\right)\hfill \\ \hfill 0\hfill & \hfill \left(u>k\right)\hfill \\ \hfill \hfill \end{array}\right\.$

Find

1. $k.$
2. $\text{E}\left(T\right).$
3. $\text{E}\left({T}^{2}\right).$
4. $\text{V}\left(T\right).$
3. A continuous random variable $X$ has the following probability density function

$\phantom{\rule{2em}{0ex}}{f}_{X}\left(u\right)=\left\{\begin{array}{cc}\hfill 0\hfill & \hfill \left(u<0\right)\hfill \\ \hfill ku\hfill & \hfill \left(0\le u\le 1\right)\hfill \\ \hfill 0\hfill & \hfill \left(u>1\right)\hfill \\ \hfill \hfill \end{array}\right\$

1. Find $k.$
2. Find the distribution function ${F}_{X}\left(u\right).$
3. Find $\text{E}\left(X\right).$
4. Find $\text{V}\left(X\right).$
5. Find $\text{E}\left({e}^{X}\right).$
6. Find $\text{V}\left({e}^{X}\right).$
7. Find the distribution function of ${e}^{X}.$ (Hint: For what values of $X$ is ${e}^{X} )
8. Find the probability density function of ${e}^{X}.$
9. Sketch ${f}_{X}\left(u\right).$
10. Sketch ${F}_{X}\left(u\right).$
1. Let $S$ be the random variable equal to ‘score’.

 $s$ 0 2 3 4 $\text{P}\left(S=s\right)$ $\frac{1}{3}$ $\frac{1}{6}$ $\frac{1}{6}$ $\frac{1}{3}$

$\text{E}\left(S\right)=0+\frac{2}{6}+\frac{3}{6}+\frac{4}{3}=\frac{13}{6}$

The expected score after 5 shots is this value times 5 which is: $=5\left(\frac{13}{6}\right)=10.83.$

1. $1={\int }_{0}^{k}3\left(1-u∕k\right)\phantom{\rule{0.3em}{0ex}}du={\left[3\left(u-\frac{{u}^{2}}{2k}\right)\right]}_{0}^{k}=3\left(k-k∕2\right)$ so $k=2∕3.$
2. $\text{E}\left(T\right)={\int }_{0}^{2∕3}3u\left(1-3u∕2\right)\phantom{\rule{0.3em}{0ex}}du=3{\int }_{0}^{2∕3}u-3{u}^{2}∕2\phantom{\rule{0.3em}{0ex}}du$

$\phantom{\rule{2em}{0ex}}3{\left[\frac{{u}^{2}}{2}-\frac{{u}^{3}}{2}\right]}_{0}^{2∕3}=3\left(\frac{2}{9}-\frac{4}{27}\right)=3\left(\frac{6-4}{27}\right)=\frac{2}{9}.$

3. $\text{E}\left({T}^{2}\right)={\int }_{0}^{2∕3}3{u}^{2}\left(1-3u∕2\right)\phantom{\rule{0.3em}{0ex}}du=3{\int }_{0}^{2∕3}{u}^{2}-3{u}^{3}∕2\phantom{\rule{0.3em}{0ex}}du$

$\phantom{\rule{2em}{0ex}}=3{\left[\frac{{u}^{3}}{3}-\frac{3{u}^{4}}{8}\right]}_{0}^{2∕3}=3\left(\frac{8}{81}-\frac{6}{81}\right)=3\left(\frac{8-6}{81}\right)=\frac{2}{27}$

4. $\text{V}\left(T\right)=\text{E}\left({T}^{2}\right)-{\left\{\text{E}\left(T\right)\right\}}^{2}=\frac{2}{27}-\frac{4}{81}=\frac{2}{81}.$
1. $1={\int }_{0}^{1}ku\phantom{\rule{0.3em}{0ex}}du={\left[\frac{k{u}^{2}}{2}\right]}_{0}^{1}=\frac{k}{2}$ , so $k=2.$
2. ${F}_{X}\left(u\right)=\left\{\begin{array}{cc}\hfill 0\hfill & \hfill \left(u<0\right)\hfill \\ \hfill {u}^{2}\hfill & \hfill \left(0\le u\le 1\right)\hfill \\ \hfill 1\hfill & \hfill \left(1
3. $\text{E}\left(X\right)={\int }_{0}^{1}2{u}^{2}\phantom{\rule{0.3em}{0ex}}du={\left[\phantom{\rule{0.3em}{0ex}}\phantom{\rule{0.3em}{0ex}}\phantom{\rule{0.3em}{0ex}}\frac{2{u}^{3}}{3}\right]}_{0}^{1}=\frac{2}{3}.$
4. $\text{E}\left({X}^{2}\right)={\int }_{0}^{1}2{u}^{3}\phantom{\rule{0.3em}{0ex}}du={\left[\frac{2{u}^{4}}{4}\right]}_{0}^{1}=\frac{1}{2}.$ so $\text{V}\left(X\right)=\text{E}\left({X}^{2}\right)-{\left\{\text{E}\left(X\right)\right\}}^{2}=\frac{1}{2}-\frac{4}{9}=\frac{1}{18}.$
5. $\text{E}\left({e}^{X}\right)={\int }_{0}^{1}2u{e}^{u}\phantom{\rule{0.3em}{0ex}}du={\left[\phantom{\rule{0.3em}{0ex}}\phantom{\rule{0.3em}{0ex}}\phantom{\rule{0.3em}{0ex}}2u{e}^{u}\right]}_{0}^{1}-2{\int }_{0}^{1}{e}^{u}\phantom{\rule{0.3em}{0ex}}du={\left[\phantom{\rule{0.3em}{0ex}}\phantom{\rule{0.3em}{0ex}}\phantom{\rule{0.3em}{0ex}}2u{e}^{u}-2{e}^{u}\right]}_{0}^{1}=2e-2e+2=2$
6. $\text{E}\left({e}^{2X}\right)={\int }_{0}^{1}2u{e}^{2u}\phantom{\rule{0.3em}{0ex}}du={\left[\phantom{\rule{0.3em}{0ex}}\phantom{\rule{0.3em}{0ex}}\phantom{\rule{0.3em}{0ex}}u{e}^{2u}\right]}_{0}^{1}-{\int }_{0}^{1}{e}^{2u}\phantom{\rule{0.3em}{0ex}}du={\left[\phantom{\rule{0.3em}{0ex}}\phantom{\rule{0.3em}{0ex}}\phantom{\rule{0.3em}{0ex}}u{e}^{2u}-{e}^{2u}∕2\right]}_{0}^{1}={e}^{2}$

$\phantom{\rule{2em}{0ex}}\phantom{\rule{1em}{0ex}}={e}^{2}∕2+1∕2=\left({e}^{2}+1\right)∕2$ so $\text{V}\left({e}^{X}\right)=\text{E}\left({e}^{2X}\right)-{\left\{\text{E}\left({e}^{X}\right)\right\}}^{2}=\left({e}^{2}+1\right)∕2-4.$

7. $\text{P}\left({e}^{X} for $0 i.e.  $1

Hence the distribution function of ${e}^{X}$ is ${F}_{{e}^{X}}\left(u\right)=\left\{\begin{array}{cc}\hfill 0\hfill & \hfill \left(u<1\right)\hfill \\ \hfill {\left(lnu\right)}^{2}\hfill & \hfill \left(\phantom{\rule{1em}{0ex}}\le u\le e\right)\hfill \\ \hfill 1\hfill & \hfill \left(e

8. The pdf of ${e}^{X}$ is ${f}_{{e}^{X}}\left(u\right)=\left\{\begin{array}{cc}\hfill 0\hfill & \hfill \left(u<1\right)\hfill \\ \hfill \frac{2lnu}{u}\hfill & \hfill \left(\phantom{\rule{1em}{0ex}}\le u\le e\right)\hfill \\ \hfill 0\hfill & \hfill \left(e
9. Sketch of pdf:

10. Sketch of distribution function: