Assume you have an equation:
$\ 5x^2+4x+6=ax^2+bx+c $
Now theoretically, this is an equation of 4 variables, and it should not be solvable, but it is very apparent that a,b,c equals 5,4,6, in that order. Something similar happens with complex numbers:
$\ 5 + 4i = a + bi $
Here solution for a,b is 5,4, again it is very apparent.
My theory is that a,b or c, in these are something like incompatible number types. Therefore you can construct a system of equations from one single equation. The complex number equation is a good example, you can easily separate the complex and the non-complex part, as they virtually cannot influence the other.
But in the first equation, it's all in the real plane, there is no complex stuff going on and the x squared can influence the x
You can even do this:
$\ c = 5x^2 + 4x + 6 - ax^2 - bx $
Which would suggest c is dependent on the value of both a and b, and you get a similar result defining a or b, potentially pointing to an infinite number of solutions.
So why do these have only one solution? Assuming my theory is somewhat correct, what do mathematicians call these "incompatible numbers" properly?
The uniqueness in your examples is a consequence of some implicit assumptions in each case.
For the first, the unspoken assumption in the equation $$ 5x^2+4x+6=ax^2+bx+c $$ is that it is true for every value of $x$. That really makes it infinitely many equations. You need just three of them to determine $a$, $b$ and $c$. For example, setting $x$ to be $0$, $1$ and $-1$ in turn leads to $$ 6 = c. $$ $$ 5 + 4 + 6 = a + b + c $$ and $$ 5 -4 +6 = a - b + c . $$ It's no surprise that these determine $a$, $b$ and $c$.
In the second case, a complex number is usually defined as a pair of real numbers, the real and imaginary parts. It's no surprise then that two complex numbers are equal just when their real and imaginary parts match. This is just the assertion that if you knoa a point in the plane you know both its $x$ and $y$ coordinates.