The $nth$ root of a number is rational precisely when $N$ is the $nth$ power of the rational number $\frac{a}{b}$.
$$\sqrt[n] N=\frac{a}{b} \iff N=\left (\frac{a}{b} \right )^n$$
Suppose that $\sqrt[n] N$ is not. There is a positive number $r$ subtracting $N$ so that their root is rational. We just need to define what $r$ is.
$$\sqrt[n] {N-r}= \frac{a}{b} \iff N=\left (\frac{a}{b} \right )^n+r, r>0$$
If $(\frac{a}{b})^n$ is the first term of a binomial expansion, then because we're adding something to it, $r$ is defined by its following terms, otherwise known for this summation starting at $1$.
$$r=\sum_{k=1}^n {n \choose k} \left (\frac{a}{b} \right )^{n-k} \left (\frac{c}{d} \right )^k$$
And when you replace and expand this in the expression, you end up with the following binomial, whose purpose is to show that N is a $nth$ power.
$$N=\left (\frac{a}{b}+\frac{c}{d} \right )^n$$
However, does it have a rational base, when it's expressed by the sum of two numbers? The only way to find out is to make it a linear combination.
$$N=\left (\frac{a}{b}+\frac{c}{d} \right )^n \iff \sqrt[n] N=\frac{a}{b}+\frac{c}{d}
\\ \frac{a}{b}=\lambda\sqrt[n] N\land\frac{c}{d}=\left (1-\lambda\right)\sqrt[n] N\implies1\sqrt[n] N=\lambda\sqrt[n] N+\left(1-\lambda\right)\sqrt[n] N$$
Therefore, using our assumption that $\sqrt[n] N$ is irrational, $\frac{a}{b}$ and $\frac{c}{d}$ must be too for some rational $\lambda$. Should the former be rational, the latter two are as well. The number $r$ that we defined is not necessarily irrational due to its products in the expansion.
Let's use the proposition in the opening question: $\sqrt 3$ is irrational.
$$\sqrt {3-r}=\frac{a}{b} \iff 3=\left (\frac{a}{b}\right )^2+r,r>0$$
We consider $r$ to be the binomial expansion using $n=2$.
$$r=2\left (\frac{a}{b}\right )\left (\frac{c}{d}\right )+\left (\frac{c}{d}\right )^2 \implies 3=\left (\frac{a}{b}+\frac{c}{d} \right )^2$$
Then find two numbers for the linear combination to hold.
$$\frac{a}{b}=\frac{\sqrt 3}{2}\land\frac{c}{d}=\frac{\sqrt 3}{2}\implies\sqrt 3=\frac{a}{b}+\frac{c}{d}$$
Therefore, since our assumption was that $\sqrt 3$ was irrational, those two numbers are as well. The number $r$ is rational:
$$r=2\left (\frac{\sqrt 3}{2}\right)\left (\frac{\sqrt 3}{2}\right )+\left (\frac{\sqrt 3}{2}\right )^2=\frac{9}{4}$$
Should this exercise be the square root of $4$, and because we can find two integers whose square is equal to it, the expression would unfold differently and you would find that the numbers in that linear combination are equal to $1$. It means that you can find a lower square by following that process even after the assumption that it has integer roots.