Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download
Views: 16658
1
\documentclass{article}
2
\usepackage[utf8]{inputenc}
3
\usepackage[T1]{fontenc}
4
\usepackage{graphicx}
5
\usepackage{sagetex}
6
7
8
\title{Awesome LaTeX}
9
\author{Alina}
10
11
% Enable SageTeX to run SageMath code right inside this LaTeX file.
12
% documentation: http://mirrors.ctan.org/macros/latex/contrib/sagetex/sagetexpackage.pdf
13
% \usepackage{sagetex}
14
15
\begin{document}
16
\maketitle
17
18
In elementary algebra, the quadratic formula is the solution of the quadratic equation. There are other ways to solve the quadratic equation instead of using the quadratic formula, such as factoring, completing the square, or graphing. Using the quadratic formula is often the most convenient way.
19
20
The general quadratic equation is
21
22
$\displaystyle ax^{2}+bx+c=0.$
23
24
Here $x$ represents an unknown, while $a$, $b$, and $c$ are constants with a not equal to $0$. One can verify that the quadratic formula satisfies the quadratic equation, by inserting the former into the latter. With the above parameterization, the quadratic formula is:
25
26
${\displaystyle x={\frac {-b\pm {\sqrt {b^{2}-4ac}}}{2a}}.}$
27
28
\noindent Each of the solutions given by the quadratic formula is called a root of the quadratic equation. Geometrically, these roots represent the $x$ values at which any parabola, explicitly given as $y = ax^2 + bx + c$, crosses the $x$-axis. As well as being a formula that will yield the zeros of any parabola, the quadratic equation will give the axis of symmetry of the parabola, and it can be used to immediately determine how many zeros it has.
29
$${\displaystyle x={\frac {-b\pm {\sqrt {b^{2}-4ac}}}{2a}}.} \,\,\, {\displaystyle x={\frac {-b\pm {\sqrt {b^{2}-4ac}}}{2a}}.}$$
30
Let's see what this does.
31
32
33
\sageplot[width=.7\textwidth]{plot(sin,0,2*pi)}
34
35
\end{document}
36
37