Functions and Relations

Use the first row

1. Each student in this room is asked to select their favorite problem on the board from last night’s HW.

2. Each student is asked which of the first five problems they believe to be correct

3. Each student is asked to select a student from the second row.

We do the same idea as above but with numbers

Relation: a correspondence between two sets –

We can write as ordered pairs of the form (x,y), use a graph, or we can use an equation to represent the relation

SetsGraphs Equations

Function: a relation in which each x has only one value of y associated with it.

Domain: set of all permissible value of x

Range: set of all permissible values of y ( obtained by using permissible values of x)

sets:

a) b)

Relation, Function, both, neither ?Relation, Function, both, neither ?

Domain: Domain:

______

Range: Range:

______

c) d)

Relation, Function, both, neither ?Relation, Function, both, neither ?

Domain: Domain:

______

Range: Range:

______

Graphs:

Vertical line test:

construct vertical line – if each line crosses graph only once, then we have a function

if more than one crossing point, then it is just a relation

y = | x |y = 4 x

a) b)

c) y2 = x2 + 1 d) y2 = x+1

equations

a) y = 2x – 3 b) x2 + y2 = 4

c) y = log b x d) xy = 3

Graph each of the following.

a) 2x = y – 4b) x2 = y – 2x + 1

c) f(x) = 3x d) g(x) = log4 x

Which of these relations are also functions ?

2x

a) y = ------b) | y | = 2x

x2 + 5x - 14

c) x2 + 2x + y2 = 4d) y + 4= 0

Find the domain of

a) y = 2x – 1 b) y =

c)y = d) y =

4. Find the range of

a) y = x2 + 2 b) y = x + 2

c) circle of radius 2 with center at (2, -1 ).

Problem Set #16

Linear Equations

An equation of the form ax + by = c is called a linear equation

ex. 2x – 3y = 4, 4x = 6x + 1 , x = - 2y + 4, x = - 3, y = 4

ex. 0x + 2y = 4 ex. 3x + 0y = 9 ex. 3x – y = 6

There are three types of lines.

horizontal, vertical, and slant lines.

A horizontal line has slope zero and because it crosses the y –axis, its equation is of the form y = b

A vertical line has an undefined slope and because it crosses the x-axis its equation is of the form x = a

Slant lines have a slope and are of the type y = mx + b

We can find the slope by using m = = or by writing an equation in the form y = mx + b

ex. Find the slope of

a) y = 3  ______b) x = - 3  _____

c) 2x – y = 3  ______

ex. Find the equation of the line that

a) is horizontal and passes through ( 4, 7 ) b) is vertical and passes through the point ( -1, 5).

c) passes through (-1, 4) and has slope 2.

d) is parallel to 2x + 3y = 1 and passes through ( -1, 4)

e) passes through ( 4, -1) and ( 3, 0 )

f) is perpendicular to 2x – 3y = 4 and passes through the point (2, -3 )

Other Material: Use of Quadratic Equations

x2 + 12x – 64 = 0

Find the sum of the roots ( solutions ) . ______product of the roots . ______

What about

x2 – 2x - 123 = 0 sum = ______product = ______

Now try,

21x2 + 4x - 32 = 0 ==> sum = ______product = ______

Notation:

if f(x) = x2 + 2x – 1,

then f(0) = ______f(2) = ______and f(h) = ______

Problem set #17

Quadratic Functions

Quadratic Functions: The graph of a function of the form

f(x) = ax2 + bx + c or y = ax2 + bx + c is

a parabola that opens up if a > 0 , opens downward if a < 0

with vertex V ( - b/2a, f(-b/2a) )

We can find the x-intercept, the y-intercept, and a couple of points to get an idea of the graph of the function.

ex. Sketch the graph of f(x) = - 2x2 – 4x + 1

ex. Sketch the graph of g(x) = 4x2 + 2x

ex. What is the maximum value of h(x) = - 2x2 + 3 ? and where does it occur ?

ex. The sum of two numbers is 28. Find the two numbers so that their product is a maximum.

ex. find the minimum ( maximum) : f(x) = ½ x2 + 4x

ex. profit: P = 16x - 0.1x2 - 100

a) at what level of production is the profit at its maximum ? b) What is the maximum profit ?

ex. I have 150 feet of fencing. what should the dimensions of my rectangular yard be if the area enclosed is as large as

possible.

ex. 42/290: f(x) = 104.5x2 - 1501.5x + 6016 → models the death rate per year per 100,000 males, f(x) , for US men who

average x hours of sleep each night. How many hours of sleep, to the nearest tenth of an hour, corresponds to

the minimum death rate ? What is this minimum death rate, to the nearest whole number ?

ex. 57/291: f(x) = - 0.018x2 + 1.93x - 25.34 describes the miles per gallon, f(x), of a Ford Taurus

driven at x miles per hour. Suppose that you own a Ford Taurus. describe how you can use

this function to save money.

Functional Notation:

Let f(x) = x2 and g(x) = 2x + 4

Find

a) f + g: b) fg :

c) f/g :

d) composition of functions ---

f o g : ( f (g(x) ) ) =

2. Find each of the four values above for x = 1

a) (f + g )(1) = ______b) (fg)(1) = ______

c) ( f/g) ( 1 ) = ______d) ( f o g ) ( 1 ) = ______

e) f ( h ) = ______f) g( 2 + h) = ______

Problem set #18

Logarithms and Exponential Functions

Exponential:

We write y = ax or f(x) = ax

ex. let f(x) = 2x ,

find f(0) = ______, f(1) = ______, f( 2) = ______f( -1 ) = ______

f( -2) = ______

x / 0 / 1 / 2 / -1 / -2 / -3
f(x)

We get a graph for this function - is it really a function ? _____

This idea would work with any exponential function of the form f(x) = ax.

What is the graph of y = 2x ?

x / 0 / 1 / 2 / -1 / -2 / -3
f(x)

What about y = - 2x

x / 0 / 1 / 2 / -1 / -2 / -3
f(x)

Exponential Functions:

General equation: f(x) = ax

Graph

Some examples: y = 12 x, g(x) = 2 x + 3

Graphs of

y = a-x y = - axy = - a –x

x-intercept: ______y-intercept = ______

What about equations like y = 3 + 2x, what is the y-intercept ? the x-intercept ?

49/383

52/383

55/383

Also, find ( 1 + 1/m ) m as m gets larger and larger ( as m → ∞) . ( 1 + 1/m)m→______

Find the domain, the range, x and y –intercepts of

Logarithms

Logarithm: We write y = logbx or f(x) = logb x

We say “the logarithm of x base b” to mean there is an exponent y so that by = x.

ex. Log 5 125 = y → 5y = 125 → y = ? ______

log 64 8 = y → 64 y = 8 → y = ? ______

ex. let f(x) = log 2 x find f( 0 ) = ______f(1) = ______f(2) = ______

f( 4) = ______

f( ½ ) = ______f( 1/8 ) = ______What about f( - 2) = ? ______

x / 0 / 1 / 2 / ½ / ¼ / -1
f(x)

This is the general graph for y = log b x

Examples:

. Find x so that 128 = 2x , x = ______

What about 345 = 2x, x = ______

Properties of Exponents and Logarithms:

1) Domain

of y = ax ==> of y = log b x ==>

2) Range

of y = ax ==> of y = log b x ==>

3) x-intercept

of y = axof y = log b x

Other Properties of Exponents and Logarithms.

1. log b xy = log bx + log b y

2. log b (x/y) = log b x - log b y

3. log b (xk ) = k log b x

Other properties

4. log b 1 = 0

5. log b b = 1

6. log b 0 = undefined

7. log b ( x) = undefined if x < 0

IF b = 10 ,

we write log 10 x = log x and call it the common logarithm

If b = e ( where is the irrational number e ),

we write log e x = ln x ---- and call it the natural logarithm

Domain: Find the domain of y = log b ( x + 2 )

Find the domain of y = ( x2 – 2x – 3 )

examples:

81/396

84/396

Note: log x2 = 2 log x so do they represent the same thing ? In other words look at their graphs

y = log x2 and y = 2 log x

ex. Find the solution of

log2 x - log2 (x - 2 ) = 1what about log2 x - log2 (x + 2 ) = 1?

log 2 x + log 2 (x – 3 ) = 2

Other examples

ex. Find the domain of

a) y = log 3 ( 2x – 1 ) → ______

b) f(x) = → ______

c) g(x) = log 2 ( x 2 - 2x – 8 ) → ______

d) h(x) = → ______

ex. Find x if

a) → x = ______

b) log2 x + log2 (x+1 ) = 1 → x = ______

c) log4 165 = x → ______

d) log x - log (2x – 1 ) = 0 → ______

e) If log b 16 = 0.21, then find logb 2 = ______

Problem set #19

Chapter 6. Solving Polynomial Equations

Long hand division –

ex. 12  5 = ______

ex. Suppose you had 17 apples that were to be evenly divided by five individuals. How much should

each one get so that nothing remains ?

ex. Find ( x2 - 4 )  ( x + 2 ) = ______

ex. Find ( x2 + 3x - 4 )  ( x – 1 ) = ______

ex. Find ( x2 + 2 )  ( x + 2 ) = ______

The remainder Thm.

Let P(x) be a polynomial with real coefficients. The remainder of P(x)  ( x – r ) is the same as P(r).

ex. Find the remainder of

(x2 + 3x - 4 )  ( x – 1 )  ______

( x2 + 2 )  ( x + 2 )  ______

What happens when the remainder is zero ? ______

The Factor Thm and its converse.

If (x – r) is a factor of the polynomial P(x), then r is a root of P(x) = 0

ex. x2 – 4x – 5: we can see that x – 5 is a factor and what are the solutions of x2 – 4x – 5 = 0 ? ______

another factor ? ______

If r is a root (zero, solution of ) of P(x) = 0 , then x – r is a factor of the polynomial P(x) = 0

ex. when we solve the equation x2 – 4x = 0 we get x = ______

find the factors.

______

Use of the Remainder and Factor Theorems.

1) Is ( x + 1 ) a factor of ( x4 - 5x - 4 ) ? ______

2) Is ( x – 2 ) a factor of 3x3 - 9x – 6 ? ______

3) is x = 3 a solution of the equation x3 – 6x – 9 = 0 ? Can you find all of the factors of x3 – 6x – 9 ?

4) Factor x3 + 2x + 1 by using the fact that x = -1 is a solution of the equation x3 + 2x + 1 = 0

Sometimes finding the remainder is not sufficient. Finding the quotient may be useful and in that case

the remainder thm. is not sufficient. We can use long-hand division or Synthetic Division.

Synthetic Division

shorthand way of dividing two polynomials where the divisor is of the form x – r.

ex. (x2 + 2 )  ( x + 2 ) = ______

ex. Find ( x4 - 5x - 4 )  ( x + 1 ) = ______

ex. Find all of the roots ( solutions ) of x3 + 2x + 1 = 0

ex. Find all zeros of the polynomial P(x) = x3 + 1.

Problem set #20

A polynomial P(x) can always be written in the form anxn + an-1xn-1 + … + a2x2 + a1x + a0

example: 3x4 + x2 – 2x + 7  ______

4x3 + 2x – 3  ______

The degree of a polynomial provides information as to the number of roots (solutions) the polynomial

equation will have. We can use the factor thm to arrive at the following conclusion.

Fundamental Theorem of Algebra

Let P(x) be a polynomial with real coefficients and of degree n. Then P(x) has n roots which

1) may or may not be distinctive

2) may or may not be real

ex. x2 + 4 = 0 has how many roots ? ______and they are both ? ______

ex. 4x2 - 9 = 0 ______

ex. x2 - 4x + 4 = 0 ______

Now we find all of the roots of the equation x3 + 1 = 0 . there are ______roots and they are

______

Descartes’ Rule of signs:

can be used to reduce the number of possibilities(roots).

If the original polynomial P(x) has no sign variations, then it has no positive roots

If P( - x ) has no sign variations , then P(x) has no negative roots.

By itself Descartes’ Rule of signs is not very helpful but when used with the following thm. , it is useful in finding roots of some polynomial equations.

ex. x4 + 3x2 + 2 = 0  Find all of the roots. How many of them are positive ? ______

How many are negative ? ______

ex. What about x5 - 2x - 3 = 0 → positive ? ______negative ? ______

Conjugate Pairs Thm.

Let P(x) be a polynomial with real coefficients. If a + bi is a solution (root) of P(x) = 0, then so

is

______.

ex. x2 + 9 = 0  ______

ex. x4 + 5x2 + 4 = 0  ______

Quadratic Pairs:

Let P(x) be a polynomial with rational coefficients. If is a solution of P(x) = 0 , b not a

perfect square, then so is

______

ex. x2 + 6x - 5 = 0 ex. x2 - 3 = 0

Rational roots:

Let P(x) be a polynomial with rational coefficients. If r is a rational solution of the equation P(x) = 0,

then r can be written in the form r = p/q, where p is a factor of the constant term and q is a factor

of the leading coefficient of P(x).

ex. x3 - 4x + 3 = 0 c = 3 and leading coefficient is 1

ex. 2x4 + 3x2 - 5 = 0

Additional Examples

Synthetic Division -

the remainder thm is useful but it does not provide a quotient.

(x2 + 2x + 1 )  ( x – 1 ) = ______

(x3 + x + 2 )  ( x + 2 ) = ______

Find P( 4 ) if P(x) = 2x3 – 2x + 1 ______

Is 4 a solution of P(x) = 0 ? Why or why not ?

Is x – 4 a factor of P(x) ? Why or why not ?

Find ( 2x3 - 2x + 1 )  ( x – 4 ) = ______

Is x + y factor of x3 + 2xy2 – y3 ?

Find all of the roots of x3 - 2x + 1 = 0 if x = 1 is known to be a solution.

Find all of the zeros of the polynomial x3 - 2x2 + x – 2 = 0

Find all of the zeros of x4 - 2x3 + 5x2 - 8x + 4 = 0

Problem set 21

Binomial Expansion

( a + b)n = ______

ex. ( a + b)0 = ______

ex. ( 2x + y)1 = ______

ex. ( x – y )2 = ______

ex ( x + 2y )3 = ______

ex. ( x + y)5 = ______

In general we find patterns that allow us to find specific terms of an expansion without having to find all of the terms.

ex. Find the first two terms of the expansion of

( 2x – 1/x )6 = ______

ex. Find the last two terms of the expansion of ( x + 1/x)7 = ______

ex. How many terms are in the expansion of ( 3x + 2y )12 ? ______

ex. We can find any term along the way, say the 7th term of ( x2 + x)12 → ______

Inequalities in two variables ( on the plane )

Find the solution of the following inequalities.

x + 2y > 4

2x – y < 2

x < 4

Find the solution of the following system of inequalities.

x + 2y > 4

2x – y < 2

2x – y < 2

x < 4

Problem set #22

System of Equations

Substitution :

2x – 3y = 6

x + 5y = 3

1) decide which variable in what equation to solve for:

2) Solve for that variable in that equation:

3) Substitute in the other equation:

4) Go back and use equation from 2 to obtain the remaining part of your solution:

→solution: (x,y) =

Another example:

3x – 6y = 3

2x + 4y = 2

Elimination:

x + 4y = -2

3x – 2y = 8

1) decide which variable to eliminate:

2) Get the LCM of the coefficients of the chosen variable:

3) ( Add-subtract) to eliminate variable and create a new equation without variable.

4) Solve for remaining variable.

5) Back substitute into original equations ( any one of them ) to solve for remaining variable .

Solution: (x, y )

Another example:

3x – 12y = 1

2x - 8y = 3

Additional examples:

page 452:

1)

5)

17)

19)

29)

43)

47)

System in three variables:

Reduce to a system in two variable by eliminating one variable and creating two new equations in

only two variables. Solve the new system of two equations and two variables.

x + 2y + 3z = 7

2x – y – 4z = -1

x + 2y – z = 5

1) eliminate ____

a) use equations: ___ and __

b) use equations: ___ and _____

2) Solve the new system

3) Final Solution:

Another example:

x + 2y – z = 5

x + y = 3

x - z = 2

More Examples on page 481

2)

8)

14)

20)

Problem set #23

Variation: direct and inverse

We say that y varies directly as x if

there exists a constant k so that y = kx.

We say that y varies inversely as x if

there exists a constant k so that y = k/x.

ex. 32/364

ex. 34/ 364

ex. 38/364

ex. 39/364

ex. 45/ 364

Matrices

General Notation:

1) rectangular array of numbers with rows and columns

We normally use capital letters to name the matrices.

A = , B = , C = , D = , E =

2) Dimension of a matrix: m x n

We use the number of rows and columns to describe the matrix.

A is a ______matrix B is a ______matrix

C: ______D: ______E: ______

3) elements of a matrix: aij

Look at matrix C: we can label the elements of C as follows:

Look at matrix E: we can label the elements of E as follows:

Look at matrix D: find each of the following entries (elements)

d13 = ______d32 = ______d42 = ______

d25 =______

Special Types of Matrices:

Zero Matrices: All entries are zero

2x2 zero matrix 1x5 zero matrix 4x3 zero matrix

Square Matrix: A matrix that has the same number of rows as columns

A = , B = C =

Identity Matrices: diagonal entries – a11, a22, a33,.... are all = 1 while all other entries = 0

, , , , ....

Addition: add corresponding entries so that you end up with a matrix that resembles the original two in size- this can

only occur if the original matrices are identical in size .

A + B is defined if A : m x n matrix, then B must also be m x n matrix.

+ = ______ + =

Subtraction: if treat matrices as real numbers, we can use addition.

Let - A represent the opposite of matrix A. Then B – A = B + ( -A).

- =

- =

There are two types of products of matrices –

multiplication by a scalar (nonmatrix – real number)

multiplication of two matrices

Scalar Multiplication: easy product - distributive law

a) 4 = b) - 2 =

c) - 2 =

Some Simple products of Two matrices:

If we multiply matrix A by B( in that order), then the number of columns of A must be the same

as the number of rows of A. If A is an m x p matrix, then B must be a p x n matrix

ex. • = ? • = ?

ex. • = ex. • =

In the two examples above, what do you get if you change the order of the matrices ?

ex. • =

General Product of Matrices

ex. • =

ex. • =

ex.

Sequences

Factorials:

Def. n! = n(n-1)(n-2)  (2) (1)

ex. 4 ! = 4(3)(2)(1) = 24 ex. 6 ! = ______ex. 100 ! = ______

We define 1 ! = 1 and 0! = ______

Find 5 ! = ______4 ! / ( 5 ! - 7 ! ) = ______240! / 241 ! = ______

Sequences:

a1, a2, a3, …

a correspondence between the set of natural numbers and a second set( we can list the numbers in a list, 1st, 2nd, 3rd, … )

We can have a finite sequence; there is a beginning term and an ending term

a1, a2, a3,… an here an represents the last term and n represents the number of terms in the

sequence.

We can have an infinite sequence;

a1, a2, a3, …, an,…  here an represents a general term of the sequence, the 3rd , the 10th, …

1, 4, 7, _____, ______12, 5, - 2, ______, ______

1, 3, 4, 7, 11, ______, ______2, 6, 10, 18, 34, ______, ______

2, - 4, 8, ______, ______16, 4, 1, ______, ______, ______

-2, 0, 2, 0, -2, 0, 2, ______, ______

1, ½, 1/3, ______, ______, ______2, ½, 3, 1/3, ______, ______,

½, 2/3, ¾, 4/5, ______, ______

x, 3x – 1, 5x – 2, ....2, x + 4, x2 + 6x + 8, ....

There are several ways to describe a sequence.

By its position ( the value of n). If an represents the fifth term, then n = 5, its position.

ex. if an = 3n + 1then a1 = ______, a3 = ______a25 = ______

ex. an = ( -1)n - 1 , a1 = ______, a2 = ______a3 = ______, a20 = ______

By using preceding terms in the sequence, an represents the current term in question,

while an-1 represents the preceding term, an-2 represents the term right before the preceding term,…

ex. an = ( an-1 ) 2 , a1 = - 2, a2 = ______, a3 = ______, a20 = ______

ex. an = 2 - an-1, a1 = 3, a2 = ______a3 = ______, a5 = ______

Summation of a sequence:

Suppose you wanted to find the sum the first five terms of the sequence defined by

an = 2n, we can easily list the five terms and find their sum.

We can also write  an or  2n to represent the sum.

Find each of the following sums:

1)

2)

3)

Three types of sequences and progressions.

Arithmetic Progressions (AP ): need 1st term (a1) and common difference ( d )

Geometric Progressions (GP ) : need 1st term (a1 ) and the common ratio ( r )

Harmonic Progressions (HP):