User Tools

Site Tools


elements_of_style_for_proofs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
elements_of_style_for_proofs [2013/09/19 23:26]
bmwoodruff
elements_of_style_for_proofs [2016/04/19 20:36] (current)
bmwoodruff
Line 15: Line 15:
   - **The burden of communication lies on you, not on your reader.** It is your job to explain your thoughts; it is not your reader's job to guess them from a few hints. You are trying to convince a skeptical reader who doesn't believe you, so you need to argue with airtight logic in crystal clear language; otherwise the reader will continue to doubt. If you didn't write something on the paper, then (a) you didn't communicate it, (b) the reader didn't learn it, and (c) the grader has to assume you didn't know it in the first place.   - **The burden of communication lies on you, not on your reader.** It is your job to explain your thoughts; it is not your reader's job to guess them from a few hints. You are trying to convince a skeptical reader who doesn't believe you, so you need to argue with airtight logic in crystal clear language; otherwise the reader will continue to doubt. If you didn't write something on the paper, then (a) you didn't communicate it, (b) the reader didn't learn it, and (c) the grader has to assume you didn't know it in the first place.
   - **Tell the reader what you're proving.** The reader doesn't necessarily know or remember what "Theorem 2.13" is. Even a professor grading a stack of papers might lose track from time to time. Therefore, the statement you are proving should be on the same page as the beginning of your proof. For an exam this won't be a problem, of course, but on your homework, recopy the claim you are proving. This has the additional advantage that when you study for exams by reviewing your homework, you won't have to flip back in the notes/textbook to know what you were proving.   - **Tell the reader what you're proving.** The reader doesn't necessarily know or remember what "Theorem 2.13" is. Even a professor grading a stack of papers might lose track from time to time. Therefore, the statement you are proving should be on the same page as the beginning of your proof. For an exam this won't be a problem, of course, but on your homework, recopy the claim you are proving. This has the additional advantage that when you study for exams by reviewing your homework, you won't have to flip back in the notes/textbook to know what you were proving.
- 
   - **Use English words.** Although there will usually be equations or mathematical statements in your proofs, use English sentences to connect them and display their logical relationships. If you look in your notes/textbook, you'll see that each proof consists mostly of English words.   - **Use English words.** Although there will usually be equations or mathematical statements in your proofs, use English sentences to connect them and display their logical relationships. If you look in your notes/textbook, you'll see that each proof consists mostly of English words.
- +  **Use complete sentences.** If you wrote a history essay in sentence fragments, the reader would not understand what you meant; likewise in mathematics you must use complete sentences, with verbs, to convey your logical train of thought. <html> 
-  \textbf{Use complete sentences.If you wrote a history essay in sentence fragments, the reader would not understand what you meant; likewise in mathematics you must use complete sentences, with verbs, to convey your logical train of thought. +<br><br> 
- +</html> Some complete sentences can be written purely in mathematical symbols, such as equations (e.g., $a^3=b^{-1}$), inequalities (e.g., $x<5$), and other relations (like $5\big|10$ or $7\in\mathbb{Z}$). These statements usually express a relationship between two mathematical \emph{objects}, like numbers or sets.  However, it is considered bad style to begin a sentence with symbols.  A common phrase to use to avoid starting a sentence with mathematical symbols is "We see that..." 
-  Some complete sentences can be written purely in mathematical symbols, such as equations (e.g., $a^3=b^{-1}$), inequalities (e.g., $x<5$), and other relations (like $5\big|10$ or $7\in\mathbb{Z}$). These statements usually express a relationship between two mathematical \emph{objects}, like numbers or sets.  However, it is considered bad style to begin a sentence with symbols.  A common phrase to use to avoid starting a sentence with mathematical symbols is ``We see that...'' +  - **Show the logical connections among your sentences.** Use phrases like "Thereforeor "becauseor "if$\ldots$, then$\ldots$" or "if and only ifto connect your sentences. 
- +  - **Use paragraphs to organize your work into logical chunks.** If every sentence starts a new paragraph, then you are not logical organizing your work.  Similarly, if you have a long proof and all your sentences are in a single paragraph, you are not logically organizing your work. Use paragraphs to put structure and order to your work.  
-  - \textbf{Show the logical connections among your sentences.Use phrases like ``Therefore'' or ``because'' or ``if\ldots, then\ldots'' or ``if and only if'' to connect your sentences. +  - **Know the difference between statements and objects.** A mathematical object is a //thing//, a noun, such as a group, an element, a vector space, a number, an ordered pair, etc. Objects either exist or don't exist. Statements, on the other hand, are mathematical //sentences//:  they can be true or false.<html> 
-   +<br><br> 
-  - \textbf{Know the difference between statements and objects.A mathematical object is a \emph{thing}, a noun, such as a group, an element, a vector space, a number, an ordered pair, etc. Objects either exist or don't exist. Statements, on the other hand, are mathematical \emph{sentences}:  they can be true or false. +</html> When you see or write a cluster of math symbols, be sure you know  whether it's an object (e.g., "$x^2+3$") or a statement (e.g., "$x^2+3<7$"). One way to tell is that every mathematical statement includes a verb, such as $=$, $\leq$, "divides", etc. 
- +  - **"$=$means equals.** Don't write $A=B$ unless you mean that $A$ actually equals $B$. This rule seems obvious, but there is a great temptation to be sloppy.  In calculus, for example, some people might write $f(x)=x^{2}=2x$ (which is false), when they really mean that "if $f(x)=x^{2}$, then $f'(x)=2x$." 
-When you see or write a cluster of math symbols, be sure you know  whether it's an object (e.g., ``$x^2+3$'') or a statement (e.g., ``$x^2+3<7$''). One way to tell is that every mathematical statement includes a verb, such as $=$, $\leq$, ``divides'', etc. +  - **Don't interchange ${=}$ and ${\implies}$.** The equals sign connects two //objects//, as in "$x^2=b$"; the symbol "$\implies$is an abbreviation for "impliesand connects two //statements//, as in "$ab=a \implies b=1$. You should avoid using $\implies$ in your formal write-ups. 
- +  - **Say exactly what you mean.** Just as the $=$ is sometimes abused, so too people sometimes write $A\in B$ when they mean $A\subseteq B$, or write $a_{ij}\in A$ when they mean that $a_{ij}$ is an entry in matrix $A$. Mathematics is a very precise language, and there is a way to say exactly what you mean; find it and use it. 
-  - \textbf{``$=$'' means equals.Don't write $A=B$ unless you mean that $A$ actually equals $B$. This rule seems obvious, but there is a great temptation to be sloppy.  In calculus, for example, some people might write $f(x)=x^{2}=2x$ (which is false), when they really mean that ``if $f(x)=x^{2}$, then $f'(x)=2x$.'' +  - **Don't write anything unproven.** Every statement on your paper should be something you //know// to be true. The reader expects your proof to be a series of statements, each proven by the statements that came before it. If you ever need to write something you don't yet know is true, you //must// preface it with words like "assume," "suppose,or "if(if you are temporarily assuming it), or with words like "we need to show thator "we claim that(if it is your goal). Otherwise the reader will think they have missed part of your proof. 
- +  - **Write strings of equalities (or inequalities) in the proper order.** When your reader sees something like \[
-  - \textbf{Don't interchange ${=}$ and ${\implies}$.The equals sign connects two \emph{objects}, as in ``$x^2=b$''; the symbol ``$\implies$'' is an abbreviation for ``implies'' and connects two \emph{statements}, as in ``$ab=a \implies b=1$.''  You should avoid using $\implies$ in your formal write-ups. +
- +
-  - \textbf{Say exactly what you mean.Just as the $=$ is sometimes abused, so too people sometimes write $A\in B$ when they mean $A\subseteq B$, or write $a_{ij}\in A$ when they mean that $a_{ij}$ is an entry in matrix $A$. Mathematics is a very precise language, and there is a way to say exactly what you mean; find it and use it. +
- +
-  - \textbf{Don't write anything unproven.Every statement on your paper should be something you \emph{knowto be true. The reader expects your proof to be a series of statements, each proven by the statements that came before it. If you ever need to write something you don't yet know is true, you \emph{mustpreface it with words like ``assume,'' ``suppose,'' or ``if'' (if you are temporarily assuming it), or with words like ``we need to show that'' or ``we claim that'' (if it is your goal). Otherwise the reader will think they have missed part of your proof. +
- +
-  - \textbf{Write strings of equalities (or inequalities) in the proper order.When your reader sees something like +
-\[+
 A=B\leq C=D, A=B\leq C=D,
-\] +\] he/she expects to understand easily why $A=B$, why $B\leq C$, and why $C=D$, and he/she expects the //point// of the entire line to be the more complicated fact that $A\leq D$. For example, if you were computing the distance $d$ of the point $(12,5)$ from the origin, you could write \[
-he/she expects to understand easily why $A=B$, why $B\leq C$, and why $C=D$, and he/she expects the \emph{pointof the entire line to be the more complicated fact that $A\leq D$. For example, if you were computing the distance $d$ of the point $(12,5)$ from the origin, you could write +
-\[+
 d = \sqrt{12^2+5^2} = 13. d = \sqrt{12^2+5^2} = 13.
-\] +\] In this string of equalities, the first equals sign is true by the Pythagorean theorem, the second is just arithmetic, and the //point// is that the first item equals the last item: $d=13$. <html> 
-In this string of equalities, the first equals sign is true by the Pythagorean theorem, the second is just arithmetic, and the \emph{pointis that the first item equals the last item: $d=13$. +<br><br> 
- +</html> A common error is to write strings of equations in the wrong order. For example, if you were to write "$\sqrt{12^2+5^2}=13=d$", your reader would understand the first equals sign, would be baffled as to how we know $d=13$, and would be utterly perplexed as to why you wanted or needed to go through $13$ to prove that $\sqrt{12^2+5^2}=d$. 
-A common error is to write strings of equations in the wrong order. For example, if you were to write ``$\sqrt{12^2+5^2}=13=d$'', your reader would understand the first equals sign, would be baffled as to how we know $d=13$, and would be utterly perplexed as to why you wanted or needed to go through $13$ to prove that $\sqrt{12^2+5^2}=d$. +  - **Avoid circularity.**  Be sure that no step in your proof makes use of the conclusion! 
- +  - **Don't write the proof backwards.** Beginning students often attempt to write "proofslike the following, which attempts to prove that $\tan^2 x  = \sec^2 x - 1$: \begin{align*}
-  - \textbf{Avoid circularity. Be sure that no step in your proof makes use of the conclusion! +
- +
-  - \textbf{Don't write the proof backwards.Beginning students often attempt to write ``proofs'' like the following, which attempts to prove that $\tan^2 x  = \sec^2 x - 1$: +
-\begin{align*}+
 \tan^2(x) =& \sec^2(x) - 1 \\ \tan^2(x) =& \sec^2(x) - 1 \\
 \left(\frac{\sin(x)}{\cos(x)}\right)^2 =& \frac{1}{\cos^2(x)} - 1 \\ \left(\frac{\sin(x)}{\cos(x)}\right)^2 =& \frac{1}{\cos^2(x)} - 1 \\
Line 58: Line 43:
 \sin^2(x) + \cos^2(x) =& 1 \\ \sin^2(x) + \cos^2(x) =& 1 \\
 1 =& 1 1 =& 1
-\end{align*} +\end{align*} Notice what has happened here:  the writer //started// with the conclusion, and deduced the true statement "$1=1$.In other words, he/she has proved "If $\tan^2(x) = \sec^2(x) - 1$, then $1=1$,which is true but highly uninteresting.<html> 
-Notice what has happened here:  the writer \emph{startedwith the conclusion, and deduced the true statement ``$1=1$.'' In other words, he/she has proved ``If $\tan^2(x) = \sec^2(x) - 1$, then $1=1$,'' which is true but highly uninteresting. +<br><br> 
- +</html> Now this isn't a bad way of //finding// a proof. Working backwards from your goal often is a good strategy //on your scratch paper//, but when it's time to //write// your proof, you have to start with the hypotheses and work to the conclusion. 
-Now this isn't a bad way of \emph{findinga proof. +  - **Be concise.** Most students err by writing their proofs too short, so that the reader can't understand their logic. It is nevertheless quite possible to be too wordy, and if you find yourself writing a full-page essay, it's probably because you don't really have a proof, but just an intuition. When you find a way to turn that intuition into a formal proof, it will be much shorter. 
-Working backwards from your goal often is a good strategy \emph{on your scratch paper}, +  - **Introduce every symbol you use.** If you use the letter "$k$,the reader should know exactly what $k$ is. Good phrases for introducing symbols include "Let $n\in \mathbb{N}$," "Let $k$ be the least integer such that$\ldots$," "For every real number $a\ldots$,and "Suppose that $X$ is a counterexample." 
-but when it's time to \emph{writeyour proof, +  - **Use appropriate quantifiers (once).** When you introduce a variable $x\in S$, it must be clear to your reader whether you mean "for all $x\in S$or just "for some $x\in S$.If you just say something like "$y=x^2$ where $x\in S$,the word "wheredoesn't indicate whether you mean "for allor "some".<html> 
-you have to start with the hypotheses and work to the conclusion. +<br><br> 
- +</html> Phrases indicating the quantifier "for allinclude "Let $x\in S$""for all $x\in S$""for every $x\in S$""for each $x\in S$"; etc. Phrases indicating the quantifier "some(or "there exists") include "for some $x\in S$""there exists an $x\in S$""for a suitable choice of $x\in S$"; etc.<html> 
-  - \textbf{Be concise.Most students err by writing their proofs too short, so that the reader can't understand their logic. It is nevertheless quite possible to be too wordy, and if you find yourself writing a full-page essay, it's probably because you don't really have a proof, but just an intuition. When you find a way to turn that intuition into a formal proof, it will be much shorter. +<br><br> 
- +</html> On the other hand, don't introduce a variable more than once! Once you have said "Let $x\in S$,the letter $x$ has its meaning defined. You don'//need// to say "for all $x\in S$again, and you definitely should //not// say "let $x\in S$again. 
-  - \textbf{Introduce every symbol you use.If you use the letter ``$k$,'' the reader should know exactly what $k$ is. Good phrases for introducing symbols include ``Let $n\in \mathbb{N}$,'' ``Let $k$ be the least integer such that\ldots,'' ``For every real number $a$\ldots,'' and ``Suppose that $X$ is a counterexample.'' +  - **Use a symbol to mean only one thing.** Once you use the letter $x$ once, its meaning is fixed for the duration of your proof. You cannot use $x$ to mean anything else. 
-   +  - **Don'"prove by example."** Most problems ask you to prove that something is true "for all"---You //cannot// prove this by giving a single example, or even a hundred. Your answer will need to be a logical argument that holds for //every example there possibly could be//
-  - \textbf{Use appropriate quantifiers (once).When you introduce a variable $x\in S$, it must be clear to your reader whether you mean ``for all $x\in S$'' or just ``for some $x\in S$.'' If you just say something like ``$y=x^2$ where $x\in S$,'' the word ``where'' doesn't indicate whether you mean ``for all'' or ``some''+  - **Write "Let $x=\dots$,not "Let $\dots=x$."** When you have an existing expression, say $a^{2}$, and you want to give it a new, simpler name like $b$, you should write "Let $b=a^{2}$,which means, "Let the new symbol $b$ mean $a^{2}$.This convention makes it clear to the reader that $b$ is the brand-new symbol and $a^{2}$ is the old expression he/she already understands.<html> 
- +<br><br> 
-Phrases indicating the quantifier ``for all'' include ``Let $x\in S$''``for all $x\in S$''``for every $x\in S$''``for each $x\in S$''; etc. Phrases indicating the quantifier ``some'' (or ``there exists'') include ``for some $x\in S$''``there exists an $x\in S$''``for a suitable choice of $x\in S$''; etc. +</html> If you were to write it backwards, saying "Let $a^{2}=b$,then your startled reader would ask, "What if $a^{2}\neq b$?" 
- +  - **Make your counterexamples concrete and specific.** Proofs need to be entirely general, but counterexamples should be absolutely concrete. When you provide an example or counterexample, make it as specific as possible. For a set, for example, you must name its elements, and for a function you must give its rule. Do not say things like "$\theta$ could be one-to-one but not onto"; instead, provide an actual function $\theta$ that //is// one-to-one but not onto. 
-On the other hand, don't introduce a variable more than once! Once you have said ``Let $x\in S$,'' the letter $x$ has its meaning defined. You don'\emph{needto say ``for all $x\in S$'' again, and you definitely should \emph{notsay ``let $x\in S$'' again. +  - **Don't include examples in proofs.** Including an example very rarely adds anything to your proof. If your logic is sound, then it doesn't need an example to back it up. If your logic is bad, a dozen examples won't help it (see 19, **Don't "prove by example."**). There are only two valid reasons to include an example in a proof: if it is a **counterexample** disproving something, or if you are performing complicated manipulations in a general setting and the example is just to help the reader understand what you are saying. 
- +  - **Use scratch paper.** Finding your proof will be a long, potentially messy process, full of false starts and dead ends. Do all that on scratch paper until you find a real proof, and only then break out your clean paper to write your final proof carefully. //Do not hand in your scratch work!//<html> 
-  - \textbf{Use a symbol to mean only one thing.Once you use the letter $x$ once, its meaning is fixed for the duration of your proof. You cannot use $x$ to mean anything else. +<br><br> 
- +</html> Only sentences that actually contribute to your proof should be part of the proof. Do not just perform a "brain dump,throwing everything you know onto the paper before showing the logical steps that prove the conclusion. //That is what scratch paper is for.//
-  - \textbf{Don'``prove by example.''}\label{proof_by_example} Most problems ask you to prove that something is true ``for all''---You \emph{cannotprove this by giving a single example, or even a hundred. Your answer will need to be a logical argument that holds for \emph{every example there possibly could be}. +
- +
-  - \textbf{Write ``Let $x=\dots$,'' not ``Let $\dots=x$.''When you have an existing expression, say $a^{2}$, and you want to give it a new, simpler name like $b$, you should write ``Let $b=a^{2}$,'' which means, ``Let the new symbol $b$ mean $a^{2}$.''This convention makes it clear to the reader that $b$ is the brand-new symbol and $a^{2}$ is the old expression he/she already understands. +
- +
-If you were to write it backwards, saying ``Let $a^{2}=b$,'' then your startled reader would ask, ``What if $a^{2}\neq b$?'' +
-   +
-  - \textbf{Make your counterexamples concrete and specific.Proofs need to be entirely general, but counterexamples should be absolutely concrete. When you provide an example or counterexample, make it as specific as possible. For a set, for example, you must name its elements, and for a function you must give its rule. Do not say things like ``$\theta$ could be one-to-one but not onto''; +
-instead, provide an actual function $\theta$ that \emph{isone-to-one but not onto. +
-     +
-  - \textbf{Don't include examples in proofs.Including an example very rarely adds anything to your proof. If your logic is sound, then it doesn't need an example to back it up. If your logic is bad, a dozen examples won't help it (see rule \ref{proof_by_example}). There are only two valid reasons to include an example in a proof: if it is a \emph{counterexampledisproving something, or if you are performing complicated manipulations in a general setting and the example is just to help the reader understand what you are saying. +
- +
-  - \textbf{Use scratch paper.Finding your proof will be a long, potentially messy process, full of false starts and dead ends. Do all that on scratch paper +
-until you find a real proof, and only then break out your clean paper to write your final proof carefully. \emph{Do not hand in your scratch work!} +
- +
-Only sentences that actually contribute to your proof should be part of the proof. Do not just perform a ``brain dump,'' throwing everything you know onto the paper before showing the logical steps that prove the conclusion. \emph{That is what scratch paper is for.+
  
 ====$\LaTeX$==== ====$\LaTeX$====
Line 132: Line 101:
  
 \item \textbf{Show the logical connections among your sentences.} Use phrases like ``Therefore'' or ``because'' or ``if\ldots, then\ldots'' or ``if and only if'' to connect your sentences. \item \textbf{Show the logical connections among your sentences.} Use phrases like ``Therefore'' or ``because'' or ``if\ldots, then\ldots'' or ``if and only if'' to connect your sentences.
-  + 
 +\item \textbf{Use paragraphs to organize your work into logical chunks.} If every sentence starts a new paragraph, then you are not logical organizing your work.  Similarly, if you have a long proof and all your sentences are in a single paragraph, you are not logically organizing your work. Use paragraphs to put structure and order to your work.  
 \item \textbf{Know the difference between statements and objects.} A mathematical object is a \emph{thing}, a noun, such as a group, an element, a vector space, a number, an ordered pair, etc. Objects either exist or don't exist. Statements, on the other hand, are mathematical \emph{sentences}:  they can be true or false. \item \textbf{Know the difference between statements and objects.} A mathematical object is a \emph{thing}, a noun, such as a group, an element, a vector space, a number, an ordered pair, etc. Objects either exist or don't exist. Statements, on the other hand, are mathematical \emph{sentences}:  they can be true or false.
  
Line 215: Line 186:
 Ben -  Ben - 
 Thanks for the great read Dana.  I'm guessing this is your list of things you have noticed in student work over the years.  I will probably grab some from it.  You have clearly taken the time to carefully write all this.  Here are some thoughts: Thanks for the great read Dana.  I'm guessing this is your list of things you have noticed in student work over the years.  I will probably grab some from it.  You have clearly taken the time to carefully write all this.  Here are some thoughts:
-  * \textbf{Don't write the proof backwards. I agree completely.  However, the example you gave can be fixed by adding the words "if and only if" between each equation. A proof that involves inequalities often cannot be fixed by adding these words.  If you can find a "proof" that cannot be fixed by adding "iff" between each line, then this argument will be stronger.  +  * **Don't write the proof backwards.**  I agree completely.  However, the example you gave can be fixed by adding the words "if and only if" between each equation. A proof that involves inequalities often cannot be fixed by adding these words.  If you can find a "proof" that cannot be fixed by adding "iff" between each line, then this argument will be stronger. 
- +
-  * \textbf{Don't include examples in proofs.} I might disagree here. I think that a carefully chosen example can often make a proof stronger.  Of course, when this is the case you should include the example **before** you start your proof. I would prefer to train students that a good example can do wonders for your work, so I would back up a tad on the strength of this statement+
  
-  * \textbf{Use appropriate quantifiers (once).If you just say something like "$y=x^2$ where $x\in S$," the word "where" doesn't indicate whether you mean "for all" or "some".+  * **Use appropriate quantifiers (once).** If you just say something like "$y=x^2$ where $x\in S$," the word "where" doesn't indicate whether you mean "for all" or "some".
       * If the variable $y$ is already clearly defined as a single thing, then "where" would mean "for some." Of course, in that situation the students would have broken the rule \textbf{Write "Let $x=\dots$," not "Let $\dots=x$."       * If the variable $y$ is already clearly defined as a single thing, then "where" would mean "for some." Of course, in that situation the students would have broken the rule \textbf{Write "Let $x=\dots$," not "Let $\dots=x$."
elements_of_style_for_proofs.1379647592.txt.gz · Last modified: 2013/09/19 23:26 by bmwoodruff