Docsity

FUNTIONS NOTES TYPES AND DEFINATIONS, Study notes of Biology

Toggle sidebar
bg1
Chapter 3: Functions Lecture notes Math
Section 1.1: Definition of Functions
Definition of a function
Afunction ffrom a set Ato a set B(f:A→B) is a rule of correspondence that assigns to each element x
in the set Aexactly one element yin the set B. The set Ais called the domain of the function f. The range or
codomain of the function is the set of elements in Bthat are in correspondence with elements in A.
In the case of functions described as equations in two variables, the variable xis the independent variable
and the variable yis the dependent variable. In general a function is denoted as f(x)(read fof x), where f
is the name of the function, xis the domain value and f(x)is the range value yfor a given x. The process
of finding the value of f(x)for a given value of xis called evaluating a function.
Ex.1
•Demand function: Qd=f(P) = 15 −2P.
•Supply function: Qs=g(P) = 1 + 5P.
•Cobb-Douglas production function: Q(K, L) = KαLβ.
•Cobb-Douglas utility function: U(X, Y ) = alog(X) + (1 −a) log(Y).
Ex.2
Constant functions are functions that assign every object in the domain to the same object in the target. For
example, f(x)=3is a constant function. The identity function is the function that assigns every object in
the domain to itself, that is f(x) = xfor every xin the domain.
Ex.3
Let f(x) = x2. Find the domain and the range of f(x). Compute
•f(3)
•f(2)
•f(−2)
•f(3 + h)
Ex.4
Find the domain and the range of f(x)=1/x.
Ex.5
Find the domain and the range of f(x)=5−√x−1.
Graph of a function
Let f(x)be a function. The graph of the function fconsists of those points (x, y )such that y=f(x). Not every
curve is the graph of a function. The reason is that a function assigns to a given input a single number as
the output. A line parallel to the yaxis therefore meets the graph of a function in at most one point. Hence,
if some line parallel to the yaxis meets the curve more than once, then the curve is NOT the graph of a
function.
Ex.6
Graph the function f(x) = x2.
Ex.7
Graph the function f(x) = 1/x.
1
brought to you by COREView metadata, citation and similar papers at core.ac.uk
provided by Almae Matris Studiorum Campus
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13

Partial preview of the text

Download FUNTIONS NOTES TYPES AND DEFINATIONS and more Study notes Biology in PDF only on Docsity!

Chapter 3: Functions Lecture notes Math

Section 1.1: Definition of Functions

Definition of a function A function f from a set A to a set B (f : A → B) is a rule of correspondence that assigns to each element x in the set A exactly one element y in the set B. The set A is called the domain of the function f. The range or codomain of the function is the set of elements in B that are in correspondence with elements in A. In the case of functions described as equations in two variables, the variable x is the independent variable and the variable y is the dependent variable. In general a function is denoted as f (x) (read f of x), where f is the name of the function, x is the domain value and f (x) is the range value y for a given x. The process of finding the value of f (x) for a given value of x is called evaluating a function.

Ex.

  • Demand function: Qd = f (P ) = 15 − 2 P.
  • Supply function: Qs = g(P ) = 1 + 5P.
  • Cobb-Douglas production function: Q(K, L) = KαLβ^.
  • Cobb-Douglas utility function: U (X, Y ) = a log(X) + (1 − a) log(Y ).

Ex. Constant functions are functions that assign every object in the domain to the same object in the target. For example, f (x) = 3 is a constant function. The identity function is the function that assigns every object in the domain to itself, that is f (x) = x for every x in the domain.

Ex. Let f (x) = x^2. Find the domain and the range of f (x). Compute

  • f (3)
  • f (2)
  • f (−2)
  • f (3 + h)

Ex. Find the domain and the range of f (x) = 1/x.

Ex. Find the domain and the range of f (x) = 5 −

x − 1.

Graph of a function Let f (x) be a function. The graph of the function f consists of those points (x, y) such that y = f (x). Not every curve is the graph of a function. The reason is that a function assigns to a given input a single number as the output. A line parallel to the y axis therefore meets the graph of a function in at most one point. Hence, if some line parallel to the y axis meets the curve more than once, then the curve is NOT the graph of a function.

Ex. Graph the function f (x) = x^2.

Ex. Graph the function f (x) = 1/x.

View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Almae Matris Studiorum Campus

Zoo of function In mathematics there are many kinds of functions. Here is a short list of some of them:

  • Polynomial functions: linear (ex. f (x) = 2x − 1 ), quadratic (ex. f (x) = −x^2 ), cubic (ex. f (x) = 4x^3 − 3 x^2 + 5)
  • Rational functions (ex. f (x) = (^) x−^23 )
  • Irrational functions (ex. f (x) =

2 − x)

  • Absolute value functions (ex. f (x) = |x − 9 |)
  • Exponential functions (ex. f (x) = 2x)
  • Logarithmic functions (ex. f (x) = log 2 (x))
  • Trigonometric functions (ex. f (x) = sin(x), f (x) = cos(x), f (x) = tan(x))

Transformations of functions Let f (x) be a function, then

  • y = f (x) + C - C > 0 moves it up - C < 0 moves it down
  • y = f (x + C) - C > 0 moves it left - C < 0 moves it right
  • y = Cf (x) - C > 1 stretches it in the y-direction - 0 < C < 1 compresses it
  • y = f (Cx) - C > 1 compresses it in the x-direction - 0 < C < 1 stretches it
  • y = −f (x) reflects it about x-axis
  • y = f (−x) reflects it about y-axis

Ex. Graph the function f (x) = (^) x (^21) +.

Definition of composition of two functions The composition of the functions f and g is given by

(f ◦ g)(x) = f (g(x))

The domain of the composite function (f ◦ g) is the set of all x in the domain of g such that g(x) is in the domain of f.

Ex. Let f (x) = 1 + 2x and g(x) = x^2. Compute (f ◦ g)(x) and (g ◦ f )(x).

Ex. Let f (x) =

x and g(x) = x^3 − 1. Compute (f ◦ g)(x) and (g ◦ f )(x).

Ex. Let f (x) =

x and g(x) = x^2. Compute (f ◦ g)(x) and (g ◦ f )(x).

Section 1.3: Limits

Definition of limit 1 The limit of f (x) as x approaches x 0 is the number L if given any radius ε > 0 about L there exists a radius δ > 0 about x 0 such that for all x, 0 < |x − x 0 | < δ implies |f (x) − L| < ε. In other words, if the values of a function f (x) approach the value L as x approaches x 0 , we say that f has limit L as x approaches x 0 and we write lim x→x 0 f (x) = L.

The limit of f (x) as x approaches x 0 from the right is the number L if given any radius ε > 0 about L there exists a radius δ > 0 about x 0 such that for all x, x 0 < x < x 0 + δ implies |f (x) − L| < ε. We write lim x→x+ 0

f (x) = L.

The limit of f (x) as x approaches x 0 from the left is the number L if given any radius ε > 0 about L there exists a radius δ > 0 about x 0 such that for all x, x 0 − δ < x < x 0 implies |f (x) − L| < ε. We write lim x→x− 0

f (x) = L.

A function has a limit as x approaches x 0 if and only if the right-hand and left-hand limits at x 0 exist and are equal.

Ex. Find lim x→ 2

x^2 − 4 x − 2

Ex. Let f (x) =

2 if x ≥ 3 − 1 if x < 3 Find limx→ 3 f (x).

Ex. Find lim x→ 5

x − 5

Ex. Show that the function y = sin(1/x) has no limit as x approaches zero from either side.

Proof: As x → 0 , its reciprocal (^) x^1 becomes infinite and the value of sin(1/x) cycles repeatedly from − 1 to 1. Thus there is no single number L such that the function’s values get close to a single value when x → 0. This is true even if we restrict x to positive values or to negative values, therefore the function has neither a right-hand limit nor a left-hand limit as x approaches zero. In conclusion, the function y = sin(1/x) has no limit from either side as x → 0.

Properties of limits If limx→x 0 f (x) = L 1 and limx→x 0 g(x) = L 2 , then

  • Sum rule: lim x→x 0 [f (x) + g(x)] = lim x→x 0 f (x) + lim x→x 0 g(x) = L 1 + L 2
  • Difference rule: lim x→x 0 [f (x) − g(x)] = lim x→x 0 f (x) − lim x→x 0 g(x) = L 1 − L 2
  • Product rule: lim x→x 0 [f (x) · g(x)] = lim x→x 0 f (x) · lim x→x 0 g(x) = L 1 · L 2
  • Constant multiple rule: lim x→x 0 [k · g(x)] = k · lim x→x 0 g(x) = k · L 2

for any number k.

  • Quotient rule: lim x→x 0

f (x) g(x)

limx→x 0 f (x) limx→x 0 g(x)

L 1

L 2

if L 2 6 = 0.

Ex. Prove:

  • If limx→x 0 f (x) = L 1 and limx→x 0 g(x) = L 2 , then lim x→x 0 [f (x) + g(x)] = L 1 + L 2
  • limx→ 2 x + 5 = 7
  • limx→ 5

x − 1 = 2

Definition of limit 4 Let f (x) be a function defined on x > K for some K. Then we say that

lim x→+∞ f (x) = +∞

if for every N > 0 there is some number M > 0 such that f (x) > N for all x such that x > M. Let f (x) be a function defined on x < K for some K. Then we say that

lim x→−∞ f (x) = +∞

if for every N > 0 there is some number M < 0 such that f (x) > N for all x such that x < M. In a similar way we can define limx→+∞ f (x) = −∞ and limx→−∞ f (x) = −∞.

Ex. Compute the following limits:

  • limx→+∞ (^) x+3^1
  • limx→−∞ 7 − (^1) x
  • limx→−∞ (^112) xx 3 +2− 1
  • limx→+∞ 2 x

(^2) − 3 5 x+

  • limx→ 2 + (^7) x−−x 2
  • limx→ 1 + x

(^2) + 3 − 3 x

  • limx→ 2 + (^) x (^25) −− 63 xx+
  • limx→ 0

√x+9− 3 4 x

  • limx→−∞

√ 8 x (^14) − 3 x (^5) +x (^3) −x (^2) + 5 x^4 −x^2 +x− 5

  • limx→+∞ 5 x

(^2) − 4 x− 2 √x+ 2 x^2 −x+√x

  • limx→ 1

√x− 1 x− 1

Sandwich Theorem Suppose that g(x) ≤ f (x) ≤ h(x) for all x 6 = x 0 in some open interval about x 0 and that

lim x→x 0 g(x) = lim x→x 0 h(x) = L.

Then lim x→x 0 f (x) = L.

Ex. Compute the following limits:

  • limx→ 0 sin(x)
  • limx→ 0 cos(x)
  • limx→ 0 tan(x)

Theorem If θ is measured in radians, then

lim θ→ 0

sin(θ) θ

Ex. Compute the following limits:

  • limx→ 0 sin(7 7 xx)
  • limx→ 0 sin( x/x/ 2 2)
  • limx→ 0 sin(6 xx)
  • limx→ 0 tan(2 5 xx)
  • limx→ 0 sin(5sin(2xx))
  • limx→ 0 x sin(1/x)

Standard Limits Limits to remember:

  • limx→ 0 sin( xx )= 1
  • limx→ 0 1 −cos( x 2 x)= (^12)
  • limx→ 0 tan( x x)= 1
  • limx→ 0 ln(1+ x x)= 1
  • limx→ 0 loga(1+ x x)= (^) ln(^1 a) , (a > 0 )
  • limx→ 0 e

x−1) x = 1

  • limx→ 0 a

x− 1 x = ln(a), (a >^0 )

  • limx→±∞(1 + (^1) x )x^ = e
  • limx→ 0 (1+x)

c− 1 x =^ c, (c^ ∈^ R)

Ex. Compute the following limits:

  • lim x→ 0

log 3 (1 + 3x) e^2 x^ − 1

  • lim x→ 0

sin(x) ln(1 + x)

  • lim x→+∞

2 x

) 3 x

lim x→ 0

tan(2x) x

  • lim x→ 0

(1 + x)^4 − 1 x

Ex. Solve the following problems:

  • Compute lim x→ 3

x^2 − 7 x + 12 x − 3

  • Compute

lim x→ 4

x^2 + x − 20 x − 4

  • Compute lim t→ 1

t^2 − 3 t + 2 t − 1

  • Let f (x) =

1 + x^2 if x < 2 x^3 if x ≥ 2 Find limx→ 2 − f (x) and limx→ 2 + f (x). Does limx→ 2 f (x) exist?

  • Let f (x) =

− 5 x + 7 if x < 3 x^2 − 16 if x ≥ 3 Does limx→ 3 f (x) exist?

  • Let f (t) =

−t if t < 1 t^2 if t ≥ 1 Does limt→ 1 f (t) exist?

  • Suppose the total cost C(Q) of producing a quantity Q of a product equals a fixed cost of $1000 plus $3 times the quantity produced. (1) Write C(Q). (2) Find the average cost per unit quantity A(Q). (3) Compute lim Q→ 0 +

A(Q)

Section 1.5: The Intermediate Value Theorem for Continuous Functions

Intermediate Value Theorem A function y = f (x) that is continuous on a closed interval I = [a, b] takes on every value between f (a) and f (b).

Connectivity Suppose we want to graph a function y = f (x) that is continuous throughout some interval I on the x-axis. The Intermediate Value Theorem tells us that the graph of f over I will never move from one y-value to another without taking on the y-values in between. The graph of f over I will be connected, that is it will consist of a single, unbroken curve.

Root finding Suppose that f (x) is continuous at every point of a closed interval [a, b] and that f (a) and f (b) differ in sign. Then zero lies between f (a) and f (b) differ in sign, so there is at least one number c between a and b where f (c) = 0. In other words, if f (x) is continuous and f (a) and f (b) differ in sign, then the equation f (x) = 0 has at least one solution in the open interval (a, b). A point c where f (c) = 0 is called a zero or root of f. Hence, the zeros of f are the points where the graph of f intersects the x-axis.

Ex. Is any real number exactly 1 less than its cube?

Ex. Show that x^3 − x − 1 = 0 has a root somewhere in the interval [− 1 , 2].

Section 1.8: Economic Applications of Continuous and Discontinuous Functions

Introduction There are many natural examples of discontinuities from economics. In fact, economists often adopt conti- nuous functions to represent economic relationships (that is, they build a continuous model) when the use of discontinuous functions would be a more literal interpretation of reality. It is important to know when the simplifying assumption of continuity can be safely made for the sake of convenience and when it is likely to distort the true relationship between economic variables too much.

Ex. We illustrate a class of situations in which it is usual to use a continuous model even if this is a distortion of reality. The first step in modeling the decisions of a firm is usually the analysis of the available technology. This relationship between inputs used and outputs generated is generally presumed to be represented by some production function: y = f (x). What does it mean to say that this function is continuous on some domain (usually x ≥ 0 )? To assume that f (x) is continuous at a point x = c implies that f (x) is defined on some open interval of real numbers containing c. This means x must be infinitely divisible: one can choose x to be a value that deviates even by infinitesimal amounts from x = c. An example of input that would not be infinitely divisible would be bolts used in the production of a car. Since one would not use a fraction like a half of a bolt, it would only make literal sense to treat bolts as integer valued. Therefore, it does not make sense to contemplate an open interval of points including some value x = c bolts. However, if we denote by x the number of bolts used and by y the number of cars produced, we have y =

x 1 , 050 If one uses this continuous function in the process of solving some value of x that is not a multiple of 1 , 050 , then using the closest value that is a multiple of 1 , 050 would probably be reasonably accurate. Thus, even if a commodity is not infinitely divisible, we may often assume that it is, without distorting realty very much. Draw the graph of this liner function considering the domain of real numbers x ≥ 0.

Ex. Suppose that a salesperson receives a salary according to a contract that establishes a relationship between pay and the level of sales made by the salesperson. In particular, suppose that the contract stipulates that the salesperson’s monthly salary will be composed by three parts:

  • a basic amount of $800,
  • a commission of %10, and
  • a lump-sum bonus of $500, if the salesperson’s sales for the month reach or exceed $20, 000. Let S represent sales per month and P represent the salesperson’s pay for the month, it follows that the function describing her salary-sales relationship is

P =

800 + (0.1)S if S < 20 , 000 1 , 300 + (0.1)S if S ≥ 20 , 000 Draw the graph of the function. Is the function discontinuous at S = 20, 000? Can we remove the discontinuity?

Ex. Many welfare programs or income support programs offer individuals who are not employed a fixed or lump-sum monthly payment that is made only if the individual does not earn any income. Once an individual earns any income whatsoever, the payment is stopped. For example, suppose a single parent of two preschool-aged children can collect a monthly welfare payment of $750 provided she doesn’t work. However, once she earns any positive amount of income, the welfare payment stops. Assume she could earn $15 per hour at some job for which the number hours worked per month is entirely flexible. The income of this person, Y , as a function of hours worked, h, is given by the function:

Y (h) =

750 if h = 0 15 h if h > 0

Sketch the graph of the function. It is discontinuous at h = 0. This type of discontinuity, which is a property of many all-or-nothing income support programs, has been the subject of a great deal of debate. One can see that a person in such a program would have to work 50 hours per month just to match the income earned from the support payments. Since the person would face childcare and other costs of working, the all-or-nothing property of this program presents a serious deterrent to the incentive to work. An alternative scheme would be to allow a person in this situation to keep a certain fraction of income earned in addition to the $750 monthly payment. For example, suppose that the person was allowed to retain 50% of any earnings, with the other 50% representing a payback of the income support up to the level where the entire $750 is paid back. A person facing a wage rate of $15 per hour will have paid back the full $750 only after working 100 hours or more per month. The 50% of 15 is 7. 5. Hence, the new function is

Y (h) =

750 + 7. 5 h if 0 ≤ h ≤ 100 15 h if h > 100

Draw the graph of this function. Prove that it is continuous at h = 100. Many economists prefer this second placeboes it avoids the discontinuity of the first plan. In the first plan there is effectively a large penalty for working at all, since income drops from $750 per month to almost zero if the individual chooses only a few hours of work. Under the second plan the person always earns more income by choosing to work more. The result is that the person will be more likely to choose some positive hours of work under the second plan making himself/herself better off and also reducing the cost of the program to the government.

QUESTIONS AND PROBLEMS

(1) What is a function? (2) What is a continuous function? (3) List the properties of continuous functions. (4) What is the graph of a function? (5) What is an even function? (6) What is an odd function? (7) What is an injective function? (8) What is a surjective function? (9) What is a bijective function? (10) What is a monotonic function? Give an example of monotonic functions. (11) Define limx→x 0 f (x) = L. (12) Prove limx→ 1 2 x + 3 = 5. (13) State and prove the Intermediate Value Theorem. (14) State and prove the Extreme Value Theorem. (15) Define a uniformly continuous function. (16) Find the domain and the range of the following functions and sketch their graphs. (a) f (x) = 4x (b) f (x) = 5x^2 (c) f (x) = − 2 x − 3 (d) f (x) = x^2 + x (e) f (x) =

x (f) f (x) =

x + 1 (g) f (x) = (^) x−^12 (h) f (x) = (^) x (^21) − 1 (17) Graph f (x) = x^2 − x. For which values of x is f (x) = 0? (18) Which of the following functions are even? odd? neither? (a) f (x) = 3x^2 + 6x^4 (b) f (x) = |x| (c) f (x) = |x + 2| (d) f (x) = x^3 − 2 x (e) f (x) = 5x^2 − 9 (f) f (x) = 3x^2 + 4x (g) f (x) = 1 + x^7 (h) f (x) = x x− 21 (i) f (x) = x

6 x^2 + (j) f (x) = sin(x) (k) f (x) = cos(x) (l) f (x) = cos(x) + sin(x) (19) Let f (x) = 2x^2 − 1 and g(x) = 4x + 2 Find f ◦ g and g ◦ f. (20) Determine whether each given function is bijective on the given domain. If it is, obtain a formula for its inverse. (a) f (x) = x^4 on [-1,1] (b) f (x) = x^4 on [0,2] (c) f (x) = (x − 1)^2 on [1,3] (d) f (x) = (x − 1)^2 on [0,2] (e) f (x) = 1 + x^5 on [0,1] (21) Is the function f (x) = x^3 + 2 one-to-one?

(22) Let A = { 1 , 2 } and B = {a, b, c}. (a) How many functions are there from A to B? (b) How many of them are one-to-one? (23) Find domain and range of the following functions and sketch their graph. (a) f (x) = 5x^ − 2 (b) f (x) =

x − 9 + 4 (c) f (x) = x (^13) − 8 (d) f (x) = log 3 (x − 1) − 3 (e) f (x) = (x − 1)^3 (f) f (x) = x^3 − 1 (g) f (x) = 5x^2 (h) f (x) = 15 x^2 (i) f (x) = (x + 5)^2 (j) f (x) = (x − 2)^2 + 4 (k) f (x) = sin(x) − 3 (l) f (x) = sin(x − 3) (m) f (x) = 12 cos(x) (n) f (x) = 2 cos(x) (24) Compute the following limits: (a) lim x→ 1 5 x − 4 (b) lim x→− 3 | 7 x + 10|

(c) lim x→ 3 (x + 2)(x − 5) (d)

lim x→− 0. 5

x + 2 x + 1 (e) lim x→ 3

x − 9 x^2 (f) lim x→ 3

5 x^2 − 8 x − 13 x^2 − 5 (g)

lim x→ 2

3 x^2 − x − 10 x^2 − 4 (h)

lim x→ 3

x^4 − 81 2 x^2 − 5 x − 3 (i)

lim x→− 2

1 x +^

1 2 x^3 + 8 (j)

lim x→+∞

x^3 − 7 x x^3 (k) lim x→ 0

x^3 − 7 x x^3

(b)

lim x→ 0

ex

2 − 1 x sin(x) (c) lim x→+∞

3 x + 2

) 20 x

(d) lim x→+∞

5 x^20 + 3ex 6 x − ex (26) Consider the function

f (x) =

1 x^2 if^ x <^ −^1 2 if − 1 ≤ x < 1 3 if x = 1 x + 1 if 1 < x ≤ 2 − 1 (x−2)^2 if^ x >^2 (a) Sketch the graph of f. (b) Determine the following limits: (i) limx→− 1 + f (x) (ii) limx→− 1 − f (x) (iii) limx→− 1 f (x) (iv) limx→ 1 + f (x) (v) limx→ 1 − f (x) (vi) limx→ 1 f (x) (vii) limx→ 2 + f (x) (viii) limx→ 2 − f (x) (ix) limx→ 2 f (x) (x) limx→− 3 f (x) (xi) limx→ 5 f (x) (27) Is there any value of k that will make the function

f (x) =

{ (^) x (^2) − 2 x− 8 x+2 if^ x^6 =^ −^2 k if x = − 2 continuous at x = − 2? If so, what is it? Give reasons for your answer. (28) Is there any value of k that will make the function

f (x) =

{ (^) x (^2) +2x− 15 x− 3 if^ x^6 = 3 k if x = 3 continuous at x = 3? If so, what is it? Give reasons for your answer. (29) Show that x^2 − 6 x + 5 = has a root somewhere in the interval [0, 2]. (30) Prove that the function f (x) = 2x + 5 is uniformly continuous. (31) Consider the following market demand and supply functions:

QD = 50 − 2 P QS = −10 + P Graph the demand and supply functions on one diagram and z = QD − QS on another. Find the equilibrium price and quantity for this market and illustrate it on both graphs. Show that these demand and supply functions satisfy the conditions for the existence of a positive equilibrium price.