Introduction to Math Symbols Through Simple Examples¶
Date published: 2018-12-26
Category: Math
Subcategory: Miscellaneous
Tags: equations, mean, standard deviation, math symbols
Variable Definition¶
A variable is a quantity typically assigned to a math letter within the context of a specific problem. For example, x is a common variable names in mathematic notation.
Below is a list of four numbers assigned to the variable x.
We want to be able to identify any value in x. We can use subscript notatation to specify an index in that list. For example, the first number is $x_1$ and the second number is $x_2$ and so forth. We can specify the exact value using the notation below:
Expression vs. Equation¶
An expression is a math statement that does not contain an equal sign. An example is:
$$7 + 4$$An expression can contain a variable too:
$$7x + 4$$An equation is a math statement comprised of two equalities or expressions joined with an equal sign. An example is:
$$x = 7 + 4$$Order of Operations¶
Operations means things like add, subtract, multiply, divide and more. A math expression involves operations. You may see the following equation:
$$7 + (6\times4 + 5^{2})$$Which part do you calculate first? In math, there's a specifc order of operations to calculate expressions and equations. If you don't follow the proper rules for order of operations, you will get a wrong answer!
A popular acronym to help remember the order of operations is PEMDAS. This stands for parentheses, exponents, multiplication, division, addition and subtraction. We want to calculate any math expression or equation in the order of items listed in the PEMDAS acronym. So, you perform any operation in parentheses first, exponents second, and so forth.
To calculate the expression above, first start with the things in parentheses. However, while in the parentheses, we need to apply PEMDAS again and move onto the next thing, exponents. $5^{2}$ equals $25$. We're left with the expression:
$$7 + (6\times4 + 25)$$Then, we're left with a multiplication and addition operation inside the parentheses. We perform multiplication before addition; therefore, next calculate $6\times4$ which equals $24$. Our expression now is:
$$7 + (24 + 25)$$We perform the remaining operation in parentheses next which is $24+25$. The result of that operation is $49$. Our expression is now:
$$7 + (49)$$We can calculate this final operation and our result is $56$.
Sigma and Order of Operations¶
$\sum$ means to add up whatever comes after it. Usually there's math symbols that come afterwards surrounded by parentheses.
$\sum(x)$ Calculation¶
Given our value of $x$ above, we can calculate $\sum(x)$ given our value of $x$ above:
$\sum(x-1)$ Calculation¶
With math notation in the parentheses after the $\sum$ symbol, we want to use order of operations. So the equation $\sum(x-1)$ means to subtract $1$ from every value in $x$. We can represent this operation with the equation below:
$\sum(2x-1)$ Calculation¶
In our order of operations, we perform multiplication before subtraction. We can calculate $\sum(2x-1)$ with the following steps:
$\sum(2x^{2})$ Calculation¶
In math order of operations, we perform calculations with exponents before multiplication. Given that rule, we can calculate $\sum(2x^{2})$ with the following steps:
$$\sum(2x^{2}) = (2\times30^2) + (2\times21^2) + (2\times59^2) + (2\times45^2)$$$$\sum(2x^{2}) = (2\times900) + (2\times441) + (2\times3481) + (2\times2025)$$$$\sum(2x^{2}) = (1800) + (882) + (6962) + (4050)$$$$\sum(2x^{2}) = 13694$$$\sum((2x)^{2})$ Calculation¶
This equation may seem a bit strange at first. We want to calculate the inner-most nested parentheses first of $2x$ and then perform the next possible operation inside parentheses.
Mean¶
In math, we call the average of a set of numbers the mean. We represent the (sample) mean as the symbol $\bar{x}$ often called x bar.
The simple equation for the mean of a set of numbers written in plain text is the sum of numbers in a set divided the the count of numbers in the set.
The formal math equation is:
$$\bar{x} = \frac{1}{n} \times \sum_{i=1}^{n}{x}_i$$- $\bar{x}$ = average (or arithmetic mean)
- $n$ = count of observations associated with a variable
- $x_i$ = value of each individual item in the list of numbers being averaged
Earlier, we defined $x = 30, 21, 59, 45$
The mean of $x$ can be calculated as follows:
$$\bar{x} = \frac{1}{4} \times \sum{x}$$$$\bar{x} = \frac{1}{4} \times (30 + 21 + 59 + 45)$$$$\bar{x} = \frac{1}{4} \times 155$$$$\bar{x} = 38.75$$Standard Deviation¶
Standard deviation of a set of values is a measure of how spread out those values are from the mean.
Below is the formula for the population standard deviation:
- $\sigma$ = population standard deviation
- $\mu$ = population mean
- $N$ = count of numbers in the population
- $x_i$ = value of each number in the population
We can calculate the population standard deviation of $x$ as:
We already calculated the arithmetic mean of $x$ above as $38.75$ which we can represent in place of $\mu$.
The count of numbers in our population of $x$ is $4$ which we can represent in place of $N$.
$$\sigma = \sqrt \frac{(30-38.75)^2 + (21-38.75)^2 + (59-38.75)^2 + (45-38.75)^2}{4}$$$$\sigma = \sqrt \frac{(-8.75)^2 + (-17.75)^2 + (20.25)^2 + (6.25)^2}{4}$$$$\sigma = \sqrt \frac{76.5625 + 315.0625 + 410.0625 + 39.0625}{4}$$$$\sigma = \sqrt \frac{840.75}{4}$$$$\sigma = 210.1875$$