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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.