Inline formulas are sometimes squashed to avoid altering the height of the lines. Snip can convert images into LaTeX for inline equations block mode equations and numbered equations. Latex piecewise function with left operator.
The first one is used to write formulas that are part of a text.
Trigonometric functions sin cos tan logarithms and exponentials log exp limits lim as well as trace and determinant tr det. The first one is used to write formulas that are part of a text. You can also generate an image of a mathematical formula using the TeX language. The second one is used to write expressions that are not part of a text or paragraph and are therefore put on separate lines.