Randomized Algorithms (Spring 2010)/Balls and bins: Difference between revisions
Jump to navigation
Jump to search
imported>WikiSysop |
imported>WikiSysop |
||
Line 1: | Line 1: | ||
== Random Variables and Expectations == | == Random Variables and Expectations == | ||
Let <math>X</math> be a discrete '''random variable'''. The expectation of <math>X</math> is defined as follows. | |||
;Definition 1 | |||
:The '''expectation''' of a discrete random variable <math>X</math>, denoted by <math>\mathbb{E}[X]</math>, is given by | |||
::<math>\begin{align} | |||
\mathbb{E}[X] &= \sum_{x}x\Pr[X=x]. | |||
\end{align}</math> | |||
=== Linearity of Expectation === | === Linearity of Expectation === |
Revision as of 06:34, 15 January 2010
Random Variables and Expectations
Let [math]\displaystyle{ X }[/math] be a discrete random variable. The expectation of [math]\displaystyle{ X }[/math] is defined as follows.
- Definition 1
- The expectation of a discrete random variable [math]\displaystyle{ X }[/math], denoted by [math]\displaystyle{ \mathbb{E}[X] }[/math], is given by
- [math]\displaystyle{ \begin{align} \mathbb{E}[X] &= \sum_{x}x\Pr[X=x]. \end{align} }[/math]