Please login to create an exam or a quiz.
Solve \(\displaystyle x + 2 = \sqrt{7 x + 32}\).
Squaring both sides gives \(\displaystyle x^{2} + 4 x + 4 = 7 x + 32\). The equation is quadratic setting it equal to zero gives \(\displaystyle x^{2} - 3 x - 28 = 0\). Factoring gives \(\displaystyle (x - 7)(x + 4)=0\) so the possible solutions are \(\displaystyle x = 7\) and \(\displaystyle x = -4\). Checking the solution \(\displaystyle x = 7\) in the original equation gives \(\displaystyle 9 = 9\). The solution checks, so \(\displaystyle x = 7\) is a true solution. Checking the solution \(\displaystyle x = -4\) in the original equation gives \(\displaystyle -2 = 2\). The solution does no check, so \(\displaystyle x = -4\) is an extraneous solution.
\begin{question}Solve $x + 2 = \sqrt{7 x + 32}$.
\soln{10cm}{Squaring both sides gives $x^{2} + 4 x + 4 = 7 x + 32$. The equation is quadratic setting it equal to zero gives $x^{2} - 3 x - 28 = 0$. Factoring gives $(x - 7)(x + 4)=0$ so the possible solutions are $x = 7$ and $x = -4$. Checking the solution $x = 7$ in the original equation gives $9 = 9$. The solution checks, so $x = 7$ is a true solution. Checking the solution $x = -4$ in the original equation gives $-2 = 2$. The solution does no check, so $x = -4$ is an extraneous solution. }
\end{question}
\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}<p> <p>Solve <img class="equation_image" title=" \displaystyle x + 2 = \sqrt{7 x + 32} " src="/equation_images/%20%5Cdisplaystyle%20x%20%2B%202%20%3D%20%5Csqrt%7B7%20x%20%2B%2032%7D%20" alt="LaTeX: \displaystyle x + 2 = \sqrt{7 x + 32} " data-equation-content=" \displaystyle x + 2 = \sqrt{7 x + 32} " /> .</p> </p><p> <p>Squaring both sides gives <img class="equation_image" title=" \displaystyle x^{2} + 4 x + 4 = 7 x + 32 " src="/equation_images/%20%5Cdisplaystyle%20x%5E%7B2%7D%20%2B%204%20x%20%2B%204%20%3D%207%20x%20%2B%2032%20" alt="LaTeX: \displaystyle x^{2} + 4 x + 4 = 7 x + 32 " data-equation-content=" \displaystyle x^{2} + 4 x + 4 = 7 x + 32 " /> . The equation is quadratic setting it equal to zero gives <img class="equation_image" title=" \displaystyle x^{2} - 3 x - 28 = 0 " src="/equation_images/%20%5Cdisplaystyle%20x%5E%7B2%7D%20-%203%20x%20-%2028%20%3D%200%20" alt="LaTeX: \displaystyle x^{2} - 3 x - 28 = 0 " data-equation-content=" \displaystyle x^{2} - 3 x - 28 = 0 " /> . Factoring gives <img class="equation_image" title=" \displaystyle (x - 7)(x + 4)=0 " src="/equation_images/%20%5Cdisplaystyle%20%28x%20-%207%29%28x%20%2B%204%29%3D0%20" alt="LaTeX: \displaystyle (x - 7)(x + 4)=0 " data-equation-content=" \displaystyle (x - 7)(x + 4)=0 " /> so the possible solutions are <img class="equation_image" title=" \displaystyle x = 7 " src="/equation_images/%20%5Cdisplaystyle%20x%20%3D%207%20" alt="LaTeX: \displaystyle x = 7 " data-equation-content=" \displaystyle x = 7 " /> and <img class="equation_image" title=" \displaystyle x = -4 " src="/equation_images/%20%5Cdisplaystyle%20x%20%3D%20-4%20" alt="LaTeX: \displaystyle x = -4 " data-equation-content=" \displaystyle x = -4 " /> . Checking the solution <img class="equation_image" title=" \displaystyle x = 7 " src="/equation_images/%20%5Cdisplaystyle%20x%20%3D%207%20" alt="LaTeX: \displaystyle x = 7 " data-equation-content=" \displaystyle x = 7 " /> in the original equation gives <img class="equation_image" title=" \displaystyle 9 = 9 " src="/equation_images/%20%5Cdisplaystyle%209%20%3D%209%20" alt="LaTeX: \displaystyle 9 = 9 " data-equation-content=" \displaystyle 9 = 9 " /> . The solution checks, so <img class="equation_image" title=" \displaystyle x = 7 " src="/equation_images/%20%5Cdisplaystyle%20x%20%3D%207%20" alt="LaTeX: \displaystyle x = 7 " data-equation-content=" \displaystyle x = 7 " /> is a true solution. Checking the solution <img class="equation_image" title=" \displaystyle x = -4 " src="/equation_images/%20%5Cdisplaystyle%20x%20%3D%20-4%20" alt="LaTeX: \displaystyle x = -4 " data-equation-content=" \displaystyle x = -4 " /> in the original equation gives <img class="equation_image" title=" \displaystyle -2 = 2 " src="/equation_images/%20%5Cdisplaystyle%20-2%20%3D%202%20" alt="LaTeX: \displaystyle -2 = 2 " data-equation-content=" \displaystyle -2 = 2 " /> . The solution does no check, so <img class="equation_image" title=" \displaystyle x = -4 " src="/equation_images/%20%5Cdisplaystyle%20x%20%3D%20-4%20" alt="LaTeX: \displaystyle x = -4 " data-equation-content=" \displaystyle x = -4 " /> is an extraneous solution. </p> </p>