Graphs of Absolute Value Functions

Project ID: 
6000000002
Accepted: 
Type: 
Layout: 
Question: 
Match the following graphs of functions with their equations.
Question 1: 
\graf{abs(-\x)}
Question 1 Image: 
Answer 1: 

$y=|-x|$

Question 2: 
\graf{-abs(\x)}
Question 2 Image: 
Answer 2: 

$y=-|x|$

Question 3: 
\graf{2*abs(\x)}
Question 3 Image: 
Answer 3: 

$y=2|x|$

Question 4: 
\graf{1/2*abs(\x)}
Question 4 Image: 
Answer 4: 

$y=\frac 12|x|$

Question 5: 
\graf{abs(\x)+2}
Question 5 Image: 
Answer 5: 

$y=|x|+2$

Question 6: 
\graf{abs(\x+2)}
Question 6 Image: 
Answer 6: 

$y=|x+2|$

Answer 7: 

$y=|x-2|$

Answer 8: 

$y=|x|-2$

Tex: 
% http://math4u.vsb.cz/sk/node/32662 \NastavOD{4} \newcommand\graf[2][-5.5,5.5,-3.5,5.5] { % nepoviny parametr jsou meze pro kresleni, povinny parametr je funkcni predps \obrMsr{#1}[5cm,5cm]{ {\obrClip \draw[help lines, step = 1] (-8,-8) grid (8.5,8.5); } \obrOsy \obrClip %\obrFce[very thick,domain=-8:8]{#2} \def\x{-5}\pgfmathsetmacro{\A}{#2} \def\x{-2}\pgfmathsetmacro{\B}{#2} \def\x{0}\pgfmathsetmacro{\C}{#2} \def\x{5}\pgfmathsetmacro{\D}{#2} \draw[red, very thick] (-5,\A)--(-2,\B)--(0,\C)--(5,\D); \obrZnackyX{-5,...,5} \obrZnackyY{-5,...,5} \footnotesize \obrPopisX{-2,-1,-3,-4,-5,1,2,3,4,5} \obrPopisY[left,yshift=-3pt]{-2,-1,-3,1,2,3,4,5} } }