Basic Mathematical Expressions
Inline vs Display Math
Basic Operations
| Expression | LaTeX | Result |
|---|---|---|
| Addition | a + b | a + b |
| Subtraction | a - b | a - b |
| Multiplication | a \times b or a \cdot b | a × b or a · b |
| Division | a \div b or a / b | a ÷ b or a / b |
| Powers | a^2 or a^{10} | a² or a¹⁰ |
| Subscripts | a_1 or a_{ij} | a₁ or aᵢⱼ |
Fractions and Binomials
Fractions
- Code
- Rendered output
Binomial Coefficients
- Code
- Rendered output
Roots and Radicals
- Code
- Rendered output
Sums, Products, and Integrals
Summation
- Code
- Rendered output
Products
Integration
- Code
- Rendered output
Limits and Derivatives
Limits
- Code
- Rendered output
Derivatives
- Code
- Rendered output
Brackets and Delimiters
Automatic Sizing
Special Cases
Functions and Operators
Standard Functions
Custom Operators
Advanced Techniques
Aligning Equations
Text in Math Mode
Common Mistakes to Avoid
Best Practices
Use Proper Spacing
Add thin spaces with
\, in integrals: \int f(x) \, dxChoose Right Size
Use
\dfrac for display fractions in inline mathBe Consistent
Use the same notation style throughout your document
Number Wisely
Only number equations you reference
Further Reading
Symbol Reference
Complete list of mathematical symbols
Advanced Mathematics
Complex mathematical typesetting
Equations Guide
Multi-line equations and systems
Physics Notation
Physics-specific expressions
