# Combining random variables

($1)$2 | $3 ($4) | $5 ($6)

Random variables are neither "random" nor "variable". However, by defining arithmetic operations on them, we can put them into equations, where they can act like variables.

If and are random variables on a probability space , then is the random variable on given by .

Note: You cannot add random variables on different sample spaces.

Similarly, we can define other operations:

If and are random variables on a probability space , then is the random variable on given by .

Note: You cannot multiply random variables on different sample spaces.

If is a random variable on a probability space , then is the random variable on given by .

As usual, is shorthand for .

For example, suppose we modeled an experiment where we randomly selected a rectangle from a given set. We might have random variables and that give the width and height of the selected rectangle. We could then define a new "area" random variable by multiplying and ; this would work as expected: to find the area of a given outcome, you would measure the width and the height and then multiply them (since by definition, ).

Because we define operations on random variables pointwise, random variables behave the same way as real numbers do. For example,

If , , and are random variables on a probability measure , then .
Proof:
Choose an arbitrary . We have

Thus .