1 / 31

Proofs Gone Wrong: A Lecture On Mathematical Writing

Proofs Gone Wrong: A Lecture On Mathematical Writing. CSC373, Winter 2007. Why care about writing?. Right Idea, bad proof: gets a 50 Your proof is a method of persuading the reader that something is true. Errors in logic love to hide behind bad writing. Toy Problem.

deion
Télécharger la présentation

Proofs Gone Wrong: A Lecture On Mathematical Writing

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Proofs Gone Wrong:A Lecture OnMathematical Writing CSC373, Winter 2007

  2. Why care about writing? • Right Idea, bad proof: gets a 50 • Your proof is a method of persuading the reader that something is true. • Errors in logic love to hide behind bad writing.

  3. Toy Problem • Prove the Full Binary Tree Theorem: The number of leaves in a non-empty full binary tree is one more than the number of internal nodes.

  4. Right Idea, bad proof Let T be a full binary tree. If a leaf of T is taken away, then it will have n-1 nodes. But it will not be a full-binary tree, so we need to remove leaves x and y. Now T has n -1 internal nodes and n leaves. We did not touch any internal nodes, but one of them transformed into a leaf. So it has one less of them. We have also destroyed two leaves, but we made a new one instead, so the total decreased by one. By the induction hypothesis, the new T has one more leaf than the number of internal nodes. Since the number of internal nodes in T decreased by one and the number of leaves decreased by one as well, it can be interpolated that the original T also had one more leaf than internal nodes.

  5. Who are WE??? • “The reader and I embark on a journey of proving things.”

  6. Where did this come from? Let T be a full binary tree. If a leaf of T is taken away, then it will have n-1 nodes. But it will not be a full-binary tree, so we need to remove leaves x and y. Now T has n-1 internal nodes and n leaves. We did not touch any internal nodes, but one of them transformed into a leaf. So it has one less of them. We have also destroyed two leaves, but we made a new one instead, so the total decreased by one. By the induction hypothesis, the new T has one more leaf than the number of internal nodes. Since the number of internal nodes in T decreased by one and the number of leaves decreased by one as well, it can be interpolated that the original T also had one more leaf than internal nodes.

  7. Define all terms/variables Let T be a full binary tree with n internal nodes. If a leaf of T is taken away, then it will have one less node. But it will not be a full-binary tree, so we need to remove leaves x and y. Now T has n-1 internal nodes and n leaves. We did not touch any internal nodes, but one of them transformed into a leaf. So it has one less of them. We have also destroyed two leaves, but we made a new one instead, so the total decreased by one. By the induction hypothesis, the new T has one more leaf than the number of internal nodes. Since the number of internal nodes in T decreased by one and the number of leaves decreased by one as well, it can be interpolated that the original T also had one more leaf than internal nodes.

  8. What in the world are you trying to do? Let T be a full binary tree with n internal nodes. If a leaf of T is taken away, then it will have one less node. But it will not be a full-binary tree, so we need to remove leaves x and y. Now T has n-1 internal nodes and n leaves. We did not touch any internal nodes, but one of them transformed into a leaf. So it has one less of them. We have also destroyed two leaves, but we made a new one instead, so the total decreased by one. By the induction hypothesis, the new T has one more leaf than the number of internal nodes. Since the number of internal nodes in T decreased by one and the number of leaves decreased by one as well, it can be interpolated that the original T also had one more leaf than internal nodes.

  9. Always make it clear what you are trying to do. The proof is by induction on the number of internal nodes in the tree. The induction hypothesis (IH) is that a non-empty full binary tree with n-1 internal nodes has n leaves. Let T be a full binary tree with n internal nodes. If a leaf of T is taken away, then it will have one less node. But it will not be a full-binary tree, so we need to remove leaves x and y. Now T has n-1 internal nodes and n leaves. We did not touch any internal nodes, but one of them transformed into a leaf. So it has one less of them. We have also destroyed two leaves, but we made a new one instead, so the total decreased by one. By the induction hypothesis, the new T has one more leaf than the number of internal nodes. Since the number of internal nodes in T decreased by one and the number of leaves decreased by one as well, it can be interpolated that the original T also had one more leaf than internal nodes.

  10. What is this pronoun? The proof is by induction on the number of internal nodes in the tree. The induction hypothesis (IH) is that a non-empty full binary tree with n-1 internal nodes has n leaves. Let T be a full binary tree with n internal nodes. If a leaf of T is taken away, then it will have one less node. But it will not be a full-binary tree, so we need to remove leaves x and y. Now T has n-1 internal nodes and n leaves. We did not touch any internal nodes, but one of them transformed into a leaf. So it has one less of them. We have also destroyed two leaves, but we made a new one instead, so the total decreased by one. By the induction hypothesis, the new T has one more leaf than the number of internal nodes. Since the number of internal nodes in T decreased by one and the number of leaves decreased by one as well, it can be interpolated that the original T also had one more leaf than internal nodes.

  11. Logical errors love to hide behind ambiguous pronouns The proof is by induction on the number of internal nodes in the tree. The induction hypothesis (IH) is that a non-empty full binary tree with n-1 internal nodes has n leaves. Let T be a full binary tree with n internal nodes. If a leaf of T is taken away, then T will have one less node. But T will not be a full-binary tree, so we need to remove leaves x and y. Now T has n-1 internal nodes and n leaves. We did not touch any internal nodes, but one of them transformed into a leaf. So T has one less internal node. We have also destroyed two leaves, but we made a new one instead, so the total decreased by one. By the induction hypothesis, the new T has one more leaf than the number of internal nodes. Since the number of internal nodes in T decreased by one and the number of leaves decreased by one as well, it can be interpolated that the original T also had one more leaf than internal nodes.

  12. Are you talking to yourself? The proof is by induction on the number of internal nodes in the tree. The induction hypothesis (IH) is that a non-empty full binary tree with n-1 internal nodes has n leaves. Let T be a full binary tree with n internal nodes. If a leaf of T is taken away, then it will have one less node. But it will not be a full-binary tree, so we need to remove leaves x and y. Now T has n-1 internal nodes and n leaves. We did not touch any internal nodes, but one of them transformed into a leaf. So T has one less internal node. We have also destroyed two leaves, but we made a new one instead, so the total decreased by one. By the induction hypothesis, the new T has one more leaf than the number of internal nodes. Since the number of internal nodes in T decreased by one and the number of leaves decreased by one as well, it can be interpolated that the original T also had one more leaf than internal nodes.

  13. Remove everything that is not necessary for the proof to work. The proof is by induction on the number of internal nodes in the tree. The induction hypothesis (IH) is that a non-empty full binary tree with n-1 internal nodes has n leaves. Let T be a full binary tree with n internal nodes. We need to take away leaves x and y from T. Now T has n-1 internal nodes and n leaves. We did not touch any internal nodes, but one of them transformed into a leaf. So T has one less internal node. We have also destroyed two leaves, but we made a new one instead, so the total decreased by one. By the induction hypothesis, the new T has one more leaf than the number of internal nodes. Since the number of internal nodes in T decreased by one and the number of leaves decreased by one as well, it can be interpolated that the original T also had one more leaf than internal nodes.

  14. Put away the thesaurus The proof is by induction on the number of internal nodes in the tree. The induction hypothesis (IH) is that a non-empty full binary tree with n-1 internal nodes has n leaves. Let T be a full binary tree with n internal nodes. We need to take away leaves x and y from T. Now T has n-1 internal nodes and n leaves. We did not touch any internal nodes, but one of them transformed into a leaf. So T has one less internal node. We have also destroyed two leaves, but we made a new one instead, so the total decreased by one. By the induction hypothesis, the new T has one more leaf than the number of internal nodes. Since the number of internal nodes in T decreased by one and the number of leaves decreased by one as well, it can be interpolated that the original T also had one more leaf than internal nodes.

  15. Keep the Vocab Simple The proof is by induction on the number of internal nodes in the tree. The induction hypothesis (IH) is that a non-empty full binary tree with n-1 internal nodes has n leaves. Let T be a full binary tree with n internal nodes. We need to remove leaves x and y from T. Now T has n-1 internal nodes and n leaves. We did not remove any internal nodes, but one of them changed into a leaf. So T has one less internal node. We have also removed two leaves, but we made a new one instead, so the total decreased by one. By the induction hypothesis, the new T has one more leaf than the number of internal nodes. Since the number of internal nodes in T decreased by one and the number of leaves decreased by one as well, it can be concluded that the original T also had one more leaf than internal nodes.

  16. Who did what now? The proof is by induction on the number of internal nodes in the tree. The induction hypothesis (IH) is that a non-empty full binary tree with n-1 internal nodes has n leaves. Let T be a full binary tree with n internal nodes. We need to remove leaves x and y from T. Now T has n-1 internal nodes and n leaves. We did not remove any internal nodes, but one of them changed into a leaf. So T has one less internal node. We have also removed two leaves, but we made a new one instead, so the total decreased by one. By the induction hypothesis, the new T has one more leaf than the number of internal nodes. Since the number of internal nodes in T decreased by one and the number of leaves decreased by one as well, it can be concluded that the original T also had one more leaf than internal nodes.

  17. Avoid Passive Voice The proof is by induction on the number of internal nodes in the tree. The induction hypothesis (IH) is that a non-empty full binary tree with n-1 internal nodes has n leaves. Let T be a full binary tree with n internal nodes. We need to remove leaves x and y from T. Now T has n-1 internal nodes and n leaves. We did not remove any internal nodes, but we changed one into a leaf. So T has one less internal node. We have also removed two leaves, but we made a new one instead, so the total decreased by one. By the induction hypothesis, the new T has one more leaf than the number of internal nodes. Since the number of internal nodes in T decreased by one and the number of leaves decreased by one as well, we can conclude that the original T also had one more leaf than internal nodes.

  18. Avoid uncertain language. The proof is by induction on the number of internal nodes in the tree. The induction hypothesis (IH) is that a non-empty full binary tree with n-1 internal nodes has n leaves. Let T be a full binary tree with n internal nodes. We need to remove leaves x and y from T. Now T has n-1 internal nodes and n leaves. We did not remove any internal nodes, but we changed one into a leaf. So T has one less internal node. We have also removed two leaves, but we made a new one instead, so the total decreased by one. By the induction hypothesis, the new T has one more leaf than the number of internal nodes. Since the number of internal nodes in T decreased by one and the number of leaves decreased by one as well, we conclude that the original T also had one more leaf than internal nodes.

  19. Logical mistakes always hide behind vagueness The proof is by induction on the number of internal nodes in the tree. The induction hypothesis (IH) is that a non-empty full binary tree with n-1 internal nodes has n leaves. Let T be a full binary tree with n internal nodes. We need to remove leaves x and y from T. Now T has n-1 internal nodes and n leaves. We did not remove any internal nodes, but we changed one into a leaf. So T has one less internal node. We have also removed two leaves, but we made a new one instead, so the total decreased by one. By the induction hypothesis, the new T has one more leaf than the number of internal nodes. Since the number of internal nodes in T decreased by one and the number of leaves decreased by one as well, we conclude that the original T also had one more leaf than internal nodes.

  20. Don’t be vague. If its on purpose, make it explicit The proof is by induction on the number of internal nodes in the tree. The induction hypothesis (IH) is that a non-empty full binary tree with n-1 internal nodes has n leaves. Let T be an arbitrary full binary tree with n internal nodes. Let I be an arbitrary internal node whose children are both leaves. We need to remove I’s children from T. Now T has n-1 internal nodes and n leaves. We did not remove any internal nodes, but we changed one into a leaf. So T has one less internal node. We have also removed two leaves, but we made a new one instead, so the total decreased by one. By the induction hypothesis, the new T has one more leaf than the number of internal nodes. Since the number of internal nodes in T decreased by one and the number of leaves decreased by one as well, we conclude that the original T also had one more leaf than internal nodes.

  21. This is not programming! The proof is by induction on the number of internal nodes in the tree. The induction hypothesis (IH) is that a non-empty full binary tree with n-1 internal nodes has n leaves. Let T be an arbitrary full binary tree with n internal nodes. Let I be an arbitrary internal node whose children are both leaves. We need to remove I’s children from T. Now T has n-1 internal nodes and n leaves. We did not remove any internal nodes, but we changed one into a leaf. So T has one less internal node. We have also removed two leaves, but we made a new one instead, so the total decreased by one. By the induction hypothesis, the new T has one more leaf than the number of internal nodes. Since the number of internal nodes in T decreased by one and the number of leaves decreased by one as well, we conclude that the original T also had one more leaf than internal nodes.

  22. You can’t redefine variables The proof is by induction on the number of internal nodes in the tree. The induction hypothesis (IH) is that a non-empty full binary tree with n-1 internal nodes has n leaves. Let T be an arbitrary full binary tree with n internal nodes. Let I be an arbitrary internal node whose children are both leaves. Let T’ be the tree obtained by removing I’s children from T.T’ has n-1 internal nodes and n leaves. We did not remove any internal nodes, but the node I becomes a leaf in T’. So T’ has one less internal node than T. We have also removed two leaves, but we made a new one instead, so T’ has one less leaf than T. By the induction hypothesis, T’ has n leaves. Since the number of internal nodes in T’ is one less than in T and the number of leaves is also one less than in T, we conclude that the T also had one more leaf than internal nodes.

  23. How do you know that? The proof is by induction on the number of internal nodes in the tree. The induction hypothesis (IH) is that a non-empty full binary tree with n-1 internal nodes has n leaves. Let T be an arbitrary full binary tree with n internal nodes. Let I be an arbitrary internal node whose children are both leaves. Let T’ be the tree obtained by removing I’s children from T. T’ has n-1 internal nodes and n leaves. We did not remove any internal nodes, but the node I becomes a leaf in T’. So T’ has one less internal node than T. We have also removed two leaves, but we made a new one instead, so T’ has one less leaf than T. By the induction hypothesis, T’ has n leaves. Since the number of internal nodes in T’ is one less than in T and the number of leaves is also one less than in T, we conclude that the T also had one more leaf than internal nodes.

  24. Separate what you are trying to prove from the evidence. The proof is by induction on the number of internal nodes in the tree. The induction hypothesis (IH) is that a non-empty full binary tree with n-1 internal nodes has n leaves. Let T be an arbitrary full binary tree with n internal nodes. Let I be an arbitrary internal node whose children are both leaves. Let T’ be the tree obtained by removing I’s children from T. We did not remove any internal nodes, but the node I becomes a leaf in T’. So T’ has one less internal node than T. Thus, T’ has n-1 internal nodes. We have also removed two leaves, but we made a new one instead, so T’ has one less leaf than T. By the induction hypothesis, T’ has n leaves. Since the number of internal nodes in T’ is one less than in T and the number of leaves is also one less than in T, we conclude that the T also had one more leaf than internal nodes. Therefore, T has n + 1 leaves.

  25. Random Paragraph Generator? The proof is by induction on the number of internal nodes in the tree. The induction hypothesis (IH) is that a non-empty full binary tree with n-1 internal nodes has n leaves. Let T be an arbitrary full binary tree with n internal nodes. Let I be an arbitrary internal node whose children are both leaves. Let T’ be the tree obtained by removing I’s children from T. We did not remove any internal nodes, but the node I becomes a leaf in T’. So T’ has one less internal node than T. Thus, T’ has n-1 internal nodes. We have also removed two leaves, but we made a new one instead, so T’ has one less leaf than T. By the induction hypothesis, T’ has n leaves. Since the number of internal nodes in T’ is one less than in T and the number of leaves is also one less than in T, we conclude that the T also had one more leaf than internal nodes. Therefore, T has n + 1 leaves.

  26. Paragraphs are important The proof is by induction on the number of internal nodes in the tree. The induction hypothesis (IH) is that a non-empty full binary tree with n-1 internal nodes has n leaves. Let T be an arbitrary full binary tree with n internal nodes. Let I be an arbitrary internal node whose children are both leaves. Let T’ be the tree obtained by removing I’s children from T. We did not remove any internal nodes, but the node I becomes a leaf in T’. So T’ has one less internal node than T. Thus, T’ has n-1 internal nodes. We have also removed two leaves, but we made a new one instead, so T’ has one less leaf than T. By the induction hypothesis, T’ has n leaves. Since the number of internal nodes in T’ is one less than in T and the number of leaves is also one less than in T, we conclude that the T also had one more leaf than internal nodes. Therefore, T has n + 1 leaves.

  27. Good proofs lead to shorter proofs. The proof is by induction on the number of internal nodes in the tree. The induction hypothesis (IH) is that a non-empty full binary tree with n-1 internal nodes has n leaves. Let T be an arbitrary full binary tree with n internal nodes. Let I be an arbitrary internal node whose children are both leaves. Let T’ be the tree obtained by removing I’s children from T. We did not remove any internal nodes, but the node I becomes a leaf in T’. So T’ has one less internal node than T. Thus, T’ has n-1 internal nodes. We have also removed two leaves, but we made a new one instead, so T’ has one less leaf than T. By the induction hypothesis, T’ has n leaves. Since the number of internal nodes in T’ is one less than in T and the number of leaves is also one less than in T, we conclude that the T also had one more leaf than internal nodes. Therefore, T has n + 1 leaves.

  28. Be concise, don’t blabber. The proof is by induction on the number of internal nodes in the tree. The induction hypothesis (IH) is that a non-empty full binary tree with n-1 internal nodes has n leaves. Let T be an arbitrary full binary tree with n internal nodes. Let I be an arbitrary internal node whose children are both leaves. Let T’ be the tree obtained by removing I’s children from T. We did not remove any internal nodes, but the node I becomes a leaf in T’. Thus, T’ has n-1 internal nodes, and, by the IH, n leaves. However, by the way we constructed T’, it has one less leaf than T. Therefore, T has n + 1 leaves.

  29. Other • Spelling, English grammar… • Math errors… • base case? • Rules have exceptions

  30. Correct Proof(100) The proof is by induction on the number of internal nodes in the tree. The induction hypothesis (IH) is that a non-empty full binary tree with n-1 internal nodes has n leaves. For the base case, we have n=0. This means that the tree has one leaf and zero internal nodes, proving the IH. For the general case, assume the IH holds for n-1. Let T be an arbitrary tree with n internal nodes. Let I be an arbitrary internal node whose children are both leaves. Let T’ be the tree obtained by removing I’s children from T. T’ has n-1 internal nodes, and, by the IH, n leaves. However, by the way we constructed T’, it has one less leaf than T. Therefore, T has n + 1 leaves. By induction, the IH holds for all values of n>0. The statement of the theorem follows.

  31. Summary • Define all terms/variables. • Be concise / don’t be vague / avoid uncertain language. • Always make it clear what you are trying to do. • Remove everything that is not necessary for the proof to work • Avoid ambiguous pronouns. • Separate what you are trying to prove from the evidence. • Don’t redefine variables. • Avoid passive voice. • Use paragraphs to give your argument structure. • Keep the vocab simple. • Use present tense. • Type your proof

More Related