Solve $3x^2 + 2x + 1 \equiv 0 \mod 11$
Additionally, I have an example problem, but a step in the middle has confused me:
$3x^2 + 5x - 7 \equiv 0 \mod 17$. Rearrange to get $3x^2 + 5x \equiv 7 \mod 17$.
$\implies 6\cdot 3x^2 + 6\cdot 5x \equiv 6*7 \mod 17$.
The next line reads $x^2 + 30x \equiv 8 \mod 17$, which I am confused about; I understand how $8$ came to be ($42 - 34$, reduced to $8$) but what happened to the coefficient of $3x^2$? This example is from my notes in NT class, so perhaps I copied something incorrectly, or did I?
For the first problem, you don't need to finish the whole problem. Once you get to a point where it looks something like $(x+15)^2 \equiv 10 \mod 17$ (result of the example problem), I know how to proceed. It's the beginning parts that have muddled me a bit...
Help would be greatly appreciated.
One way is to multiply through by $3$ to get the equivalent congruence $9x^2+6x+3\equiv 0\pmod{11}$. Then rewrite as $(3x+1)^2+2\equiv 0\pmod{11}$. We get lucky because this can be rewritten as $(3x+1)^2\equiv 9\pmod{11}$.
Remark: In general, if we are looking at the congruence $ax^2+bx+c\equiv 0\pmod{m}$, where $m$ is odd and relatively prime to $a$, one can multiply through by $4a$ and then complete the square. In our case, since $b$ was even, we could more simply multiply through by $a$.
Alternately, for out particular problem, we could multiply through by the inverse of $3$ modulo $11$. So multiply through by $4$, and again complete the square. That was the strategy used in the worked example modulo $17$. Since $3\cdot 6=18\equiv 1\pmod{17}$, $6$ is the moduloar inverse of $3$, and multiplying throgh by $6$ leaves us with a quadratic congruence with the lead coefficient of the quadratic equal to $1$.