Practical Mathematics for tidying data
1/12/23
\[\eqalign{ Addition: & a + b & = & b + a\\ Substraction: & a-b &= & -b + a\\ Multiply: & a \times b &= & b \times a\\ Divide: & \quad \frac{a}{b} &= & \frac{1}{b} \times a\\ Exponentiation: & \quad a^4 & = & a \times a \times a \times a\\}\]
Property | Addition | Multiplication |
---|---|---|
commutative | \(a + b = b + a\) | \(a b = b a\) |
associative | \(\color{red}{(}a+b\color{red}{)}+c =\) \(\quad a+\color{red}{(}b+c\color{red}{)}\) |
\(\color{red}{(}ab\color{red}{)}c = a\color{red}{(}bc\color{red}{)}\) |
distributive | \(\color{red}{a}(b+c)=\color{red}{a}b + \color{red}{a}c\) | |
identity | \(a\color{red}{+0} = a\) | \(a\color{red}{\times 1} = a\) |
inverse function | \(I(\color{red}{a}) = \color{red}{-a}\) \(I(\color{red}{-a}) = \color{red}{a}\) |
\(I(\color{red}{a}) = \color{red}{\frac{1}{a}}\) \(I(\color{red}{\frac{1}{a}}) = \color{red}{a}\) |
\[\begin{matrix} + & Combining\\ - & Taking\ away\\ \times & Adding\ repeatedly\\ \div & Splitting\ up\\ \end{matrix}\]
\(+\) | \(-\) | \(\times\) | \(\div\) |
---|---|---|---|
add | subtract | multiply | divide |
sum | difference | product | quotient |
total | take away | times | over |
plus | minus | double | split up |
more | less | twice | fit into |
increase | decrease | triple | per |
gain | loss | of | goes into |
Phrase | Math symbol |
---|---|
The patient’s weight increased by 5 kgs. | \(+5\) |
The number of unemployed people tripled. \(\times 3\) | |
The area of the bedroom is 8 square feet less than of the kitchen. | \(- 8\) |
The company’s earnings were split among the four partners. | \(\div 4\) |
In retailing, the difference between the gross sales and customer returns and allowances is called the net sales. If a store’s gross sales were $2,538 and customer returns and allowances amounted to $388, what was the store’s net sales?
The population of the United States in 1800 was 5,308,483. Ten years later, the population had grown to 7,239,881. During this period of time, did the country’s population double?
Please excuse my dear Aunt Sally
Parenthesis, Expoteniation, Multiply, Divide, Add, Subtract.
\[\color{red}{(\dots)} > \color{red}{\bf x^y} > \color{red}{\bf\times} > \color{red}{\bf\div} > \color{red}{\bf+} > \color{red}{\bf-}\]
Property | Example |
---|---|
Addition property of equality: | \(a + \color{red}{c}= b + \color{red}{c}\) |
Subtraction property of equality: | \(a - \color{red}{c} = b - \color{red}{c}\) |
Multiplicative property of equality: | \(a \color{red}{c}= b \color{red}{c}\) |
Division property of equality: | \(a /\color{red}{c} = b / \color{red}{c}\) |
Reciprocal property of equality: | \(\frac{1}{a} = \frac{1}{b}\) |
Functional equivalents of equality: | \(f(a) = f(b)\) |
Gather variables on one side of the equal and values on the other
\[\eqalign{ 2 + x &=& y + 5\\ \color{red}{-2} + 2 + x &=& y + 5 \color{red}{-2}\\ \color{red}{-y} + x &=& y + 3 \color{red}{-y}\\ x - y &=& 3 \\} \]
\[\frac{x+2}{4} = \frac{x-1}{3} +2\]
\[\frac{2x+8}{x} = \frac{30}{5}\]
\[\eqalign{\frac{x+2}{4} &=& \frac{x-1}{3} +2\\ \color{red}{12}\left(\frac{x+2}{4}\right) &=& \color{red}{12}\left(\frac{x-1}{3} +2\right)\\ 3\left(x+2\right)&=&4\left(x-1\right) + 24\\ \color{red}{-4x -6} +3x + 6 &=& 4x -4 + 24 + \color{red}{-4x -6}\\ \color{red}{(-1)}-x &=& 14 \times \color{red}{(-1)}\\ x &=& -14\\ }\]
\[\eqalign{\frac{2x+8}{x} &=& \frac{30}{5}\\ \color{red}{x}\left(\frac{2x+8}{x}\right) &=& \color{red}{x}\left(6\right)\\ \color{red}{-2x}+2x+8 &=& 6x +\color{red}{-2x}\\ \color{red}{\frac{1}{4}} \times 8 &=& 4x \times \color{red}{\frac{1}{4}}\\ 2 &=& x\\ }\]
\[\frac{x+2}{4} = \frac{x-1}{3} +2\]
\[2(x-3) - 17 = 13 - 3(x+2)\]
\[\frac{3}{x+6} + \frac{1}{x-2} = \frac{4}{4x -16}\]
\[\frac{1}{x} + \frac{1}{q} = \frac{1}{f}\]
\[11(x + 5) = 25(x-5)\]
\[\eqalign{2(x-3) - 17 &=& 13 - 3(x+2)\\ 2x-23 =2x -6 -17 &=& 13-3x-6 = -3x+7\\ 2x-23\color{red}{+3x+23} &=& -3x+7\color{red}{+3x+23}\\ \color{red}{\frac{1}{5}}5x &=& 30\color{red}{\frac{1}{5}}\\ x &=& 6\\ }\]
\[\eqalign{\frac{3}{x+6} + \frac{1}{x-2} &=& \frac{4}{4x -16}=\frac{1}{x-4}\\ \color{red}{\frac{(x+6)(x-2)}{(x+6)(x-2)}}\left(\frac{3}{x+6} + \frac{1}{x-2}\right)&=& \frac{1}{x-4}\\ \frac{3(x-2)+(x+6)}{(x+6)(x-2)}&=& \frac{1}{x-4}\\ \frac{4x}{(x+6)(x-2)}=\frac{3x-6+x+6}{(x+6)(x-2)}&=& \frac{1}{x-4}\\ \color{red}{(x+6)(x-2)(x-4)}\frac{4x}{(x+6)(x-2)}&=& \frac{1}{x-4}\color{red}{(x+6)(x-2)(x-4)}\\ 4x(x-4)&=& (x+6)(x-2)\\ 4x^2 +16x\color{red}{-(x^2+4x -12)}&=& x^2 +4x-12\color{red}{-(x^2+4x -12)}\\ 3(x^2 + 4x + 4)= 3x^2 + 12x +12 &=& 0\\ (x+2)^2 &=& 0\\ x = -2 }\]
\[\eqalign{\frac{1}{x} + \frac{1}{q} &=& \frac{1}{f}\\ \frac{1}{x} + \frac{1}{q} + \color{red}{\frac{-1}{q}}&=& \frac{1}{f} - \color{red}{\frac{1}{q}}\\ \frac{1}{x} &=& \left(\frac{1}{f} - \frac{1}{q}\right)\color{red}{\frac{fq}{fq}}=\frac{q-f}{qf}\\ x &=& \frac{qf}{q+f}\\ }\]
\[\eqalign{11(x + 5) &=& 25(x-5)\\ \color{red}{+125 -11x} +11x + 55 &= & 25x -125\color{red}{+125 -11x}\\ \color{red}{\frac{1}{14}}180 &=& 14x\color{red}{\frac{1}{14}}\\ \frac{90}{7} = \frac{180}{14}&=&x\\}\]
\[\eqalign{\color{red}{(a+b)}(c+d)&=& \color{red}{a}(c+d) \color{red}{+ b}(c+d)\\ &=& ac + ad + bc + bd\\}\]
\[\eqalign{\color{red}{(ax+b)}(cx+d) &=& \color{red}{ax}(cx + d) \color{red}{+ b}(cx + d)\\
&=& acx^2 +adx + bcx + bd\\
&=& acx^2 + \left(ad+bc\right)x +bd\\}\]
\[\eqalign{\color{red}{(x+3)}(x-2) &=& \color{red}{x}(x-2)\color{red}{+3}(x-2)\\ &=& (x^2 -2x) + (3x - 6)\\ &=& x^2 + x -6\\}\]
\[\eqalign{\color{red}{(x+3)}(x+3) &=&\color{red}{x}(x+3)\color{red}{+3}(x+3)\\ &=& (x^2 +3x) + (3x + 9)\\ &=& x^2 +\color{red}{(}3x + 3x\color{red}{)} + 9\\ &=& x^2 + 6x + 9\\}\]
\[\eqalign{\color{red}{(x+3)}(x-3) &=& \color{red}{x}(x-3)\color{red}{+3}(x+3)\\ &=&(x^2 -3x) + (3x - 9)\\ &=&(x^2 +(-3x + 3x) - 9)\\ &=&x^2 - 9\\}\]
Group Assignment
Dividends: a specific amount of money given to participents or sponsers on a regular basis, e.g. 200 baht per quarter. If P= Principle, D=Dividend: \(P_{i+1} = P_i + D\)
Interest: regular money paid back to participant based on a specific rate, e.g. 2% per annum. If P= Principle, I=Interest rate: \(P_{i+1} = P_i + P_i \times I\)
Tax: amount owed to the government upon receipt of the funds. Based on a percentage of the interest accrued.
In retailing, the difference between the gross sales and customer returns and allowances is called the net sales. If a store’s gross sales were $2,538 and customer returns and allowances amounted to $388, what was the store’s net sales?
The population of the United States in 1800 was 5,308,483. Ten years later, the population had grown to 7,239,881. During this period of time, did the country’s population double?
A delivery van travels 27 miles west, 31 miles east, 45 miles west, and 14 miles east. How far is the van from its starting point?
Recycling one aluminum can saves enough energy to run a television for three hours. The average American watches 3,048 hours of television a year. For a year, how many aluminum cans would it take to power a television for the average American?
A blue whale weighs about 300,000 pounds, and a great white shark weighs about 4,000 pounds. How many times the weight of a great white shark is the weight of a blue whale?
A sales representative flew from Los Angeles to Miami (2,339 miles), then to New York (1,092 miles), and finally back to LA (2,451 miles). How many total miles did he fly?
A movie fan installed shelves for his collection of 400 DVDs. If 36 DVDs fit on each shelf, how many shelves did he need to house his entire collection?
Two major naval disasters of the twentieth century involved the sinking of British ships—the Titanic and the Lusitania. The Titanic, which weighed about 93,000,000 pounds, was the most luxurious liner of its time; it struck an iceberg on its maiden voyage in 1912. The Lusitania, which weighed about 63,000,000 pounds, was sunk by a German submarine in 1915. How much heavier was the Titanic than the Lusitania?
\(y = mx\)
US Dollars | 0.0 | 5 | 10 | 15 | 20 | 25 | 30 |
---|---|---|---|---|---|---|---|
Thai bht | 0.0 | 165.3 | 330.6 | 495.9 | 661.2 | 826.5 | 991.8 |
Bht/USD | Nan | 33.06 | 33.06 | 33.06 | 33.06 | 33.06 | 33.06 |
USD /Bht | Nan | 0.03025 | 0.03025 | 0.03025 | 0.03025 | 0.03025 | 0.03025 |
\(y = mx + b\)
\(F = 32 + \frac{9}{5} C\)
Chirps per 15 sec | 44 | 37 | 31 | 25 | 15 |
---|---|---|---|---|---|
Temperature (in °F) | 80 | 68 | 73 | 63 | 55 |
Scientists suspect hat rising sea temperatures will have an adverse effect on coral growth. Here is the results of a study:
sea temp (°C) | 29.7 | 29.9 | 30.2 | 30.2 | 30.5 | 30.7 | 30.9 |
---|---|---|---|---|---|---|---|
Coral growth (mm) | 2.63 | 2.58 | 2.60 | 2.48 | 2.26 | 2.38 | 2.26 |
Most generic medications aren’t 50% or 75% less expensive than their brand named equivalents, they are 100 times cheaper!!
Generic medications can cost 100 percent less than their brand-name equivalent
I love her with 200% of my heart.
Trip | O-Ring Problem | C | Trip | O-Ring Problem | C |
---|---|---|---|---|---|
1 | 0 | 66 | 13 | 0 | 67 |
2 | 1 | 70 | 14 | 2 | 53 |
3 | 0 | 69 | 15 | 0 | 67 |
4 | 0 | 68 | 16 | 0 | 75 |
5 | 0 | 67 | 17 | 0 | 70 |
6 | 0 | 72 | 18 | 0 | 81 |
7 | 0 | 73 | 19 | 0 | 76 |
8 | 0 | 70 | 20 | 0 | 79 |
9 | 1 | 57 | 21 | 2 | 75 |
10 | 1 | 63 | 22 | 0 | 76 |
11 | 1 | 70 | 23 | 1 | 58 |
12 | 0 | 78 |
\[\eqalign{20x + 10y &=& 44\\ 7x + 5y &=& 10\\ \hline 20x + 10y &=& 44\\ \color{yellow}{-2}(7x + 5y) &=& \color{yellow}{-2}(10)\\ \hline 20x-14x + 10y-10y &=& 44-20\\ 6x = 24\\ x = 4\\ }\]
$$$$
\[\eqalign{ 10x + 5y &=& 30\\ 2x + 12y &=& 40\\ \hline 2x + 3y &=& 15\\ 5x + y &=& 10\\ \hline x + 5y &=& 20\\ 3x + 15y &=& 60\\ }\]
If the formula is correct, the units should match.
Example
The typical cloud contains 1,100,000,000 pounds of water. How many litres of rain does that represent?
\[1.1\times 10^9 lbs \times \frac{1 kg}{2.2 lb} \times \frac{1 L}{1 kg}= 5 \times 10^8 L\]