The Quadratic Formula
Author
Amanda
Last Updated
před 9 lety
License
Creative Commons CC BY 4.0
Abstract
This paper will state and prove the quadratic formula.
This paper will state and prove the quadratic formula.
\documentclass[a4paper]{article}
\usepackage{amsmath}
\usepackage{amsthm}
\newtheorem{thm}{Theorem}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage[colorinlistoftodos]{todonotes}
\title{The Quadratic Formula}
\author{Amanda King}
\date{\today}
\begin{document}
\maketitle
\begin{abstract}
This paper will state and prove the quadratic formula.
\end{abstract}
\section{Introduction}
We have all, at some point, learned the quadratic formula. Usually, we learn how to use it to find solutions of a quadratic equation. We might have seen the proof at this point, but most of us did not commit it to memory since the proof does not help us to use the formula.
\section{The Quadratic Formula}
\label{sec:examples}
\begin{thm} Let a, b, and c be real number. The solutions of $ax^2+bx+c=0$ are
$$x=\frac{-b\pm \sqrt{b^2-4ac}}{2a}.$$
%\begin{array}${*{20}c}{x = \frac{{ - b \pm \sqrt {b^2 - 4ac} }}{{2a}}} & {{\rm{when}}} & {ax^2 + bx + c = 0}$ \\ \end{array}
\end{thm}
\begin{proof} In order to prove the quadratic formula, we use the process of completing the square. Starting with $ax^2+bx+c=c$, arithmetic gives
\begin{align*}
\\ax^2+bx&=-c,
\\x^2+\frac{b}{a}x&=-\frac{c}{a},
\\x^2+\frac{b}{a}x+\frac{b^2}{4a^2}&=-\frac{c}{a}+\frac{b^2}{4a^2},
\\\Bigg(x+\frac{b}{2a}\Bigg)^2&=-\frac{4ac}{4a^2}+\frac{b^2}{4a^2},
\\x+\frac{b}{2a}&=\pm\sqrt[]{\frac{b-4ac}{4a^2}}
\\x&=\frac{-b\pm\sqrt[]{b^2-4ac}}{2a}
\end{align*}
\end{proof}
\end{document}
Theorem 1
Comments can be added to the margins of the document using the \todo{Here's a comment in the margin!} todo command, as shown in the example on the right. You can also add inline comments:
\todo[inline, color=green!40]{This is an inline comment.}
\subsection{How to Include Figures}
First you have to upload the image file (JPEG, PNG or PDF) from your computer to writeLaTeX using the upload link the project menu. Then use the includegraphics command to include it in your document. Use the figure environment and the caption command to add a number and a caption to your figure. See the code for Figure \ref{fig:frog} in this section for an example.
\begin{figure}
\centering
\includegraphics[width=0.3\textwidth]{frog.jpg}
\caption{\label{fig:frog}This frog was uploaded to writeLaTeX via the project menu.}
\end{figure}
\subsection{How to Make Tables}
Use the table and tabular commands for basic tables --- see Table~\ref{tab:widgets}, for example.
\begin{table}
\centering
\begin{tabular}{l|r}
Item & Quantity \\\hline
Widgets & 42 \\
Gadgets & 13
\end{tabular}
\caption{\label{tab:widgets}An example table.}
\end{table}
\subsection{How to Write Mathematics}
\LaTeX{} is great at typesetting mathematics. Let $X_1, X_2, \ldots, X_n$ be a sequence of independent and identically distributed random variables with $\text{E}[X_i] = \mu$ and $\text{Var}[X_i] = \sigma^2 < \infty$, and let
$$S_n = \frac{X_1 + X_2 + \cdots + X_n}{n}
= \frac{1}{n}\sum_{i}^{n} X_i$$
denote their mean. Then as $n$ approaches infinity, the random variables $\sqrt{n}(S_n - \mu)$ converge in distribution to a normal $\mathcal{N}(0, \sigma^2)$.
\subsection{How to Make Sections and Subsections}
Use section and subsection commands to organize your document. \LaTeX{} handles all the formatting and numbering automatically. Use ref and label commands for cross-references.
\subsection{How to Make Lists}
You can make lists with automatic numbering \dots
\begin{enumerate}
\item Like this,
\item and like this.
\end{enumerate}
\dots or bullet points \dots
\begin{itemize}
\item Like this,
\item and like this.
\end{itemize}
\dots or with words and descriptions \dots
\begin{description}
\item[Word] Definition
\item[Concept] Explanation
\item[Idea] Text
\end{description}
We hope you find write\LaTeX\ useful, and please let us know if you have any feedback using the help menu above.
\end{document}