Preliminary Mathematics for online MSc programmes in Data AnalyticsUnit 1: Mathematical notation, sets, functions, exponents and logarithms

Mathematical notation and symbols

Introduction

This introductory block is here to remind you of some important notations and conventions used in Mathematics and Statistics.

Numbers and common notations

  • The numbers 1 comma 2 comma 3 comma ellipsis are called natural numbers. These are denoted by double struck upper N (whereas the set double struck upper N 0 denotes all natural numbers including the number 0).

  • Integers are denoted by double struck upper Z and include negative numbers too: ellipsis comma negative 2 comma negative 1 comma 0 comma 1 comma 2 comma ellipsis

  • Numbers that can be expressed as a ratio of two integers (that is, of the form StartFraction a Over b EndFraction where a and b are integers, and b not equals 0) are said to be rational.

  • Numbers such as StartRoot 2 EndRoot comma pi comma e cannot be expressed as a ratio of integers; thus they are called irrational.

  • The set of real numbers includes both rational and irrational numbers and is denoted by double struck upper R.

  • The reciprocal of any number is found if we divide 1 by that number. For example, the reciprocal of 3 is one third and the reciprocal of one third is 3. Note that the old denominator has become the new numerator, and the old numerator has become the new denominator.

  • The absolute value of a number can be thought of as its distance from zero. This is denoted by vertical lines around the number. For example, StartAbsoluteValue 6 EndAbsoluteValue (read "the absolute value of 6") is 6, and StartAbsoluteValue negative 6 EndAbsoluteValue is 6 again.

  • The factorial of a non-negative integer number n is denoted by n factorial (read "n factorial") and is the product of all positive integers less than or equal to n. For example 4 factorial equals 4 dot 3 dot 2 dot 1 equals 24. We also define 0 factorial to be equal to 1.

Using symbols

Mathematics provides a very rich language for the communication of different concepts and ideas. In order to use this language it is of high importance to appreciate how symbols are used to represent physical quantities, and to understand the rules and conventions that have been developed to manipulate them.

The choice of which letters or symbols to use is up to the user, although it is helpful to choose letters that have some meaning in any particular context. For example, if we wish to choose a symbol to represent the temperature in a room we might choose the capital letter upper T. Usually the lowercase letter t is used to represent time. Since both time and temperature can vary we refer to t and upper T as variables. In a particular calculation some symbols represent fixed and unchanging quantities and we call these constants.

We often reserve the letters x, y and z to stand for variables and use the earlier letters of the alphabet, such as a, b and c, to represent constants. The Greek letter pi is used to represent the constant 3.14159 ellipsis which appears in the formula for the area of the circle. Other Greek letters are frequently used, and for reference the Greek alphabet is given below.

LetterUpper caseLower caseLetterUpper caseLower case
Alphaupper AalphaNuupper Nnu
Betaupper BbetaXinormal upper Xixi
Gammanormal upper GammagammaOmicronupper Oo
Deltanormal upper DeltadeltaPinormal upper Pipi
Epsilonupper Eepsilon or epsilonRhoupper Prho
Zetaupper ZzetaSigmanormal upper Sigmasigma
Etaupper HetaTauupper Ttau
Thetanormal upper Thetatheta or thetaUpsilonupper Yupsilon
Iotaupper IiotaPhinormal upper Phiphi or phi
Kappaupper KkappaChiupper Xxi
Lambdanormal upper LamdalamdaPsinormal upper Psichi
Muupper MmuOmeganormal upper Omegaomega

Mathematics is a very precise language and care must be taken to note the exact position of any symbol in relation to any other. If x and y are two symbols, then the quantities x y, x Superscript y and x Subscript y can all mean different things. In the expression x Superscript y, y is called a superscript while in the expression x Subscript y it is called a subscript.

  • If the letters x and y represent two numbers, then their sum is written as x plus y.

  • Subtracting y from x yields x minus y. This quantity is also called the difference of x and y.

  • The instruction to multiply x and y is written as x times y where usually the multiplication sign is omitted and we simply write x y. This quantity is called the product of x and y.

  • Note that x y is the same as y x. Because of this we say that multiplication is commutative.

  • Multiplication is also associative. When we multiply three quantities together, such as x times y times z, it doesn't matter whether we evaluate x times y first and then multiply the result by z, or evaluate y times z first and then multiply the result by x. In other words, left parenthesis x times y right parenthesis times z equals x times left parenthesis y times z right parenthesis.

  • The quantity StartFraction x Over y EndFraction (or x/y) means that x is divided by y. In the expression StartFraction x Over y EndFraction the top line is called the numerator and the bottom line is called the denominator. Division by 1 leaves any number unchanged (i.e. StartFraction x Over 1 EndFraction is simply x) while division by 0 is never allowed.

  • The equals sign, equals, is used in several different ways:

    • It can be used in equations. The left-hand side and right hand side of an equation are equal only when the variable involved takes specific values known as solutions of the equation. For example, in the equation x minus 10 equals 0, the variable is x and the left-hand side and right-hand side are equal when x has the value 10. If x has any other value the two sides are not equal.
    • It can be used in formulae. Physical quantities are often related through a formula. For example, the formula of the length, upper C, of the circumference of a circle expresses the relationship between the circumference of the circle and its radius r. It specifically states that upper C equals 2 pi r. When used in this way the equals sign expresses the fact that the quantity on the left is found by evaluating the expression on the right.
    • It can also be used in identities. At first sight an identity looks like an equation, except that is true for all values of the variable. For example, left parenthesis x minus 1 right parenthesis left parenthesis x plus 1 right parenthesis equals x squared minus 1 is true for all values of the variable x.
  • The sign not equals is read "is not equal to". For example it is correct to write 12 not equals 21.

  • The sigma summation notation (read "Sigma notation") provides a convenient way of writing long sums. The sum x 1 plus x 2 plus x 3 plus ellipsis plus x 20 is written using the capital Greek letter sigma, sigma summation, as sigma summation Underscript i equals 1 Overscript i equals 20 Endscripts x Subscript i.

  • The product notation (read "product notation") provides a convenient way of writing long products. The product x 1 times x 2 times x 3 times ellipsis times x 20 is written using the capital Greek letter Pi, product, as product Underscript i equals 1 Overscript i equals 20 Endscripts x Subscript i.

Inequalities

Given any two real numbers a and b, there are three mutually exclusive possibilities:

  • a greater than b (a is greater than b),

  • a less than b (a is less than b), or

  • a equals b (a is equal to b).

The inequality in the first two cases is said to be strict.

The case where "a is greater than or equal to b" is denoted by a greater than or equals b. Similarly, we have that a less than or equals b.

In these cases, the inequalities are said to be weak.

Some useful relations are:

  • If a greater than b and b greater than c; then a greater than c.

  • If a greater than b; then a plus c greater than b plus c for any c.

  • If a greater than b; then a c greater than b c for any positive c.

  • If a greater than b; then a c less than b c for any negative c.

Laws of indices

Indices or powers provide a convenient notation when we need to multiply a number by itself several times. the number 5 times 5 times 5 is written as 5 cubed and read "5 raised to the power of 3". Similarly we could have

8 times 8 times 8 times 8 equals 8 Superscript 4 Baseline comma left parenthesis negative 2 right parenthesis times left parenthesis negative 2 right parenthesis equals left parenthesis negative 2 right parenthesis squared comma z times z times z times z times z equals z Superscript 5 Baseline period More generally, in the expression x Superscript y, x is called the base and y is called the index or power.

There are a number of rules that enable us to manipulate expressions involving indices. These rules are known as the laws of indices and they occur so commonly that it is worthwhile to memorise them.

The laws of indices state:

  • a Superscript m Baseline times a Superscript n Baseline equals a Superscript m plus n (when multiplying two numbers that have the same base we just add their indices)

  • StartFraction a Superscript m Baseline Over a Superscript n Baseline EndFraction equals a Superscript m minus n (when dividing two numbers that have the same base we subtract their indices)

  • left parenthesis a Superscript m Baseline right parenthesis Superscript n Baseline equals a Superscript m n (if a number is raised to a power and the result itself is raised to a power, the two powers are multiplied together)

Note that in all the previous rules the base was the same throughout.

Two important results that can be derived from these laws are that:

  • a Superscript 0 Baseline equals 1 (any number raised to the power of 0 is 1), and

  • a Superscript 1 Baseline equals a (any number raised to the power of 1 is itself).

A generalisation of the third law states:

  • left parenthesis a Superscript m Baseline b Superscript k Baseline right parenthesis Superscript n Baseline equals a Superscript m n Baseline b Superscript n k (when two numbers, a Superscript m and b Superscript k, are multiplied together and they are raised to the same power, each number is raised to that power and they can then be multiplied together).
Negative indices

A number can be raised to a negative power. This is interpreted as raising the reciprocal number to the positive power. For example, 5 Superscript negative 2 Baseline equals left parenthesis one fifth right parenthesis squared equals StartFraction 1 squared Over 5 squared EndFraction equals one twenty fifth.

Generally, we have that a Superscript negative m Baseline equals StartFraction 1 Over a Superscript m Baseline EndFraction and a Superscript m Baseline equals StartFraction 1 Over a Superscript negative m Baseline EndFraction.

Fractional indices

Let's now consider the expression left parenthesis 16 Superscript 1 divided by 2 Baseline right parenthesis squared. Using the third law of indices we can write it as StartLayout 1st Row 1st Column left parenthesis 16 Superscript 1 divided by 2 Baseline right parenthesis squared 2nd Column equals 16 Superscript one half 2 Baseline 2nd Row 1st Column Blank 2nd Column equals 16 Superscript 1 Baseline 3rd Row 1st Column Blank 2nd Column equals 16 period EndLayout

So 16 Superscript 1 divided by 2 is a number that when it is raised to the power of 2 equals 16. That means that it could be 4 or negative 4. In other words 16 Superscript 1 divided by 2 is a square root of 16, that is StartRoot 16 EndRoot. There are always two square roots of a non-zero number, and we write 16 Superscript 1 divided by 2 Baseline equals plus or minus 4.

Similarly, we have that StartLayout 1st Row 1st Column left parenthesis 8 Superscript 1 divided by 3 Baseline right parenthesis cubed 2nd Column equals 8 Superscript one third 3 Baseline 2nd Row 1st Column Blank 2nd Column equals 8 Superscript 1 Baseline 3rd Row 1st Column Blank 2nd Column equals 8 comma EndLayout

so that 8 Superscript 1 divided by 3 is a number that when it is raised to the power of 3 equals 8. Thus 8 Superscript 1 divided by 3 is the cubic root of 8, that is RootIndex 3 StartRoot 8 EndRoot which is equal to 2. Each number has only one cubic root.

Generally, we have that x Superscript StartFraction 1 Over n EndFraction is the n-th root of x, that is defined as RootIndex n StartRoot x EndRoot. The generalisation of the third law of indices states that left parenthesis a Superscript m Baseline b Superscript k Baseline right parenthesis Superscript n Baseline equals a Superscript m n Baseline b Superscript n k. By taking m equals k equals one half and n equals 1 we have that StartRoot a b EndRoot equals StartRoot a EndRoot StartRoot b EndRoot.

Polynomial expressions

An important group of mathematical expressions that use indices are known as polynomial expressions. Examples of polynomials are 5 x cubed minus 3 x squared plus 10 comma 11 minus 5 x Superscript 5 Baseline plus 7 x comma y minus y cubed period Notice that they are all constructed using non-negative whole-number powers of the variable. Recall that x Superscript 0 Baseline equals 1 and so the number 10 appearing in the first expression can be thought of 10 x Superscript 0.

A polynomial expression takes the form a 0 plus a 1 x plus a 2 x squared plus a 3 x cubed plus ellipsis where a 0 comma a 1 comma a 2 comma a 3 are all constants called the coefficients of the polynomial. The number a 0 is also called the constant term. The highest power in a polynomial is called the degree of the polynomial. Polynomials with degree 3, 2, 1 and 0 are known as cubic, quadratic, linear and constant respectively.

Tasks

Task 1

Write out explicitly what is meant by the following:

(a) sigma summation Underscript i equals 1 Overscript i equals 6 Endscripts k Superscript i

(b) sigma summation Underscript i equals 1 Overscript i equals 6 Endscripts i Superscript k

(c) sigma summation Underscript i equals 1 Overscript i equals 6 Endscripts left parenthesis i plus 1 right parenthesis Superscript k

(d) sigma summation Underscript i equals 1 Overscript i equals 6 Endscripts 2

(e) product Underscript i equals 1 Overscript i equals 6 Endscripts k Superscript i

(f) product Underscript i equals 1 Overscript i equals 6 Endscripts 2

Show answer

.


VideoVideo model answers for part (a)Duration0:35VideoVideo model answers for part (c)Duration1:01

(a) k Superscript 1 Baseline plus k squared plus k cubed plus k Superscript 4 Baseline plus k Superscript 5 Baseline plus k Superscript 6

(b) 1 Superscript k Baseline plus 2 Superscript k Baseline plus 3 Superscript k Baseline plus 4 Superscript k Baseline plus 5 Superscript k Baseline plus 6 Superscript k

(c) 2 Superscript k Baseline plus 3 Superscript k Baseline plus 4 Superscript k Baseline plus 5 Superscript k Baseline plus 6 Superscript k Baseline plus 7 Superscript k

(d) 2 plus 2 plus 2 plus 2 plus 2 plus 2 equals 12

(e) k Superscript 1 Baseline times k squared times k cubed times k Superscript 4 Baseline times k Superscript 5 Baseline times k Superscript 6 Baseline equals k Superscript 1 plus 2 plus 3 plus 4 plus 5 plus 6 Baseline equals k Superscript 21

(f) 2 times 2 times 2 times 2 times 2 times 2 equals 2 Superscript 6

Task 2

By writing out the terms explicitly show that

sigma summation Underscript i equals 1 Overscript i equals 5 Endscripts 3 i equals 3 sigma summation Underscript i equals 1 Overscript i equals 5 Endscripts i period

Show answer

sigma summation Underscript i equals 1 Overscript i equals 5 Endscripts 3 i equals 3 plus 6 plus 9 plus 12 plus 15 equals 3 times 1 plus 3 times 2 plus 3 times 3 plus 3 times 4 plus 3 times 5 equals 3 times left parenthesis 1 plus 2 plus 3 plus 4 plus 5 right parenthesis equals 3 sigma summation Underscript i equals 1 Overscript i equals 5 Endscripts i

Task 3

Write out fully, the following expressions:

(a) 3 m Superscript 4

(b) left parenthesis 3 m right parenthesis Superscript 4

Show answer

VideoVideo model answersDuration0:42

(a) 3 m Superscript 4

(b) 81 m Superscript 4

Task 4

Simplify the following expressions:

(a) b Superscript 5 Baseline times b squared times b

(b) b Superscript 5 Baseline times b squared times StartFraction b Over b cubed EndFraction

Show answer

(a) b Superscript 8

(b) b Superscript 5

Task 5

Remove the parentheses from the following expressions:

(a) left parenthesis 3 x right parenthesis squared

(b) left parenthesis 6 x y right parenthesis Superscript 4

(c) left parenthesis x cubed y Superscript 5 Baseline right parenthesis cubed

Show answer

(a) 9 x squared

(b) 6 Superscript 4 Baseline x Superscript 4 Baseline y Superscript 4

(c) x Superscript 9 Baseline y Superscript 15

Task 6

Show that left parenthesis minus x y right parenthesis cubed is equal to minus x cubed y cubed.

Show answer

left parenthesis minus x y right parenthesis cubed equals left parenthesis negative 1 right parenthesis cubed x cubed y cubed equals minus x cubed y cubed period

Task 7

Write each of the following expressions using a positive index:

(a) 2 Superscript negative 3

(b) StartFraction 1 Over 4 Superscript negative 3 Baseline EndFraction

(c) x Superscript negative 5

Show answer

VideoVideo model answersDuration0:42

(a) StartFraction 1 Over 2 cubed EndFraction

(b) 4 cubed

(c) StartFraction 1 Over x Superscript 5 Baseline EndFraction

Task 8

Simplify the following expressions:

(a) StartFraction a Superscript 8 Baseline a cubed Over a Superscript 5 Baseline EndFraction

(b) StartFraction a Superscript 8 Baseline b squared a cubed b Superscript 4 Baseline Over b Superscript 7 Baseline a Superscript 5 Baseline EndFraction

Show answer

(a) a Superscript 6

(b) StartFraction a Superscript 6 Baseline Over b EndFraction

Task 9

Evaluate the following:

(a) 144 Superscript 1 divided by 2

(b) 125 Superscript 1 divided by 3

Show answer

(a) 12

(b) 5

Task 10

Simplify the following:

(a) StartFraction StartRoot x EndRoot Over x cubed x squared EndFraction

(b) StartFraction x squared Over x Superscript negative 1 divided by 2 Baseline RootIndex 3 StartRoot x squared EndRoot EndFraction

Show answer

VideoVideo model answersDuration1:29

(a) StartFraction 1 Over x Superscript nine halves Baseline EndFraction equals StartFraction 1 Over StartRoot x Superscript 9 Baseline EndRoot EndFraction

(b) x Superscript 11 divided by 6

Sets

Introduction to sets

  • A set upper S is a well-defined, unordered collection of objects. We typically use curly brackets to denote sets, for example upper S equals StartSet 1 comma 2 EndSet.
  • The objects that make up the set are also known as elements of the set.
  • If x is an element of upper S, we can say that x belongs to upper S and write x element of upper S (the symbol element of reads "belongs to" or "in"). If, on the other hand, an element z does not belong to upper S we can write z not an element of upper S. To give an example, for upper S equals StartSet 1 comma 2 EndSet, 1 element of upper S, but 3 not an element of upper S.
  • A set may contain finitely many or infinitely many elements.
  • A set with no elements is called the empty set and is denoted by the symbol normal empty set.
  • The number of elements within a set upper S is called the cardinality of the set and is denoted by bold c a r d left parenthesis upper S right parenthesis or StartAbsoluteValue upper S EndAbsoluteValue.
  • Given sets upper S and upper T , we say that upper S is a subset of upper T if every element of upper S is also an element of upper T. We can then write upper S subset of upper T. In that case, we can also say that upper T is a superset of upper S; and write it as upper T superset of upper S. The diagram below (which is known as a Venn diagram) illustrates the definition.
Figure 1

Subset

  • Given sets upper S and upper T, their union upper S union upper T is the set of elements that are either in upper S or upper T (or in both).
Figure 2
  • Given sets upper S and upper T, their intersection upper S intersection upper T is the set of elements that are both in upper S and upper T.
Figure 3
  • A set upper S is called the complement of upper T if it contains all the elements that do not belong to it. The complement of upper T is written as upper T Superscript complement (or upper T overbar or upper T prime).
Figure 4
  • Given two sets, upper S and upper T, the difference upper S minus upper T contains all elements of upper S that are not contained in upper T. The set difference can be, more formally defined as the intersection of upper S and the complement of upper T, upper S minus upper T equals upper S intersection upper T Superscript complement.
Figure 5
Example 1

Let's assume that I asked 43 people if they like dogs or cats. 23 of them said they like dogs, 14 of them told me they like cats while there were 6 people who like both dogs and cats.

If we denote as upper C and upper D the sets referring to the people who like cats and dogs respectively; then we are given the following information: StartAbsoluteValue upper D EndAbsoluteValue equals 23, StartAbsoluteValue upper C EndAbsoluteValue equals 14 and StartAbsoluteValue upper D intersection upper C EndAbsoluteValue equals 6. Also, there are are 43 people in total. This information is shown on the diagram below (which is known as a Venn diagram).

Figure 6

We will first use the Venn diagram to work out the number of people who like dogs or cats (or both), i.e. we will find the number of elements (cardinality) of the union upper D union upper C.

Figure 7

31 people like dogs, cats or both. Note that when we calculated the number people who like dogs or cats, we had to subtract the number of people who like both dogs and cats. The reason for this is that when we add the number of people who like dogs to the number of people who like cats, we have counted those who like both dogs and cats twice. Hence we have to subtract their number, so that we count everyone only once.

Next we will use the Venn diagram to find the number of people who do not like dogs, i.e. the cardinality of the complement upper D Superscript complement.

Figure 8

20 people do not like dogs.

Example 2

Let's assume that we want to look at the set upper A of some European capital cities that start with the letter L. In this case we have upper A equals StartSet Lisbon comma Ljubljana comma London comma Luxembourg EndSet period

Now, let's assume we are interested to look at the set of the European capital cities that have a small population (let's say less than 300000 people). In this case we have upper B equals StartSet Ljubljana comma Valetta comma Nicosia comma Luxembourg EndSet period

The corresponding Venn diagram is shown below.

Figure 9

Let's now look at some rule for manipulating expressions involving sets.

  • For any two sets, upper S and upper T, the intersection of upper S and upper T is the same as the intersection of upper T and upper S, upper S intersection upper T equals upper T intersection upper S. Similarly, the union of upper S and upper T is the same as the union of upper T and upper S, upper S union upper T equals upper T union upper S. This property (which also holds for addition and multiplication of real numbers) is called commutativity. Note that the set difference is not commutative: upper S minus upper T is not the same as upper T minus upper S (you can illustrate this on a Venn diagram).
  • For any three sets, upper S, upper T and upper U, left parenthesis upper S intersection upper T right parenthesis intersection upper U equals upper S intersection left parenthesis upper T intersection upper U right parenthesis comma i.e. the order in which we take intersections does not matter. This property is called associativity in Mathematics. We can use Venn diagrams to illustrate why this property holds. The left column below identifies left parenthesis upper S intersection upper T right parenthesis intersection upper U, whereas the right column identifies upper S intersection left parenthesis upper T intersection upper U right parenthesis. We can see both are the same.
Figure 10
  • Similarly, for any three sets, upper S, upper T and upper U, left parenthesis upper S union upper T right parenthesis union upper U equals upper S union left parenthesis upper T union upper U right parenthesis comma i.e. the order in which we take unions does not matter either. This property is called associativity in Mathematics.
Figure 11

  • Furthermore, for any three sets, upper S, upper T and upper U, upper S union left parenthesis upper T intersection upper U right parenthesis equals left parenthesis upper S union upper T right parenthesis intersection left parenthesis upper S union upper U right parenthesis period This property is called distributivity in Mathematics. We can again try to understand this rule by identifying both the left-hand sided and the right-hand side in a Venn diagram.
Figure 12

  • Similarly, for any three sets, upper S, upper T and upper U, upper S intersection left parenthesis upper T union upper U right parenthesis equals left parenthesis upper S intersection upper T right parenthesis union left parenthesis upper S intersection upper U right parenthesis period
Figure 13

You might at first be slightly puzzled by these rules, but you have already been familiar with most of them. You know them from doing arithmetic with numbers. Just think of unions as additions and intersections as multiplications.

NameRule for setsCorresponding rule for add'n and mult'n of numbersExample
Commutativtyupper S intersection upper T equals upper T intersection upper Ss times t equals t times s3 times 4 equals 12 equals 4 times 3
upper S union upper T equals upper T union upper Ss plus t equals t plus s3 plus 4 equals 7 equals 4 plus 3
Associativityleft parenthesis upper S intersection upper T right parenthesis intersection upper U equals upper S intersection left parenthesis upper T intersection upper U right parenthesisleft parenthesis s times t right parenthesis times u equals s times left parenthesis t times u right parenthesisleft parenthesis 2 times 3 right parenthesis times 4 equals 6 times 4 equals 24 equals 2 times 12 equals 2 times left parenthesis 3 times 4 right parenthesis
left parenthesis upper S union upper T right parenthesis union upper U equals upper S union left parenthesis upper T union upper U right parenthesisleft parenthesis s plus t right parenthesis plus u equals s plus left parenthesis t plus u right parenthesisleft parenthesis 2 plus 3 right parenthesis plus 4 equals 5 plus 4 equals 9 equals 2 plus 7 equals 2 plus left parenthesis 3 plus 4 right parenthesis
Distributivityupper S union left parenthesis upper T intersection upper U right parenthesis equals left parenthesis upper S union upper T right parenthesis intersection left parenthesis upper S union upper U right parenthesisNo equivalent ruleAddition is not distributive over multiplication.
upper S intersection left parenthesis upper T union upper U right parenthesis equals left parenthesis upper S intersection upper T right parenthesis union left parenthesis upper S intersection upper U right parenthesiss times left parenthesis t plus u right parenthesis equals s times t plus s times u2 times left parenthesis 3 plus 4 right parenthesis equals 2 times 7 equals 14 equals 6 plus 8 equals 2 times 3 plus 2 times 4

The final two rules are important rules, but have no equivalent in terms of addition or multiplication. They are called De Morgan's laws.

  • The complement of the union of two sets equals the intersection of their complements, i.e. left parenthesis upper S union upper T right parenthesis Superscript complement Baseline equals upper S Superscript complement Baseline intersection upper T Superscript complement Baseline period
Figure 14

  • De Morgan's laws also state that the complement of the intersection of two sets equals the union of their complements, i.e. left parenthesis upper S intersection upper T right parenthesis Superscript complement Baseline equals upper S Superscript complement Baseline union upper T Superscript complement Baseline period
Figure 15

Again, you have already been familiar with these rules. This time not from arithmetic with numbers, but from logical statements involving the English words "not" (complement), "or" (union) as well as "and" (intersection).

De Morgan LawLogical equivalentExample
left parenthesis upper S union upper T right parenthesis Superscript complement Baseline equalsnot (S or T) = "Alice does not like shellfish or tuna." is equivalent to
upper S Superscript complement Baseline intersection upper T Superscript complement(not S) and (not T)"Alice does not like shellfish and she does not like tuna."
left parenthesis upper S intersection upper T right parenthesis Superscript complement Baseline equalsnot (S and T) ="Bob is not both short and tall." is equivalent to
upper S Superscript complement Baseline intersection upper T Superscript complement(not S) or (not T)"Bob is either not short or he is not tall."

Actually, all the rules we have seen so far, not just De Morgan's laws (including commutativity, associativity and distributivity) hold for logical statements involving "and" and "or".

So far we have defined all sets by listing their entries. We can also define sets by stating a property that lets us determine what is an element of the set. For example, the set S consisting of all number which are at least 1 can be written as StartSet x colon x greater than 1 EndSet.

Example 3

If we want the set to be comprised of all the numbers that are greater than 3, we have upper A equals StartSet x colon x greater than 3 EndSet period Similarly, if we want a set which consists of all the numbers that are smaller than 6, we have upper B equals StartSet x colon x less than 6 EndSet period Finally, upper C equals StartSet x colon 3 less than x less than 6 EndSet consists of all the numbers between 3 and 6.

As the sets upper A, upper B, and upper C are intervals it is easiest to illustrate them on the real line.

Figure 16

All intervals are infinite sets: they contain an infinite number of elements. The reason for this is the infinite resolution of the real numbers. Between any two real numbers lie an infinite number of other real numbers.

We will come back to intervals at the end of this section.

Example 4

Sets containing integers

Assume that set upper A equals left brace Positive integers less than 11 right brace.
We now look at two sets upper U and upper V, which are subsets of upper A: upper U consists of all multiples of 3 whereas upper V consists of all multiples of 2.

Let's first try to write down the elements of upper A. They are upper A equals StartSet 1 comma 2 comma 3 comma 4 comma 5 comma 6 comma 7 comma 8 comma 9 comma 10 EndSet period

Figure 17

Note that upper A is a finite set of integers, and not an interval.

The elements of upper U are the elements of upper A which are multiples of 3: upper U equals StartSet 3 comma 6 comma 9 EndSet

Figure 18

The elements of upper V are the elements of upper A which are multiples of 2: upper V equals StartSet 2 comma 4 comma 6 comma 8 comma 10 EndSet

Figure 19

The elements of the union upper U union upper V are those numbers which are multiples of 2 or 3: upper U union upper V equals StartSet 3 comma 6 comma 9 EndSet union StartSet 2 comma 4 comma 6 comma 8 comma 10 EndSet equals StartSet 2 comma 3 comma 4 comma 6 comma 8 comma 9 comma 10 EndSet

Figure 20

The elements of the intersection upper U intersection upper V are those numbers which are multiples of 2 and of 3: upper U intersection upper V equals StartSet 3 comma 6 comma 9 EndSet intersection StartSet 2 comma 4 comma 6 comma 8 comma 10 EndSet equals StartSet 6 EndSet

Figure 21

Bounded sets

A set upper S of real numbers is bounded above if there exists a real number upper H that is greater than or equal to every element of the set. That is, for some upper H we have x less than or equals upper H for all x element of upper S. The number upper H, if it exists, is called the upper bound of the set upper S.

A set of real numbers is bounded below if there exists a real number h that is less than or equal to every element of the set. That is, x greater than or equals h for all x element of upper S. The number h, if it exists, is called the lower bound of the set upper S.

A set that is bounded below and bounded above is called a bounded set.

Example 5

(a) The set of all real numbers double struck upper R is neither bounded below, nor bounded above. For every real number x we can think of, there is another real number (for example x plus 1), which is larger than it. Similarly, for every real number x we can think of there is another real number (for example x minus 1), which is smaller than it. (b) The set of all natural numbers double struck upper N equals StartSet 1 comma 2 comma ellipsis EndSet is bounded below, as all natural numbers n are greater or equal to 1. Just like the real numbers, double struck upper N is not bounded above. (c) Just like the real numbers, the set of all integers double struck upper Z equals StartSet ellipsis comma negative 2 comma negative 1 comma 0 comma 1 comma 2 comma ellipsis EndSet, is neither bounded below, nor bounded above. (d) The set StartSet StartFraction 1 Over n EndFraction vertical bar n element of double struck upper N EndSet, however, is both bounded above and bounded below. 0 is a lower bound for the set, and 1 is a upper bound for the set, as 0 less than StartFraction 1 Over n EndFraction less than or equals 1 comma for all n element of double struck upper N (e) The set StartSet x colon x greater than 2 EndSet is bounded below, but not bounded above.

Maximum and minimum

If a set upper S:

  • has a largest element upper M, we call upper M the maximum element of the set.

  • has a smallest element m, we call m the minimum element of the set.

Example 6

(a) The set of all real numbers double struck upper R, neither has a minimum, nor does it have a maximum. (b) The set of all natural numbers double struck upper N equals StartSet 1 comma 2 comma ellipsis EndSet has the minimum 1, as no natural numbers are less than 1. (c) The set of all integers double struck upper N equals StartSet ellipsis comma negative 2 comma negative 1 comma 0 comma 1 comma 2 comma ellipsis EndSet has neither minimum or maximum. (d) The set StartSet StartFraction 1 Over n EndFraction colon n element of double struck upper N Subscript greater than 0 Baseline EndSet is a very interesting case. We have just seen that it has a lower bound (0) and an upper bound (1). Whilst 1 is also its maximum, it has no minimum, despite having a lower bound. As n increases, StartFraction 1 Over n EndFraction is getting smaller and smaller, but it will never be exactly 0. (e) The set StartSet x colon x greater than 2 EndSet has no minimum either, despite having a lower bound (2). The lower bound 2 is not an element of the set. Note that this would be different if we looked at the set StartSet x colon x greater than or equals 2 EndSet. In that case, the lower bound 2 is an element of the set (as we have replaced the greater than sign by a greater than or equals sign), and hence 2 is the minimum of the set.

Can you see a relationship between the existence of bounds and of a minimum or maximum?

The general rules are:

  • Finite sets have a maximum if and only if they have an upper bound. Similarly, they have a minimum if and only if they have a lower bound.

  • Infinite sets are more complicated. If an infinite set has a minimum (maximum) then it also has a lower bound (upper bound), but the converse is not true. We have seen infinite sets that were bounded below but that did not have a minimum. Similarly, there can be infinite sets that are bounded above but do not have a maximum.

Intervals

If a and b are two real numbers, the set of all numbers that lie in between a and b is called an interval. An open interval does not contain its boundary points. The following is an open interval left parenthesis a comma b right parenthesis equals StartSet x element of double struck upper R colon a less than x less than b EndSet period

A closed interval contains its boundary points. The following is a closed interval left bracket a comma b right bracket equals StartSet x element of double struck upper R colon a less than or equals x less than or equals b EndSet period

Finally, we may have a half-open interval like left bracket a comma b right parenthesis equals StartSet x element of double struck upper R colon a less than or equals x less than b EndSet period

The intervals listed previously are all bounded. The following intervals are all unbounded.

left parenthesis a comma normal infinity right parenthesis equals StartSet x element of double struck upper R colon a less than x EndSet comma left bracket a comma normal infinity right parenthesis equals StartSet x element of double struck upper R colon a less than or equals x EndSet comma left parenthesis negative normal infinity comma b right parenthesis equals StartSet x element of double struck upper R colon x less than b EndSet comma left parenthesis negative normal infinity comma b right bracket equals StartSet x element of double struck upper R colon x less than or equals b EndSet period

The figure below illustrates the definition of these intervals.

Figure 22

Self help

Below is a list of resources you can access for additional reading.

Tasks

Task 11

Let the set upper A equals StartSet 1 comma 2 comma 5 comma 6 EndSet and upper B equals StartSet 2 comma 5 comma 6 comma 8 EndSet. Which of the following is true?

(a) upper A is a subset of upper B (b) upper B is a subset of upper A (c) upper A is a subset of upper B and upper B is a subset of upper A (d) Neither upper A is a subset of upper B nor upper B is a subset of upper A

Show answer

The correct answer is (d). Neither upper A is a subset of upper B nor is upper B a subset of upper A.

Task 12

For upper A equals StartSet 1 comma 2 comma 3 comma 5 EndSet and upper B equals StartSet 2 comma 4 comma 5 comma 9 EndSet, find upper A union upper B.

Show answer

upper A union upper B equals StartSet 1 comma 2 comma 3 comma 5 EndSet union StartSet 2 comma 4 comma 5 comma 9 EndSet equals StartSet 1 comma 2 comma 3 comma 4 comma 5 comma 9 EndSet

Functions

Introduction to functions

  • A function is a rule that associates a unique value with any element of a set. A function, f left parenthesis x right parenthesis, from a set upper A to a set upper B defines a rule that assigns for each x element of upper A a unique element f left parenthesis x right parenthesis element of upper B.
  • It can also be thought of as a rule that operates on an input x, sometimes called the argument of the function, and produces an output f left parenthesis x right parenthesis.
  • In order for a rule to be a function it must produce a single output for any given input. It is however possible that two (or more) inputs are mapped to the same output.
  • The set of all values that it "maps" from is called the domain.
  • The set of values it maps to is called the range. The mapping can be denoted as f left parenthesis x right parenthesis colon upper A right arrow upper B where upper A and upper B are the domain and the range of the function f left parenthesis x right parenthesis respectively.
Figure 23
Example 7

Suppose we want to have an output that is 3 times the input; we can define the function f left parenthesis x right parenthesis equals 3 x. In that case, we might also say that the input x can only take positive values. That refers to the domain of the function. To find the range of the function, we have to find what are all the possible outputs. Since we are always multiplying a positive number with the number 3 that means that we will always end up with a positive number. That is the range of the function. To check if this a function or not we can clearly see that for any specific value of x we will always get the same output (e.g. if x equals 3 then f left parenthesis 3 right parenthesis is always equal to 9). The value of the output is often called the value of the function.

Example 8

Let's consider the rule that maps temperature measurements from the Celsius scale to the Fahrenheit scale f left parenthesis x right parenthesis equals 1.8 x plus 32 where x is the Celsius measurement and f left parenthesis x right parenthesis the associated value in Fahrenheit.

So, if the temperature in Glasgow is 10 Celsius degrees and we want to find the equivalent temperature in Fahrenheit; we just need to find f left parenthesis 10 right parenthesis. Replacing x with the value 10 in the previous function will give us f left parenthesis 10 right parenthesis equals 50 Fahrenheit degrees.

In literature, it is common to use y instead of f left parenthesis x right parenthesis. It is just a different notation, nothing else changes.

Graphs are a convenient and widely used way of portraying functions. By inspecting a graph it is easy to describe a number of properties of the function being considered. For example, where is the function positive? and where is is negative? Is it increasing or decreasing?

In order to plot the graph you can start using different values for the argument x and then write down the values of the function f left parenthesis x right parenthesis. Afterwards, you can draw a pair of axes and connect all the previous left parenthesis x comma f left parenthesis x right parenthesis right parenthesis pairs.

x [Temperature in Celsius] f(x) [Temperature in Fahrenheit] 0 20 40 60 80 100 0 50 100 150 200
Figure 24

Standard classes of functions

  • Algebraic functions: are functions that can be expressed as the solution of a polynomial equation with integer coefficients. Some examples of polynomial functions are:

    • Constant function f left parenthesis x right parenthesis equals a,
    • Identity function f left parenthesis x right parenthesis equals x,
    • Linear function f left parenthesis x right parenthesis equals a x plus b,
    • Quadratic function f left parenthesis x right parenthesis equals a plus b x plus c x squared,
    • Cubic function f left parenthesis x right parenthesis equals a plus b x plus c x squared plus d x cubed.
  • Transcendental functions are functions that are not algebraic. Some examples are:

    • Exponential function f left parenthesis x right parenthesis equals e Superscript x,
    • Logarithmic function f left parenthesis x right parenthesis equals log left parenthesis x right parenthesis,
    • Trigonometric functions like f left parenthesis x right parenthesis equals minus 3 sine left parenthesis 2 x right parenthesis.

Example 9

Below are the graphs of six functions.

x f(x) -4 -2 0 2 4 -10 -5 0 5 10 Panel A x f(x) -4 -2 0 2 4 -10 -5 0 5 10 Panel B x f(x) -4 -2 0 2 4 -10 -5 0 5 10 Panel C f(x) -4 -2 0 2 4 -10 -5 0 5 10 Panel D f(x) -4 -2 0 2 4 -10 -5 0 5 10 Panel E f(x) -4 -2 0 2 4 -10 -5 0 5 10 Panel F
Figure 25

We will now try to match them to the following six functions:

StartLayout 1st Row 1st Column f left parenthesis x right parenthesis equals 2 plus 3 x 2nd Column Blank 3rd Column f left parenthesis x right parenthesis equals StartFraction x squared Over 3 EndFraction 4th Column Blank 5th Column f left parenthesis x right parenthesis equals StartFraction x squared Over 3 EndFraction minus 4 2nd Row 1st Column f left parenthesis x right parenthesis equals 5 sine left parenthesis 2 x right parenthesis 2nd Column Blank 3rd Column f left parenthesis x right parenthesis equals StartFraction x cubed Over 15 EndFraction 4th Column Blank 5th Column f left parenthesis x right parenthesis equals 5 EndLayout

  • The function at the top-left (Panel A) is a parabola. Two functions of the functions listed above are also parabolae, so we need to find out which one is which. We can see from the plot that f(0)=0, hence this must be f left parenthesis x right parenthesis equals StartFraction x squared Over 3 EndFraction.
  • The function to its right (Panel B) is constant, and the only constant function is f left parenthesis x right parenthesis equals 5.
  • The function at the top-right (Panel C) is a linear function with a positive slope (i.e. the function increases as x is increasing), i.e. it must be f left parenthesis x right parenthesis equals 2 plus 3 x.
  • The function at the bottom-left (Panel D) is another parabola, this time with f left parenthesis 0 right parenthesis less than 0. Hence, it must be f left parenthesis x right parenthesis equals StartFraction x squared Over 3 EndFraction minus 4.
  • The function to its right (Panel E) is an oscillating function, so it must be the trigonometric function f left parenthesis x right parenthesis equals 5 sine left parenthesis 2 x right parenthesis.
  • The function at the bottom-right (Panel F) is a non-linear odd function, i.e. it satisfies f left parenthesis negative x right parenthesis equals minus f left parenthesis x right parenthesis. Hence it must be f left parenthesis x right parenthesis equals StartFraction x cubed Over 15 EndFraction.

Inverse of a function

We have seen that a function can be regarded as taking an input x, and processing it in some way to produce a single output f left parenthesis x right parenthesis. A natural question is whether we can find a function that will reverse the process. If we can find such a function it is called an inverse function to f left parenthesis x right parenthesis and is given the symbol f Superscript negative 1 Baseline left parenthesis x right parenthesis. Do not confuse the negative 1 with an index or a power. Here, the superscript is used purely as the notation for the inverse function.

To find the inverse of a function you can:

  1. Replace f left parenthesis x right parenthesis with y (this will make the rest of the process easier).

  2. Replace every x with a y and replace every y with an x.

  3. Solve the equation from Step 2 for y, and finally

  4. replace y with f Superscript negative 1 Baseline left parenthesis x right parenthesis.

Can you find the inverse of the function f left parenthesis x right parenthesis equals 1.8 x plus 32 where x is the Celsius measurement and f left parenthesis x right parenthesis the associated value in Fahrenheit?

(Hint: You will have to end up with a function where the input x is the Fahrenheit measurement and f left parenthesis x right parenthesis is the associated value in Celsius.)

A function f left parenthesis x right parenthesis, defined on domain upper A, is one-to-one if f left parenthesis x right parenthesis never has the same value for two distinct points in upper A. This means that if we choose two different values x 1 and x 2 such that x 1 not equals x 2; then we will have f left parenthesis x 1 right parenthesis not equals f left parenthesis x 2 right parenthesis. Functions such as f left parenthesis x right parenthesis equals x squared do not possess an inverse since there are two values of x associated with each f left parenthesis x right parenthesis (e.g. if we use x 1 equals 1 and x 2 equals negative 1 we have that f left parenthesis x 1 right parenthesis equals f left parenthesis x 2 right parenthesis). Note that every one-to-one function has an inverse.

Tasks

Task 13

Consider the function defined as f left parenthesis x right parenthesis equals x squared minus StartFraction 6 Over x EndFraction, x not equals 0. Find f left parenthesis 3 right parenthesis.

Show answer

f left parenthesis 3 right parenthesis equals 3 squared minus six thirds equals 9 minus 2 equals 7 period

Task 14

If f left parenthesis x right parenthesis equals StartRoot x minus 6 EndRoot (for x greater than 6), show that f Superscript negative 1 Baseline left parenthesis x right parenthesis equals x squared plus 6.

Show answer

We could find the inverse by solving f left parenthesis x right parenthesis equals y for x, but it is easier to show that f Superscript negative 1 Baseline left parenthesis f left parenthesis x right parenthesis right parenthesis equals x, i.e. applying the function f Superscript negative 1 Baseline left parenthesis x right parenthesis "undoes" the effect of applying the function f left parenthesis x right parenthesis.

f Superscript negative 1 Baseline left parenthesis f left parenthesis x right parenthesis right parenthesis equals f left parenthesis x right parenthesis squared plus 6 equals left parenthesis StartRoot x minus 6 EndRoot right parenthesis squared plus 6 equals x minus 6 plus 6 equals x

Similarly,

f left parenthesis f Superscript negative 1 Baseline left parenthesis x right parenthesis right parenthesis equals StartRoot f Superscript negative 1 Baseline left parenthesis x right parenthesis minus 6 EndRoot equals StartRoot x squared plus 6 minus 6 EndRoot equals x

(Note that x greater than 6, i.e. we know that x cannot be negative.)

Task 15

If f left parenthesis x right parenthesis equals StartFraction x plus 10 Over 3 x EndFraction (for x not equals 0), then for what value x is f left parenthesis x right parenthesis equals y? (i.e. solve f left parenthesis x right parenthesis equals y for x)

Show answer

VideoVideo model answers for partDuration1:17

If

y equals f left parenthesis x right parenthesis equals StartFraction x plus 10 Over 3 x EndFraction comma

then this is (assuming that x not equals 0) equivalent to

y times 3 x equals x plus 10

We can now bring all terms involving x to the left-hand side and keep all terms not involving x on the right-hand side, giving

3 x y minus x equals 10

We can now pull out the common factor of x on the left-hand side, giving

x left parenthesis 3 y minus 1 right parenthesis equals 10

Dividing both sides by 3 y minus 1 gives

x equals StartFraction 10 Over 3 y minus 1 EndFraction

Task 16

Find the inverse of the following functions,

(a) f left parenthesis x right parenthesis equals 8 x plus 1 (b) f left parenthesis x right parenthesis equals StartFraction 2 x minus 7 Over x EndFraction \ where \ x not equals 0 (c) h left parenthesis x right parenthesis equals RootIndex 3 StartRoot 6 x minus 12 EndRoot plus 1

Show answer

VideoVideo model answers for part (a)Duration1:01VideoVideo model answers for part (c)Duration2:11

(a) StartFraction x minus 1 Over 8 EndFraction (b) StartFraction 7 Over 2 minus x EndFraction (c) StartFraction left parenthesis x minus 1 right parenthesis cubed plus 12 Over 6 EndFraction

Self help

Exponents and logarithms

Introduction to exponents

An exponent is another name for a power (or an index). Expressions involving exponents are called exponential expressions. For example, consider any positive real number a. We define the exponential function to base a as f left parenthesis x right parenthesis equals a Superscript x.

Sometimes the irrational number e almost equals 2.718 is used as the base for the exponential function (called as the natural exponential function). In that case we have f left parenthesis x right parenthesis equals exp left parenthesis x right parenthesis equals e Superscript x. The domain of the function is all the real numbers double struck upper R (this can be also written as left parenthesis negative normal infinity comma normal infinity right parenthesis while the range of the function is only the positive real numbers x greater than 0.

The figure below shows the graph of the natural exponential function for x element of left bracket negative 3 comma 3 right bracket.

x f(x)= e x -3 -2 -1 0 1 2 3 0 5 10 15 20
Figure 26

Since the exponential function is monotonic it has an inverse. Its inverse function is the natural logarithm, but more on that later.

Some properties of the exponential function can be seen from the figure:

  1. As x becomes large and positive, e Superscript x increases without bound. We express this mathematically as e Superscript x Baseline right arrow normal infinity as x right arrow normal infinity (the symbol right arrow reads "goes to" and the symbol normal infinity refers to infinity).

  2. As x becomes large and negative, e Superscript x approaches 0. We write e Superscript x Baseline right arrow 0 as x right arrow negative normal infinity.

  3. The function e Superscript x is never negative.

The property that e Superscript x increases as x increases is referred to as exponential growth.

Laws of exponents

The laws of indices and the rules of algebra apply to exponential expressions.

  • e Superscript 0 Baseline equals 1

  • e Superscript m Baseline e Superscript n Baseline equals e Superscript m plus n

  • StartFraction e Superscript m Baseline Over e Superscript n Baseline EndFraction equals e Superscript m minus n

  • e Superscript negative m Baseline equals StartFraction 1 Over e Superscript m Baseline EndFraction

  • left parenthesis e Superscript m Baseline right parenthesis Superscript n Baseline equals e Superscript m n

Introduction to logarithms

Logarithms are an alternative way of writing expressions that involve powers, or indices.

Consider the expression 36 equals 6 squared. Remember that 6 is the base and 2 is the power. Another way to write this expression is log Subscript 6 Baseline left parenthesis 36 right parenthesis equals 2 and is stated as "log to base 6 of 36 is 2". We see that the logarithm, 2, is the same as the power in the original expression. The base in the original expression is the same as the base of the logarithm.

The two statements 36 equals 6 squared log Subscript 6 Baseline left parenthesis 36 right parenthesis equals 2 are equivalent. If we write one of them, we are automatically implying the other.

In general, if a is a positive constant and upper N equals a Superscript x then log Subscript a Baseline left parenthesis upper N right parenthesis equals x. The number a is called the base of the logarithm. In practice most logarithms are to the base 10 or e. The latter logarithms, to base e, are called natural logarithms and are usually denoted by ln or log (without a subscript, though some use log to refer to the logarithm with base 10, which we will denote by log base 10 left parenthesis x right parenthesis).

We define the logarithmic function to base a as f left parenthesis x right parenthesis equals log Subscript a Baseline left parenthesis x right parenthesis. If we use e as the base we then have the natural logarithmic function that we write as f left parenthesis x right parenthesis equals log Subscript e Baseline left parenthesis x right parenthesis identical to log left parenthesis x right parenthesis identical to ln left parenthesis x right parenthesis. We can see the results of plotting the graphs of the logarithmic (with base 10) and the natural logarithmic function for x element of left bracket 0 comma 3 right bracket in the figure below.

x f(x)= e x ln ( x ) = log ( x ) = l o g e ( x ) lg ( x ) = l o g 10 ( x ) 0.0 0.5 1.0 1.5 2.0 2.5 3.0 -2 -1 0 1
Figure 27

Some properties of the logarithmic function can be seen from the figure:

  1. As x increases, both log base 10 left parenthesis x right parenthesis and ln left parenthesis x right parenthesis increase indefinitely. We write this mathematically as log base 10 left parenthesis x right parenthesis right arrow normal infinity as x right arrow normal infinity, ln left parenthesis x right parenthesis right arrow normal infinity as x right arrow normal infinity.

  2. As x approaches 0 both log base 10 left parenthesis x right parenthesis and ln left parenthesis x right parenthesis approach minus infinity. We express this as log base 10 left parenthesis x right parenthesis right arrow negative normal infinity as x right arrow 0, ln left parenthesis x right parenthesis right arrow negative normal infinity as x right arrow 0.

  3. The value for both functions is 0 when the argument x takes the value 1.

  4. Both functions are not defined when x is negative or zero. The domain of the function is all the positive real numbers, x greater than 0, while the range of the function is all real numbers double struck upper R.

Laws of logarithms

Just as expressions involving indices can be simplified using appropriate laws, so expressions involving logarithms can be simplified using the laws of logarithms. These laws hold true for any base. However it is essential that the same base is used throughout an expression before the laws can be applied.

  • log Subscript a Baseline left parenthesis 1 right parenthesis equals 0

  • log Subscript a Baseline left parenthesis m n right parenthesis equals log Subscript a Baseline left parenthesis m right parenthesis plus log Subscript a Baseline left parenthesis n right parenthesis

  • log Subscript a Baseline left parenthesis StartFraction m Over n EndFraction right parenthesis equals log Subscript a Baseline left parenthesis m right parenthesis minus log Subscript a Baseline left parenthesis n right parenthesis

  • log Subscript a Baseline left parenthesis StartFraction 1 Over m EndFraction right parenthesis equals minus log Subscript a Baseline left parenthesis m right parenthesis

  • log Subscript a Baseline left parenthesis m Superscript n Baseline right parenthesis equals n log Subscript a Baseline left parenthesis m right parenthesis

Tasks

Task 17

Write the following using logarithms:

(a) 32 equals 2 Superscript 5 (b) 4 cubed equals 64 (c) 10 squared equals 100 (d) 0.001 equals 10 Superscript negative 3 (e) e Superscript negative 1.3 Baseline equals 0.2725

Show answer

VideoVideo model answers for partDuration0:55

(a) log Subscript 2 Baseline 32 equals 5 (b) log Subscript 4 Baseline 64 equals 3 (c) log Subscript 10 Baseline 100 equals 2 (d) log Subscript 10 Baseline 0.001 equals negative 3 (e) ln 0.2725 equals negative 1.3

Task 18

Write the following using indices:

(a) log Subscript 5 Baseline left parenthesis 625 right parenthesis equals 4 (b) log Subscript 2 Baseline left parenthesis 256 right parenthesis equals 8 (c) ln left parenthesis 17 right parenthesis equals 2.83

Show answer

VideoVideo model answers forDuration0:50

(a) 5 Superscript 4 Baseline equals 625 (b) 2 Superscript 8 Baseline equals 256 (c) e Superscript 2.83 Baseline equals 17


Task 19

Evaluate ln left parenthesis StartFraction 1 Over StartRoot e EndRoot EndFraction right parenthesis

Show answer

VideoVideo model answers forDuration0:51

ln left parenthesis StartFraction 1 Over StartRoot e EndRoot EndFraction right parenthesis equals ln left parenthesis e Superscript negative one half Baseline right parenthesis equals minus one half ModifyingBelow ln left parenthesis e right parenthesis With bottom brace Underscript equals 1 Endscripts equals negative one half

Task 20

Evaluate log Subscript 10 Baseline left parenthesis StartFraction 1 Over 1000 EndFraction right parenthesis

Show answer

log Subscript 10 Baseline left parenthesis StartFraction 1 Over 1000 EndFraction right parenthesis equals log Subscript 10 Baseline left parenthesis 10 Superscript negative 3 Baseline right parenthesis equals minus 3 ModifyingBelow log Subscript 10 Baseline left parenthesis 10 right parenthesis With bottom brace Underscript equals 1 Endscripts equals negative 3

Task 21

If ln left parenthesis x right parenthesis - ln left parenthesis 4 right parenthesis = 0, then what value does x take?

Show answer

Using that ln left parenthesis x right parenthesis minus ln left parenthesis 4 right parenthesis equals ln left parenthesis StartFraction x Over 4 EndFraction right parenthesis, the statement is equivalent to

ln left parenthesis StartFraction x Over 4 EndFraction right parenthesis equals 0

Exponentiating both sides gives

StartFraction x Over 4 EndFraction equals 1 comma

yielding

x equals 4 period

Task 22

Simplify one half left parenthesis 2 ln left parenthesis 3 right parenthesis minus 2 ln left parenthesis 7 right parenthesis right parenthesis.

Show answer

VideoVideo model answers forDuration0:38

one half left parenthesis 2 ln left parenthesis 3 right parenthesis minus 2 ln left parenthesis 7 right parenthesis right parenthesis equals ln left parenthesis 3 right parenthesis minus ln left parenthesis 7 right parenthesis equals ln left parenthesis three sevenths right parenthesis

Self help

Quadratic Equations

Quadratic Functions

We will take a closer look at quadratics, which are polynomials of degree 2. You may come across quadratics in different forms, such as:

  • an expression a x squared plus b x plus c
  • a function f left parenthesis x right parenthesis equals a x squared plus b x plus c
  • an equation a x squared plus b x plus c equals 0
  • etc.

where a, b and c are constants and a not equals 0

Solving Quadratic Equations

These can be solved by factorising, using the quadratic formula or by completing the square. We will focus on the first two methods only.

Solving quadratic equations by factorising:

To solve a quadratic equation a x squared plus b x plus c equals 0, let's first start by factorising a x squared plus b x plus c. To do this we need to find two numbers, alpha and beta, that multiply to give us c (i.e., factors of c) and add to give us b so that we end up with:

a x squared plus b x plus c equals left parenthesis x plus alpha right parenthesis left parenthesis x plus beta right parenthesis

It's easier to illustrate this using an example.

Example 10

Suppose we wish to solve the equation x squared plus 4 x plus 3 equals 0

We first start by factorising x squared plus 4 x plus 3. Two numbers that multiply to give 3 and add to give 4, are 1 and 3.

So we have: x squared plus 4 x plus 3 equals left parenthesis x plus 3 right parenthesis left parenthesis x plus 1 right parenthesis

The original equation can be rewritten in terms of the product of the factors:

StartLayout 1st Row 1st Column x squared plus 4 x plus 3 2nd Column equals 3rd Column 0 2nd Row 1st Column left parenthesis x plus 3 right parenthesis left parenthesis x plus 1 right parenthesis 2nd Column equals 3rd Column 0 EndLayout

We now have two factors, left parenthesis x plus 3 right parenthesis and left parenthesis x plus 1 right parenthesis multiplying together to give us 0. If we multiply two (or more) factors and get a zero result, then we know that at least one of the factors is itself equal to zero. So we have: StartLayout 1st Row 1st Column x plus 3 equals 0 2nd Column or x plus 1 equals 0 2nd Row 1st Column so x equals negative 3 2nd Column or x equals negative 1 EndLayout

x equals negative 1 and x equals negative 3 are called the roots of the quadratic equation x squared plus 4 x plus 3 equals 0.

Visually, finding the roots of a quadratic corresponds to finding the intersections of the graph of the quadratic function f left parenthesis x right parenthesis equals x squared plus 4 x plus 3 with the x-axis.

x f(x)= x 2 + 4 x + 3 -5 -4 -3 -2 -1 0 1 0 2 4 6 8
Figure 28

Let's try a few more examples.

Example 11

Solve x squared plus 2 x minus 8 equals 0.

In this example we note that the second sign is negative, which means that the signs in the brackets must be different (unlike the previous example where the signs in both brackets were positive).

The pairs of numbers multiplying to give 8 are 1 comma 8 or 2 comma 4.

Since the numbers add to give plus 2, we go with plus 4 and negative 2.

So x squared plus 2 x minus 8 equals 0 factorises to give

left parenthesis x plus 4 right parenthesis left parenthesis x minus 2 right parenthesis equals 0

This means that:

StartLayout 1st Row 1st Column Blank 2nd Column Blank 3rd Column x plus 4 4th Column equals 0 5th Column Blank 6th Column or 7th Column x minus 2 8th Column equals 0 2nd Row 1st Column Blank 2nd Column so 3rd Column x 4th Column equals negative 4 5th Column Blank 6th Column or 7th Column x 8th Column equals 2 EndLayout

Example 12

Solve x squared minus 16 x plus 15 equals 0.

We note that the numbers in the brackets should multiply to give plus 15, which means both numbers should be positive or both should be negative.

The pairs of numbers multiplying to give 15 are 1 comma 15 or 3 comma 5.

Since the numbers add to give negative 16, we choose negative 1 and negative 15.

So x squared minus 16 x plus 15 equals 0 factorises to give

left parenthesis x minus 1 right parenthesis left parenthesis x minus 15 right parenthesis equals 0

This means that:

StartLayout 1st Row 1st Column Blank 2nd Column Blank 3rd Column x minus 1 4th Column equals 0 5th Column Blank 6th Column or 7th Column x minus 15 8th Column equals 0 2nd Row 1st Column Blank 2nd Column so 3rd Column x 4th Column equals 1 5th Column Blank 6th Column or 7th Column x 8th Column equals 15 EndLayout

Example 13

Solve x squared minus 2 x minus 24 equals 0

Here we note that the numbers in the brackets should multiply to give negative 24. The pairs of numbers multiplying to give 24 are 1 comma 24; 2 comma 12; 3 comma 8 or 4 comma 6.

Since the numbers add to give negative 2, we choose negative 6 and plus 4. So x squared minus 2 x minus 24 equals 0 factorises to give

left parenthesis x minus 6 right parenthesis left parenthesis x plus 4 right parenthesis equals 0

This means that:

StartLayout 1st Row 1st Column Blank 2nd Column Blank 3rd Column x minus 6 4th Column equals 0 5th Column Blank 6th Column or 7th Column x plus 4 8th Column equals 0 2nd Row 1st Column Blank 2nd Column so 3rd Column x 4th Column equals 6 5th Column Blank 6th Column or 7th Column x 8th Column equals negative 4 EndLayout

Example 14

Solve x squared minus 8 x plus 16 equals 0 The pairs of numbers multiplying to give 16 are 1 comma 16; 2 comma 8 and 4 comma 4. We go with negative 4 comma negative 4 since they multiply to give plus 16 and add to give negative 8.

So x squared minus 8 x plus 16 equals 0 factorises to give

left parenthesis x minus 4 right parenthesis left parenthesis x minus 4 right parenthesis equals 0

This means that:

StartLayout 1st Row 1st Column x minus 4 2nd Column equals 0 3rd Column Blank 4th Column and 5th Column x 6th Column equals 4 EndLayout

Here we have an example of repeated roots. Visually, this corresponds to the graph of the quadratic function f left parenthesis x right parenthesis equals x squared minus 8 x plus 16 touching (but not intersecting) the x-axis at the repeated root.

x f(x)= x 2 84 x + 16 0 2 4 6 8 0 5 10 15
Figure 29

Using the Quadratic Formula

Many quadratic equations cannot be solved by factorisation easily, sometimes because they do not have simple factors. The way round this is to use the quadratic formula. The solution of an equation a x squared plus b x plus c equals 0 is given by:

x equals StartFraction negative b plus or minus StartRoot b squared minus 4 a c EndRoot Over 2 a EndFraction

The symbol plus or minus means that the square root has a positive and a negative value, both of which must be used in solving for x.

Let's try out an example that cannot be easily factorised.

Example 15

Solve 5 x squared minus 11 x minus 4 equals 0.

We substitute a equals 5, b equals negative 11 and c equals negative 4 into the quadratic formula and get:

StartLayout 1st Row 1st Column x 2nd Column equals StartFraction minus left parenthesis negative 11 right parenthesis plus or minus StartRoot left parenthesis negative 11 right parenthesis squared minus 4 left parenthesis 5 right parenthesis left parenthesis negative 4 right parenthesis EndRoot Over 2 left parenthesis 5 right parenthesis EndFraction 2nd Row 1st Column Blank 2nd Column equals StartFraction 11 plus or minus StartRoot 201 EndRoot Over 10 EndFraction EndLayout

Here we have x equals 2.52 or negative 0.32 to 2d.p.

Task 23

Have a go at some of these questions, using the quadratic formula if needed and rounding to 2d.p. if appropriate:

(a) x squared plus 12 x minus 13 equals 0

(b) x squared plus 2 x plus 1 equals 0

(c) x squared minus x minus 42 equals 0

(d) 3 x squared minus 8 x plus 5 equals 0

(e) x squared minus 6 x plus 3 equals 0

Show answer

The answers to the first two parts are:

(a) Using the quadratic formula with a equals 1, b equals 12 and c equals negative 13

StartLayout 1st Row 1st Column r c l x 2nd Column equals StartFraction negative 12 plus or minus StartRoot 12 squared minus 4 left parenthesis 1 right parenthesis left parenthesis negative 13 right parenthesis EndRoot Over 2 left parenthesis 1 right parenthesis EndFraction 2nd Row 1st Column Blank 2nd Column equals StartFraction negative 12 plus or minus StartRoot 196 EndRoot Over 2 EndFraction 3rd Row 1st Column Blank 2nd Column equals negative 6 plus or minus 7 comma EndLayout

so we have x equals negative 13 and 1.

We could have also factorised x squared plus 12 x minus 13 equals left parenthesis x minus 1 right parenthesis left parenthesis x plus 13 right parenthesis (as negative 1 plus 13 equals 12 and negative 1 times 13 equals negative 13), immediately revealing the roots.

(b) Using the quadratic formula with a equals 1, b equals 2 and c equals 1

StartLayout 1st Row 1st Column x 2nd Column equals StartFraction negative 2 plus or minus StartRoot 2 squared minus 4 left parenthesis 1 right parenthesis left parenthesis 1 right parenthesis EndRoot Over 2 left parenthesis 1 right parenthesis EndFraction 2nd Row 1st Column Blank 2nd Column equals StartFraction negative 2 plus or minus StartRoot 0 EndRoot Over 2 EndFraction 3rd Row 1st Column Blank 2nd Column equals negative 1 plus or minus 0 EndLayout

so we have a repeated root at x equals negative 1.

We could have also factorised x squared plus 2 x plus 1 equals left parenthesis x plus 1 right parenthesis squared (as 1 plus 1 equals 2 and 1 times 1 equals 1), immediately revealing the repeated root.

The answers to the other parts are:

(c) x equals negative 6 or x equals 7. (d) x equals five thirds almost equals 1.67 or x equals 1. (e) x equals 3 minus StartRoot 6 EndRoot almost equals 0.55 or x equals 3 plus StartRoot 6 EndRoot almost equals 5.45.

For a quadratic equation a x squared plus b x plus c equals 0, left parenthesis b squared minus 4 a c right parenthesis is called the discriminant.

  • If left parenthesis b squared minus 4 a c right parenthesis greater than 0, the roots are real and distinct;
  • If left parenthesis b squared minus 4 a c right parenthesis equals 0, the roots are real and repeated;
  • If left parenthesis b squared minus 4 a c right parenthesis less than 0, the roots are complex;

This last option takes us into the realm of Complex Numbers. For example, consider the quadratic

x squared plus 1 equals 0

This means that x squared equals negative 1.

At this point, one would say that as we cannot find the square root of a negative number, this problem cannot be solved. However, a way to overcome this issue is that we define an imaginary number i as

i equals StartRoot negative 1 EndRoot

and this allows us to now find x. Bearing in mind that i equals StartRoot negative 1 EndRoot (or that i squared equals negative 1 right parenthesis, we can say that

x equals plus or minus i

Numbers formed by combining the imaginary number i with real numbers are called complex numbers. These numbers take the form x plus i y where x is the real part and y is the imaginary part; x and y are real numbers and i equals StartRoot negative 1 EndRoot is the imaginary number.

Example 16

Consider the quadratic x squared plus 4 x plus 5 equals 0.

If we draw the function we can see that its minimum lies above the x-axis, i.e. it never intersects the x-axis.

x f(x)= x 2 + 4 x + 5 -5 -4 -3 -2 -1 0 1 0 2 4 6 8 10
Figure 30

Using the quadratic formula, we get: StartLayout 1st Row 1st Column x 2nd Column equals StartFraction negative 4 plus or minus StartRoot left parenthesis 4 right parenthesis squared minus 4 left parenthesis 1 right parenthesis left parenthesis 5 right parenthesis EndRoot Over 2 left parenthesis 1 right parenthesis EndFraction 2nd Row 1st Column Blank 2nd Column equals StartFraction negative 4 plus or minus StartRoot negative 4 EndRoot Over 2 EndFraction 3rd Row 1st Column Blank 2nd Column equals StartFraction negative 4 plus or minus 2 i Over 2 EndFraction 4th Row 1st Column Blank 2nd Column equals negative 2 plus or minus 2 i EndLayout

Notice that the roots have the same real part and different signs on the imaginary part. We call these conjugate pairs.

Self help