# Function Composition in Mathematica

I've been doing a lot of things with Galois Theory recently, and I have been spending an extreme amount of time composing automorphisms with each other to compute Galois groups. For example, I would like to compose to maps that look like $\sigma: \sqrt{2}\mapsto -\sqrt{2}$.