Can I change my major when I transfer to UC?

I want to become a math professor.
I am planning to apply to UCs this coming summer, but I realized that I don’t have enough time to finish all the classes because I have been planning my classes based on just math major, not teaching math.

Assist shows that I have to take more physics and cs courses for teaching math.

Can I apply as math major and switch it to teaching math once I transfer to UC?
Or would it be better to stay another year to finish rest of the classes for teaching math?

what UCLA major is “teaching math”?

@mikemac UCLA has a math for teaching major that is geared towards those who want to teach high school and below math

@coconutleaves Teaching for math is not the major you should do if you want to be a prof. To get a grad degree you’ll want a rigid foundation in math that the teaching for math major does not provide. Professors are not taught to teach. Teaching for math is to become a teacher and teach math no higher than AP Calc bc

When I looked on assist.org, it says for certain majors that you have to be accepted into the pre-“x” major otherwise you can’t declare it. For example, for my major, psychology, it says that you have to be admitted as a pre-psychology student, otherwise you can’t declare the major. I think it’s the same for most of the impacted majors, I’m not quite sure tho.