Female mathematicians

If we are to be interested in math, we must acknowledge the historical hardships for females. How can we stop women from being discouraged from pursuing math? Why are there so few female math professors today? Do females bring a different perspective to math?