Foundational Mathematics

MathsHome

This is an overview of foundational topics in mathematics, originally intended for Sophie (who can ignore topics marked with “*” for now if she wants!).

Contents

Operations
Negative Numbers
The mod Operation
Powers and Roots
Comparison and Intervals
Ellipsis and Sums
Kinds of Numbers
Fractions
Decimals and Rounding
* Bases Other Than Ten
* Factors and Prime Numbers
Formulas, Constants and Variables
Algebra and Solving Equations
Graphing Equations
* Quadratic Equations
* Polynomials
Functions
*Parametric Equations

Operations

An operation is something you can do to two numbers, such as add or subtract them. The symbol for an operation is called an operator.

Here are the main ones:

Operator   Name Example
+ Plus, addition 1 + 2 = 3
- Minus, subtraction   8 - 3 = 5
×  or  * Times, multiplication   2 × 5 = 10
– you can also leave out the “×”   3z = 3 × z
/  or  ÷ Divided by, division 15 / 5 = 3
– normally division gives a single value   14 / 5 = 2.8 = 2 4/5 (two and four fifths)
– but you can also have a quotient and remainder   14 / 5 = 2 remainder 4
mod Mod, modulus: the remainder after division 14 mod 5 = 4

Some operators are just used on a single number:

Operator   Name Example
- Unary minus, negation -(2 + 3) = -5
! Factorial: multiply all the numbers from one up to the number   3! = 1 × 2 × 3 = 6

There are some other common operations too:

Symbol   Name Example
| n | Absolute value: make n into a positive number | -3 | = 3
n Square root: the number that multiplied by itself equals n   √16 = 4
nm  or  n ^ m    n to the power of m: multiply n by itself m times 23 = 2 × 2 × 2 = 8

An expression is a “mathematical sentence” like 1 + 2 or 3 × 4, or or even just a single number like 23. Evaluating an expression means working out its value.

The order to do things in

The order of operations tells you which operations to do first. The main thing to remember is that addition and subtraction come last. Parentheses (also called brackets) can be used to group things too.

1 + 2 × 3 = 1 + (2 × 3) = 1 + 6 = 7
compare to:
(1 + 2) × 3 = 3 × 3 = 9
10 - 8 mod 4 = 10 - (8 mod 4) = 10 - 0 = 10
compare to:
(10 - 8) mod 4 = 2 mod 4 = 2

Powers and factorials get evaluated first:

3 + 5 ^ 2 = 3 + 25 = 28
compare to:
(3 + 5) ^ 2 = 8 ^ 2 = 64

2 × 3! = 2 × (3!) = 2 × (1 × 2 × 3) = 12
compare to:
(2 × 3)! = 6! = 1 × 2 × 3 × 4 × 5 × 6 = 720

Expansions

If you multiply by something in parentheses, you can expand the expression by multiplying by each thing inside the parentheses:

5 × (2 + 4) = 5 × 2 + 5 × 4

2 × (4 - 3 + 1) = 2 × 4 - 2 × 3 + 2 × 1

The same kind of thing happens with division:

(15 - 10) / 5 = 15 / 5 - 10 / 5
Expansions like these might not seem all that helpful, since we can just evaluate the expression inside the parantheses first: 5 × (2 + 4) = 5 × 6 = 30. But expanding expressions becomes useful when we get to algebra (which uses things like x and y instead of numbers). For example:

x × (y + 3) = xy + 3x
After expanding an expression, you can often simplify it:

3(x - y + 1) + 4(y - 1)
= 3x - 3y + 3 + 4y - 4
= 3x + y -1

Negative Numbers

Positive and negative numbers can be visualised using a number line, with positives going right and negatives going left:

Multiplying by a negative number reverses the direction along the number line. For example, -2 × 3 = (left by two) three times = -6:

Multiplying two negative numbers, such as -2 × -3, reverses the direction twice – so the result is positive:

The same thing applies to division. So:

-5 × -3 = 15
-10 / -2 = 5
This means that positive numbers all have two square roots, one positive and one negative. For example, the square root of 9 = 3 or -3, also written as ±3 (“plus or minus 3”).

The mod Operation

The mod operation means the remainder after dividing by a number. For example:
10 mod 3 = 1, because 10 / 3 = 3 remainder 1
20 mod 4 = 0, because 20 / 4 = 5 remainder 0
If a number mod 2 = 0, the number is even. If a number mod 2 = 1, it is odd. For example, 33 mod 2 = 1 so 33 is an odd number.

In the expression “n mod m”, m is called the modulus. Adding the modulus to n doesn’t change the value of n mod m. For example:

16 mod 10 = 26 mod 10 = 36 mod 10 = 6

Negative values and equivalence

The value of n mod m is can always be written as a number between 0 and m - 1 (inclusive). If n is negative, you can work out the value of n mod m by adding m to n until the value is no longer negative. For example:

-3 mod 4 = -3 + 4 = 1
-6 mod 4 = -6 + 4 + 4 = 2

The symbol “≡” means “is equivalent to.” So you could say:

-3 ≡ 1 (mod 4)
-6 ≡ 2 (mod 4)

Modular arithmetic

Modular arithmetic involves adding or subtracting values and then doing a mod operation. Notice that the values “wrap around” back to the beginning again:

2 mod 3 = 2
(2 + 1) mod 3 = 0
(2 + 2) mod 3 = 1
(2 + 3) mod 3 = 2, back where we started

1 mod 3 = 1
(1 - 1) mod 3 = 0
(1 - 2) mod 3 = 2
(1 - 3) mod 3 = 1, back where we started

A familiar example is 24 hour time, which has hours from 0 to 23 then repeats from 0 again. You can use mod to work out what time it will be a certain number of hours from now:

In 48 hours, the time of day will be the same as it is right now, since 48 mod 24 = 0
In 24002 hours, the time of day will be two hours later, since 24002 mod 24 = 2

Powers and Roots

An expression like 2 × 2 × 2 × 2 can be written as 24 or 2^4, which is pronounced “two to the power of four” or just “two to the four”.

If the power is 2 or 3, people usually say squared or cubed respectively. For example, 52 is “five squared”

Somewhere in history someone noticed that na × nb = na+b. Which is obvious if you write out an example:

52 = 5 × 5
53 = 5 × 5 × 5
52 × 53 = (5 × 5) × (5 × 5 × 5) = 52+3 = 55

Using that formula you can work out what happens if the power is not a positive integer. It turns out that:

n0 = 1 (no matter what n is)
n-m = 1 / nm
n1/2 = ±√n

Some examples:

100 = 1
3-2 = 1 / 32 = 1/9
251/2 = ±√25 = ±5

Another useful formula is:

(na)b = na×b

For example:

(52)3 = 52×3 = 56

As another example, if you square the square root of something, you get the original number again:

(√n)2 = (n1/2)2 = n1/2 × 2 = n1 = n.

Simplifying Square Roots

There is a useful fact about square roots:
√n × √m = √(n × m)
This means that if the number is a multiple of a perfect square, the square root of that value can be “moved out”:

√50 = √25 × √ 2 = 5√2

* Nth Roots and Powers of Fractions

The nth root (pronounced “enth root”) of the number m is the number that, when multiplied by itself n times, gives m. For example, 10 × 10 × 10 × 10 = 10000, so the 4th root of 10000 is 10.

The nth root of m is written as n√ m. For n = 3 this is called the cube root, 3√m.

The power of a fraction involves nth roots. The formula is:

xm/n = (nth root of x)m

When m/n = 1/2, this just becomes the square root:

251/2
= (±√25)1
= ±5

A more complex example is:

272/3
= (3√27)2
= (cube root of 27) squared
= 32
= 9

* Powers of Negative Numbers

If n is negative and m is an integer, nm is positive if m is even and negative if m is odd. For example:

(-2)4 = -2 × -2 × -2 × -2 = 16
(-2)3 = -2 × -2 × -2 = -8

But if the power is a fraction a/b, then na/b only makes sense if b is an odd number:

(-8)1/3 = -2, since -2 × -2 × -2 = -8
(-16)1/4 = undefined, since there is no number n where n4 = -16

Comparison and Intervals

Everyone is familiar with the “=” symbol, but there are some other ways to compare things as well:

Symbol   Name
< Less than
> Greater than
≤  or  <= Less than or equal
≥  or  >= Greater than or equal
≠  or  <> Not equal
Approximately equal (e.g. √2 ≈ 1.414)

Two < or <= comparisons can be combined together to make a range of values. For example:

3 < x <= 7
This means that x can have any value from 3 to 7, including 7 but not including 3.

The word inclusive is used when both comparisons are <=, such as 10 <= x <= 20 (x is between 10 and 20 inclusive).

Intervals

A range of values is sometimes called an interval, because you can think of it as a line drawn between two points on the number line.

Intervals are written using two different kinds of parentheses, ( ) and [ ]:

(0, 3) means the numbers between 0 and 3 but not including them, which is equivalent to 0 < x < 3. This is called an open interval.
[0, 3] includes 0 and 3, equivalent to 0 <= x <= 3. This is called a closed interval.
An interval can be open at one end and closed at the other: (2, 4] is the same as 2 < x <= 4.

Intervals can also be infinite, represented using the infinity symbol ∞. For example (0, ∞) is the same as x > 0.

Ellipsis and Sums

In a list of numbers, three dots “...” (called ellipsis) means “continue the same pattern.” The ellipsis can come at the end of a list, meaning “continue forever”:

2, 4, 6, 8, ... – all even numbers from 2 to infinity

Or it can come in the middle a list, meaning “fill in the mising values”:

1, 2, 3 ... 10 – the numbers 1, 2, 3, 4, 5, 6, 7, 8, 9, 10

Sums

The sum of a list of numbers can be written using the symbol Σ (Greek capital sigma), called sigma notation:

You can read this as “the sum of all values of n for n = 1 up to n = 10”, which can be written as:

1 + 2 + 3 + ... + 10
= 55

Another example is:

which is the sum of all values of n2 from 1 to 4:

12 + 22 + 32 + 42
= 1 + 4 + 9 + 16
= 30

Kinds of Numbers

An integer is a whole number, like 45 or -3 or 0.

A rational number is a number that can be written as a fraction (“rational” means it is a ratio of two other numbers). For example, 2/3 (two thirds) or 1 3/4 (one and three quarters). All integers are also rational numbers.

A real number is any number, which includes things like √2 and pi which are infinitely long without repeating. All integers and all rational numbers are also real numbers.

There is a special symbol for each type of number:

Symbol    Name   Description Examples
ℝ  or  R Real All numbers √2, pi, 1/3, 5
ℚ  or  Q Rational    Fractions (including whole numbers)   1/2, 7 3/4, 4
ℤ  or  Z Integer Whole numbers -3, 0, 100
ℕ  or  N Natural Positive integers (as well as 0) 0, 1, 2, 50

Fractions

A fraction (or rational number) is equal to one integer divided by another, called the numerator and the denominator. For example:

3/4 – numerator 3, denominator 4
22/7 – numerator 22, denominator 7

Fractions can be split into an integer part and a fractional part. For example, 22/7 = 3 1/7 (three and one seventh).

To find the reciprocal of a number, swap the numerator and the denominator (treat integers as having a denominator of 1):

reciprocal of 7 = 1/7
reciprocal of 2/3 = 3/2 = 1 1/2

* Simplifying Fractions

If the numerator and denominator have a common divisor (meaning they can both be evenly divided by the same number) then the fraction can be simplified by dividing them both by the greatest common divisor. For example, for the fraction 30/42, the highest number that 30 and 42 can both be evenly divided by is 6; 30/6 = 5 and 42/6 = 7; so 30/42 can be rewritten as 5/7.

If the numerator and denominator do not have a common divisor, the fraction is irreducible. 5/8 and 3/7 are both irreducible, but 4/6 is not, because it can be reduced to 2/3.

* Operations on Fractions

Two fractions can only be added or subtracted if they have the same denominator. To make that happen, multiply the top and bottom (numerator and denominator) of the first fraction by the second fractions’s denominator and vice versa; then just add the numerators together.

2/3 + 5/7
= (2 × 7) / (3 × 7) + (5 × 3) / (7 × 3)
= 14/21 + 15/21
= 29/21

Two fractions can be multiplied together just by multiplying the numerators and denominators:

2/3 × 5/7
= (2 × 5) / (3 × 7)
= 10/21

To divide one fraction by another, turn the second fraction upside down and then multiply them:

2/3 ÷ 5/7
= 2/3 × 7/5
= (2 × 7) / (3 × 5)
= 14/15

Decimals and Rounding

Real numbers can be written in decimal form. For example:

1/2 = 0.5
2 3/10 = 2.3

Some rational numbers are written as repeating (or recurring) decimals:

1/3 = 0.333333...
1/7 = 0.142857142857...

Irrational numbers do not have a repeating pattern:

√2 ≈ 1.41421356
pi ≈ 3.14159265

Rounding Numbers

Numbers can be rounded to make them into integers. There are three different methods of rounding:

You can round down, also called the floor function. So 3.0, 3.1 and 3.9 all become 3.

You can round up, also called the ceiling function. So 5.1, 5.9 and 6.0 all become 6.

You can also round to the nearest integer: round down if the fractional part is less than 0.5, or round up if it is greater than or equal to 0.5. So 7.3 becomes 7, 7.9 becomes 8 and 7.5 becomes 8.

To n decimal places

You can round a number to a certain number of decimal places, which is similar to rounding to the nearest integer. For example:

3.2847 to 2 decimal places = 3.28 (rounding down because of the 4)
3.2867 to 2 decimal places = 3.29 (rounding up because of the 6)

* Significant Figures and Precision

Decimal numbers can be written to a certain number of significant figures, which is the number of digits in a row ignoring zeros at the beginning and end. For example, 12.45 has four significant figures; so do 0.003456 and 98710000.

If you need to write a number to fewer significant figures than it already has, round the last digit up or down to be as close as possible to the original. For example:

12.34825 to 4 significant figures = 12.35 (rounding up to 5 from “4825”)
12.34825 to 3 significant figures = 12.3 (rounding down to 3 from “34825”)

Significant figures are related to the precision of a value. It is important not to be overprecise with measurements. For example, you might say that a building is 25 metres tall, but saying it is 25.0001 metres is probably being too precise.

The precision of a value can also reflected by giving it a tolerance as ± (plus or minus) some amount. For example, you might estimate a distance as 15.3 km ± 100m (from 15.2 to 15.4 km), or a time as one hour ± 5 minutes (from 55 to 65 minutes).

* Scientific Notation

Sometimes you might see a number written like: 3.4×1012. This is called Scientific Notation, Exponential Notation or Standard Form in Britain.

It can also be written like this: 3.4E+12 or 3.4E12.

In the above examples, 3.4 is called the mantissa and 12 is the exponent. To find the value of the number, shift the decimal point to the right by the exponent if it is positive or to the left if the exponent is negative:

3.4×1012 = 3400000000000.0
1.25×10-2 = 0.0125

* Bases Other Than Ten

Think about what it really means when you write a number like 323. The first “3” obviously doesn’t mean the same as the last “3”. If you break it down into digits:

323
= 3 × 100
+ 2 × 10
+ 3 × 1

Our numbering system is called base 10 because each digit is multiplied by a power of 10 (remember that 100 equals 1):

323
= 3 × 102
+ 2 × 101
+ 3 × 100

But 10 isn’t the only possible base. Two other bases commonly used in computing are binary (base 2) and hexadecimal (base 16).

Binary: Base 2

For binary numbers, only two digits are used: 0 and 1. Here is an example number in binary:

1101 base 2
= 1 × 23
+ 1 × 22
+ 0 × 21
+ 1 × 20
= 8 + 4 + 0 + 1
= 13

Here is an algorithm for converting a positive integer into a binary number (which gets written backwards):

If the number zero, stop.
If the number is odd, write 1, otherwise write 0.
Divide the number by 2 (round down).
Repeat from the beginning.

If you try it with 18, you should get 01001, which when reversed gives the answer: 10010.

Hexadecimal: Base 16

For hexadecimal numbers, some extra digits are needed. After 0 ... 9 comes A, B, C, D, E, F; the letter A means 10 and F means 15. Here are some example numbers:

1A base 16
= 1 × 161
+ 10 × 160
= 26

100 base 16
= 1 × 162
+ 0 × 161
+ 0 × 160
= 256

There is a relationship between binary and hexadecimal numbers. Since 24 = 16, one hexedecimal digit corresponds to four binary digits, which makes it easy to convert between them: just break the binary number into groups of four, then convert each group individually.

1001 0110 1111 0011 base 2 = 96F3 base 16

* Factors and Prime Numbers

The factors of a positive integer are all the numbers which it can be divided by evenly (i.e. there is no remainder after division). For example, 12 has factors: 1, 2, 3, 4, 6 and 12.

Finding the factors of a number is called factorising or factorisation.

A prime number is a number whose only factors are 1 and itself. The first few prime numbers are: 2, 3, 5, 7 and 11. (The number 1 is not counted as prime).

Every positive integer can be written as the product (multiple) of powers of its prime factors. For example, the prime factors of 12 are 2 and 3; 12 = 22 × 3. Here are some more:

16 = 24
63 = 32 × 7
90 = 2 × 32 × 5

Formulas, Constants and Variables

A formula is a way to calculate the value of something, such as the area of a circle or conversion from Farenheit to Celcius.

Formulas contain variables which you need to assign a value and sometimes constants with a fixed value. For example, the area of a circle is:

area = π r2

where r is a variable (the radius of the circle) and π is a constant (approximately 3.1415926).

Evaluating a formula involves substituting (“plugging in”) the values of the variables and constants then calculating the result. If the radius is 10 then the area of the circle = π × 102 ≈ 314.16.

It is important to keep track of the units you are using. For the area of a circle, if the radius is in metres (m) then the result will be in square metres (m2); but if the radius is in inches or centimetres, then the result will be in square inches or square centimetres.

Here are some common formulas:

Name   Formula   Variables
Area of a circle area = πr2 Radius r
Circumference of a circle    circumference = 2πr    Radius r
Area of a rectangle area = w × h Width w, height h
Celcius to Fahrenheit F = C × 9/5 + 32 Temperature C in Celcius
Fahrenheit to Celcius C = (F - 32) × 5/9   Temperature F in Fahrenheit

Algebra and Solving Equations

Algebra involves using letters like x and y to represent numbers, as in:

x = 3y + 2 (1)
x + y = 6   (2)

This is similar to the formulas from the previous section, but these ones are called equations. The idea is to find the value of all the variables, in this case x and y.

You can do so using one basic idea: whatever you do to the left hand side (the part before the “=”), do the same to the right hand side (after the “=”).

For example, if you take equation (2) and subtract y from both sides, you get a new equation (3):

x + y = 6
∴ x + y - y = 6 - y
∴ x = 6 - y (3)

(“∴” is pronounced “therefore”, and means that something follows logically from the thing above it).

Now we have two equations that both have the same left hand side, equations (1) and (3). That means their right hand sides are equal as well:

x = 3y + 2
x = 6 - y
∴ 3y + 2 = 6 - y (4)

This is useful because now we have an equation that only has “y”s in it and no “x”s. If we rearrange equation (4) so that all the “y”s are on the left and everything else is on the right, we can find the value of y:

3y + 2 = 6 - y
∴ 3y + 2 + y = 6 - y + y (adding y to both sides)
∴ 4y + 2 = 6
∴ 4y + 2 - 2 = 6 - 2 (subtracting 2 from both sides)
∴ 4y = 4
∴ y = 4/4 = 1 (dividing both sides by 4)

Now that we know the value of y, we can use either of the original equations (1) or (2) to find the value of x. We’ll use equation (1):

x = 3y + 2
y = 1
∴ x = 3 × 1 + 2 = 3 + 2 = 5

So the solution to the original set of equations is: x = 5 and y = 1.

Inequalities

An inequality is an equation that uses a comparison like “<” or “>”:

2x + 3 <= 7

You solve an inequality by getting the variable by itself on the left hand side:

2x + 3 <= 7
∴ 2x + 3 - 3 <= 7 - 3     (subtracting 3 from both sides)
∴ 2x <= 4
∴ x <= 2                       (dividing both sides by 2)

There is an important thing to remember though. The direction of the < or > must be reversed if you multiply or divide by a negative number:

6 - 2x > 0
∴ 6 - 6 - 2x > 0 - 6     (subtracting 6 from both sides)
∴ -2x > -6
∴ x < -6 / -2             (the comparison got reversed because we divided by -2)
∴ x < 3

The same thing happens if you swap the left and right sides:

7 <= x
∴ x >= 7

Graphing Equations

It can be useful to graph (draw) equations in order to get a better idea of what is going on.

If you go to a website like www.desmos.com/calculator you can just type in some equations containing x and y and it will draw them for you:

The red line is for the equation x = 3y + 2 and the blue line is for x + y = 6.

The black horizontal line is called the x axis and the vertical line is the y axis. Every point on the graph has an x and y coordinate, written as: (x, y).

For example, the point where the red and blue lines meet has the coordinates (5, 1), which are the values we found when we solved these equations in the previous section: x = 5 and y = 1.

You can also use the graph to see where the lines intersect the x or y axis. For example, the red line intersects the x axis at (2, 0), i.e. at x = 2 and y = 0.

Linear Equations

The two equations we drew above are called linear equations because their graph is a straight line. If an equation only involves simple “x”s and “y”s, it will always be a line.

The general form of a linear equation is y = ax + b. If b is 0 (so the equation is just y = ax) then x is proportional to y.

Other Kinds of Equations

An equation involving x2 or y2 (but not both) is called a quadratic equation. Its shape is a parabola; here are three drawn on the same graph:

An equation with a (positive) x2 and y2 is drawn as a circle or ellipse:

If the equation is in the form y = a/x then x is inversely proportional to y.

Here are a few more graphs involving x3, 2x and | 2x | (the absolute value of 2x):

* Quadratic Equations

A quadratic equation looks like:

ax2 + bx + c = 0

The a, b and c values are called coefficients; a cannot be 0.

To solve the equation and work out the value of x, you can use the quadratic formula:

This can have 0, 1 or 2 solutions. For example:

x2 - 5x + 4 has two solutions, x = 1 and x = 4
2x2 + 4x + 2 has one solution, x = -1
x2 - 2x + 3 has no solutions

You can verify these solutions by looking at the graph of each equation and finding the x value when y = 0 (that is, where they touch the horizontal x axis):

* Polynomials

A polynomial is an expression containing integer powers of a variable (or sometimes more than one variable). The powers cannot be negative. For example:

x3 + 2x2 + 3x + 10

5x4 - 1

x2y3 + 2xy - x

The number that goes with each term is called the coefficient. In the first example above, the coefficient of x3 is 1 and the coefficient of x is 3.

Adding, subtracting or multiplying two polynomials gives another polynomial:

(x2 - 3x) + (2x + 2) = x2 - x + 2

(x + 2)(3x - 1) = 3x2 + 6x - x - 2 = 3x2 + 5x - 2

Polynomials can often be factorised by breaking them into smaller polynomials multiplied together:

x2 + x = x(x + 1)

x2 - y2 = (x + y)(x - y)

2x2 - 5x - 3 = (2x + 1)(x - 3)

Functions

A function is something that takes a number, does something to it and gives you the result.

Functions are written in the form: name(parameter) = expression. The parameter is a variable such as x. For example:

f(x) = x2

Here the function name is f, the parameter is x and the expression is x2. You can use the function like this:

f(3) = 32 = 9

Functions can have more than one parameter:

g(x, y) = x / y + 1

So:

g(6, 2) = 6 / 2 + 1 = 3 + 1 = 4

The values you use for the parameters are called the arguments to the function (6 and 2 in the above example).

Inverse functions

The inverse of a function is its opposite. The inverse of f(x) can be written as f-1(x) (which is not the same thing as x to the power of -1).

For example, if f(x) = 2x then f-1(x) = x / 2.

A function and its inverse “cancel each other out”, which means that f(f-1(x)) always equals x.

Functions and sequences

A sequence is an infinitely long list of numbers, such as the positive integers: 1, 2, 3, ...

You can define a sequence using a function, with f(0) (or sometimes f(1)) as the first value. So the sequence of positive integers can be defined as:

p(n) = n + 1

So p(0) = 1, p(1) = 2 and so on.

Sometimes sequences are written using subscripts instead of function form: p0 = 1, p1 = 2, ...

* Recursive functions

A function can be defined in terms of itself, which is called recursion.

The Fibonacci sequence is an example of recursion. Each number in the sequence is the sum of the previous two numbers:

fib(n) = fib(n - 2) + fib(n - 1)

So that there is a starting point, we define the first two values explicitly:

fib(0) = 1
fib(1) = 1

Now we can calculate some of the other values:

fib(2) = fib(0) + fib(1) = 1 + 1 = 2
fib(3) = fib(1) + fib(2) = 1 + 2 = 3
fib(4) = fib(2) + fib(3) = 2 + 3 = 5

* Trigonometry functions

Most calculators include buttons that say “sin”, “cos” and “tan”, short for sine, cosine and tangent. These are trigonometry functions.

If you draw a right angled triangle like this:

with side lengths x, y and h (h stands for hypotenuse) and angle a at the bottom left, then:

sin(a) = y / h
cos(a) = x / h
tan(a) = y / x

The graphs of these functions are periodic (they repeat forever):


* Parametric Equations

Parametric equations use an extra variable called a parameter to control the value. A typical parameter is t (for “time”).

Imagine someone is travelling from point A to point B at constant speed. The coordinates of A and B are (3, 14) and (9, 17) respectively. If it takes 30 minutes to go from A to B, what are their coordinates 10 minutes into the journey?

The parametric equations can be written as:

x = a + bt
y = c + dt

Now find values for a, b, c and d. We know the x and y values are (3, 14) at time 0 at the start of the journey and (9, 17) at time 30. So:

3 = a + b × 0
14 = c + d × 0
∴ a = 3 and c = 14

Now we can find b and d:

9 = 3 + b × 30
17 = 14 + d × 30
∴ 30b = 9 - 3 and 30d = 17 - 14
∴ b = 6 / 30 = 1/5 and d = 3 / 30 = 1/10

So the final parametric equations are:

x = 3 + t / 5
y = 14 + t / 10

Now we have a way to find the traveller’s coordinates at any time t. For t = 10:

x = 3 + 10/5 = 3 + 2 = 5
y = 14 + 10/10 = 4 + 1 = 15

So the coordinates are (5, 15).

Parametric equation of a circle

The usual equation for a circle of radius r without using parameters is:

x2 + y2 = r2

It turns out these parametric equations also create the same circle:

x = r × cos(t)
y = r × sin(t)

Since cos and sin are periodic (repeating) functions, t only needs a certain range of values: 0 <= t < 2π (since 2π is actually equivalent to 360°, and there are 360° in a circle).

You can use www.desmos.com/calculator to draw a parametric equation. Write it in the form “(x, y)” then fill in the range of values (write “pi” for π):

Try changing the x and y values and see what happens:

(5 cos(t), 5 sin(2t))     ... butterfly
(5 cos(t), 2 sin(t))       ... ellipse
(5 cos(2t), 2 sin(3t))   ... fish

You could also try changing one of the numbers to a new parameter like u or v, then click on the “add slider” button that appears. This lets you easily experiment with variable values. (The range can be made into a parameter as well: change 2π to z).


MathsHome

Questions or comments to: [email protected]