I went to my undergrad in math in UBC, and looking up their directory here. We see that out of the two Assoc. Head in different affairs, one is male and one is female. Looking at the faculty list, we see that there are many male names but also female names. I counted roughly for one female professor there is about 5 male professors on the list.
Another interesting thing I noted is that most often, the full tenure Professors are male after 5-6 years of being at UBC, whereas female professors that have spent just as long are often still Associate Professor, although I don't know if the metric for tenure is based not on time but on say research. I also noted texperhat most tenure Professors have graduate education from US Ivy League or private well known institutions, which I don't know if it would factor into UBC's decision of hiring or advancing their title. It seems that even though we emphasize mastery and it's never too late and we learn at different rates, those that do the best starting from childhood will have an advantage into pursuing their dream jobs. Those that did good early on in say high school can move on to top institutions if that's their goal and make connections by being at those famous places with alumni and other current students.
Speaking from my own experiences though, I have taken quite a handful of math courses talk by female Professors, and I have had an equal representation when I sent for advising for math major related topics. (Not to name names but I also find that the lectures given by female Professors are often more interesting and engaging than the other ones I received, but that probably depends on the background of each Professor as in how much teaching did they do and how long they have been teaching undergrad classes)