A proof in discrete math is graded line by line. One step that does not follow from the step before it costs the whole proof, and it is the hardest kind of mistake to see in your own work. Check my work reads your proof the way a grader does and stops at the first line that breaks.
Check my work on an induction proof
A student proves that 1 + 3 + 5 + ... + (2n - 1) = n² for every positive integer n.
- Base case: n = 1. The left side is 1 and the right side is 1² = 1. True.
- Inductive hypothesis: assume 1 + 3 + ... + (2k - 1) = k² for some k ≥ 1.
- Inductive step: adding the next term, 2k - 1, gives k² + 2k - 1.
Check my work answers with line 3. The next term after 2k - 1 is the (k + 1)th odd number, 2(k + 1) - 1 = 2k + 1, and line 3 added the kth term a second time. It stops there. The student redoes the line: k² + 2k + 1 = (k + 1)², which is the statement for k + 1, and the proof is complete.
A worked counting problem
How many 5-card hands from a standard 52-card deck contain exactly 2 hearts?
- Order does not matter in a hand and no card repeats, so every count is a combination.
- Choose the 2 hearts from 13: C(13, 2) = 13 × 12 ÷ 2 = 78.
- Choose the other 3 cards from the 39 that are not hearts: C(39, 3) = 39 × 38 × 37 ÷ 6 = 9,139.
- Each choice of hearts pairs with each choice of the rest, so multiply: 78 × 9,139 = 712,842 hands.
Check: there are C(52, 5) = 2,598,960 hands in all, and 712,842 ÷ 2,598,960 is about 0.274, so a little more than one hand in four has exactly two hearts.
Other ways to use it
- Hint. Only the next move on a proof you are stuck on, such as which case to split or what to assume for contradiction. The proof stays yours to write.
- Explain it back. Write what the pigeonhole principle says in your own words and it grades the explanation and asks about the part you missed.
- Explain. Numbered steps for a truth table, a recurrence or a graph question, with the rule behind each step and a way to check the result.
- Quiz me. One graded question at a time on quantifiers, set identities or counting, with a score after five.
Next to discrete math
Probability questions that turn into distributions and hypothesis tests are on the statistics page. Recursion and algorithm assignments written in code are on the coding page.
Already wrote the proof? Check my proof reads it in order and stops at the first claim that is not justified, with no sign-up.
Keep going
Try one of these.
Each one opens the chat with the question in the box. Change it to yours.
Questions.
Something else? Email hello@nerdly.us
Proof due tomorrow?
5 questions a day, free. No account, no card, nothing to install.
Ask a question