3.9

Martin Pei

Mathematics - University of Waterloo

3.9
Quality
3.4
Difficulty
62%
Would Retake
83
Reviews
3.9
Quality
3.4
Difficulty
3.9
Helpful
3.9
Clarity

62%

Would Retake

83

Reviews

Rating Distribution
Official

5

50

4

12

3

4

2

4

1

13

What Students Say

Trust me, his notes are awesome

MATH239 - 4.0 rating

Very nice and helpful instructor

MATH235 - 4.0 rating
Class Info

Online Classes

100%

Attendance Mandatory

32%

Textbook Required

55%

Grade Predictor

Your expected effort level

LowHigh

Predicted Grade

B+

95% confidence
Based on 24 grades
Most common grades:
A (7)
A+ (6)
B+ (4)
Grade Distribution
A(13)B(3)C(1)D(1)F(0)A-/B+(6)
Based on 29 reported grades
A: 7
A+: 6
B+: 4
Not sure yet: 3
Common Tags
Tough grader (9)
Lots of homework (8)
Gives good feedback (7)
Amazing lectures (7)
Hilarious (4)
Accessible outside class (4)
Tough Grader (3)
Caring (3)
Rating Trend

Improving

+0.25 avg change
Jan
Jul
Oct
Nov
Sep
Aug
Last 6 months
Ratings by Course

MATH115

5.0

(3)

MATH136

5.0

(1)

MATH229

5.0

(1)

MATH137

5.0

(1)

CO456

5.0

(1)
+10 more courses
Difficulty by Course

MATH114

5.0

CO456

5.0

CO351

4.5

CO250

4.3

co370

4.3

Reviews (83)
2.0
5.0
MATH114
Nov 28, 2008

Ugh... This class was painful to get up at 7 in the morning for. He teaching style is ineffective and conveys minimal information during lectures. He relies solely on us to learn form the assigned textbook and to complete quizzes on material he has not taught us.

2.0
5.0
MATH114
Feb 17, 2009

No Comments

4.0
1.0
MATH239
Jul 30, 2009

Made supposedly the hardest 2nd year math course very easy. Good use of examples, assignments are short, fair, and to the point. Midterm and quizzes were consistent, if not easier, than the already easy assignments. Could be better at being clear, but does okay. He often confuses himself!

2.0
4.0
MATH239
Jan 9, 2010

Makes a lot of mistakes, which shows that he doesn't prepare his notes. Went to his office hour once and caught him sleeping, and he wasn't helpful at all (scoffed at me when I asked him a simple question). Other than that, he's a below average prof.

5.0
4.0
MATH239
Jun 9, 2010

Makes a conceptually difficult class very easy to understand. Teaches by example to make assignments and tests easier. Notes are good references when studying.

5.0
2.0
MATH239
Aug 9, 2010

Explains really clear. Notes and lectures are good, they're useful for exams and assignments.

5.0
1.0
MATH239
Sep 1, 2010

I thought he was the best professor ever. I heard that 239 is really hard and stuff so I was afraid. But his notes are close to perfection and he explains with great clarity

5.0
4.0
MATH235
Nov 1, 2010

I had him for MATH 235. I found his notes concise and easy to follow, and he has no accent so he is easy to understand. He was quite willing to help and tried to when ever possible. Occasionally he would slip up, but he always corrected at the next lecture. His contributions to the midterms were difficult questions though...

4.0
4.0
MATH235
Mar 22, 2011

Very nice and helpful instructor. His notes are really concise and easy to understand when studying for exams.

4.0
2.0
MATH135
Apr 4, 2011

he's a funny guy. no accent, typical nerdy math guy. his writing is a little on the messy side, but hes usually very clear on things. hes understanding and is always approachable. the course isnt too hard, you can do well if you keep up with the assignments. the textbook is VERY useful.

4.0
3.0
MATH009
Oct 18, 2011

He is a nice person

5.0
3.0
MATH239
Jul 24, 2012

Very nice guy. He's kind of awkward but he's well aware of this LOL. I found his writing very neat and his notes and explanations crystal clear. Would definitely have him again as a professor.

5.0
2.0
MATH239
Jul 25, 2012

GREAT PROF!!

5.0
4.0
MATH239
Aug 2, 2012

Had him for 135 as well. Great notes, random silly jokes. Always avail for office hours. However.. the assignments were challenging, and the midterm was brutal ( he made the majority of the questions). The final was very fair though. Graph theory was taught very well, interesting course :) Also had a really awesome TA (David Qian).

5.0
3.0
MATH239
Aug 3, 2012

All around great guy

5.0
5.0
MATH239
Aug 4, 2012

Awesome prof. Funny guy and very entertaining classes. Gave murderously difficult assignments, midterm and final exams though.

5.0
3.0
MATH239
Aug 6, 2012

What an amazing guy. He made a course which I had absolutely no interest in fun. He was always available for help. Definitely recommend taking MATH239 with Martin if you can.

5.0
1.0
MATH135
Nov 6, 2012

Awesome prof! Would always be available to walk you through anything during office hours. Would DEFINITELY recommend.

5.0
4.0
MATH115
Jan 21, 2013

I didn't need the textbook (and I never bought it) for this course because his notes were that good! He always supplemented concepts with examples and he is really a nice guy. Really entertaining lectures.

5.0
1.0
ECE103
Mar 15, 2013

Awesome prof...made supposedly the hardest course look easy.

4.0
3.0
MATH135
Apr 14, 2013

Great professor. Explains the concepts well, has well structured lessons and assignments. Very nice and funny too. I've had him for Math 115 and 135.

5.0
2.0
ECE103
Apr 23, 2013

Awesome prof. Assignments are very challenging but Midterm and Finals are very doable. Makes tonnes of jokes and puns in class and on the assignments/tests. Always available for help too, answers emails quickly.

5.0
3.0
MATH239
Jun 19, 2013

He's amazing!

2.0
5.0
MATH239
Jul 17, 2013

Math 239 is considered to be the hardest math course in second year. Assignments, midterm and Final was excruciatingly difficult. Martin is a good Prof, but his notes were not very helpful. Hope he improves his notes, had to borrow other Prof's notes from friends.

4.0
3.0
MATH239
Grade: A+
Aug 20, 2013

The course content can be difficult, but Martin makes it easy to understand. He is also always willing to help students if they are struggling. Midterm was fair, and so were assignments (though some were hard). Final was hard, but I'm pretty sure they belled the final grades. Overall a great prof, makes one of the harder core math courses easy.

5.0
3.0
ECE103
Oct 25, 2013

He's a great prof. His assignments are pretty difficult but the exams are very fair. Makes tonnes of nerdy jokes, he's a really great guy. Attend all his lectures

5.0
1.0
MATH115
Dec 11, 2013

Excellent teacher and makes tough concepts very simple.

5.0
2.0
MATH115
Grade: Pass
Feb 2, 2014

Best prof i've had so far, 1B civil student :D

1.0
5.0
MATH239
May 25, 2014

Course content and assignments overly complicated

5.0
2.0
MATH239
Aug 1, 2014

Clear explanations and good notes, entertaining, helpful, great prof overall.

5.0
3.0
MATH239
Aug 6, 2014

martin is a terrific prof, great lectures, slightly difficult assignments however

4.0
3.0
MATH239
Grade: A
Oct 3, 2014

GREAT notes. Trust me, his notes are awesome. Sometimes, I'd zone out of class and just focus on copying down what he wrote on the board. Then I'd go home and read it - it still made perfect sense to me. Course notes are useless lol

5.0
4.0
MATH239
Nov 26, 2014

Pei's to go to class

4.0
4.0
MATH239
Dec 17, 2014

Just write this before the final exam, he is an amazing prof

3.0
5.0
MATH239
Grade: C-
Jan 6, 2015

Although lectures were very clear, his assignments were really tough. His attitude during his office hours were very different from his lectures. Just felt like he didn't want to help. Wouldn't recommend.

4.0
5.0
ECE103
Grade: Not sure yet
Mar 17, 2015

His assignments will murder your soul, devour your sleeps and leave a machine of you behind.

3.0
4.0
MATH239
Mar 24, 2015

Spent too long cracking jokes and too little time teaching the content. not very good at structuring jus lectures or explaining things.

5.0
3.0
MATH239
Mar 29, 2015

mad funny

3.0
5.0
MATH239
May 8, 2015

Martin is unclear in his explanations, and makes poor jokes in class. Does not take the time to enphasize on the important points of the proof, and assumes you have read the chapter before attending his lectures.

5.0
1.0
MATH239
Jun 13, 2015

Outstanding lectures. Clear voice, handwriting, and explanations. Seems very friendly too.

5.0
4.0
ECE103
Grade: B+
Jul 23, 2015

Funny, great at explaining, very organized, knows the course, can answer questions very well and saves you on assignments. But the assignments and exams are hard if you don't know the material well.

5.0
3.0
MATH239
Jul 29, 2015

His lecture notes are AWESOME! Even better than the course notes. Lectures are fun.

5.0
3.0
MATH239
Sep 14, 2015

He has really good and organized notes. Content is interesting.

5.0
2.0
MATH239
Grade: Incomplete
Oct 21, 2015

Hard course but great prof.

5.0
2.0
MATH239
Dec 4, 2015

Really organized notes and clear explanations. Made this hard course easy.

5.0
3.0
MATH239
Grade: B+
Mar 28, 2016

Martin is a wonderful professor who almost lives to help his students (even ones who aren't his students). His lectures are clear and concise as well as anything buy boring, and to top it off when he isn't teaching he is almost always available to go over any material.

5.0
1.0
ECE103
Grade: A
Apr 25, 2016

Great prof. He makes a hard course easy and full of happiness.

4.0
3.0
ECE103
May 6, 2016

Lectures are clear and helpful. He makes the occasional awkward joke. Exams are fair but hard.

5.0
1.0
ECE103
May 10, 2016

Honestly, one of my favourite profs. Sure I didn't get a high mark but that's because the course material is dense and hard. But pei actually makes this boring course pretty fun and interesting. He's a great guy with some funny nerdy jokes. With this said, you still have to study hard since his exam is hard but very fair.

4.0
3.0
MATH239
Jul 8, 2016
Would take again

Gives off an awkward and nerdy vibe which just lends to his charm. He's pretty monotone, but he's a solid prof overall for a difficult course.

5.0
3.0
MATH239
Grade: A
Jul 30, 2016
Would take again

I had the pleasure of being taught by Pei for MATH 239 and MATH 135. He is one of the reasons I was able to obtain an 80+ for both these courses. His lectures are engaging. I liked how he writes notes on the chalkboard so it made lectures seem more mandatory. He is very clear and explains concepts in the most simple way possible to understand them.

5.0
4.0
ECE103
Grade: D-
Nov 13, 2016
Would take again

Hilarious Prof, he's great at teaching too. Classes were very structured, most things are written on the board but when they aren't he posts the slides. Good use of technology for handing in and grading weekly assignments. Our class rated him 4.99/5 for the University Ratings.

Tough Grader
Gives good feedback
ACCESSIBLE OUTSIDE CLASS
3.0
5.0
ECE103
Apr 13, 2017
Wouldn't take again

Very good prof. Really knows the content of the course and he enjoys teaching the students. His assignments take forever to finish though.

Tough Grader
LOTS OF HOMEWORK
LECTURE HEAVY
5.0
4.0
ECE103
May 3, 2017
Would take again

Best prof you can get for a difficult course like ECE 103. Office hours are amazing, he tries to help you and sometimes goes hours beyond his normal office hours. He is also quite funny and would throw jokes and puns out of nowhere in the middle of class. The notes he gives is very organized and descriptive. Overall, I really enjoyed this course.

Inspirational
Hilarious
Caring
1.0
5.0
ECE103
May 5, 2017
Wouldn't take again

amazing bad prof

Tough Grader
LOTS OF HOMEWORK
TEST HEAVY
5.0
4.0
ECE103
Jul 28, 2017
Would take again

Martin is a great prof. His notes are organized, gives plenty of examples, and also is funny through a lot of references (Phoenix Wright, Mario, Portal, etc.). He is a very approachable guy and a good teacher.

Gives good feedback
Get ready to read
Skip class? You won't pass.
1.0
3.0
CO342
Grade: Not sure yet
Nov 7, 2017
Wouldn't take again

Probably the worst professor for CO 342, does not teach, reads off the slides/notes and reproves the statements with the same. Does not provide intuition for what we're learning or any asides. Makes poor jokes as an attempt to make the class interesting. Don't take it.

5.0
3.0
CO342
Dec 21, 2017
Would take again

One of the best profs at UW. Funny (a little awkward but endearing) in lecture. Gives some examples to see the intuition. Writes everything he says down, and is very clear. Explains where he's going with a proof before he writes it down. Exams require that you memorize proofs, but are fair. Friendly.

Amazing lectures
Tests are tough
LECTURE HEAVY
5.0
3.0
MATH136
Grade: B-
May 21, 2018
Would take again

Martin is really a good prof. He has clear logic and explanation to the theorems of this course.

Gives good feedback
Respected
5.0
4.0
ECE103
Aug 1, 2018
Would take again

Awesome prof. Sadly he won't teach ECE103 anymore.

Gives good feedback
Skip class? You won't pass.
Hilarious
5.0
2.0
MATH135
Nov 20, 2018
Would take again

Awesome lectures and everything is organized and explain everything in great detail. Sadly he don't teach MATH 136

Inspirational
ACCESSIBLE OUTSIDE CLASS
Amazing lectures
5.0
2.0
MATH229
Dec 6, 2018
Would take again

Martin is the very best teacher I met at UW. He reminds me of my math teacher in high school. He is so kind, so patient, so clear at giving lectures. He explains definitions using concrete examples and writes neatly on the board. I genuinely wish I could have more classes with him. I miss him so much. He is a teacher, a friend, and an inspiration.

Gives good feedback
Amazing lectures
Caring
5.0
3.0
MATH239
Apr 25, 2019
Would take again

It is enjoyable to sit in his lectures. He gives really clear and intuitive explanations. His lectures and assignments are well prepared. Definitely recommend!

Amazing lectures
5.0
2.0
MATH137
Grade: A
Jul 23, 2019
Would take again

He was very organized with his notes and was always available during office hours for help. I was surprised to find out that he was teaching math 137 for the first time for my class because his explanations were so clear. He's also really funny in class w/o straying away from the course content. Definitely recommend for any class

Respected
Accessible outside class
Hilarious
5.0
5.0
CO456
Dec 19, 2019
Would take again

I love the lectures, lectures are organized and clear. BUT the tests are hard and I think for this course, it is very memorization heavy. Lots of notation, and all are very similar. Tons of algorithms to memorize as well. Overall the professor is super nice and very accessible.

Lots of homework
Accessible outside class
Tough grader
4.0
2.0
CO250
Mar 10, 2020
Would take again

Martin seems a little shy at first but after a while you learn he's a great prof. Teaches material the way you should be thinking about it and provides very clear explanations (especially with his colourful pens haha). Pretty funny guy too

Hilarious
5.0
4.0
CO351
Aug 30, 2020
Would take again

Really well-organized lecture videos. Explained concepts clearly. Well-prepared assignment questions. Some of the exam questions are tough.

Accessible outside class
Amazing lectures
5.0
4.0
MATH239
Grade: A+
Apr 19, 2021
Would take again

Over my 4 years at UW, Martin Pei stands out as one of the best profs I've had. Very clear lecture notes, great dry/depressing humour, and very accessible and friendly during office hours. MATH 239 was a somewhat difficult course, but his teaching made it much easier to get through.

Accessible outside class
Clear grading criteria
Amazing lectures
5.0
5.0
CO342
Grade: A+
Aug 19, 2021
Would take again

hardest grading ever: give 90% for a correct solution, give 100% only for an OUTSTANDING solution (It is possible to meet good TA give normal 100%), so I give a 5 difficulty (Note: check course outline before you take his course, looks like only apply to co342). but lectures are amazing, youtuber and very clear.

Amazing lectures
Caring
Tough grader
5.0
4.0
CO342
Grade: A
Jan 18, 2022
Would take again

He's a great teacher

Gives good feedback
Respected
Lots of homework
1.0
5.0
CO250
Grade: A+
Jul 4, 2022

NMSL MGB SB

Tough grader
Lots of homework
Test heavy
1.0
5.0
CO250
Grade: B+
Jul 4, 2022

You can not use any proof from class if you do so, then you get not credit on test.

Tough grader
Lots of homework
Test heavy
1.0
5.0
CO250
Grade: A+
Jul 4, 2022

very very very tough grader, lots lots lots of homework, expects us to put tons of time on homework and so many questions per assignment but each assignment only worth 2%. Also nothing taught can be used on the quiz/exam. "cannot use proofs taught in class or solutions for assignment", that is what stated on the quiz. doesn't make sense.

Tough grader
Lots of homework
1.0
5.0
CO250
Grade: A-
Jul 7, 2022

Since there is no negative scores

Tough grader
Lots of homework
So many papers
1.0
4.0
CO250
Grade: B
Jul 7, 2022

He was expecting a 60-70 average while the class got 50-60. When students go and ask for advice, he did not give methods on how to improve, but on asking whether we were working hard enough. We got pretty good marks 80-90 on assignments that makes us think that we know and understand the content but the test is so lengthy and hard.

1.0
5.0
CO250
Grade: A+
Jul 14, 2022

Since there is no zero for him!!!!!!!

Tough grader
Lots of homework
Test heavy
1.0
5.0
CO250
Grade: B+
Jul 14, 2022

lots lots homework but only worth little percentage in the scheme. NOT FAIR!!!!! And cannot use results from class on tests, DOES NOT MAKE SENSE!!!!!!!!!

5.0
2.0
CO342
Grade: A
Jul 25, 2022
Would take again

Nice lectures, can help students understand what they need to know if they are really into that subject. Provides wide ranged knowledge about the subject. His course is a must have if you want to continue on that subject. With that being said, if you are only looking for a pass or is not interested in the course, getting grades is difficult.

EXTRA CREDIT
Amazing lectures
Clear grading criteria
1.0
5.0
co370
Oct 29, 2022

His tests and assignments are getting more and more difficult, and he really enjoys seeing those low averages. Teaches well but the experience with him was awful, had to spend more than 10 hours each week on his assignment, and some questions involves concept that he did not teach. Please take Co 372 if you can.

1.0
5.0
CO351
Grade: Not sure yet
Nov 4, 2022

He likes to make quizzes and assignments rather extremely difficult. He can not teach application. Has limited avaibility to help students outside of class and TAs are not responsive. Students are not doing well and feel stressed and demotivated. I would avoid this course and especially this professor in all future classes he may teach.

Tough grader
So many papers
Lecture heavy
1.0
5.0
co370
Grade: B
Nov 10, 2022

This prof sucks, make the assign extremely hard on purpose, what a mean person, never and ever take his course

Tough grader
Lots of homework
So many papers
5.0
3.0
co370
Grade: A
Sep 8, 2024
Would take again

Took Martin's CO370 in Winter 2024. Great lecturer. His lecture notes are clear and easy to follow. Although you can learn the content by just reading his notes, I highly recommend attending his lectures, as they were insightful and among the most enjoyable I've experienced, and he gave bonus questions based on facts mentioned in lectures in exams.

5.0
3.0
CO250
Grade: A-
Aug 7, 2025
Would take again

He's an amazing professor and if I had him for every class I might have learnt much more and maybe even be inspired to be a professor myself.

Amazing lectures
Clear grading criteria
Gives good feedback
Class Info

Online Classes

100%

Attendance Mandatory

32%

Textbook Required

55%

Grade Predictor

Your expected effort level

LowHigh

Predicted Grade

B+

95% confidence
Based on 24 grades
Most common grades:
A (7)
A+ (6)
B+ (4)
Grade Distribution
A(13)B(3)C(1)D(1)F(0)A-/B+(6)
Based on 29 reported grades
A: 7
A+: 6
B+: 4
Not sure yet: 3
Common Tags
Tough grader (9)
Lots of homework (8)
Gives good feedback (7)
Amazing lectures (7)
Hilarious (4)
Accessible outside class (4)
Tough Grader (3)
Caring (3)
Rating Trend

Improving

+0.25 avg change
Jan
Jul
Oct
Nov
Sep
Aug
Last 6 months
Ratings by Course

MATH115

5.0

(3)

MATH136

5.0

(1)

MATH229

5.0

(1)

MATH137

5.0

(1)

CO456

5.0

(1)
+10 more courses
Difficulty by Course

MATH114

5.0

CO456

5.0

CO351

4.5

CO250

4.3

co370

4.3

Similar Professors