Math Fundamentals18 sections · 814 units
Open in Course

Cube Roots and Higher

Generalizing roots

The cube root of xx, written x3\sqrt[3]{x}, is the number that cubed gives you xx. So 273=3\sqrt[3]{27} = 3 because 33=273^3 = 27.

You can generalize: the nn-th root of xx is xn\sqrt[n]{x}, which equals x1/nx^{1/n}. The 4th root of 16 is 2. The 5th root of 32 is 2.

In competitive programming, you'll mostly see square roots and occasionally cube roots. Higher roots appear less often, but when they do, the same principles apply.