A Mathematical Approach to Special Relativity