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

Please login to create an exam or a quiz.

Calculus
Limits
New Random

Find the values of \(\displaystyle a\) and \(\displaystyle b\) that make \(\displaystyle f\) continuous everywhere.
\(\displaystyle f(x) = \begin{cases} \frac{x^{2} - 4}{x + 2}, & x < -2 \\ a x^{2} + b x + 4, & -2 \leq x < 1 \\ - a + b + 2 x, & x \geq 1 \end{cases}\)


To be continuous the two sided limits at \(\displaystyle x=-2\) and \(\displaystyle x=1\) must be equal. This gives the first equation at \(\displaystyle x = -2\) as \(\displaystyle -4 = 4 a - 2 b + 4\) and second equation at \(\displaystyle x = 1\) as \(\displaystyle a + b + 4 = - a + b + 2\). Getting each equation into standard form gives the system \(\displaystyle 4 a - 2 b = -8 \quad 2 a = -2\). Solving the system gives \(\displaystyle a=-1\) and \(\displaystyle b=2\).

Download \(\LaTeX\)

\begin{question}Find the values of $a$ and $b$ that make $f$ continuous everywhere.\newline$f(x) = \begin{cases} \frac{x^{2} - 4}{x + 2}, & x < -2 \\ a x^{2} + b x + 4, &  -2 \leq x < 1 \\ - a + b + 2 x, &  x \geq 1 \end{cases}$
    \soln{9cm}{To be continuous the two sided limits at $x=-2$ and $x=1$ must be equal. This gives the first equation at $x = -2$ as $-4 = 4 a - 2 b + 4$ and second equation at $x = 1$ as $a + b + 4 = - a + b + 2$. Getting each equation into standard form gives the system $4 a - 2 b = -8 \quad 2 a = -2$. Solving the system gives $a=-1$ and $b=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>Find the values of  <img class="equation_image" title=" \displaystyle a " src="/equation_images/%20%5Cdisplaystyle%20a%20" alt="LaTeX:  \displaystyle a " data-equation-content=" \displaystyle a " />  and  <img class="equation_image" title=" \displaystyle b " src="/equation_images/%20%5Cdisplaystyle%20b%20" alt="LaTeX:  \displaystyle b " data-equation-content=" \displaystyle b " />  that make  <img class="equation_image" title=" \displaystyle f " src="/equation_images/%20%5Cdisplaystyle%20f%20" alt="LaTeX:  \displaystyle f " data-equation-content=" \displaystyle f " />  continuous everywhere.<br> <img class="equation_image" title=" \displaystyle f(x) = \begin{cases} \frac{x^{2} - 4}{x + 2}, & x < -2 \\ a x^{2} + b x + 4, &  -2 \leq x < 1 \\ - a + b + 2 x, &  x \geq 1 \end{cases} " src="/equation_images/%20%5Cdisplaystyle%20f%28x%29%20%3D%20%5Cbegin%7Bcases%7D%20%5Cfrac%7Bx%5E%7B2%7D%20-%204%7D%7Bx%20%2B%202%7D%2C%20%26%20x%20%3C%20-2%20%5C%5C%20a%20x%5E%7B2%7D%20%2B%20b%20x%20%2B%204%2C%20%26%20%20-2%20%5Cleq%20x%20%3C%201%20%5C%5C%20-%20a%20%2B%20b%20%2B%202%20x%2C%20%26%20%20x%20%5Cgeq%201%20%5Cend%7Bcases%7D%20" alt="LaTeX:  \displaystyle f(x) = \begin{cases} \frac{x^{2} - 4}{x + 2}, & x < -2 \\ a x^{2} + b x + 4, &  -2 \leq x < 1 \\ - a + b + 2 x, &  x \geq 1 \end{cases} " data-equation-content=" \displaystyle f(x) = \begin{cases} \frac{x^{2} - 4}{x + 2}, & x < -2 \\ a x^{2} + b x + 4, &  -2 \leq x < 1 \\ - a + b + 2 x, &  x \geq 1 \end{cases} " /> </p> </p>
HTML for Canvas
<p> <p>To be continuous the two sided limits at  <img class="equation_image" title=" \displaystyle x=-2 " src="/equation_images/%20%5Cdisplaystyle%20x%3D-2%20" alt="LaTeX:  \displaystyle x=-2 " data-equation-content=" \displaystyle x=-2 " />  and  <img class="equation_image" title=" \displaystyle x=1 " src="/equation_images/%20%5Cdisplaystyle%20x%3D1%20" alt="LaTeX:  \displaystyle x=1 " data-equation-content=" \displaystyle x=1 " />  must be equal. This gives the first equation at  <img class="equation_image" title=" \displaystyle x = -2 " src="/equation_images/%20%5Cdisplaystyle%20x%20%3D%20-2%20" alt="LaTeX:  \displaystyle x = -2 " data-equation-content=" \displaystyle x = -2 " />  as  <img class="equation_image" title=" \displaystyle -4 = 4 a - 2 b + 4 " src="/equation_images/%20%5Cdisplaystyle%20-4%20%3D%204%20a%20-%202%20b%20%2B%204%20" alt="LaTeX:  \displaystyle -4 = 4 a - 2 b + 4 " data-equation-content=" \displaystyle -4 = 4 a - 2 b + 4 " />  and second equation at  <img class="equation_image" title=" \displaystyle x = 1 " src="/equation_images/%20%5Cdisplaystyle%20x%20%3D%201%20" alt="LaTeX:  \displaystyle x = 1 " data-equation-content=" \displaystyle x = 1 " />  as  <img class="equation_image" title=" \displaystyle a + b + 4 = - a + b + 2 " src="/equation_images/%20%5Cdisplaystyle%20a%20%2B%20b%20%2B%204%20%3D%20-%20a%20%2B%20b%20%2B%202%20" alt="LaTeX:  \displaystyle a + b + 4 = - a + b + 2 " data-equation-content=" \displaystyle a + b + 4 = - a + b + 2 " /> . Getting each equation into standard form gives the system  <img class="equation_image" title=" \displaystyle 4 a - 2 b = -8 \quad 2 a = -2 " src="/equation_images/%20%5Cdisplaystyle%204%20a%20-%202%20b%20%3D%20-8%20%5Cquad%202%20a%20%3D%20-2%20" alt="LaTeX:  \displaystyle 4 a - 2 b = -8 \quad 2 a = -2 " data-equation-content=" \displaystyle 4 a - 2 b = -8 \quad 2 a = -2 " /> . Solving the system gives  <img class="equation_image" title=" \displaystyle a=-1 " src="/equation_images/%20%5Cdisplaystyle%20a%3D-1%20" alt="LaTeX:  \displaystyle a=-1 " data-equation-content=" \displaystyle a=-1 " />  and  <img class="equation_image" title=" \displaystyle b=2 " src="/equation_images/%20%5Cdisplaystyle%20b%3D2%20" alt="LaTeX:  \displaystyle b=2 " data-equation-content=" \displaystyle b=2 " /> .</p> </p>