Graphs of Linear Functions\\ with Absolute Values

Project ID: 
6000000001
Accepted: 
Type: 
Layout: 
Question: 
Match following graphs with their equations.
Question 1: 
\graf{\draw[red] (-8,-5)--(-1,2)--(2,-1)--(10,7);}
Question 1 Image: 
Answer 1: 
$y=|2-x|-|x+1|+x$
Question 2: 
\graf{\draw[red] (-8,5)--(-1,-2)--(2,1)--(10,-7);}
Question 2 Image: 
Answer 2: 
$y=|x+1|-|2-x|-x$
Question 3: 
\graf{\draw[red] (-8,-3)--(-1,-3)--(2,3)--(10,3);}
Question 3 Image: 
Answer 3: 
$y=|x+1|-|2-x|$
Question 4: 
\graf{\draw[red] (-8,17)--(-1,3)--(2,3)--(10,19);}
Question 4 Image: 
Answer 4: 
$y=|x+1|+|2-x|$
Answer 5: 

$y=|2-x|-|x+1|$

Answer 6: 
$y=-|x-1|-|2+x|$
Tex: 
% http://math4u.vsb.cz/cs/node/32615 \newcommand\graf[2][{-7.5}{7.5}{-3.5}{4.5}] { % nepoviny parametr jsou meze pro kresleni, povinny parametr je funkcni predps \obrMsr#1[5cm,3cm]{ { \obrClip \draw[step=1.0,lightgray,thin] (-8,-4) grid (8,5); } \obrOsy \obrClip \obrZnackyX{-10,...,10} \obrZnackyY{-10,...,10} \tiny \obrPopisX{-7,...,-1} \obrPopisX{7,...,1} \obrPopisY{4,...,1} #2 } } \NastavOT[-2pt]{2} \def\preAnswers{\vspace*{-12pt}} \def\preQuestions{\vspace*{-12pt}}