Since AC is the diagonal of square ABCD we know that it is a right triangle.
There are 2 methods.
1st Method(45-45-90 Triangle)
Since AC is a diagonal of square ABCD. We know that triangle ABC is a 45-45-90 triangle.
Using our knowledge that it is a 45-45-90 triangle and the ratios will go 1:1:x=√2. We have x:x:2 = 1:1:√2
Dividing 2 by √2 we get 2/√2 which rationalizing the denominator equals x=√2.
x=√2
Also rationalizing the demoninator involves multiplying a fraction with an irrational denominator with itself/itself. For example rationalizing 2/√2 in this case would involve multiplying the fraction by √2/√2=1
Another method is easier for beginners(Pythagorean Theorem)
Knowing that the figure above is a square we know BC is also equal to x. Using the pythagorean theorem we get x2+x2=22or2x2=4 . Dividing by 2 on both sides we get x2=2. Squarerooting on both sides we get x=+−√2 However, since a length cannot have negative length.
x=√2