Time for action – discussing quadratic equations and roots

Our first small math text shall deal with the solutions of quadratic equations. We need to typeset formulas with constants, variables, superscripts for the square, and subscripts for the solutions. The solution itself needs a root symbol. Finally, we will use cross-references to formulas.

  1. Start a new document. For now, we don't need any package:
    \documentclass{article}
    \begin{document}
    \section*{Quadratic equations}
  2. State the quadratic equation with its conditions. Use an equation environment for it. Surround small pieces of math within text by \( … \):
    The quadratic equation \begin{equation} \label{quad} ax^2 + bx + c = 0, \end{equation} where \( a, b \) and \( c \) are constants and \( a ...

Get LaTeX Beginners Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.