Professor Turing

Study guides

How to study for discrete math

Last updated: 2026-11-26

If your discrete math notes make sense and the blank page still stops you, spend more of your study time writing arguments yourself. For counting, say what one object is and why your method counts it once. For induction, write the base case, the assumption and the goal before you do any algebra.

Start learning No account needed

A routine for one problem

  1. Restate the question in your own words, and list what is given.
  2. Try small cases by hand, such as n = 1, 2, 3, and write them in a row.
  3. Name the method and why it fits. For counting: does order matter, and can things repeat? For a proof: direct, contradiction or induction?
  4. Write the argument in sentences. Each line should say why it is allowed.
  5. On a later day, redo it on a blank page. Study the line where you stalled.

These steps are our suggestions.

A worked example: handshakes, two ways

In a room of n people, each pair shakes hands once. How many handshakes are there? Small cases for n = 1 to 6 give 0, 1, 3, 6, 10, 15. The values here are computed by scripts/how-to-study-for-discrete-math-worked-example.py.

Count it

Each of the n people shakes n − 1 hands, giving n(n − 1). Each handshake has been counted twice, once from each side, so there are n(n − 1)/2. For 10 people, 10 × 9 = 90 counts the pairs with an order, and halving gives 45 handshakes.

Prove it by induction

  1. Base case. With n = 1 there are no handshakes, and 1(1 − 1)/2 = 0.
  2. Assumption. For some k ≥ 1, a room of k people has k(k − 1)/2 handshakes.
  3. Goal. A room of k + 1 people has (k + 1)k/2.
  4. Step. One more person walks in and shakes k new hands. The total is k(k − 1)/2 + k = k(k + 1)/2, which is the goal.

Say where you used the assumption: in the first term of step 4. If your step does not use it, check what the induction is doing.

Output from the script:

handshakes for n = 1 to 6: 0, 1, 3, 6, 10, 15
n = 10: 10 x 9 = 90 ordered pairs, 45 handshakes
false formula n(n - 1)/2 + 1 at n = 1: 1, true count: 0
question 1: committees of 3 from 8: 56
question 2: president, secretary, treasurer from 8: 8 x 7 x 6 = 336 = 56 x 6
question 3: sums of the first 1 to 5 odd numbers: 1, 4, 9, 16, 25

Two common mistakes

1. Skipping the base case

Take the false formula n(n − 1)/2 + 1. Its induction step works, because adding k to k(k − 1)/2 + 1 gives k(k + 1)/2 + 1. The base case is where it breaks: at n = 1 it says 1, and the true count is 0.

2. Counting order when order does not matter

Answering 90 for the handshakes treats "Ana with Ben" and "Ben with Ana" as two events. Before choosing a formula, write two outcomes that differ in order and ask whether the question counts them as different.

Using a textbook

A book helps when you work in it. We suggest trying its examples and exercises before you read the solution. Clive Newstead’s An Infinite Descent into Pure Mathematics is a free textbook with an open license that focuses on logic, proof writing and problem solving, and its topics include induction and combinatorics. It is still a pre-publication version.

In a course, follow its text first, and check your course's collaboration rules before you share work. More on solving without a model answer in working a problem set without the solution.

Test yourself

Work each question on paper first. Open the answer after you have written yours.

Question 1. How many committees of 3 can be chosen from 8 people?

Answer to question 1

Order does not matter, so the count is (8 × 7 × 6) / (3 × 2 × 1) = 56.

Question 2. In how many ways can 8 people fill the posts of president, secretary and treasurer, one post each?

Answer to question 2

Order matters: 8 × 7 × 6 = 336. That is 56 × 6, since each committee of 3 can fill the posts in 6 ways.

Question 3. You are proving that 1 + 3 + ... + (2n − 1) = n^2. Write the induction step.

Answer to question 3

Assume the sum of the first k odd numbers is k^2. Adding the next one, 2k + 1, gives k^2 + 2k + 1 = (k + 1)^2. The base case is n = 1, where both sides are 1.

What the sources found, and their limits

Newstead, An Infinite Descent into Pure Mathematics, book site. Describes the book, its topics and its CC BY-SA 4.0 license. Limits: we read the book site, not the chapters. Source: infinitedescent.xyz, read on 2026-11-25.

Wikipedia, "Mathematical induction." The base case and the induction step. Limits: a reference article under CC BY-SA 4.0; the handshake proof is ours. Source: Mathematical induction, read on 2026-11-25.

Wikipedia, "Combination" and "Permutation." Selections where order does not matter, arrangements where it does, and the formulas linking them, which self-test questions 1 and 2 use. Limits: reference articles under CC BY-SA 4.0; the questions are ours. Sources: Combination and Permutation, read on 2026-11-25.

How Professor Turing helps

Professor Turing is a tutor for adults learning any subject, in college or on their own. It asks you questions instead of giving the final answer, does not grade a bare guess, and remembers what you got wrong. No account is needed to start. It's an AI tutor, free to try.

Bring a counting problem or a proof you are stuck on. Its first reply asks about your attempt, such as how far you got and what you tried there, before it teaches anything. You must be 18 or older. Guest conversations are deleted 7 days after your last activity; with an account they are kept while the account is active.

FAQ

Which book should I use for discrete math? Start with the one your course assigns. If you are on your own, Clive Newstead's free, openly licensed An Infinite Descent into Pure Mathematics is one to look at; read a section and keep it if you will work its exercises.

What if I cannot start an induction proof? Write the statement for the first case, such as n = 1, then the assumption for k and the goal for k + 1. Then ask how the object of size k + 1 is built from one of size k.

Is it all right to read a solution? Make your own attempt first. After reading, close the solution and write the argument yourself, then name the step you had been missing.

Start with what you're working on

Tell the tutor which problem or proof you are working on and let it ask you the questions.

Start learning No account needed

See also: studying for a computer science exam · all study guides