a constant is under AE or not?
Please don't use your abbreviation
AE in a context where you have been talking about both
Arithmetic Expressions and
Algebraic Expressions! The goal is to communicate clearly, right? I think you mean algebraic.
The trouble with all of this is that words are used in slightly different ways in different contexts, so it's impossible to give a universal answer.
The word "constant" can refer to a numeral representing a specific number (like 3 or [MATH]\pi[/MATH]), or to a symbol like [MATH]c[/MATH] that would in general be called a variable, but is considered a parameter in a given context, meaning that it is thought of as a fixed value at any given time. So the "[MATH]c[/MATH]" in "[MATH]ax^2+bx+c[/MATH]" is called a constant term. I know that gets complicated! See
https://en.wikipedia.org/wiki/Constant_(mathematics) and
https://en.wikipedia.org/wiki/Variable_(mathematics). [In the context of this discussion, I am hesitant to refer to Wikipedia, as if I were saying I agree with everything in a given page, even what might be added tomorrow; I do so simply to show some of the ideas involved.]
So
not everything that could be called a constant will be found in an arithmetic expression. But
just about anything that could be called a constant can be found in an algebraic expression. Algebraic expressions contain
more than arithmetic expressions, simply because the former are used in algebra classes, while the latter are used in lower level classes. That's really all that matters. In moving up to algebraic expressions, you don't
lose the ability to use mere numbers (constants); you
gain the ability to use variables. If someone seems to be telling you that an algebraic expression
must contain a variable, they are just forgetting this, because
most do, and that is the characteristic feature of algebra.
But you should also be aware that none of this is terribly important. The reason these terms are not defined precisely is that they don't make much difference. If two of us disagree on what should be called a constant or an arithmetic expression (probably because we have different contexts in mind), that won't change any theorems we state.