Do not forget the space before closing. The second one is used to write expressions that are not part of a text or paragraph and are therefore put on separate lines. Type equations in linear format Create fractions in linear formats.
Trigonometric functions sin cos tan logarithms and exponentials log exp limits lim as well as trace and determinant tr det.
Mathematical modes LaTeX allows two writing modes for mathematical expressions. You can also create math equations using on the keyboard using a combination of keywords and math autocorrect codes. I post very short videos to explain LaTex in details one topic at a time. In certain cases it may be desirable to include normal text within an equation.