Functions

MATH1051

 

2.1 Definition: Function, Domain, Range

Let and be subsets of . A function is a rule which assigns to every element exactly one element called the value of at . Here is called the domain of and

is called the range of , also written range.

The range of , , is a subset of . The range is the set of all possible values of as varies throughout the domain. Note that is not necessarily equal to all of .

2.2 Graphs

We can represent a function by drawing its graphs which is the set of all points in a plane where .

2.3 Convention (Domain)

An expression like “the function ” means the function with . When the domain is not specified it is taken to be the largest subset of on which the rule is defined (and gives a real output). In this example, the domain would be .

2.4 Vertical line Test

Not every curve represents the graph of a function. The crucial function property states that for each value in the domain there must correspond exactly one value in the range. Thus in the graph of a function, any vertical line constant must cut the graph in at most one point.

The graph for the circle , we can say that the vertical line intersects the circle at two points. In this case, the two values are given by . Therefore does not give rise to a function on any domain intersecting .

2.5 Exponential Functions

An exponential function is one of the form , where the base us a positive constant, and is said to be the exponent or power. One very common exponential function which we shall see often in this course is given by . It cuts the axis at

---
title: Exponential Function
xLabel: 
yLabel: 
bounds: [-10,10,-10,10]
disableZoom: true
grid: true
---
f(x)=2^x

Exponential functions are very useful for modelling many natural phenomena such as population growth (base ) and radioactive decay (base ).

2.7 One-to-one Functions

A function is said to be one-to-one or injective if .

On the graph of , the 1-1 property holds exactly if any horizontal line constant cuts through the curve in at most one place.

If one corresponds to another , then it is not one-to-one. Similarly, if corresponds to another of the same value, then the function is not one-to-one.

2.7.1 Example

If the value of the function :

---
title: 
xLabel: 
yLabel: 
bounds: [-10,10,-10,10]
disableZoom: false
grid: true
---
y=x^2+3

Then this is not a one-to-one function. This is because it does pass the vertical line test (with one corresponding to one only), but it does not pass the horizontal line test (for example, yield the same value (with )).

On the other hand, for example, :

---
title: 
xLabel: 
yLabel: 
bounds: [-10,10,-10,10]
disableZoom: false
grid: true
---
y=exp(2x)

2.8 Inverse Functions

Let be a 1-1 function. For each the range of , there is a unique with . Define the inverse function by that unique with . So

The inverse function reverses the direction of the mapping.

2.9 How to Find

To find solve for in terms of .

---
title: 
xLabel: 
yLabel: 
bounds: [-10,10,-10,10]
disableZoom: true
grid: true
---
f(x)=(2x-5)^(1/3)

2.10 Logarithms

Logarithms are the inverse functions of the exponential functions.

---
title: Logarithmic Function
xLabel: 
yLabel: 
bounds: [-4,4,-1,10]
disableZoom: true
grid: true
---
y=2^x
y=3^x
y=4^x

Three plots of . (Green = ) (Red = ) (Blue = )

From the graph of ( a positive constant), we see that it is 1-1 and thus has an inverse, denoted . From this definition we have the following facts:

2.11 Natural Logarithm

Now we set (Euler’s number ) The inverse function of is:

---
title: Graphs of natural logarithm and its inverse
xLabel: 
yLabel: 
bounds: [-3,6,-3,6]
disableZoom: true
grid: true
---
y=exp(x)
y=log(x)

2.12 Inverse Trigonometric Functions

The function is 1-1 if we just define it over the interval . The inverse function for this part of is denoted . Thus is defined on the interval and takes values in the range . The graph can easily be obtained by reflecting the graph of about the line over the appropriate interval.

Similarly is 1-1 on the interval and its inverse function is denoted . The function is defined on and takes values in the range .

Also, is 1-1 on the open interval with inverse function denoted by . Hence has the domain with values in the range .

---
title: 
xLabel: 
yLabel: 
bounds: [-10,10,-10,10]
disableZoom: false
grid: true
---
f^(-1)(x)=(exp(x)/(1+2*exp(x)))