because the hypotenuse of the triangle is not a straight line but a special curved line. That's where the extra space comes from. I think it was Martin Gardener who invented this trick; I first saw it in one of his books
umm you couldnt figure this out? watch the outline of the triangle closely! it is changing size.. you can easily tell once the yellow one is into place. you just =watch the cornmer... the triangle is growing!