Start with a square. This has all angles equal to #pi/2# and all sides equal (let's say with length #l#). If you the square in half along one of the diagonals you will get two rectangle triangles with the catets equal to #l# and both acute angles equal to #pi/4#. The #tan(pi/4)# will be the opposite catet divided by the adjacent catet which is: