- How do I find the variance of a discrete random variable?
- Find E(X²) by squaring each value before multiplying by its probability. Then Var(X) = E(X²) - [E(X)]². The standard deviation is the square root of the variance. Write each sum out term by term so that the method mark is clear.
- How do the mean and variance change when I transform a random variable to aX + b?
- E(aX + b) = a E(X) + b and Var(aX + b) = a² Var(X). Adding b moves the mean but does not change the spread, and multiplying by a scales the variance by a². Because of the square, the variance is never negative, even when a is negative. Take the square root last.
- How do I find the constant in a probability density function?
- The total area under f is 1, so int_-∞^(∞) f(x) dx = 1. Use this equation to find the unknown constant. For a piecewise function, integrate each rule over its own interval and add the results. If the graph is a triangle, its area is 1/2 × base × height, and that also equals 1.
- How do I find the median of a continuous random variable?
- The median m satisfies int_-∞^(m) f(x) dx = 1/2, so it splits the area under f into two halves. To compare the median with the mode, find the area to the left of the mode. If that area is less than 1/2, the median lies to the right of the mode. Always give a reason, not only the word greater.
- How do I find E(X) and Var(X) for a continuous random variable?
- Replace the sums by integrals: E(X) = int x f(x) dx and E(X²) = int x² f(x) dx. For a piecewise f, apply the formula to all pieces, integrating each over its own interval. Then use Var(X) = E(X²) - [E(X)]².
- Why is integrating f(x) wrong when I want the mean of a continuous random variable?
- Integrating f(x) over all x gives the total area, which is 1, not the mean. The mean needs int x f(x) dx. A density is also not a probability: the area under f must be 1, so a value of f(4) = 1 does not give k.