This question is pretty simple, but I couldn't find existing question regarding this, my current view is that people can choose whichever they want, but I sometimes see these two symbols appear in the same article, so I'm confused.
[Tex/LaTex] Should we use \mathbb{E} or \mathbf{E} as expectation symbol
amsmathmath-modesymbols
Best Answer
As long as you are consistent in your notation and you leave your readers in no doubt about your notation-related choices, then (almost!) any upright letter form for
E
– whether normal weight, bold weight, blackboard-bold, even math-calligraphic – is ok.What's really important is that you define the expectations-operator symbol as a "math operator", in the TeX-specific sense of the word. That way, TeX will insert a thinspace before and after the operator, as needed. The easiest way I know of in LaTeX to inform that a symbol (or group of letters) is a "math operator" is to use the
\DeclareMathOperator
macro, which is provided by theamsmath
package.The spacing issue is illustrated in the following screenshot.