\(\text{www.the}\beta\text{etafunction.com}\)
Home
Login
Questions: Algebra BusinessCalculus

Please login to create an exam or a quiz.

Algebra
Quadratics
New Random

Solve \(\displaystyle x^{2} - x - 2=0\)


Since \(\displaystyle a=1\) we need to find factors of \(\displaystyle -2\) that add up to \(\displaystyle -1\). The factors are \(\displaystyle 1\) and \(\displaystyle -2\). This gives \(\displaystyle (x + 1)(x - 2)=0\). The solutions are \(\displaystyle x = -1\) and \(\displaystyle x = 2\)

Download \(\LaTeX\)

\begin{question}Solve $x^{2} - x - 2=0$
    \soln{9cm}{Since $a=1$ we need to find factors of $-2$ that add up to $-1$.  The factors are $1$ and $-2$.  This gives $(x + 1)(x - 2)=0$. The solutions are $x = -1$ and $x = 2$}

\end{question}

Download Question and Solution Environment\(\LaTeX\)
\documentclass{article}
\usepackage{tikz}
\usepackage{amsmath}
\usepackage[margin=2cm]{geometry}
\usepackage{tcolorbox}

\newcounter{ExamNumber}
\newcounter{questioncount}
\stepcounter{questioncount}

\newenvironment{question}{{\noindent\bfseries Question \arabic{questioncount}.}}{\stepcounter{questioncount}}
\renewcommand{\labelenumi}{{\bfseries (\alph{enumi})}}

\newif\ifShowSolution
\newcommand{\soln}[2]{%
\ifShowSolution%
\noindent\begin{tcolorbox}[colframe=blue,title=Solution]#2\end{tcolorbox}\else%
\vspace{#1}%
\fi%
}%
\newcommand{\hideifShowSolution}[1]{%
\ifShowSolution%
%
\else%
#1%
\fi%
}%
\everymath{\displaystyle}
\ShowSolutiontrue

\begin{document}\begin{question}(10pts) The question goes here!
    \soln{9cm}{The solution goes here.}

\end{question}\end{document}
HTML for Canvas
<p> <p>Solve  <img class="equation_image" title=" \displaystyle x^{2} - x - 2=0 " src="/equation_images/%20%5Cdisplaystyle%20x%5E%7B2%7D%20-%20x%20-%202%3D0%20" alt="LaTeX:  \displaystyle x^{2} - x - 2=0 " data-equation-content=" \displaystyle x^{2} - x - 2=0 " /> </p> </p>
HTML for Canvas
<p> <p>Since  <img class="equation_image" title=" \displaystyle a=1 " src="/equation_images/%20%5Cdisplaystyle%20a%3D1%20" alt="LaTeX:  \displaystyle a=1 " data-equation-content=" \displaystyle a=1 " />  we need to find factors of  <img class="equation_image" title=" \displaystyle -2 " src="/equation_images/%20%5Cdisplaystyle%20-2%20" alt="LaTeX:  \displaystyle -2 " data-equation-content=" \displaystyle -2 " />  that add up to  <img class="equation_image" title=" \displaystyle -1 " src="/equation_images/%20%5Cdisplaystyle%20-1%20" alt="LaTeX:  \displaystyle -1 " data-equation-content=" \displaystyle -1 " /> .  The factors are  <img class="equation_image" title=" \displaystyle 1 " src="/equation_images/%20%5Cdisplaystyle%201%20" alt="LaTeX:  \displaystyle 1 " data-equation-content=" \displaystyle 1 " />  and  <img class="equation_image" title=" \displaystyle -2 " src="/equation_images/%20%5Cdisplaystyle%20-2%20" alt="LaTeX:  \displaystyle -2 " data-equation-content=" \displaystyle -2 " /> .  This gives  <img class="equation_image" title=" \displaystyle (x + 1)(x - 2)=0 " src="/equation_images/%20%5Cdisplaystyle%20%28x%20%2B%201%29%28x%20-%202%29%3D0%20" alt="LaTeX:  \displaystyle (x + 1)(x - 2)=0 " data-equation-content=" \displaystyle (x + 1)(x - 2)=0 " /> . The solutions are  <img class="equation_image" title=" \displaystyle x = -1 " src="/equation_images/%20%5Cdisplaystyle%20x%20%3D%20-1%20" alt="LaTeX:  \displaystyle x = -1 " data-equation-content=" \displaystyle x = -1 " />  and  <img class="equation_image" title=" \displaystyle x = 2 " src="/equation_images/%20%5Cdisplaystyle%20x%20%3D%202%20" alt="LaTeX:  \displaystyle x = 2 " data-equation-content=" \displaystyle x = 2 " /> </p> </p>