If a polynomial is irreducible in $R[x]$, where $R$ is a ring, it means that it does not have a root in $R$, right?
For example, to say that a polynomial $f(x)\in\mathbb Z[x]$ is irreducible in $\mathbb Q[x]$ is equivalent to say that $f(x)$ does not have any rational root. I just want to make sure.
An element $a$ of any ring (including polynomial rings) is reducible if and only if there exist elements $b$ and $c$ such that
In the special case of polynomial rings over fields, an element (i.e. a polynomial) $f$ is reducible if and only if there exist non-constant polynomials $g$ and $h$ such that $f = gh$. This is because the non-zero constants are precisely the invertible elements.
The condition of being irreducible if it doesn't have any roots is false. Consider, for example, the polynomial
$$ x^4 + 4 x^2 + 3 = (x^2 + 1)(x^2 + 3) \in \mathbb{R}[x] $$
When the coefficient ring is not a field, though, some coefficients are not invertible. The polynomial
$$ 2x \in \mathbb{Z}[x]$$
is reducible, because it is the product of $2$ and of $x$, both of which are not invertible. However, $2x \in \mathbb{Q}[x]$ is irreducible; the key difference is in this latter case, $2$ is invertible. Also, note that $2x$ has a rational root, despite being irreducible in $\mathbb{Q}[x]$.