# Difference between revisions of "2017 AMC 8 Problems/Problem 21"

## Problem 21

Suppose $a$, $b$, and $c$ are nonzero real numbers, and $a+b+c=0$. What are the possible value(s) for $\frac{a}{|a|}+\frac{b}{|b|}+\frac{c}{|c|}+\frac{abc}{|abc|}$?

$\textbf{(A) }0\qquad\textbf{(B) }1\text{ and }-1\qquad\textbf{(C) }2\text{ and }-2\qquad\textbf{(D) }0,2,\text{ and }-2\qquad\textbf{(E) }0,1,\text{ and }-1$

## Solution

There are $2$ cases to consider:

Case $1$: $2$ of $a$, $b$, and $c$ are positive and the other is negative. WLOG assume that $a$ and $b$ are positive and $c$ is negative. In this case, we have that $$\frac{a}{|a|}+\frac{b}{|b|}+\frac{c}{|c|}+\frac{abc}{|abc|}=1+1-1-1=0.$$

Case $2$: $2$ of $a$, $b$, and $c$ are negative and the other is positive. WLOG assume that $a$ and $b$ are negative and $c$ is positive. In this case, we have that $$\frac{a}{|a|}+\frac{b}{|b|}+\frac{c}{|c|}+\frac{abc}{|abc|}=-1-1+1+1=0.$$

In both cases, we get that the given expression equals $\boxed{\textbf{(A)}\ 0}$.

~nukelauncher
{"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 26, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0}