Consider the equation $x+3=3(x+1)-2x$. Is this equation a linear equation?
I would say to my students that an equation in 1 variable is linear when it can be simplified to the form $ax=b$ where $a\neq0$. Also, I would mention that a linear equation in 1 variable has only 1 solution. Therefore, I would say that the equation $x+3=3(x+1)-2x$ is not linear because it can be reduced to $0x=0$ which has infinite solutions.
However, a colleague whose research area is algebra says that a linear equation is one that only involves polynomials of degree 1. Therefore, the equation $x+3=3(x+1)-2x$ is linear. Then, according to the definition of my colleague, the equation $x-x=0$ is linear as well.
I was thinking that maybe a third possibility is that according to the definition of "linear equation" only equations of the form "expression$=0$" can be classified as linear or non-linear. In this case, the equation $x+3=3(x+1)-2x$ is not linear nor non-linear, but the equation $x-x=0$ would be linear.
What should be the definition for "linear equation" in 1 variable suitable for a math course?