# 3.2 Review of Probability and Statistics

## 3.2.1 Random Variables

Random variables arise frequently in engineering analyses. The utility of random variables is in being able to describe phenomena that exhibit uncertainty. For example, consider the assembly of a jet engine. To build the turbine we need turbine blades of a certain thickness. In classes thus far, you have treated the thickness of the blade as a fixed, deterministic variable. However, in the real world, the different blades used for building the turbine will have variations in thickness due to variations in the manufacturing process and material impurities. Thus, in reality, the thickness of the blade is a random variable subject to uncertainty, and we have to incorporate this variability in our analysis.

## Types of Random Variables

In general, a random variable can be defined as a variable or parameter whose values are subject to variations due to chance. We will use capital letters to denote a random variable, to distingush it from a deterministic variable. For example, we denote the random variable that describes the thickness of an arbitrary blade by $$X$$, whereas the thickness of a particular blade will be denoted by $$x$$.

A discrete random variable is one that can take a countable number of different values. In other words, we can simply list all the possible values the random variable can take. In contrast to discrete random variables, continuous random variables can take an uncountable number of different values, i.e., they can be equal to any real number in an interval.

Example 1: Consider the inspection of rotor blades in the turbine of a jet engine. Suppose that the total number of rotor blades in the engine is $$N$$. The outcome of a single inspection is recorded as the number of blades that must be replaced due to damage. A very simple example of a random variable would be the number of blades which are replaced after an inspection. We can denote this random variable by the letter $$N_ R$$, where the subscript $$R$$ indicates that this is the number of blades to be replaced. What values do you think $$N_ R$$ can take ? Is $$N_ R$$ a discrete or a continuous random variable?

## Functions of Random Variables

We further recognize that not only can we have random variables, we can also have processes that depend on the random variables, in addition to depending on deterministic variables. For example, the thickness of the turbine blades affects the heat transfer across the blade and the flow pattern in the engine, and this affects the thrust the engine produces. We see that the thrust produced by the engine is also a random variable, which depends on the thickness(es) of the turbine blades. Therefore, if we denote the thrust produced by the engine as a random variable $$Y$$, then we have,

 $Y = Y(X)$ (3.1)

Example 2: The airline is concerned about the cost of the inspection and repair of its engines. The cost to replace a single blade is $$c_ B$$. Also, if the number of replacements is greater than 5, the cost rises dramatically, since regulations dictate that a more thorough inspection must be performed. We will model this as an extra cost $$c_ D$$. Clearly the total cost of an inspection and repair is a random variable. We wil denote this random variable as $$C(N_ R;c_ B,c_ D)$$, recognizing its dependence on the random variable $$N_ R$$, and its dependence on the deterministic variables $$c_ B$$ and $$c_ D$$. We can also easily determine an expression for the total cost,

 $C(N_ R;c_ B,c_ D) = \left\{ \begin{array}{ll} c_ B N_ R, & \mbox{for } 0 \leq N_ R \leq 5, \\[0.1in] c_ B N_ R + c_ D, & \mbox{for } 6 \leq N_ R \leq N \end{array}\right.$ (3.2)

The random variable $$N_ R$$ can take which of the following values:

Exercise 1

$$N_ R$$ is a discrete random variable. The number of blades that need to be replaced can vary from no blades needing to be replaced to all blades needing to be replaced.
Let $$X$$ be a random variable, and $$Y(X)$$ be a function of $$X$$, then
$$Y(X)$$ can clearly be a random variable. $$Y(X)$$ can also be a deterministic variable, think of a function $$Y$$ that always maps to a given number.