1 Notations
Aims
- to recapitulate the basic notations and conventions used in mathematics and statistics
Learning outcomes
- to recognize natural numbers, integers and real numbers
- to understand the differences between variables and constants
- to use symbols, especially Sigma and product notations, to represent mathematical operations
1.1 Numbers
- Natural numbers, N: also called counting numbers or positive integers: \(\{1, 2, 3, \dots\}\)
- Whole numbers, W: set of natural numbers plus 0: \(\{0, 1, 2, 3, \dots\}\)
- Integers, Z: set of whole numbers plus all the negatives (opposites) \(\{\dots, -3, -2, -1, 0, 1, 2, 3, \dots\}\)
- Rational numbers, Q: numbers that can be expressed as a ratio of two integers, i.e. in a form \(\frac{a}{b}\), where \(a\) and \(b\) are integers, and \(b\neq0\)
- Irrational numbers, P: numbers that cannot be expressed as a ratio of two integers, e.g. \(\pi\), \(\sqrt2\)
- Real numbers, R: include both rational and irrational numbers
1.2 Reciprocal, absolute value & factorial
- Reciprocal of any number is found by diving 1 by the number, e.g. reciprocal of 5 is \(\frac{1}{5}\)
- Absolute value of a number can be viewed as its distance from zero, e.g. the absolute value of 6 is 6, written as \(|6| = 6\) and absolute value of -5 is 5, written as \(|-5| = 5\)
- Factorial of a non-negative integer number \(n\) is denoted by \(n!\) and it is a product of all positive integers less than or equal to \(n\), e.g. \(4! = 4 \cdot 3\cdot 2 \cdot 1 = 24\)
1.3 Variables, constants and letters
Mathematics gives us a precise language to communicate different concepts and ideas. To be able to use it it is essential to learn symbols and understand how they are used to represent physical quantities as well as understand the rules and conventions that have been developed to manipulate them.
- variables: things that can vary, e.g. temperature and time
- constants: fixed and unchanging quantities used in certain calculations, e.g. 3.14159
- in principle one could freely choose letters and symbols to represent variables and constants, but it is helpful and choose letters and symbols that have meaning in a particular context. Hence, we
- \(x, y, z\), the end of the alphabet is reserved for variables
- \(a, b, c\), the beginning of the alphabet is used to represent constants
- \(\pi\), \(\omega\) and Greek letters below are used frequently used to represent common constant, e.g. \(\pi = 3.14159\)
Letter | Upper case | Lower case | Letter | Upper case | Lower case |
---|---|---|---|---|---|
Alpha | A | \(\alpha\) | Nu | N | \(\nu\) |
Beta | B | \(\beta\) | Xi | \(\Xi\) | \(\xi\) |
Gamma | \(\Gamma\) | \(\gamma\) | Omicron | O | o |
Delta | \(\Delta\) | \(\delta\) | Pi | \(\Pi\) | \(\pi\) |
Epsilon | E | \(\epsilon\) | Rho | P | \(\rho\) |
Zeta | Z | \(\zeta\) | Sigma | \(\Sigma\) | \(\sigma\) |
Eta | H | \(\eta\) | Tau | T | \(\tau\) |
Theta | \(\Theta\) | \(\theta\) | Upsilon | Y | \(\upsilon\) |
Iota | I | \(\iota\) | Phi | \(\Phi\) | \(\phi\) |
Kappa | K | \(\kappa\) | Chi | X | \(\chi\) |
Lambda | \(\Lambda\) | \(\lambda\) | Psi | \(\Psi\) | \(\psi\) |
Mu | M | \(\mu\) | Omega | \(\Omega\) | \(\omega\) |
1.4 A precise language
- Mathematics is a precise language meaning that a special attention has to be paid to the exact position of any symbol in relation to other.
- Given two symbols \(x\) and \(y\), \(xy\) and \(x^y\) and \(x_y\) can mean different things
- \(xy\) stands for multiplication, \(x^y\) for superscript and \(x_y\) for subscript
1.5 Using symbols
If the letters \(x\) and \(y\) represent two numbers, then:
- their sum is written as \(x + y\)
- subtracting \(y\) from \(x\) is \(x - y\), known also as difference
- to multiply \(x\) and \(y\) we written as \(x \cdot y\) or also with the multiplication signed omitted as \(xy\). The quantity is known as product of x and y
- multiplication is associative, e.g. when we multiply three numbers together, \(x \cdot y \cdot z\), the order of multiplication does not matter, so \(x \cdot y \cdot z\) is the same as \(z \cdot x \cdot y\) or \(y \cdot z \cdot x\)
- division is denoted by \(\frac{x}{y}\) and means that \(x\) is divided by \(y\). In this expression \(x\), on the top, is called numerator and \(y\), on the bottom, is called denominator
- division by 1 leaves any number unchanged, e.g. \(\frac{x}{1}=x\) and division by 0 is not allowed
Equal sign
- the equal sign \(=\) is used in equations, e.g. \(x - 5 = 0\) or \(5x = 1\)
- the equal sign \(=\) can be also used in formulas. Physical quantities are related through a formula in many fields, e.g. the formula \(A=\pi r^2\) relates circle area \(A\) to its radius \(r\) and the formula \(s = \frac{d}{t}\) defines speed as distance \(d\) divided by time \(t\)
- the equal sign \(=\) is also used in identities, expressions true for all values of the variable, e.g. \((x-1)(x-1) = (x^2-1)\)
- opposite to the equal sign is “is not equal to” sign \(\neq\), e.g. we can write \(1+2 \neq 4\)
Sigma and Product notation
- the \(\Sigma\) notation, read as Sigma notation, provides a convenient way of writing long sums, e.g. the sum of \(x_1 + x_2 + x_3 + ... + x_{20}\) is written as \(\displaystyle \sum_{i=1}^{i=20}x_i\)
- the \(\Pi\) notation, read as Product notation, provides a convenient way of writing long products, e.g. \(x_1 \cdot x_2 \cdot x_3 \cdot ... \cdot x_{20}\) is written as \(\displaystyle \prod_{i=1}^{i=20}x_i\)
1.6 Inequalities
Given any two real numbers \(a\) and \(b\) there are three mutually exclusive possibilities:
- \(a > b\), meaning that \(a\) is greater than \(b\)
- \(a < b\), meaning that \(a\) is less than \(b\)
- \(a = b\), meaning that \(a\) is equal to \(b\)
Strict and weak
- inequality in \(a > b\) and \(a < b\) is strict
- as oppose to weak inequality denoted as \(a \ge b\) or \(a \le b\)
Some useful relations are:
- if \(a > b\) and \(b > c\) then \(a > c\)
- if \(a > b\) then \(a + c > b\) for any positive \(c\)
- if \(a > b\) then \(ac > bc\) for any positive \(c\)
- if \(a > b\) then \(ac < bc\) for any negative \(c\)
1.7 Indices and powers
- Indices, also known as powers are convenient when we multiply a number by itself several times
- e.g. \(5 \cdot 5 \cdot 5\) is written as \(5^3\) and \(4 \cdot 4 \cdot 4 \cdot 4 \cdot 4\) is written as \(4^5\)
- in the expression \(x^y\), \(x\) is called the base and \(y\) is called index or power
The laws of indices state:
- \(a^m \cdot a^n = a^{m+n}\)
- \(\frac{a^m}{a^n} = a^{m-n}\)
- \((a^m)^n = a^{m\cdot n}\)
Rules derived from the laws of indices:
- \(a^0 = 1\)
- \(a^1 = a\)
Negative and fractional indices:
- \(a^{-m} = \frac{1}{a^m}\) e.g. \(5^{-2} = \frac{1}{5^2} = \frac{1}{25}\) for negative indices
- e.g. \(4^{\frac{1}{2}} = \sqrt{4}\) or \(8^{\frac{1}{3}} = \sqrt[3]{8}\) for fractional indices
Exercises
Exercise 1.1 (Types of numbers) Classify numbers as natural, integers or real. If real, specify if they are rational or irrational.
- \(\frac{1}{3}\)
- 2
- \(\sqrt{4}\)
- 2.3
- \(\pi\)
- \(\sqrt{5}\)
- -7
- 0
- 0.25
Exercise 1.2 (Variable or constant) Classify below descriptors as variables or constants. Do you know the letters or symbols commonly used to represent these?
- speed of light in vacuum
- mass of an apple
- volume of an apple
- concentration of vitamin C in an apple
- distance from Stockholm central station to Uppsala central station
- time on the train to travel between the above stations
- electron charge
Exercise 1.3 (Expand Sigma and Pi) Write out explicitly what is meant by the following:
\(\displaystyle \sum_{i=1}^{i=6}k_i\)
\(\displaystyle \prod_{i=1}^{i=6}k_i\)
\(\displaystyle \sum_{i=1}^{i=6}i^k\)
\(\displaystyle \prod_{i=1}^{i=3}i^k\)
\(\displaystyle \sum_{i=1}^{n}i\)
\(\displaystyle \sum_{i=1}^{i=4}(i + 1)^k\)
\(\displaystyle \prod_{i=1}^{i=4}(k + 1)^i\)
\(\displaystyle \prod_{i=0}^{n}i\)
Exercise 1.4 (Write in Sigma and Pi) Use Sigma or Product notation to represent the long sums and products below:
- \(1+2+3+4+5+6\)
- \(2^2+3^2+4^2+5^2\)
- \(4 \cdot 5 \cdot 6 \cdot 7 \cdot 8\)
- \(1 + \frac{1}{2} + \frac{1}{3} + \frac{1}{4} + \frac{1}{5} +...+ \frac{1}{n}\)
- \(2-2^2+2^3-2^4 + ...+2^n\)
- \(3+6+9+12+···+60\)
- \(3x + 6x^2 + 9x^3 + 12x^4 +...+60x^{20}\)
- \(3x \cdot 6x^2 \cdot 9x^3 \cdot 12x^4 \cdot...\cdot 60x^{20}\)
Answers
Solution. Exercise 1.1
- real, rational
- natural and integers, integers include natural numbers
- \(\sqrt{4} = 2\) so it is a natural number and a subset of integers
- real number, rational as it could be written as \(\frac{23}{10}\)
- real number, irrational as it cannot be explained by a simple fraction
- real number, irrational as it cannot be explained by a simple fraction
- integer, not a natural number as these do not include negative numbers
- whole number, although note that whether 0 should be included in natural numbers is subject to various definitions, e..g according to ISO 80000-2 natural numbers are the same as “our” whole numbers \(\{0, 1, 2, 3, \dots\}\)
- real, rational number, could be written as \(\frac{25}{100} = \frac{1}{4}\)
Solution. Exercise 1.2
- constant, speed of light in vacuum is a constant, denoted \(c\) with \(c=299 792 458 \frac{m}{s}\)
- variable, mass of an apple is a variable, different for different apple sizes, for instance 138 grams, denoted as \(m = 100 g\)
- variable, like mass volume can be different from apple to apple, denoted as \(V\), e.g. \(V = 200 cm^3\)
- variable, like volume and mass can vary, denoted as \(\rho_i\) and defined as \(\rho_i=\frac{m}{V}\). So given 6.3 milligrams of vitamin C in our example apple, we have \(\rho_i=\frac{0.0063}{2}\frac{g}{cm^3} = 0.0000315 \frac{g}{cm^3}\) concentration of vitamin D
- constant, the distance between Stockholm and Uppsala is fixed; it could be a variable though if we were to consider an experiment on a very long time scale; distance is often denoted in physics as \(d\)
- variable, time on the train to travel between the stations varies, often denoted as \(t\) with speed being calculated as \(s = \frac{d}{t}\)
- constant, electron charge is \(e = 1.60217663\cdot10^{-19} C\)
Solution. Exercise 1.3
\(\displaystyle \sum_{i=1}^{i=6}k_i = k_1 + k_2 + k_3 + k_4 + k_5 + k_6\)
\(\displaystyle \prod_{i=1}^{i=6}k_i = k_1 \cdot k_2 \cdot k_3 \cdot k_4 \cdot k_5 \cdot k_6\)
\(\displaystyle \sum_{i=1}^{i=3}i^k = 1^k + 2^k + 3^k\)
\(\displaystyle \prod_{i=1}^{i=3}i^k = 1^k \cdot 2^k \cdot 3^k\)
\(\displaystyle \sum_{i=1}^{n}i = 1 + 2 + 3 + ... + n\) we are using dots (…) to represent all the number until \(n\). Here, thanks to Gauss we can also write \(\displaystyle \sum_{i=1}^{n}i = \frac{n(n+1)}{2}\), i.e. Gauss formula for sum of first \(n\) natural numbers
\(\sum_{i=1}^{i=4}(i + 1)^k = (1+1)^k + (2+1)^k + (3+1)^k + (4+1)^k\)
\(\prod_{i=1}^{i=4}(k + 1)^i = (k+1)^1 \cdot (k+2)^k \cdot (k+3)^k \cdot (k+4)^k\)
\(\prod_{i=0}^{n}i = 0 \cdot 1 \cdot 2 \cdot ... \cdot n\) which is actually \(\prod_{i=0}^{n}i = 0\) as anything multiplied by 0 is 0
Solution. Exercise 1.4
\(1+2+3+4+5+6 = \displaystyle \sum_{k=1}^{6}k\)
\(2^2+3^2+4^2+5^2 = \displaystyle \sum_{x=2}^{5}x^2\)
\(4 \cdot 5 \cdot 6 \cdot 7 \cdot 8 = \displaystyle \prod_{x=4}^{8}x\)
\(1 + \frac{1}{2} + \frac{1}{3} + \frac{1}{4} + \frac{1}{5} + ... + \frac{1}{n} = \displaystyle \sum_{k=1}^{n}\frac{1}{k}\)
\(2-2^2+2^3−2^4+...+2^n = \sum_{n=1}^{n} (-1)^n \cdot 2^n\)
\(3+6+9+12+···+60 = \sum_{n=1}^{30}3\cdot n\)
\(3x + 6x^2 + 9x^3 + 12x^4 +...+60^{20} = \sum_{n=1}^{20}3 \cdot n \cdot x^n\)
\(3x \cdot 6x^2 \cdot 9x^3 \cdot 12x^4 \cdot...\cdot60^{20} = \prod_{n=1}^{20}3 \cdot n \cdot x^n\)