Setting: $\mathbb{R}[x]$ is the set of polynomials with real coefficients. All $f\in \mathbb{R}[x]$ has domain $\mathbb{C}$. $K$ is a compact subset of $\mathbb{C}$. $\mathbb{R}[x]|_{K}$ is the set of restrictions of functions in $\mathbb{R}[x]$. $\mathcal{C}(K)$ is the set of continuous complex-valued functions on $K$. By a set $F$ of complex-valued functions on some set $R$ being self-adjoint, we mean for all $f\in F,$ there exists some $\overline{f}\in F$ such that $\overline{f}(x)=\overline{f(x)}$ for all $x\in R$.
Questions:
- Is $\mathbb{R}[x]$ self-adjoint?
- Is $\mathbb{R}[x]|_{K}$ dense in $\mathcal{C}(K)$?
- If $\mathbb{R}[x]|_K$ is not dense in $\mathcal{C}(K)$, is there a continuous function $f:K\rightarrow \mathbb{C}$ such that $f$ is not in the uniform closure of $\mathbb{R}[x]|_{K}$ and can be explicitly written down?
Motivation (for me to ask this question): I am currently studying the section of Stone-Weierstrass in Baby Rudin, and it seems that Rudin doesn't answer the questions I asked above.
Attempts:
I think $\mathbb{R}[x]$ is not self-adjoint. I have played around with some real polynomials of low degrees and tried some inputs like $1+i,1+2i$, but not much concrete results came out with a proof.
Another reason I think $\mathbb{R}[x]$ is not self-adjoint is that if it is, then $\mathbb{R}[x]|_{[a,b]}$ will be dense in $\mathcal{C}(K)$, which implies each continuous complex-valued function on $[a,b]$ can be approximated by real polynomial. If this is true, I don't think Rudin will say at the end of the statement of Theorem 7.26 (Weierstrass approximation Theorem for $f:[a,b] \rightarrow \mathbb{R}$, as his proof goes): If $f$ is real, then $P_n$ may be taken real.
For the same reason above, I think $\mathbb{R}[x]|_K$ is not generally dense in $\mathcal{C}(K)$, but I can't come up with an example of a continuous complex-valued function that can't be approximated by real polynomials, since I haven't learned much about complex functions.
Thanks for any help in all forms. Truly appreciated.