26
Dr. Abdulla Eid Section 2.1 Functions Dr. Abdulla Eid College of Science MATHS 103: Mathematics for Business I Dr. Abdulla Eid (University of Bahrain) Functions 1 / 26

d Section 2.1 Functions - Abdulla Eid · Section 2.1 Functions Dr. Abdulla Eid College of Science MATHS 103: Mathematics for Business I Dr. Abdulla Eid (University of Bahrain) Functions

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: d Section 2.1 Functions - Abdulla Eid · Section 2.1 Functions Dr. Abdulla Eid College of Science MATHS 103: Mathematics for Business I Dr. Abdulla Eid (University of Bahrain) Functions

Dr. AbdullaEidSection 2.1

Functions

Dr. Abdulla Eid

College of Science

MATHS 103: Mathematics for Business I

Dr. Abdulla Eid (University of Bahrain) Functions 1 / 26

Page 2: d Section 2.1 Functions - Abdulla Eid · Section 2.1 Functions Dr. Abdulla Eid College of Science MATHS 103: Mathematics for Business I Dr. Abdulla Eid (University of Bahrain) Functions

Dr. AbdullaEid1 Definition of a function.

2 Finding the domain of a function.

3 Finding function values.

4 Application of functions.

Dr. Abdulla Eid (University of Bahrain) Functions 2 / 26

Page 3: d Section 2.1 Functions - Abdulla Eid · Section 2.1 Functions Dr. Abdulla Eid College of Science MATHS 103: Mathematics for Business I Dr. Abdulla Eid (University of Bahrain) Functions

Dr. AbdullaEid

1. Definition of a function

A function from a set X to a set Y is an assignment (rule) that tells howone element x in X is related to only one element y in Y .

Notation:

f : X → Y .

y = f (x). ”f of x”.

x is called the input (independent variable) and y is called the output(dependent variable).

The set X is called the domain and Y is called the co–domain. Whilethe set of all outputs is called the range.

Think about the function as a vending machine!

Dr. Abdulla Eid (University of Bahrain) Functions 3 / 26

Page 4: d Section 2.1 Functions - Abdulla Eid · Section 2.1 Functions Dr. Abdulla Eid College of Science MATHS 103: Mathematics for Business I Dr. Abdulla Eid (University of Bahrain) Functions

Dr. AbdullaEid

Question: How to describe a function mathematically?Answer: By using algebraic formula!

Example

Consider the function

f : (−∞, ∞)→ (−∞, ∞)

x 7→ 3x + 1

or simply by f (x) = 3x + 1

f(1)=3(1)+1=4.

f(0)=3(0)+1=1.

f(-2)=3(-2)+1=-5.

f(-7)=3(-7)+1=-20.

Domain = (−∞, ∞).

Co–domain=(−∞, ∞).

Range=(−∞, ∞).

Dr. Abdulla Eid (University of Bahrain) Functions 4 / 26

Page 5: d Section 2.1 Functions - Abdulla Eid · Section 2.1 Functions Dr. Abdulla Eid College of Science MATHS 103: Mathematics for Business I Dr. Abdulla Eid (University of Bahrain) Functions

Dr. AbdullaEid

Example

f : (−∞, ∞)→ (−∞, ∞)

x 7→ x2

or simply by f (x) = x2

f(1)=(1)2=1.

f(0)=(0)2=0.

f(-1)=(−1)2=1.

f(-2)=(−2)2=4.

f(14)=(−4)2=16.

f(4)=(4)2=16.

Domain = (−∞, ∞).

Co–domain=(−∞, ∞).

Range=[0, ∞).

Dr. Abdulla Eid (University of Bahrain) Functions 5 / 26

Page 6: d Section 2.1 Functions - Abdulla Eid · Section 2.1 Functions Dr. Abdulla Eid College of Science MATHS 103: Mathematics for Business I Dr. Abdulla Eid (University of Bahrain) Functions

Dr. AbdullaEid

Example

f : (−∞, ∞)→ (−∞, ∞)

x 7→ 1

x

or simply by f (x) = 1x

f(1)=11=1.

f(-1)= 1−1=-1.

f(2)=12=1

2 .f(-4)= 1

−4=−14 .

f(100)= 1100= 1

100 .f(0)=1

0=undefine (Problem, so we have to exclude it from thedomain!)

Domain = {x | x 6= 0}.Co–domain=(−∞, ∞).Range={y |, y 6= 0}.

Dr. Abdulla Eid (University of Bahrain) Functions 6 / 26

Page 7: d Section 2.1 Functions - Abdulla Eid · Section 2.1 Functions Dr. Abdulla Eid College of Science MATHS 103: Mathematics for Business I Dr. Abdulla Eid (University of Bahrain) Functions

Dr. AbdullaEid

2. Finding the domain of functionsRecall:The domain of f is the set of all x such that f (x) defined (makes sense).I.e., no problems like having a zero in the denominator or negative insidethe square root, etc). so

Domain of f = {x | f (x) defined }

Example

(Zero denominator) Find the domain of f (x) = 3x−1 .

Solution: Here we would have problems (undefined values) only if thedenominator is equal to zero, so we need to find when the denominator isequal to zero and we exclude them from the domain.

x − 1 = 0→ x = 1

So the domain of f is the set of all values except x = 1Dr. Abdulla Eid (University of Bahrain) Functions 7 / 26

Page 8: d Section 2.1 Functions - Abdulla Eid · Section 2.1 Functions Dr. Abdulla Eid College of Science MATHS 103: Mathematics for Business I Dr. Abdulla Eid (University of Bahrain) Functions

Dr. AbdullaEid

The domain

1- Set notationDomain = {x | x 6= 1︸ ︷︷ ︸

your answer

}

2- Number Line notation

3- Interval notation(−∞, 1) ∪ (1, ∞)

Dr. Abdulla Eid (University of Bahrain) Functions 8 / 26

Page 9: d Section 2.1 Functions - Abdulla Eid · Section 2.1 Functions Dr. Abdulla Eid College of Science MATHS 103: Mathematics for Business I Dr. Abdulla Eid (University of Bahrain) Functions

Dr. AbdullaEid

Exercise

Find the domain of f (x) = 2x+13x+8 .

Dr. Abdulla Eid (University of Bahrain) Functions 9 / 26

Page 10: d Section 2.1 Functions - Abdulla Eid · Section 2.1 Functions Dr. Abdulla Eid College of Science MATHS 103: Mathematics for Business I Dr. Abdulla Eid (University of Bahrain) Functions

Dr. AbdullaEid

Example

(Zero denominator) Find the domain of f (x) = x2−13x2−5x−2 .

Solution: Similarly to the previous example, we would have problems(undefined values) only if the denominator is equal to zero, so we need tofind when the denominator is equal to zero and we exclude them from thedomain.

3x2 − 5x − 2 = 0

x = 2 or x =−1

3(Section 0.8 using the formula)

So the domain of f is the set of all values except x = 2 and x = − 13

Dr. Abdulla Eid (University of Bahrain) Functions 10 / 26

Page 11: d Section 2.1 Functions - Abdulla Eid · Section 2.1 Functions Dr. Abdulla Eid College of Science MATHS 103: Mathematics for Business I Dr. Abdulla Eid (University of Bahrain) Functions

Dr. AbdullaEid

The domain

1- Set notation

Domain = {x | x 6= 2 and x 6= −1

3}

2- Number Line notation

3- Interval notation

(−∞,−1

3) ∪ (−1

3, 2) ∪ (2, ∞)

Dr. Abdulla Eid (University of Bahrain) Functions 11 / 26

Page 12: d Section 2.1 Functions - Abdulla Eid · Section 2.1 Functions Dr. Abdulla Eid College of Science MATHS 103: Mathematics for Business I Dr. Abdulla Eid (University of Bahrain) Functions

Dr. AbdullaEid

Exercise

Find the domain of f (x) = 21x2+3

.

Dr. Abdulla Eid (University of Bahrain) Functions 12 / 26

Page 13: d Section 2.1 Functions - Abdulla Eid · Section 2.1 Functions Dr. Abdulla Eid College of Science MATHS 103: Mathematics for Business I Dr. Abdulla Eid (University of Bahrain) Functions

Dr. AbdullaEid

Example

(Negative inside the root) Find the domain of f (x) =√

2x − 4.

Solution: Here we would have problems (undefined values) only if there isa negative inside the square root, so we need to find all values that make2x − 4 is greater than or equal to zero, so we need to solve the inequality

2x − 4 ≥ 0→ x ≥ 2

So the domain of f is the set of all values x such that x ≥ 2

Dr. Abdulla Eid (University of Bahrain) Functions 13 / 26

Page 14: d Section 2.1 Functions - Abdulla Eid · Section 2.1 Functions Dr. Abdulla Eid College of Science MATHS 103: Mathematics for Business I Dr. Abdulla Eid (University of Bahrain) Functions

Dr. AbdullaEid

The domain

1- Set notationDomain = {x | x ≥ 2}

2- Number Line notation

3- Interval notation[2, ∞)

Dr. Abdulla Eid (University of Bahrain) Functions 14 / 26

Page 15: d Section 2.1 Functions - Abdulla Eid · Section 2.1 Functions Dr. Abdulla Eid College of Science MATHS 103: Mathematics for Business I Dr. Abdulla Eid (University of Bahrain) Functions

Dr. AbdullaEid

Example

(Negative inside the root and zero in the denominator) Find the domain off (x) = 3√

x−4 .

Solution: Here we would have two problems (undefined values) only ifthere is a negative inside the square root or zero in the denominator, so weneed to find all values that make x − 4 is is equal to zero and we excludethem. Then we find all the values that make x − 4 non–negative, so weneed to solve the first

denominator = 0 and inside ≥ 0

x − 4 = 0 and x − 4 ≥ 0

So the domain of f is the set of all values x such that x ≥ 4 and x 6= 4

Dr. Abdulla Eid (University of Bahrain) Functions 15 / 26

Page 16: d Section 2.1 Functions - Abdulla Eid · Section 2.1 Functions Dr. Abdulla Eid College of Science MATHS 103: Mathematics for Business I Dr. Abdulla Eid (University of Bahrain) Functions

Dr. AbdullaEid

The domain

1- Set notationDomain = {x | x ≥ 4 and x 6= 4}

2- Number Line notation

3- Interval notation(4, ∞)

Dr. Abdulla Eid (University of Bahrain) Functions 16 / 26

Page 17: d Section 2.1 Functions - Abdulla Eid · Section 2.1 Functions Dr. Abdulla Eid College of Science MATHS 103: Mathematics for Business I Dr. Abdulla Eid (University of Bahrain) Functions

Dr. AbdullaEid

Exercise

Find the domain of f (x) = 3x2+1√3x+6

.

Exercise

Find the domain of f (x) =√x+5

2x−4 .

Dr. Abdulla Eid (University of Bahrain) Functions 17 / 26

Page 18: d Section 2.1 Functions - Abdulla Eid · Section 2.1 Functions Dr. Abdulla Eid College of Science MATHS 103: Mathematics for Business I Dr. Abdulla Eid (University of Bahrain) Functions

Dr. AbdullaEid

Exercise

(Old Exam Question) Find the domain of the following functions:

f (x) = 2x + 5.

g(x) = 4x2−4 .

h(x) =√

3x + 1.

Dr. Abdulla Eid (University of Bahrain) Functions 18 / 26

Page 19: d Section 2.1 Functions - Abdulla Eid · Section 2.1 Functions Dr. Abdulla Eid College of Science MATHS 103: Mathematics for Business I Dr. Abdulla Eid (University of Bahrain) Functions

Dr. AbdullaEid

Example

(Negative inside two roots) Find the domain of f (x) =√

2−√x .

Solution: Here we would have problems (undefined values) only if there isa negative inside the square roots, so we need to find all values that makewhatever inside the square root to be greater than or equal to zero, so weneed to solve two inequalities at the same time

x ≥ 0 and 2−√x ≥ 0

x ≥ 0 and 4 ≥ x

So the domain of f is the set of all values x such that x ≥ 0 and 4 ≥ x .

Dr. Abdulla Eid (University of Bahrain) Functions 19 / 26

Page 20: d Section 2.1 Functions - Abdulla Eid · Section 2.1 Functions Dr. Abdulla Eid College of Science MATHS 103: Mathematics for Business I Dr. Abdulla Eid (University of Bahrain) Functions

Dr. AbdullaEid

The domain

1- Set notationDomain = {x | x ≥ 0 and 4 ≥ x}

2- Number Line notation

3- Interval notation[0, 4]

Dr. Abdulla Eid (University of Bahrain) Functions 20 / 26

Page 21: d Section 2.1 Functions - Abdulla Eid · Section 2.1 Functions Dr. Abdulla Eid College of Science MATHS 103: Mathematics for Business I Dr. Abdulla Eid (University of Bahrain) Functions

Dr. AbdullaEid

Finding Function Values

Recall(a± b)2 = a2 ± 2ab+ b2

Example

Let g(x) = x2 − 2. Find

f(2)=(2)2 − 2=2. (we replace each x with 2).

f(u)=(u)2 − 2=u2 − 2.

f(u2)=(u2)2 − 2=u4 − 2.

f(u + 1)=(u + 1)2 − 2=u2 + 2u + 1− 2 = u2 + 2u − 1.

Dr. Abdulla Eid (University of Bahrain) Functions 21 / 26

Page 22: d Section 2.1 Functions - Abdulla Eid · Section 2.1 Functions Dr. Abdulla Eid College of Science MATHS 103: Mathematics for Business I Dr. Abdulla Eid (University of Bahrain) Functions

Dr. AbdullaEid

Exercise

Let f (x) = x−5x2+3

. Find

f (5).

f (2x).

f (x + h).

f (−7).

Dr. Abdulla Eid (University of Bahrain) Functions 22 / 26

Page 23: d Section 2.1 Functions - Abdulla Eid · Section 2.1 Functions Dr. Abdulla Eid College of Science MATHS 103: Mathematics for Business I Dr. Abdulla Eid (University of Bahrain) Functions

Dr. AbdullaEid

Example

Let f (x) = x2 + 2x . Find f (x+h)−f (x)h .

Solution:

f (x + h)− f (x)

h=

(x + h)2 + 2(x + h)− (x2 + 2x)

h

=x2 + 2xh+ h2 + 2x + 2h− x2 − 2x

h

=2xh+ h2 + 2h

h

=h(2x + h+ 2)

h= 2x + h+ 2

Dr. Abdulla Eid (University of Bahrain) Functions 23 / 26

Page 24: d Section 2.1 Functions - Abdulla Eid · Section 2.1 Functions Dr. Abdulla Eid College of Science MATHS 103: Mathematics for Business I Dr. Abdulla Eid (University of Bahrain) Functions

Dr. AbdullaEid

Exercise

Let f (x) = 2x2 − x + 1. Find f (x)−f (2)x−2 .

Dr. Abdulla Eid (University of Bahrain) Functions 24 / 26

Page 25: d Section 2.1 Functions - Abdulla Eid · Section 2.1 Functions Dr. Abdulla Eid College of Science MATHS 103: Mathematics for Business I Dr. Abdulla Eid (University of Bahrain) Functions

Dr. AbdullaEid

4. Application of Functions

Example

(Demand Function) The demand function is expressed as the following forcertain item

p =120

q,

where q is the number of units and p is the price for unit. If the price is 6BD per unit, how many units we have?

Solution:

p =120

q

6 =120

q

6q = 120

q =120

6= 20

So we have 20 items.

Dr. Abdulla Eid (University of Bahrain) Functions 25 / 26

Page 26: d Section 2.1 Functions - Abdulla Eid · Section 2.1 Functions Dr. Abdulla Eid College of Science MATHS 103: Mathematics for Business I Dr. Abdulla Eid (University of Bahrain) Functions

Dr. AbdullaEid

Example

A company has capital of 7000 BD and weekly income of 320 BD andweekly expenses of 210 BD. Find the value V of the company in terms oft which is the number of weeks.

Solution:V (t) = 7000 + (320− 210)t

V (t) = 7000 + 110t

Dr. Abdulla Eid (University of Bahrain) Functions 26 / 26