A-level Mathematics/OCR/C3/Algebraic Functions

From testwiki
Jump to navigation Jump to search

Functions

Notation

Here is the notation that is used when dealing with mapping questions.

{} means a set of ...

E.g. {x:x2} means a set of x where x is bigger than or equal to 2.

f:XY means the function f maps the set X is mapped into the set Y. Another way to write this is f(x)=x.

- Natural Numbers – e.g. {1,2,3,. ..}

- Integers – e.g. {...−2,−1,0,1,2,. ..}

- Fractions (of rational numbers)

- Real Numbers, including rational and irrational numbers but not complex numbers such as 1

Irrational numbers have no general symbol – their notation is specific - e.g. {π e x}

Definitions

Mapping: a rule connecting two sets of items.

Object/Input: an item in the starting set.

Image/Output: an item in the finishing set.

Domain: the set of all objects.

Co-domain: set of all possible finishing values.

Range: elements from the co-domain that are actually used.

Different Mappings

1) unique x unique y(1:1 or injective mapping)

2) several x unique y(many:one mapping)

3) unique x several y(one:many mapping)

4) several x several y(many:many mapping)

NB: A function can only be a 1:1 (injective) or many:one mapping.

Basic Properties

A function relates each of its inputs to exactly one output. If there are ever two outputs the formula it is not a function. For example y=x2 is a function because every x has only one output, but y2=x is not a function because every x can have two values, for example 4 = 22 and 22 so x can be 2 or -2. Graphs of circles (and similar shapes) represent many:many mappings and so they are not functions. You can determine if a graph is a function by using the vertical line test. This test states that a graph is a function if and only if any vertical line drawn will intersect the graph only once. There are four ways to represent a function:

1)A Formula

2)A Graph

3)A Table

4)Verbally

Domain and Range

Every function has a domain and range. The domain is the set of the input values. The range is the set of the output values. Remember if there is a reflection or translation in the function, there will be a reflection or translation in either one or both the domain and range. In example:

The domain of f(x)=+x is [0,) and the range is [0,) but the domain of f(x)=x+6 is [6,) and the range is [0,). See [[../../C1/Coordinate Geometry and Graphs#Stretching|Reflection Rule 1 and Translation Rule 2]].

Domain

The domain of a function is generally all with these three notable exceptions: 1) If x is in the denominator, the point at which the denominator is zero is not in the domain, E.g

f(x)=xx1 the domain will be all except for 1.

2) If the exponent is less than zero and an even quantity, the domain will be [0,), E.g

x the domain will be [0,) but x3 will be all .

3) In a piecewise function the domain will be restricted by the definition, E.g

f(x)={x,if x5x2,if 5<x<10 The domain of x2 will be (5,10).

Range

There is one simple rule to remember for range. All even functions have a range of [0,) and odd functions have a range of all .

Piecewise Functions

A piecewise function is a function that is given by different expressions on different intervals. The graph of

f(x)={x2,if x<2(x3)2+9,if x2

is shown on the right. The open circle indicates that the point is not included on the graph and the closed circle indicates that the point is included on the graph. So

f(2)

= 8 not 4.

One-One Function

A one-one function must have a unique output for every input. In example f(x)=x2 will not be one-one because the inputs -2 and 2 will both produce the output 4, but f(x)=x3 will be one-one because every input will produce a unique output, f(-2)= -8 and f(2)=8. You can determine if a graph is one-one by using the horizontal line test. This test states that a function is one-one if and only if any horizontal line drawn will intersect the graph only once.

Inverse Function

The inverse of the function will produce the input value for the output value of the function. A function must be one-one in order for the inverse of the function to exist. To illustrate this mathematically: f(x)=y and f1(y)=x. Also the composition of the inverse and the function will produce x: ff1(x)=f1f(x)=x. An illustration involving apples and lemons can be found below. The original functions turns apples into lemons and the inverse function turns lemons into apples.

To find the inverse of a function.

1)Solve the equation in terms of x

2)Switch y with x.

3)Write in the notation f1(x)

In Example find the inverse of f(x)=x1x+2.

1) y=x1x+2yx+2y=x1yxx=2y1x=2y1y1

2)y=2x1x1

3)f1(x)=2x1x1

You can test this out now f(2)=14 and f1(14)=2.

Graphical Representation of One-One Functions

When we graph an inverse of a one-one function we simply have to switch the x and y co-ordinates:(x,y) becomes (y,x). The co-ordinate (5,7) will be (7,5) on the inverse graph. The graph will be a reflection through the line y=x. In the example on the right the red line is the graph of f(x)=x3 and the green line is the graph of f1(x)=x3.

Composition of Functions

The mathematical symbol for composition of a function is . Alternatively a composition can be written as f[g(x)] When you compose two functions you replace all instances of the variable with the second function. You can tell the order of the function by the order that the composition is written in FG, means F is composed of G. If the domain or range is restricted in some way in the original function it will be restricted in the same way in the composite function.In example f(x)=2x2+5 and g(x)=5x find fg. Then find the domain and range

1) Replace all instances of x in f with 5x giving f(x)=25x2+5.

2) Now simplify. fg(x)=10x+5.

3) The domain will be x0 because g(x) can never have a negative x value, and the range will be fg(x)0 because g(x) can never be negative.

Template:A-level Mathematics/C3/TOC