Suppose we have a $a,d,$ and $q$ such that $a \neq 0, d \neq 0.$ Then, let $M = \{a, a + d, a + 2d\}$ and $N = \{a, aq, aq^2\}.$ Given that $M = N,$ find the value of $q.$
(A) $\frac12$
(B) $\frac13$
(C) $-\frac14$
(D) $-\frac12$
(E) $-2$
I immediately thought about setting $a + d = aq$ and $a + 2d = aq^2.$ I then proceeded to do $aq^2 - aq = d,$ and substitute in for $d,$ which gave me $a + (aq^2 - aq) = aq.$ Simplifying then gave me $aq^2 - 2aq + a = 0,$ and dividing by $a$ gave me $q^2 - 2q + 1 = 0,$ which should mean that $q = 1.$ However, that's not an answer choice. What should I do instead?
We have three cases.
$$2aq=a+aq^2$$ or $$q=1,$$ which is impossible because $d\neq0$.
$$2aq^2=a+aq$$ or $$2q^2-q-1=0,$$ which gives $$q=-\frac{1}{2}.$$
$$2a=aq+aq^2.$$ Can you end it now?