Remark. I'd like to avoid the "ring of formal expressions" viewpoint for this question. I know we can avoid these kinds of questions by working "purely algebraically" and in particular by taking the algebraic closure of $K(x).$ But I don't want to do this here.
If I understand the wikipedia article correctly, a function $f$ is algebraic iff there's a polynomial $P(x,y)$ such that the equation $P(x,f(x)) = 0$ is true for all $x$ in the domain of $f$. For example, the function $$[0,\infty) \rightarrow \mathbb{R}, x\mapsto \sqrt{x}$$ is algebraic because $y^2-x$ has this property.
However that article is pretty vague and I'm not sure I quite understand what's being said. In particular, which of the following functions would be considered algebraic?
- $(0,\infty) \rightarrow \mathbb{R}, x\mapsto \sqrt{x}$
- $(0,1) \cup (2,3) \rightarrow \mathbb{R}, x\mapsto \sqrt{x}$
- $(0,1) \cup (2,3) \rightarrow \mathbb{R}, x \mapsto \begin{cases}\sqrt{x} & x \in (0,1), \\ -\sqrt{x} & x \in (2,3)\end{cases}$
- $(0,e) \rightarrow \mathbb{R}, x\mapsto \sqrt{x}$
- $[0,\infty) \rightarrow \mathbb{R}, x \mapsto \begin{cases}\sqrt{x} & x \in \mathbb{Q}, \\ -\sqrt{x} & x \notin \mathbb{Q}\end{cases}$
These pertain to different issues, namely:
- Does a function have to be defined on the largest possible domain to be considered algebraic?
- Does it have to be defined on a connected set?
- If defined on a disconnected set, do we require that it be extensible to an algebraic function defined on a connected set?
- Can non-algebraic real numbers be used to define the domain of an "algebraic" function?
- Do they have to be continuous?
Question: What are the standards here?