Lesson FUNCTIONS

Algebra ->  Algebra  -> Functions -> Lesson FUNCTIONS      Log On

Ad: Algebra Solved!™: algebra software solves algebra homework problems with step-by-step help!
Ad: Algebrator™ solves your algebra problems and provides step-by-step explanations!

   

This Lesson (FUNCTIONS) was created by by Theo(2959) About Me : View Source, Show
About Theo:

This lesson will give a brief overview of functions.

Inverse functions are not covered here.
There will be a separate lesson on them that will be titled INVERSE FUNCTIONS.

Most of what is covered here comes from the following web address:

http://www.wtamu.edu/academic/anns/mps/math/mathlab/col_algebra/col_alg_tut30_function.htm

If you want a detailed tutorial on functions and inverse functions with lots of examples and practice problems, go there.

There are lots of other tutorials out there. To find them, go to google, or to yahoo, or to any other search engine, and do a search on any of the following plus any other ways you have figured out works best for you.

math tutorials
algebra tutorials
geometry tutorials
trigonometry tutorials
math lessons
etc.

DEFINITION OF AN ORDERED PAIR

An ordered pair would be a set of (x,y) values where x is the independent variable, and y is the dependent variable.
This means that if you pick any x value in the set of all possible x values, the y value will be dependent on that x value in the equation or rule that associates that x value with the y value.

let an equation be y = x%5E2
For every value of x, you have a value of y that is dependent on that value of x in the equation.
if x = 5, y = 25
if x = 6, y = 36, etc.
The ordered pair in this relation or function would be
(x,y) = (5,25)
(x,y) = (6,36), etc.

Ordered pairs are useful in graphing, where you have an x-axis (horizontal line), and a y-axis (vertical line).
The x-axis is a horizontal line drawn where the value of x = 0.
The y-axis is a vertical line drawn where the value of y = 0.
The point (x,y) on the graph is related to the value of x and the value of y in the following manner:

let x = 3
let y = 7
the point (3,7) is 3 units of measure to the right of x = 0, and 7 units of measure above y = 0.

let x = -2
let y = -3
the point (-2,-3) is 2 units of measure to the left of x = 0, and 3 units of measure below y = 0

an equation for a line that passes through these 2 points would be: y+=+2%2Ax%2B1
Both these points will be on that line.

The ordered pair associated with that equation would be:
(x,y) = (x,(2*x+1))
The x value is x.
The y value is 2*x+1

a graph of that equation would look like:

graph%28600%2C300%2C-4%2C4%2C-8%2C8%2C2%2Ax%2B1%29

DEFINITION OF A RELATION

A relation is a set of ordered pairs where the first components of the ordered pairs are the input values and the second components are the output values

In a relation, you can have multiple y values for each x value.
Example:

y = +/- sqrt%28x%29
for every value of x, y can be +/- sqrt%28x%29
assume x = 25, then:
y can be + 5 and y can be - 5.
both values for y are good because:
%28-5%29%5E2 = 25 and %28%2B5%29%5E2 = 25

ordered pairs in this relation when x = 25 would be:
(25,5)
(25,-5)

DEFINITION OF A FUNCTION

A function is a relation that assigns to each input number EXACTLY ONE output value for each value of x in the domain.

While a relation allows multiple y values for each x, a function requires that there can only be one. If any one value in the domain of the equation has more than one y value associated with it, then the equation is a relation and not a function.

DOMAIN

The domain is the set of all input values to which the rule or equation applies. These input values are called your independent variables. These are the values that correspond to the first component of the ordered pairs it is associated with. The value of x in the domain must associate with a corresponding value of y in the range.

RANGE

The range is the set of all output values. These are called your dependent variables. These are the values that correspond to the second component in the ordered pairs it is associated with. For every value of x in the domain, there will be at least one value of y in the range.

Please note that values of x or y imply real values only.
infinity is not a real value since there is not one value that can represent it. You can approach it but you will never reach it.
square root of a negative number is not a real value since it is an imaginary value which is not part of the set of real values.

FUNCTIONAL NOTATION

You have an equation, like y = x%5E2+%2B+2
If you replace y with f(x), then the equation looks like f(x) = x%5E2+%2B+2
You can say y = f(x) = x%5E2+%2B+2, or simply f(x) = x%5E2+%2B+2 or simply y = x%5E2+%2B+2
What you are saying is that y is a function of x where the value of y is dependent on the value of x in the equation x%5E2+%2B+2.
x is the independent variable
y is the dependent variable

example:
What is the value of y when x is 3?
Since y = f(x) = x%5E2+%2B+2, then when the value of x = 3,
y = f(3) = %283%29%5E2+%2B+2 = 9 + 2 = 11.
the ordered pair would be (3,11).

Functional Notation can use any letter, not just f.
f(x) = x%5E2%2B1%29
g(x) = x%5E2%2B1%29
h(x) = x%5E2%2B1%29
i(x) = x%5E2%2B1%29
All of these letters can represent a function of x which is equal to x%5E2%2B1%29 in this case.

Functions can be functions of any independent variable.
f(x) is a function of x.
f(t) is a function of t.
A(r) is a function of the radius of a circle. The A stands for Area. Your equation would be:
A%28r%29+=+pi%2Ar%5E2
You can say A%28r%29+=+pi%2Ar%5E2
Or you can say y+=+A%28r%29+=+pi%2Ar%5E2
Or you can say y+=+pi%2Ar%5E2
The same equation or relationship between the output variable and the input variable apply.
Ordered pairs could look like any of the following:
(r,y)
(r,A(r))
(r,pi%2Ar%5E2)
(x,y) where x = 4 and y = A(r) = pi%2Ar%5E2
They are all equivalent.

OPERATIONS ON FUNCTIONS

Functions can be added, subtracted, multiplied, and divided.
You can also take the function of a function.

DEFINITION OF FUNCTION ADDITION

%28f+%2B+g%29%28x%29+=+f%28x%29+%2B+g%28x%29

Example:
let f(x) = 2*(x+1)
let g(x) = (x+1)
%28f+%2B+g%29%28x%29+=+f%28x%29+%2B+g%28x%29+=+2%2A%28x%2B1%29+%2B+%28x%2B1%29+=+3%2A%28x%2B1%29

DEFINITION OF FUNCTION SUBTRACTION

%28f+-+g%29%28x%29+=+f%28x%29+-+g%28x%29

Example:
let f(x) = 2*(x+1)
let g(x) = (x+1)
%28f+-+g%29%28x%29+=+f%28x%29+-+g%28x%29+=+2%2A%28x%2B1%29+-+%28x%2B1%29+=+%28x%2B1%29

DEFINITION OF FUNCTION MULTIPLICATION

%28f+%2A+g%29%28x%29+=+f%28x%29+%2A+g%28x%29

Example:
let f(x) = 2*(x+1)
let g(x) = (x+1)
%28f+%2A+g%29%28x%29+=+f%28x%29+%2A+g%28x%29+=+2%2A%28x%2B1%29+%2A+%28x%2B1%29+=+2%2A%28x%2B1%29%5E2

DEFINITION OF FUNCTION DIVISION

%28f+%2F+g%29%28x%29+=+f%28x%29+%2F+g%28x%29

Example:
let f(x) = 2*(x+1)
let g(x) = (x+1)
%28f%2Fg%29%28x%29+=+f%28x%29+%2F+g%28x%29+=+2%2A%28x%2B1%29+%2F+%28x%2B1%29+=+2

DEFINITION OF COMPOSITE FUNCTION

When you take the function of a function, then you are dealing with a composite function.
The formula will look like:
%28f+o+g%29%28x%29+=+f%28g%28x%29%29 where the o in the middle is really a small circle that I am incapable of reproducing, so I used the small letter o to represent it.

%28f+o+g%29%28x%29 means f%28g%28x%29%29 which means f is a function of g which is a function of x.

AN EXAMPLE OF %28f+o+g%29%28x%29

let g%28x%29+=+x%5E2
let f%28x%29+=+x%5E3
then:
%28f+o+g%29%28x%29+=+f%28g%28x%29%29+=+f%28x%5E2%29+=+%28x%5E2%29%5E3+=+x%5E6

You are doing what you probably already know how to do with functions, which is replace the x with whatever value you are dealing with.

f%28x%29+=+x%5E3

what is f(2)?
you replace the x with 2 and solve:
f%282%29+=+%282%29%5E3+=+2%2A2%2A2+=+8

what is f%28x%5E2%29?
you replace the x with x%5E2 and solve:
f%28x%5E2%29+=+%28x%5E2%29%5E3+=+x%5E2%2Ax%5E2%2Ax%5E2+=+x%5E6

what is f%28g%28x%29%29?
you replace the x with g%28x%29 and solve:
f%28g%28x%29%29+=+%28g%28x%29%29%5E3
since g(x) = x%5E2, you replace g(x) with x%5E2 to get:
f%28g%28x%29%29+=+%28g%28x%29%29%5E3+=+%28x%5E2%29%5E3+=+x%5E2%2Ax%5E2%2Ax%5E2+=+x%5E6

GRAPH OF A FUNCTION VERSUS GRAPH OF A RELATION

The graph of an equation can help you to determine if you are dealing with a function or a relation.
A function has one and only one value of y for each x.

VERTICAL LINE TEST

If you draw a vertical line at any value of x in the domain of the equation, that vertical line will cross the equation at one and only one point. If it crosses at more than one point, then you do not have a function.

GRAPH OF A FUNCTION

Take the function f%28x%29+=+x%5E3
The domain is all real values of x.
The range is all real values of y which is the same as all real values of f(x).
The graph looks like the following:

graph%28600%2C300%2C-10%2C10%2C-100%2C100%2Cx%5E3%29

This equation is a function because you can draw a vertical line through any value of x in the domain and it will cross the graph of the equation only once.

GRAPH OF A RELATION

Take the relation y+=+f%28x%29+=+sqrt%28x%29
The domain is all positive real values of x including 0. Negative values of x are not possible because you can't take the square root of a negative number and get a real number as an answer.
The range is all real values of y which can be all real numbers since the square root of x can be negative or positive, even though x itself has to be positive.
The graph looks like the following:

graph%28600%2C300%2C-10%2C10%2C-5%2C5%2Cx%5E%281%2F2%29%2C-x%5E%281%2F2%29%29

This equation is a relation because you can find at least one value of x in the domain of the equation where there is more than one value of y for that x. All you need is one. Here you have many.

Questions or comments regarding this lesson can be directed to dtheophilis@yahoo.com

This lesson has been accessed 3802 times.