5.2 Mathematical text

From Förberedande kurs i matematik 1

(Difference between revisions)
Jump to: navigation, search
m
Line 27: Line 27:
====Explain your solution====
====Explain your solution====
-
The main advice is:
+
The main advice is:
-
Explain your solution.
+
 +
<center>Explain your solution.</center>
The solution must not only be a statement of the formulas that you used, but also a description of how you reasoned. Use words to do this! To achieve the appropriate level of the solution: Imagine you are explaining the solution for a class mate who has difficulty in keeping up with all the steps. You need not explain every little calculation but nonetheless do not skip over important steps.
The solution must not only be a statement of the formulas that you used, but also a description of how you reasoned. Use words to do this! To achieve the appropriate level of the solution: Imagine you are explaining the solution for a class mate who has difficulty in keeping up with all the steps. You need not explain every little calculation but nonetheless do not skip over important steps.
Line 35: Line 36:
====Write good English====
====Write good English====
Although this is not an assignment in English and, of course, it is the
Although this is not an assignment in English and, of course, it is the
-
mathematical content that is the most important, you should nonetheless think about things like typos, grammatical errors, etc. If your solution has too many language errors it can give a very negative impression and affect the credibility of the solution. Impression is important!
+
mathematical content that is the most important, you should nonetheless think about things like typos, grammatical errors, etc. If your solution has too many language errors it can give a very negative impression and affect the credibility of the solution. Impression is important!
====Make a clean copy of the solution====
====Make a clean copy of the solution====
-
After you have solved the problem, you should rewrite the solution. Then you can rather concentrate on the presentation of the solution and this even may lead to improving your original solution. A tip is to ask someone else to read your solution to detect ambiguities. It is better to postpone the presentation phase for a later date so that when you solve the problem the first time you are able to work freely and not commit yourself too early to a specific way to solve the problem.
+
After you have solved the problem, you should rewrite the solution. Then you can rather concentrate on the presentation of the solution and this even may lead to improving your original solution. A tip is to ask someone else to read your solution to detect ambiguities. It is better to postpone the presentation phase for a later date so that when you solve the problem the first time you are able to work freely and not commit yourself too early to a specific way to solve the problem.
 +
When you enter the solution create a text document and not as screen dumps from your word processor. While it may be easier to write the solution on your own computer using your favorite program, you should remember that in the next phase your solution is to be included as part of a group project and thus it is important that the solution is in editable state.
When you enter the solution create a text document and not as screen dumps from your word processor. While it may be easier to write the solution on your own computer using your favorite program, you should remember that in the next phase your solution is to be included as part of a group project and thus it is important that the solution is in editable state.
Line 52: Line 54:
<li>Do not return the answer <math>\sqrt8</math>, but give <math>2\sqrt2</math> as the answer. </li>
<li>Do not return the answer <math>\sqrt8</math>, but give <math>2\sqrt2</math> as the answer. </li>
<li>Do not give the answer as <math>\sin^2 x + \cos^2x + 2\sin 2x</math> but as <math>1 + 2\sin 2x</math>.</li>
<li>Do not give the answer as <math>\sin^2 x + \cos^2x + 2\sin 2x</math> but as <math>1 + 2\sin 2x</math>.</li>
-
<li> Do not give the answer as <math>x = \left\{\begin{align}&\pi/4+ n\pi\\ &3\pi / 4 + n\pi\end{align}\right.</math> but as <math>x = \pi / 4 + n\pi / 2</math>.</li>
+
<li> Do not give the answer as <math>x = \left\{\begin{align}&\pi/4+ n\pi\\ &3\pi / 4 + n\pi\end{align}\right.\ \ (n\ \text{integer})\ </math> but as <math>\ x = \pi / 4 + n\pi / 2\ \ (n\ \text{integer})</math>.</li>
</ol>
</ol>
Line 60: Line 62:
It can happen that when you solve some equations so called spurious roots turn up as a consequence of the method of solution that is being used. In these cases, explain why spurious roots may have appeared and test the solutions to see which are real solutions and which are spurious roots.
It can happen that when you solve some equations so called spurious roots turn up as a consequence of the method of solution that is being used. In these cases, explain why spurious roots may have appeared and test the solutions to see which are real solutions and which are spurious roots.
 +
<!--
<div class="regel">
<div class="regel">
'''Spurious roots '''
'''Spurious roots '''
Line 66: Line 69:
*Roots outside the functions definition volume are false
*Roots outside the functions definition volume are false
</div>
</div>
 +
-->
Lost solutions. Eg a factor on both sides of the equation is cancelled out and one does not realize that the equation obtained by setting this factor to zero provides additional solutions.
Lost solutions. Eg a factor on both sides of the equation is cancelled out and one does not realize that the equation obtained by setting this factor to zero provides additional solutions.
Line 98: Line 102:
====Draw clear figures====
====Draw clear figures====
A figure may explain introduced symbols or reasoning many times
A figure may explain introduced symbols or reasoning many times
-
better than text, so please use figures. Bear in mind to draw them clearly and do not overload a figure with too many things. It may be better to have several nearly identical figures where each illustrates one point rather than have a great combination-figure which illustrates everything.
+
better than text, so please use figures. Bear in mind to draw them clearly and do not overload a figure with too many details. It may be better to have several nearly identical figures where each illustrates one point rather than have a great combination-figure which illustrates everything.
Line 116: Line 120:
''' Don't '''
''' Don't '''
-
formula (text text text text text text ...)
+
''formula'' (text text text text text text ...)
-
formula (text text text text text text ...)
+
''formula'' (text text text text text text ...)
</div>
</div>
Line 127: Line 131:
Text text text text
Text text text text
-
:formula.
+
::''formula''.
Text text text text
Text text text text
-
:formula.
+
::''formula''.
</div>
</div>
Line 140: Line 144:
''' Do '''
''' Do '''
-
...text text text text text text text text
+
...text text text ''<span style="color:green">formula</span>'' text text text text.
 +
 
 +
Text text text
-
:formula
+
::''<span style="color:green">formula</span>''
text text text text text text text text...
text text text text text text text text...
Line 157: Line 163:
...which provides that'''<span style="color:red">:</span>'''
...which provides that'''<span style="color:red">:</span>'''
-
:formula
+
::''formula''
We start...
We start...
Line 172: Line 178:
... and it is
... and it is
-
:formula'''<span style="color:green;">.</span>'''
+
::''formula'''''<span style="color:green;">.</span>'''
The next step is ...
The next step is ...
 +
 +
(Note the full stop after the formula above.)
</div>
</div>
-
A bad habit is numbering each step in a solution (numbering should be used for enumeration). The extra digits do not add anything but rather distract. You seldom need to refer back to the individual steps, and when you need to, you can often write something of the sort "when we squared the equation" etc.
+
A bad habit is excessive numbering. For example, to put a number in front of each step in a solution (numbering should be used for enumeration). The extra digits do not add anything but rather distract. You seldom need to refer back to the individual steps, and when you need to, you can often write something of the sort "when we squared the equation" etc.
<div class="exempel">
<div class="exempel">
Line 185: Line 193:
'''<span style="color:red;">3.</span>''' text text text text text text text text ...
'''<span style="color:red;">3.</span>''' text text text text text text text text ...
-
:formula
+
::''formula''
'''<span style="color:red;">4.</span>''' text text text text text text text text ...
'''<span style="color:red;">4.</span>''' text text text text text text text text ...
Line 198: Line 206:
...text text text text text text text text
...text text text text text text text text
-
:{|width="100%"
+
::{|width="100%"
-
|align="left" width="100%"|formula.
+
|align="left" width="100%"|''formula''.
||<span style="color:green;">(1)</span>
||<span style="color:green;">(1)</span>
|}
|}
Line 205: Line 213:
Text text <span style="color: green;">(1)</span> text text text text text text
Text text <span style="color: green;">(1)</span> text text text text text text
-
:formula.
+
::''formula''.
Text text text text text text text text...
Text text text text text text text text...
Line 216: Line 224:
There is a difference between <math>\Rightarrow</math> (implication arrow), <math>\Leftrightarrow</math> (equivalence arrow) and <math>=</math> (equals sign). For two equations that are known a priori to have the same solutions one uses the equivalence arrow <math>\Leftrightarrow</math> to represent this.
There is a difference between <math>\Rightarrow</math> (implication arrow), <math>\Leftrightarrow</math> (equivalence arrow) and <math>=</math> (equals sign). For two equations that are known a priori to have the same solutions one uses the equivalence arrow <math>\Leftrightarrow</math> to represent this.
-
However, if we write Equation 1 <math>\Rightarrow</math> Equation 2, it means that all solutions that Equation 1 has, Equation 2 also has, (but Equation 2 may have more solutions).
+
However, if we write "Equation 1 <math>\Rightarrow</math> Equation 2", it means that all solutions that Equation 1 has, Equation 2 also has, (but Equation 2 may have more solutions).
<div class="exempel">
<div class="exempel">

Revision as of 08:12, 13 March 2009

       Theory          Exercises      

Contents:

  • General advice
  • Mixing formulas and text
  • Common errors

Learning outcomes:

After this section you will have learned how to:

  • Express mathematics
  • Explain mathematics

Advice

Explain your solution

The main advice is:

Explain your solution.

The solution must not only be a statement of the formulas that you used, but also a description of how you reasoned. Use words to do this! To achieve the appropriate level of the solution: Imagine you are explaining the solution for a class mate who has difficulty in keeping up with all the steps. You need not explain every little calculation but nonetheless do not skip over important steps. If you just follow the above advice, you will have done 80% of what is required to provide an adequate solution.

Write good English

Although this is not an assignment in English and, of course, it is the mathematical content that is the most important, you should nonetheless think about things like typos, grammatical errors, etc. If your solution has too many language errors it can give a very negative impression and affect the credibility of the solution. Impression is important!

Make a clean copy of the solution

After you have solved the problem, you should rewrite the solution. Then you can rather concentrate on the presentation of the solution and this even may lead to improving your original solution. A tip is to ask someone else to read your solution to detect ambiguities. It is better to postpone the presentation phase for a later date so that when you solve the problem the first time you are able to work freely and not commit yourself too early to a specific way to solve the problem.

When you enter the solution create a text document and not as screen dumps from your word processor. While it may be easier to write the solution on your own computer using your favorite program, you should remember that in the next phase your solution is to be included as part of a group project and thus it is important that the solution is in editable state.

A clear answer

Write a clear answer at the end. This is especially important if the solution is long and the answer is scattered in various parts of the text. However, there are problems where the actual solution constitutes the answer (e.g. "Show that ...") and then of course no separate answer at the end is required.

Simplify the answer as far as possible.

Example 1

  1. Do not return the answer \displaystyle \sqrt8, but give \displaystyle 2\sqrt2 as the answer.
  2. Do not give the answer as \displaystyle \sin^2 x + \cos^2x + 2\sin 2x but as \displaystyle 1 + 2\sin 2x.
  3. Do not give the answer as \displaystyle x = \left\{\begin{align}&\pi/4+ n\pi\\ &3\pi / 4 + n\pi\end{align}\right.\ \ (n\ \text{integer})\ but as \displaystyle \ x = \pi / 4 + n\pi / 2\ \ (n\ \text{integer}).

Try and check sub-steps and answers

It can happen that when you solve some equations so called spurious roots turn up as a consequence of the method of solution that is being used. In these cases, explain why spurious roots may have appeared and test the solutions to see which are real solutions and which are spurious roots.


Lost solutions. Eg a factor on both sides of the equation is cancelled out and one does not realize that the equation obtained by setting this factor to zero provides additional solutions.

Example 2

If you solve the equation \displaystyle 2x^2-5x=0 by first moving \displaystyle 5x to the right-hand side,

\displaystyle 2x^2=5x\,,

and then cancel \displaystyle x on both sides,

\displaystyle 2x=5\,,

you will lose the solution \displaystyle x=0.

If you instead factorize the left-hand side,

\displaystyle x(2x-5) = 0\,\textrm{,}

you will be able to read off both solutions: \displaystyle x=0 and \displaystyle 2x-5=0 (i.e. \displaystyle x=\tfrac{5}{2}).

Go to Exercise 2.1:3 to practice factorization.

An important part of the solution is to think out reasonable methods to check the answer. For example, inserting the solution of the equation and make sure that it really is a solution because one may well have calculated wrongly (do not confuse this with the investigation of spurious roots). This may also be done for the sub-steps in a solution.

Another point is to assess if the answer is reasonable. Insert values for some of the parameters and ensure that you get the right answer. Eg what happens if \displaystyle a = 0, \displaystyle a = 1 or a goes to infinity?

Draw clear figures

A figure may explain introduced symbols or reasoning many times better than text, so please use figures. Bear in mind to draw them clearly and do not overload a figure with too many details. It may be better to have several nearly identical figures where each illustrates one point rather than have a great combination-figure which illustrates everything.


Treat formulas as part of the text

It is important that you write your solution in a way that makes it easy for others to follow. To help you we will present some don'ts and dos below to illustrate some tips and common errors that can occur when you mix formulas and text.

Advice about mixing formulas and text:

  1. Write the explanatory text on previos line
  2. Think about the punctuation
  3. Write displayed equations with indentation (or centered)

Formulas should not be seen as something that is extraneous to the text (or vice versa), but both text and formulas are to be integrated together in a linear flow. Therefore don´t write the text inside brackets behind the formulas. Instead, write the explanatory text on the previous line.

Don't

formula (text text text text text text ...)

formula (text text text text text text ...)

Do

Text text text text

formula.

Text text text text

formula.

Formulas can be either written as part of the text or as separate formulas. When formulas are separated from the text they appear on their own line and are either centered or slightly indented.

Do

...text text text formula text text text text.

Text text text

formula

text text text text text text text text...

(Note how the indentation highlights both the explanatory text and the formula. )

A common mistake is to use a colon in front of all displayed formulas.

Don't

...which provides that:

formula

We start...

(Note also there should be a full stop after the formula above.)

As a formula is to be part of the text, it must be treated as part of the sentence. Think therefore about the punctuation. For example, do not forget the full stop after a formula if it ends a sentence.

Do

... and it is

formula.

The next step is ...

(Note the full stop after the formula above.)

A bad habit is excessive numbering. For example, to put a number in front of each step in a solution (numbering should be used for enumeration). The extra digits do not add anything but rather distract. You seldom need to refer back to the individual steps, and when you need to, you can often write something of the sort "when we squared the equation" etc.

Don't

3. text text text text text text text text ...

formula

4. text text text text text text text text ...

Sometimes one wants to refer back to a separate formula or equation, and in this case it can be given a number (or star) in brackets in the right or left margin.

Do

...text text text text text text text text

formula. (1)

Text text (1) text text text text text text

formula.

Text text text text text text text text...


Common errors

Be careful with arrows and similarities

There is a difference between \displaystyle \Rightarrow (implication arrow), \displaystyle \Leftrightarrow (equivalence arrow) and \displaystyle = (equals sign). For two equations that are known a priori to have the same solutions one uses the equivalence arrow \displaystyle \Leftrightarrow to represent this.

However, if we write "Equation 1 \displaystyle \Rightarrow Equation 2", it means that all solutions that Equation 1 has, Equation 2 also has, (but Equation 2 may have more solutions).

Example 3

  1. \displaystyle x + 5 = 3\quad \Leftrightarrow\quad x = -2
  2. \displaystyle x^2-4x-1=0\quad\Leftrightarrow\quad (x-2)^2-5=0
  3. \displaystyle \sqrt x = x - 2\quad\Rightarrow\quad x = (x - 2)^2

One often does not bother to write the symbol \displaystyle \Leftrightarrow between the different steps in a solution when they are on different lines (and thus the equivalence is implied). It is also often better to use explanatory text instead of arrows between the different steps in the solution. Do not use the implication arrow as a general continuation symbol (in the sense "The next step is").

The equal sign (\displaystyle =) is commonly used in two senses, firstly between things that are identical, eg \displaystyle (x - 2)^2 = x^2-4x + 4 which is true for all \displaystyle x, and secondly in equations in which both sides are equal for some \displaystyle x, such as \displaystyle (x - 2) ^2 = 4, which only is satisfied if \displaystyle x = 0 or \displaystyle x = 4. You should not mix these two different uses of the same symbol.

Example 4

Don't write

\displaystyle x^2 - 2x + 1 = (x - 1)^2 = 4

when solving the equation \displaystyle x^2 - 2x + 1 = 4, since it can lead to misinterpretations.

Write rather

\displaystyle x^2 - 2x + 1 = 4\quad \Leftrightarrow\quad (x - 1) ^2 = 4.

(There is also a third use of the equals sign, which occurs when defining an expression or for example an operation.)

Simple arrow (\displaystyle \rightarrow) is used in mathematics often to handle different kinds of limits: \displaystyle a \to \infty means that a increases without limit (goes towards infinity). You will probably not need to use a simple arrow in this course.

Do not be careless with parenthesis

Since multiplication and division have higher priority than addition and subtraction, one must use brackets when addition and/or subtraction is to be carried out first.

Example 5

  1. Do not write \displaystyle 1 + x / \cos x when you really mean \displaystyle (1 + x) / \cos x.
  2. Do not write \displaystyle 1 + (1/\sin x) when \displaystyle 1 + 1/\sin x will do (even if the first expression is, formally, not wrong).

When dealing with algebraic expressions one usually omits the multiplication sign. For example, one almost never would write \displaystyle 4\times x\times y\times z but rather \displaystyle 4xyz.

This omission of the multiplication gives precedence over other multiplication and division (but not exponentiation). When one therefore writes \displaystyle 1/2R it means \displaystyle 1 / (2R) and not \displaystyle (1 / 2) R. Since this can be a source of misunderstanding, it is not entirely unusual to print the brackets in both situations.

Arguments to the basic elementary functions are written without parentheses. Therefore, you should not write

\displaystyle \cos (x), \displaystyle \sin (x), \displaystyle \tan (x), \displaystyle \cot (x), \displaystyle \lg (x) and \displaystyle \ln (x)

but

\displaystyle \cos x, \displaystyle \sin x, \displaystyle \tan x, \displaystyle \cot x, \displaystyle \lg x and \displaystyle \ln x.

In fact you should write \displaystyle \cos 2x and not \displaystyle \cos (2x) (since the argument \displaystyle 2x is tightly linked together via a juxtaposition), but brackets are necessary when you write \displaystyle \sin (x + y); \displaystyle \sin(x / 2) or \displaystyle (\sin x)^2 (which you, alternatively, can write as \displaystyle \sin ^2\!x).

Study advice

Useful web sites