Understanding the expectation of linear combinations is crucial in the field of probability and statistics. This section is dedicated to exploring the concept of the expectation of linear combinations of random variables, a fundamental aspect of probability distributions and their practical applications.

## Understanding the Linearity of Expectation

**Basic Concept:**The average value a random variable is expected to take.**Linearity Principle:**The expected value of a sum is the sum of the expected values, even if the variables are not independent.

## Formulas for Expectation

**Single Variable:**$E(aX + b) = aE(X) + b$**Two Variables:**$E(aX + bY) = aE(X) + bE(Y)$

## Applications in Distributions

**Normal Distribution:**Linear combinations of normal variables are normally distributed.**Poisson Distribution:**The sum of independent Poisson variables is Poisson distributed.

## Example Problems

### Example 1: Single Variable

Determine the expected value of the expression $3X+4$, given that the expected value of $X$ is $5$.

**Given: **$E(X) = 5$

**Solution:**

$E(3X+4) = 3E(X) + 4$

$E(3X+4) = 3 \times 5 + 4$

$E(3X+4) = 15 + 4$

$E(3X+4) = 19$

**Graph: **Illustration of $E(3X + 4)$.

### Example 2: Two Independent Variables

Calculate the expected value of $2X + 3Y$, where $X$ and $Y$ are independent variables with expected values of $3$ and $4$, respectively.

**Given:** $E(X) = 3 , E(Y) = 4$

**Solution:**

$E(2X+3Y) = 2E(X) + 3E(Y)$

$E(2X+3Y) = 2 \times 3 + 3 \times 4$

$E(2X+3Y) = 6 + 12$

$E(2X+3Y) = 18$

**Graph:** Illustration of $E(2X + 3Y)$.

### Example 3: Poisson Distribution

Find the distribution of the sum $Z$, where $Z$ is the sum of two independent Poisson processes $X$ and $Y$ with rates $\lambda_1 = 2$ and $\lambda_2 = 3$.

**Given: **Poisson processes $X$ and $Y$ with rates $\lambda_1 = 2$ and $\lambda_2 = 3$

**Solution:**

$λ_Z = λ_1 + λ_2$

$λ_Z = 2 + 3$

$λ_Z = 5$

**Graph: **Poisson distribution for $Z = X + Y$.

Rahil spent ten years working as private tutor, teaching students for GCSEs, A-Levels, and university admissions. During his PhD he published papers on modelling infectious disease epidemics and was a tutor to undergraduate and masters students for mathematics courses.