Map Algabra

Hi,
Does any one knows how we can perform map algabra?
I know we must consider input rasters cell size,boundry and things like that.I need some examples how to do them and which one is the best way to do that
Thank you