Of Notes

Expected Values

1 min read · revised 22 October 2026 · referred to by 4 notes · ·

An expected value of some function which can either produce discrete or continuous values is said to be the average value of itself under some probability distribution denoted by of sometimes

For discrete cases its given by the weighted sum:

and for a continuous its simply integration;

However both can be approximated easily by saying:

For some observations sampled form either.

Multivariable Expectations

If we are considering functions like we denote the one over which variable we are averaging we subscript it like:

When we have a joint distribution we can also compute the expectation over both variables:

When we have some conditional we can also compute the expectation over given :

which we can derive from the definition of conditional probability .

Operations

Linearity: an expected value of the sum of two random variables is the sum of their expected values:

When calculating the expectation of some transformed variable like a square, you just square the variable not the probability inside the sum.

Angle Bracket Notation

Some common uses:

  • Mean of a random variable:
  • Moments of a distribution: , e.g. the variance is
  • Thermal averages in statistical mechanics: for some observable
  • Averages over ensembles in simulation: , matching the approximation above
/ or Ctrl K
search; empty, it shows notes to revise and lately read
m
mark this note to revise, or unmark it
c
cover maths, proofs and solutions to test yourself
n
uncover the next covered item
y
copy this note’s org-roam link
e
copy this note as markdown, LaTeX kept as TeX
p
the next problem to work; there h hints, s shows the solution, x passes it for today
→ ← j k space
turn the page, when reading in pages
l
on the map, trace the greatest distance, then the longest path
double-click
a formula, to copy its TeX
rest on maths
bind a part of a formula and open the wheel of notes it comes from; scroll or ↑ ↓ widens it, 1–6 goes
?
this card