Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Functions: Definition, Piecewise Defined Functions, Difference Quotient, and Domain, Schemes and Mind Maps of Algebra

An introduction to functions, including their definition, piecewise definitions, difference quotient, and domain. Functions are rules that assign exactly one element in a set to each element in another set. examples of functions, such as a car's distance traveled as a function of time and the volume of a cylindrical glass as a function of height. The document also covers the difference quotient, which is important when learning about derivatives.

Typology: Schemes and Mind Maps

2021/2022

Uploaded on 09/12/2022

aarti
aarti 🇺🇸

4.5

(8)

224 documents

1 / 8

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Lecture 10: What is a Function, definition,
piecewise defined functions, difference quotient, domain of a function
A function arises when one quantity depends on another. Many everyday relationships between variables
can be expressed in this form.
Example 1 We have already seen examples of functions in our lecture on lines. For example, if a car
leaves Mathville at 1:00 p.m. and travels at a constant speed of 60 miles per hour for two hours, then
the distance in miles traveled by the car after thours(D) (assuming it has not stopped along the way
or changed speed) depends on the time, or is a function of time (t) = t hours:
D=D(t) = 60tfor 0 t2
We can use this general formula to calculate how far the car has traveled at any given time t. For
example after 1/2 hour (t = 1/2) the car has traveled a distance of D= 601
2= 30 miles.
Here is another everyday example of a function.
Example Consider the volume of a cylindrical glass with radius = 1 inch. We have a formula for the
volume; V=πr2h=πh in3, where h is the height of the glass in inches and r= 1 is the radius.
We see that the value of the volume depends on the height, h; V is a function of h. We sometimes
indicate that the value of Vdepends on the value of h, by writing the formula as V(h) = πh in3.
When h= 2, V =V(2) = and when h= 3, V =V(3) =
In this section, we will examine the definition and general principles of functions and look at examples
of functions which are more complex than lines.
Definition of a Function Afunction is a map or a rule which assigns to each element xof a set A
exactly one element called f(x) in a set B.
Example The rule which assigns to each real number its square is a function. We have A= (−∞,)
or the set of all real numbers. Since the square of a real number is a real number, we have Bis also
the set of real numbers. If xis an element of A, this rule assigns the element f(x) = x2in Bto x. If
x=2, the f(2) = (2)2= 4. In short, this is the map or rule which sends xto x2.
We will focus on functions where the sets Aand Bare sets of real numbers. The symbol f(x) is
read as “f” of “x” or “f” at “x” and is called the value of fat xor the image of xunder f.
The possible values of xvary here since xcan take any value from the set A, hence xis a variable.
We call xthe independent variable.
We may replace the symbol xby any other symbol here, for example tor u, in which case the
symbol for our function changes to f(t) or f(u) respectively. Likewise we can replace the name of
the function, f, by any other name in the definition, for example hor gor D. So if udenotes our
independent variable and Dis the name of our function, the values of the function are denoted
by D(u).
1
pf3
pf4
pf5
pf8

Partial preview of the text

Download Functions: Definition, Piecewise Defined Functions, Difference Quotient, and Domain and more Schemes and Mind Maps Algebra in PDF only on Docsity!

Lecture 10: What is a Function, definition, piecewise defined functions, difference quotient, domain of a function

A function arises when one quantity depends on another. Many everyday relationships between variables can be expressed in this form.

Example 1 We have already seen examples of functions in our lecture on lines. For example, if a car leaves Mathville at 1:00 p.m. and travels at a constant speed of 60 miles per hour for two hours, then the distance in miles traveled by the car after t hours(D) (assuming it has not stopped along the way or changed speed) depends on the time, or is a function of time (t) = t hours:

D = D(t) = 60t for 0 ≤ t ≤ 2

We can use this general formula to calculate how far the car has traveled at any given time t. For example after 1/2 hour (t = 1/2) the car has traveled a distance of D = 60^12 = 30 miles.

Here is another everyday example of a function.

Example Consider the volume of a cylindrical glass with radius = 1 inch. We have a formula for the volume; V = πr^2 h = πh in^3 , where h is the height of the glass in inches and r = 1 is the radius. We see that the value of the volume depends on the height, h; V is a function of h. We sometimes indicate that the value of V depends on the value of h, by writing the formula as V (h) = πh in^3.

When h = 2, V = V (2) = and when h = 3, V = V (3) =

In this section, we will examine the definition and general principles of functions and look at examples of functions which are more complex than lines.

Definition of a Function A function is a map or a rule which assigns to each element x of a set A exactly one element called f (x) in a set B.

Example The rule which assigns to each real number its square is a function. We have A = (−∞, ∞) or the set of all real numbers. Since the square of a real number is a real number, we have B is also the set of real numbers. If x is an element of A, this rule assigns the element f (x) = x^2 in B to x. If x = −2, the f (−2) = (−2)^2 = 4. In short, this is the map or rule which sends x to x^2.

  • We will focus on functions where the sets A and B are sets of real numbers. The symbol f (x) is read as “f” of “x” or “f” at “x” and is called the value of f at x or the image of x under f.
  • The possible values of x vary here since x can take any value from the set A, hence x is a variable. We call x the independent variable.
  • We may replace the symbol x by any other symbol here, for example t or u, in which case the symbol for our function changes to f (t) or f (u) respectively. Likewise we can replace the name of the function, f , by any other name in the definition, for example h or g or D. So if u denotes our independent variable and D is the name of our function, the values of the function are denoted by D(u).
  • The set of numbers (or objects) to which we apply the function, A, is called the domain of the function.
  • The set of values of B which are equal to f (x) for some x in A is called the range of f. We have

range of f = {f (x)|x ∈ A}

In the example shown above where f (x) = x^2 , we see that the values of f (x) = x^2 are alwys ≥ 0. Furthermore, every positive number is a square of some number, so the range of f here is the set of all real numbers which are ≥ 0.

  • If we can write our function with a formula (or a number of formulas), as in the above example where f (x) = x^2 , then we can represent the function by an equation y = f (x). In our example above, we might just describe our function with the equation y = x^2. Here y is also a variable, with values in the range of the function. The value of y depends on the given value of x and hence y is called the dependent variable. Note that writing a function in this way allows us to draw a graph of the function in the Cartesian plane.
  • It is helpful to think of a function as a machine or process that transforms the number you put through it. If you put in the number x, then the machine or process changes it and gives back f (x).
  • Another way to visualize a function is by using an arrow diagram as shown below (for the example f (x) = x^2 above).

x !x^2

B = Real Numbers

3

1

9

1 0

2 0

A = Real Numbers

4

For every element, x, in the domain of the function we have exactly one arrow leaving the point representing that element, indicating that the function can be applied to any element in the domain and we get exactly one value in B when we apply the function to x. On the other hand, an element in the set B can have 0 , 1 or more than one arrow pointing towards it. If the element is not in the range, it has no arrows arriving at it, if it is in the range it has at least one arrow arriving at it. Note that in our example, we have two arrows arriving at 4 in the set B because the values of f at (−2) and 2 are both 4, i.e. f (−2) = f (2) = 4.

Example Lets summarize what we know about our example above where our function is the rule which send any value x from the real numbers to the value x^2.

  • As pointed out above, we can give a formula for f (x), namely f (x) = x^2. We can use this formula to calculate the value of the function for any given value of x. For example

f (−1) = (−1)^2 = 1, f (0) = 0^2 = 0, f (1/2) = (1/2)^2 = 1/ 4.

The Cost of Parking is a function of the amount of time the car spends in the lot. If we are to create a formula for the cost of parking = C, in terms of how long our car stays in the lot = t, we need to give the formula piece by piece as follows:

C(t) =

$0 0 ≤ t ≤ 0. 5 hr. $2 0. 5 hr. < t ≤ 1 hr. $4 1 hr. < t ≤ 2 hr. $6 2 hr. < t ≤ 3 hr. $8 3 hr. < t ≤ 4 hr. $10 4 hr. < t ≤ 5 hr. $12 5 hr. < t ≤ 6 hr. $13 6 hr. < t ≤ 24 hr. $13 + cost of towing t > 24 hr.

If you were figuring out how much you needed to pay using this description of the function, you would first figure out which category you were in (how long you had parked for) and then note the cost for cars in that category. We proceed in the same way if we are given the formula for any piecewise defined function.

Example Let

g(x) =

x + 1 if x > 1 x^2 if − 1 ≤ x ≤ 1 4 if x < − 1

Evaluate the following

g(−2), g(0), g(3/2), g(10).

The Difference Quotient

When we wish to derive general formulas in mathematics, we have to use general variables to represent values in a function so that we can prove a result for all values in the domain. This means that we often have to evaluate the function at some combination of abstract values, such as a, a + h, like the ones shown below as opposed to evaluating the function at concrete values such as −1, 0 etc.... Here are some examples of such calculations. The difference quotient

f (a + h) − f (a) h

is particularly important when learning about derivatives.

Example Let f (x) = x^2 + 2 and let a be any real number and h a real number where h 6 = 0. Evaluate

  1. f (a)
  2. f (−a)
  3. f (a^2 )
  4. f (a + h)
  5. f^ (a+h h)−f^ (a)

Evaluate f^ (a+h h)− f^ (a) when a = 2

Evaluate f^ (a+h h)− f^ (a) when h = 0. 1

Evaluate f^ (a+h h)− f^ (a) when a = 2 and h = 0.1.

Example Let k(x) = 2x + 1. Evaluate

k(a + h) − k(a) h

where a is any real number and h a real number

where h 6 = 0.

Example Let

g(x) =

x + 1 if x > 1 x^2 if − 1 ≤ x ≤ 1 4 if x < − 1

(a) Evaluate

g(0 + h) − g(0) h

for values of h for which |h| < 1 and h 6 = 0.

Example Find the domain of the following function:

R(x) =

x − 1 x − 2

Example Find the domain of the following function:

R(x) =

x^2 + 11 x^2 + 3x − 10

Domains of common functions It is good to keep the domains of the following functions in mind: Function Domain xn, n ∈ N all x ∈ R

1 xn^

, n ∈ N {x ∈ R|x 6 = 0}

√ nx, n ∈ N, n even {x ∈ R|x ≥ 0 }

√ nx, n ∈ N, n odd all x ∈ R

Modeling with functions

Example: Income Tax In a certain country, income tax T is assessed according to the following function of income x:

T (x) =

0 if 0 ≤ x ≤ 10 , 000

  1. 08 x if 10 , 000 < x ≤ 20 , 000 1600 + 0. 15 x if 20 , 000 < x

(a) Find T (5, 000), T (12, 000) and T (25, 000).

(b) What do your answers in part (a) represent?