2021 Fall AMC 12B Problems/Problem 7

Revision as of 22:31, 23 November 2021 by Kingofpineapplz (talk | contribs) (Solution 1 (Bash))

Problem

Which of the following conditions is sufficient to guarantee that integers $x$, $y$, and $z$ satisfy the equation \[x(x-y)+y(y-z)+z(z-x) = 1?\]

$\textbf{(A)} \: x>y$ and $y=z$

$\textbf{(B)} \: x=y-1$ and $y=z-1$

$\textbf{(C)} \: x=z+1$ and $y=x+1$

$\textbf{(D)} \: x=z$ and $y-1=x$

$\textbf{(E)} \: x+y+z=1$

Solution 1

Plugging in every choice, we see that choice $\textbf{(D)}$ works.


We have $y=x+1, z=x$, so \[x(x-y)+y(y-z)+z(z-x)=x(x-(x+1))+(x+1)((x+1)-x)+x(x-x)=x(-1)+(x+1)(1)=1.\] Our answer is $\textbf{(D)}$.

~kingofpineapplz

Solution 2 (Bash)

Just plug in all these options one by one, and one sees that all but $D$ fails to satisfy the equation.

For $D$, substitute $z=x$ and $y=x+1$:

$LHS=x(x-(x+1))+(x+1)(x+1-x)+x(x-x)=(-x)+(x+1)=1=RHS$

Hence the answer is $\boxed{\textbf{(D)}}.$

~Wilhelm Z