[Tex/LaTex] Getting the expectation symbol to behave like $\sum$ instead of $\Sigma$

math-modemath-operators

How can I get an expectation symbol which behaves like $\sum$? Specifically, I want the underscore to be like that of a summation. At the moment I use

$$\mathbb{E}_{x\in A}$$ 

However, I do not like this. It feels like I am writing a sum as

$$\Sigma_{x\in A}$$ 

Whereas the alternative

$$\sum_{x\in A}$$

is much nicer when in a centered equation. (The underscore appears directly below the sigma, instead of slight infront and below.)

Is there a way to make an expectation symbol which behaves like $$\sum$$ rather then $$\Sigma$$?

Best Answer

Use \mathop{\mathbb{E}} to get math operator spacing and limits behaviour. Or \mathop{{}\mathbb{E}} If you want E to remain on the baseline.