In this textbook: https://www.stitz-zeager.com/szprecalculus07042013.pdf
On Page $236$, it says:
But I can easily say $h(x)=|a_nx^n+a_{n-1}x^{n-1}+...a_2x^2+a_1x|$
Isn't my $h(x)$ written as a combination of powers?
In this textbook: https://www.stitz-zeager.com/szprecalculus07042013.pdf
On Page $236$, it says:
But I can easily say $h(x)=|a_nx^n+a_{n-1}x^{n-1}+...a_2x^2+a_1x|$
Isn't my $h(x)$ written as a combination of powers?
Suppose $|x|$ is a polynomial function, i.e., there exists coefficients $a_0,a_1,\ldots,a_n$ such that $$|x|=a_n x^n+a_{n-1}x^{n-1}+\cdots+a_1x+a_0\tag{1}$$ for all $x$. For this to be true for $x=0$ in particular, we need $a_0=0$. If we now assume $x\neq 0$, we can divide both sides of the previous equation to obtain
$$\frac{|x|}{x}=a_{n}x^{n-1}+a_{n-1}x^{n-2}+\cdots+a_1 \tag{2}$$
If we subtract $1$ from both sides, then the RHS is clearly a polynomial and the LHS is equal to $|x|/x-1$. But this LHS is equal to $0$ for all $x>0$ and thus has an infinitude of real roots. Since every nonzero polynomial has finitely-many real roots, the only such polynomial would be the zero polynomial. (See here for a proof that doesn't use the fundamental theorem of algebra.) But then $|x|/x=1$ for all $x$, which is false for $x<0$. Hence no such polynomial exists and $|x|$ cannot be a polynomial function.
It really comes down to the following definition of a polynomial. To quote Wikipedia,
a polynomial is a mathematical expression consisting of indeterminates (also called variables) and coefficients, that involves only the operations of addition, subtraction, multiplication and exponentiation to nonnegative integer powers
The operation of taking the absolute value is not included, thus an expression in which the absolute value of a variable is taken cannot be a polynomial.
Here's one way to prove that $|x|$ is not a polynomial, i.e. that there is no choice of $n$ and $a_0, a_1, \ldots, a_n$ that makes $|x| = a_0 + a_1 x + \ldots + a_n x^n$ for all real numbers $x$.
Suppose such $n$ and $a_0, a_1, \ldots, a_n$ did exist. First note that $n =0$ and $n= 1$ do not work (I'll leave this as an exercise). So $n \ge 2$. Then $|x| - x = a_0 + (a_1 - 1) x + \ldots + a_n x^n$ would be a polynomial of degree $n$. By the Fundamental Theorem of Calculus, a polynomial of degree $n$ has at most $n$ real roots. But $|x| - x$ has infinitely many real roots, namely all positive real numbers: contradiction. Thus they do not exist, and $|x|$ is not a polynomial.