Introduction
Variables vs. Function Names
The Problem with Raw Letters in Math Mode
Common Function Commands
Combining Functions with Subscripts and Superscripts
Limits and Subscript Placement
Functions in Real Formulas
Conclusion and Next Steps

In this lesson, we learned that LaTeX provides dedicated commands like \sin, \cos, \log, \ln, and \lim to typeset standard function names in upright roman type. This keeps function names visually distinct from italic variables — a core convention in mathematical writing. We also saw how these commands combine naturally with subscripts, superscripts, and fractions to build real formulas such as the Pythagorean identity and the change-of-base formula.

Head to the exercises to put these ideas into practice. You will start by comparing raw letters against proper function commands, then build expressions with \log and \lim using subscripts, and finish by assembling a complete trigonometric identity from scratch. In the next lesson, we will explore Greek letters, giving us access to the full alphabet of mathematical symbols.

Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal