Admittedly, this may not be a research level question, but I am deeply curious about this.
Let $f(x) \in \mathbb{R}[x]$, and write $d = \deg f$. It is well known that if $\deg f > 2$, then $f$ is reducible over $\mathbb{R}$. This fact can easily be proved with the fundamental theorem of algebra. Indeed, by the fundamental theorem of algebra, $f(x)$ splits over $\mathbb{C}$, and since $f(x) = \overline{f(x)}$ when $x$ is real, it follows that the linear factors of $f$ must be real or come in conjugate pairs. Therefore, irreducible polynomials over $\mathbb{R}$ are only of degree 1 or 2, and it is easy to find examples of degree two polynomials with real coefficients which are irreducible.
This fact has a profound impact on the theory of partial fractions, a staple in first year calculus. Indeed, Calculus II (at least at my university) tends to spend an inordinate amount of time on 'integration' via the method of anti-derivatives, which I believe most mathematicians know is ineffective in solving the majority of problems, considering most functions do not have elementary anti-derivatives. However, in the context of rational functions, anti-differentiation and partial fractions completely solves the problem, as any rational function can be written as the sum of simpler rational functions, each with an elementary anti-derivative.
However, this fact is (I believe) far from obvious if you do not know that the only irreducible polynomials over $\mathbb{R}$ are linear or quadratic. That said, it seems to me that the method of partial fractions is much older than the fundamental theorem of algebra.
So when did people know (perhaps before the first proof of the fundamental theorem of algebra) that the only irreducible polynomials over $\mathbb{R}$ are linear or quadratic? When was the 'complete' solution of anti-derivatives of rational functions obtained? Is this history accounted for anywhere?
I apologize in advance if this question is trivial.