Functions
A function is a way of maching up one set of numbers with another. The first set of numbers is called the domain. For each of the numbers in the domain, the function assigns exactly one number from the other set, the range.
For example, the domain of the function could be the set of numbers {1, 4, 9, 25, 100}, and the range could be {1, 2, 3, 5, 10}. Suppose the function takes 1 to 1, 4 to 4,2, 9 to 3, 25 to 5, and 100 to 10. This could be illustrated by the following:
1 -> 1
4 -> 4
9 -> 3
25 -> 25
100 -> 10
Because we sometimes use several fuctions in the same discussion, it makes sense to give them names. Let us call the function we just mentioned by the name <i>Eugene</i>. Thus, we can ask, "Hey, what does Eugene do with the number 4?" The answer is "Eugene takes 4 to the number 2."
Mathematicians like to write as little as possible. Thus, instead of writing "Eugene takes 4 to the number 2," we often write "Eugene(4) = 2" to mean the same thing. Similarly, we like to use names that are as short as possible, such as f(for function), g(for function when f is already being used), h, and so on. The trigonometric functions all have three letter names like sin and cos, but even these are abbreviations. So let us save space and use f instead of Eugene.
Because the domain is small, it is easy to write out everything:
f(1) = 1
f(4) = 2
f(9) = 3
f(25) = 5
f(100) = 10
However, if the domain were large , this would get very tedious. It is much easier to find a pattern and use that pattern to describe the function. Our function f just happens to take each number of its domain to the square root of that number. Therefore, we can describe f by saying:
f(a number) = the square root of that number
Of course, anyone with experience in algebra knows that writing "a number" over and over is a waste of time. Why not just pick a variable to represent the number? Just as f is a typical name for a function, little x is often used for a variable name. Using both, here is a nice way to represent our function f:
This tells us that putting a number into the function <i>f</i> is the same as putting it into . Thus,
and
Example
Find the value of g(3) if
Solution
Replace each occurrence of x with 3.
Simplify.
Example
Find the value of h(-4) if
Simplify.
Practice
1. Find the value of f(5) when f(x) = 2x - 1.
2. Find the value of g(-3) when
3. FInd the value of h(1/2) when
4. Find the value of f(7) when f(x) = 2
5. Find the value of m(-1/5) when
.
6. Find the value of h(64) when
7. Suppose that after t seconds, a rock thrown off a bridge has height
feet of the ground. What is the height above the ground after 3 seconds?
8. Suppose that the profit on making and selling x cookies is
How much profit is made on selling 100 cookies?
Plugging Variables into Functions
Variables can be plugged into functions just as easily as numbers can. Often though, the result can't be simplified as much.
Example
Simplify f(w) if
Solution
Replace each occurrence of x with w.
16.gifThat is all we can say without knowing more about w.
Example
Simplify g(a + 5) if
Solution
Replace each occurence of t with (a+5).
Multiply out
Simplify.
Example
Simplify
ifSolution
Start with what needs to be simplified.
Use
to evaluate f(x + a) and f(x).
Multiply out Cancel theand the
Factor out an a.
Cancel an a from the top and bottom.
Reference book "CALCULUS success in 20 minutes a Day"(Mark A. McKibben)
网友评论