After learning square roots in the third year of middle school, students have to calculate with numbers like √12 and √27. The first skill they learn is simplifying what is under the root sign. Since 12 = 4 × 3 and 4 is the square of 2, √12 = √4 × √3 = 2√3. You find a square factor inside the root and bring it outside.

3333√3 + √3 = 2√3√12 = √(4 × 3)= √4 × √3 = 2√3
A square of area 12 splits into four squares of area 3, so its side is 2√3

A picture makes it clearer. The side of a square with area 12 is √12. Halve this square across and down and you get four squares of area 3, each with side √3. The side of the large square is two small sides, so it is 2√3. Also remember that the rule √a × √b = √(ab) holds when a > 0 and b > 0.

For multiplication and division, work the numbers inside the roots together and the numbers outside together, so 2√3 × 3√2 = 6√6. When there is a root in the denominator, multiply the top and bottom by the same number to make the denominator rational. This is called rationalising the denominator. Multiplying 3/√3 by √3/√3 gives 3√3/3 = √3. The value is unchanged, only its form becomes easier to handle.

For addition and subtraction, just like like terms in algebra, you can only combine roots with the same number inside. 2√3 + 5√3 = 7√3, but √2 + √3 is not √5. Something like √12 + 5√3 looks mismatched, but simplify first and it becomes 2√3 + 5√3 = 7√3. So the order is "simplify the roots before adding". The mistake √2 + √3 = √5 is quickly corrected with a counterexample: √1 + √1 is 2, not √2.

This lab has four screens: simplifying, multiplying and dividing, rationalising the denominator, and adding and subtracting. On the simplifying screen, you change the number under the root and split the square's area to find a square factor. On the multiplying and dividing screen, you choose a and b and press the calculate button. On the last two screens, you press the next-step button and watch the expression change one step at a time.