
\documentclass[11pt]{article}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[nomarginpar]{geometry}
\usepackage{color}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{fancyhdr}
\usepackage{hyperref}
\usepackage{multicol}

\setcounter{MaxMatrixCols}{10}
%TCIDATA{OutputFilter=LATEX.DLL}
%TCIDATA{Version=5.00.0.2570}
%TCIDATA{<META NAME="SaveForMode" CONTENT="1">}
%TCIDATA{Created=Wednesday, July 12, 2006 00:27:03}
%TCIDATA{LastRevised=Saturday, September 25, 2021 15:54:49}
%TCIDATA{<META NAME="GraphicsSave" CONTENT="32">}
%TCIDATA{<META NAME="Title" CONTENT="Evaluating Algebraic Expressions">}
%TCIDATA{<META NAME="DocumentShell" CONTENT="Scientific Notebook\Booklet #1 - with Instructions">}
%TCIDATA{CSTFile=40 LaTeX article.cst}
%TCIDATA{PageSetup=72,72,72,72,1}
%TCIDATA{Counters=arabic,1}
%TCIDATA{<META NAME="PrintViewPercent" CONTENT="100">}
%TCIDATA{ComputeDefs=
%$p=7$
%$q=3$
%}

%TCIDATA{AllPages=
%H=36
%F=36,\PARA{038<p type="texpara" tag="Body Text" >\hfill \hfill }
%}


\newtheorem{theorem}{Theorem}
\newtheorem{acknowledgement}[theorem]{Acknowledgement}
\newtheorem{algorithm}[theorem]{Algorithm}
\newtheorem{axiom}[theorem]{Axiom}
\newtheorem{case}[theorem]{Case}
\newtheorem{claim}[theorem]{Claim}
\newtheorem{conclusion}[theorem]{Conclusion}
\newtheorem{condition}[theorem]{Condition}
\newtheorem{conjecture}[theorem]{Conjecture}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{criterion}[theorem]{Criterion}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{example}[theorem]{Example}
\newtheorem{exercise}{Exercise}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{notation}[theorem]{Notation}
\newtheorem{problem}[theorem]{Problem}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{remark}[theorem]{Remark}
\newtheorem{solution}[theorem]{Solution}
\newtheorem{summary}[theorem]{Summary}
\newenvironment{proof}[1][Proof]{\noindent\textbf{#1.} }{\ \rule{0.5em}{0.5em}}
\input{tcilatex}
\geometry{left=0.5in,right=0.5in,top=0.5in,bottom=0.5in}
\pagestyle{fancy}
\lhead{\color{blue} \Large Lecture Notes}
\chead{\color{black} \LARGE Evaluating Algbraic Expressions}
\rhead{\large page   \ \thepage}
\cfoot{}
\lfoot{\small   \copyright $\;$ copyright  Hidegkuti,  Powell,  2008}
\textwidth 7.4in 
\textheight 9.5in 
\setlength{\headheight}{30pt}
\setlength{\parindent}{0in}

\begin{document}


\begin{center}
{\LARGE Sample Problems\bigskip }
\end{center}

Evaluate each of the algebraic expressions when $p=7$ \ and \ $q=3$.%
%TCIMACRO{\TeXButton{3col begin}{\begin{multicols}{3}}}%
%BeginExpansion
\begin{multicols}{3}%
%EndExpansion

\begin{enumerate}
\item $15-p=$

\item $pq=$

\item $4p-q=$

\item $p-2q=$

\item $p^{2}-q^{2}=$

\item $\left( p-q\right) ^{2}=$

\item $2q^{2}=$

\item $\left( 2q\right) ^{2}=$

\item $15-\dfrac{p+q}{5}=$

\item $\left( p+q\right) ^{2}-\left( 5q-2p\right) ^{4}=$
\end{enumerate}

%TCIMACRO{\TeXButton{multicol end}{\end{multicols}}}%
%BeginExpansion
\end{multicols}%
%EndExpansion

\bigskip

\bigskip \bigskip

\begin{center}
{\LARGE Practice Problems\bigskip }
\end{center}

\begin{enumerate}
\item Evaluate each of the algebraic expressions when $x=6$ \ and \ $y=8$.%
%TCIMACRO{\TeXButton{3col begin}{\begin{multicols}{3}}}%
%BeginExpansion
\begin{multicols}{3}%
%EndExpansion

a) $\ 19-y+x=$

b) $\ 19-\left( y+x\right) =$

c) $\ 2x^{2}-5y+3=$

d) $\ x^{2}+y^{2}=$

e) $\ \left( x+y\right) ^{2}=$

f) $\ 3y-x=$

g) $\ 3\left( y-x\right) =$

h) $\ \dfrac{5x-y}{2}=$

i) $\ 5x-\dfrac{y}{2}=$

j) $\ \dfrac{x^{2}-5x+4}{y-3}=$ 
%TCIMACRO{\TeXButton{multicol end}{\end{multicols}}}%
%BeginExpansion
\end{multicols}%
%EndExpansion

\item Consider the expression $\dfrac{6a-3b-ab+2a^{2}}{2a-b}-3$. \ \
Evaluate this expression if%
%TCIMACRO{\TeXButton{2col begin}{\begin{multicols}{2}}}%
%BeginExpansion
\begin{multicols}{2}%
%EndExpansion

a) \ if \ $a=5$ \ and \ $b=1$

b) \ if \ $a=5$ \ and \ $b=2$

c) \ if $\ a=5$ \ and \ $b=3$

d) if \ $a=4$ \ and \ $b=1$ \ 
%TCIMACRO{\TeXButton{multicol end}{\end{multicols}}}%
%BeginExpansion
\end{multicols}%
%EndExpansion
\end{enumerate}

\bigskip

\pagebreak

\begin{center}
{\LARGE Sample Problems - Answers\bigskip }
\end{center}

1.) $\ 8\qquad $2.) $\ 21\qquad $3.) $\ 25\qquad $4.) $\ 1\qquad $5.) $\
40\qquad $6.) $\ 16\qquad $7.) $\ 18\qquad $8.) $\ 36\qquad $9.) $\ 13\qquad 
$10.) $\ 99$\bigskip \bigskip \bigskip

\begin{center}
{\LARGE Practice Problems - Answers\bigskip }
\end{center}

\bigskip 1. a) $\ 17$ \qquad b) \ $5\qquad $c) \ $35\qquad $d) \ $100\qquad $%
e) \ $196\qquad $f) \ $18\qquad $g) \ $6\qquad $h) \ $11\qquad $i) \ $%
26\qquad $j) \ $2$\bigskip

2.) \ a) \ $5\qquad $b) \ $5$ \qquad c) \ $5$ \qquad d) \ $4$

\bigskip \bigskip \bigskip

\begin{center}
{\Large Sample Problems - Solutions}\bigskip
\end{center}

Evaluate each of the algebraic expressions when $p=7$ \ and \ $q=3$.

\begin{enumerate}
\item $15-p=~~%
%TCIMACRO{\TeXButton{red}{\color{red}}}%
%BeginExpansion
\color{red}%
%EndExpansion
8%
%TCIMACRO{\TeXButton{black}{\color{black}}}%
%BeginExpansion
\color{black}%
%EndExpansion
$\newline
Solution: Step 1. We re-write the expression with one modification: we
replace each variable by an empty pair of parenthses.\newline
Step 2. We insert the values into the parentheses. \ Now the problem becomes
an order of operations problem.\newline
Step 3. We drop the unnecessary parentheses and work out the order of
operations problem. \ (It may appear awkward to create these parentheses but
they will later become extremely helpful.)%
\begin{eqnarray*}
\text{Step 1. \ \ \ \ \ \ \ \ \ \ }15-p &=&15-\left( ~~\right) \\
\text{Step 2. \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ } &=&15-\left( 7\right) \\
\text{Step 3. \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ } &=&15-7 \\
&=&8
\end{eqnarray*}

\item $pq=~~%
%TCIMACRO{\TeXButton{red}{\color{red}}}%
%BeginExpansion
\color{red}%
%EndExpansion
21%
%TCIMACRO{\TeXButton{black}{\color{black}}}%
%BeginExpansion
\color{black}%
%EndExpansion
$\newline
Solution:%
\begin{eqnarray*}
\text{Step 1. \ \ \ \ \ \ \ \ \ \ \ \ \ \ }pq &=&\left( ~~\right) \left(
~~\right) \\
\text{Step 2. \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ } &=&\left( 7\right) \left(
3\right) \\
\text{Step 3. \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ } &=&21
\end{eqnarray*}

\item $4p-q=~~%
%TCIMACRO{\TeXButton{red}{\color{red}}}%
%BeginExpansion
\color{red}%
%EndExpansion
25%
%TCIMACRO{\TeXButton{black}{\color{black}}}%
%BeginExpansion
\color{black}%
%EndExpansion
$\newline
Solution:%
\begin{eqnarray*}
\text{Step 1. \ \ \ \ \ \ \ \ \ \ \ \ \ \ }4p-q &=&4\left( ~~\right) -\left(
~~\right) \\
\text{Step 2. \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ } &=&4\left(
7\right) -\left( 3\right) \\
\text{Step 3.\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ } &=&4\cdot 7-3%
\text{ \ \ \ \ \ \ \ \ \ \ \ \ multiplication} \\
&=&28-3\text{ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ subtraction} \\
&=&25
\end{eqnarray*}

\item $p-2q=~~%
%TCIMACRO{\TeXButton{red}{\color{red}}}%
%BeginExpansion
\color{red}%
%EndExpansion
1%
%TCIMACRO{\TeXButton{black}{\color{black}}}%
%BeginExpansion
\color{black}%
%EndExpansion
$\newline
Solution:%
\begin{eqnarray*}
\text{Step 1. \ \ \ \ \ }p-2q &=&\left( ~~\right) -2\left( ~~\right) \\
\text{Step 2.\ \ \ \ \ \ \ \ \ \ \ \ \ \ } &=&\left( 7\right) -2\left(
3\right) \\
\text{Step 3.\ \ \ \ \ \ \ \ \ \ \ \ \ \ } &=&7-2\cdot 3\text{ \ \ \ \ \ \
multiplication} \\
&=&7-6\text{ \ \ \ \ \ \ \ \ \ \ \ subtraction} \\
&=&1
\end{eqnarray*}

\item $p^{2}-q^{2}=~~%
%TCIMACRO{\TeXButton{red}{\color{red}}}%
%BeginExpansion
\color{red}%
%EndExpansion
40%
%TCIMACRO{\TeXButton{black}{\color{black}}}%
%BeginExpansion
\color{black}%
%EndExpansion
$\newline
Solution: 
\begin{eqnarray*}
p^{2}-q^{2} &=&\left( ~~\right) ^{2}-\left( ~~\right) ^{2} \\
&=&\left( 7\right) ^{2}-\left( 3\right) ^{2} \\
&=&7^{2}-3^{2}\text{ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ exponents,} \\
&=&49-3^{2}\text{ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ left to right} \\
&=&49-9\text{ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ subtraction} \\
&=&40
\end{eqnarray*}

\item $\left( p-q\right) ^{2}=~~%
%TCIMACRO{\TeXButton{red}{\color{red}}}%
%BeginExpansion
\color{red}%
%EndExpansion
16%
%TCIMACRO{\TeXButton{black}{\color{black}}}%
%BeginExpansion
\color{black}%
%EndExpansion
$\newline
Solution: 
\begin{eqnarray*}
\left( p-q\right) ^{2} &=&\left[ \left( ~~\right) -\left( ~~\right) \right]
^{2} \\
&=&\left[ \left( 7\right) -\left( 3\right) \right] ^{2} \\
&=&\left( 7-3\right) ^{2}\text{ \ \ \ \ \ \ \ \ \ subtraction in parentheses}
\\
&=&4^{2}\text{ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ exponentiation} \\
&=&16
\end{eqnarray*}

\item $2q^{2}=~~%
%TCIMACRO{\TeXButton{red}{\color{red}}}%
%BeginExpansion
\color{red}%
%EndExpansion
18%
%TCIMACRO{\TeXButton{black}{\color{black}}}%
%BeginExpansion
\color{black}%
%EndExpansion
$\newline
Solution: 
\begin{eqnarray*}
2q^{2} &=&2\left( ~~\right) ^{2} \\
&=&2\left( 3\right) ^{2} \\
&=&2\cdot 3^{2}\text{ \ \ \ \ \ \ \ \ exponentiation} \\
&=&2\cdot 9\text{ \ \ \ \ \ \ \ \ \ \ multiplication} \\
&=&18
\end{eqnarray*}

\item $\left( 2q\right) ^{2}=~~%
%TCIMACRO{\TeXButton{red}{\color{red}}}%
%BeginExpansion
\color{red}%
%EndExpansion
36%
%TCIMACRO{\TeXButton{black}{\color{black}}}%
%BeginExpansion
\color{black}%
%EndExpansion
$\newline
Solution: 
\begin{eqnarray*}
\left( 2q\right) ^{2} &=&\left[ 2\left( ~~\right) \right] ^{2} \\
&=&\left[ 2\left( 3\right) \right] ^{2} \\
&=&\left( 2\cdot 3\right) ^{2}\text{ \ \ \ \ \ \ \ \ \ \ multiplication in
parentheses} \\
&=&6^{2}\text{ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ exponents} \\
&=&36
\end{eqnarray*}

\item $15-\dfrac{p+q}{5}=~~%
%TCIMACRO{\TeXButton{red}{\color{red}}}%
%BeginExpansion
\color{red}%
%EndExpansion
13%
%TCIMACRO{\TeXButton{black}{\color{black}}}%
%BeginExpansion
\color{black}%
%EndExpansion
$\newline
Solution: \ From here on, we show computations \textbf{in the form they
should appear}. \ Once you wrote down the expression with little parentheses
instead of the letters, you can insert the values into it. \ (In this
problem, we skipped the line $15-\dfrac{\left( ~~\right) +\left( ~~\right) }{%
5}$) 
\begin{eqnarray*}
15-\dfrac{p+q}{5} &=&15-\dfrac{\left( 7\right) +\left( 3\right) }{5} \\
&=&15-\dfrac{7+3}{5}\text{ \ \ \ \ \ \ \ \ \ \ \ \ \ \ invisible parentheses!%
} \\
&=&15-\dfrac{10}{5}\text{ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ division} \\
&=&15-2\text{ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ subtraction} \\
&=&13
\end{eqnarray*}

\item $\left( p+q\right) ^{2}-\left( 5q-2p\right) ^{4}=~~%
%TCIMACRO{\TeXButton{red}{\color{red}}}%
%BeginExpansion
\color{red}%
%EndExpansion
99%
%TCIMACRO{\TeXButton{black}{\color{black}}}%
%BeginExpansion
\color{black}%
%EndExpansion
$\newline
Solution:%
\begin{equation*}
\left( p+q\right) ^{2}-\left( 5q-2p\right) ^{4}=\left[ \left( 7\right)
+\left( 3\right) \right] ^{2}-\left[ 5\left( 3\right) -2\left( 7\right) %
\right] ^{4}\text{ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\end{equation*}%
\begin{eqnarray*}
&=&\left( 7+3\right) ^{2}-\left( 5\cdot 3-2\cdot 7\right) ^{4}\text{ \ \ \ \
\ \ \ \ \ \ \ \ \ \ addition in parentheses} \\
&=&10^{2}-\left( 5\cdot 3-2\cdot 7\right) ^{4}\text{ \ \ \ \ \ \ \ \ \ \ \ \
\ \ \ multiplications in parentheses,} \\
&=&10^{2}-\left( 15-2\cdot 7\right) ^{4}\text{ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ left to right} \\
&=&10^{2}-\left( 15-14\right) ^{4}\text{ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
\ \ \ \ \ subtraction in parentheses} \\
&=&10^{2}-1^{4}\text{ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
\ \ \ \ exponents, left to right} \\
&=&100-1^{4}\text{ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
careful! \ }1^{4}\not=4 \\
&=&100-1 \\
&=&99
\end{eqnarray*}%
\bigskip
\end{enumerate}

\vspace{3in}

{\small 
%TCIMACRO{\TeXButton{\small}{\small}}%
%BeginExpansion
\small%
%EndExpansion
}

\href{https://teaching.martahidegkuti.com/shared/lnotes/lecturenotes.html}{%
For more documents like this, visit our page at\
https://teaching.martahidegkuti.com and click on Lecture Notes. \ E-mail
questions or comments to mhidegkuti@ccc.edu.}

\end{document}
