Download 5.1 Polynomial Functions

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Abuse of notation wikipedia , lookup

Functional decomposition wikipedia , lookup

Fundamental theorem of algebra wikipedia , lookup

Fundamental theorem of calculus wikipedia , lookup

Mathematics of radio engineering wikipedia , lookup

Big O notation wikipedia , lookup

Principia Mathematica wikipedia , lookup

Continuous function wikipedia , lookup

Non-standard calculus wikipedia , lookup

Dirac delta function wikipedia , lookup

Elementary mathematics wikipedia , lookup

Function (mathematics) wikipedia , lookup

History of the function concept wikipedia , lookup

Function of several real variables wikipedia , lookup

Transcript
c
Math 140, Benjamin
Aurispa
5.1 Polynomial Functions
Interval Notation:
Sets of real numbers that make up portions of the number line can be represented by intervals.
A closed interval, [a, b] = {x | a ≤ x ≤ b}; the set of all number between a and b, including the endpoints.
An open interval, (a, b) = {x | a < x < b}; the set of all numbers between a and b, NOT including the
endpoints.
An interval can also be half-open, half-closed: such as (a, b] or [a, b).
Parentheses indicate that the endpoint IS NOT included. Square brackets indicate that the endpoint IS
included.
The union of two intervals A ∪ B is the set of all numbers in either interval.
Examples: Represent the following using interval notation.
All real numbers
−3 < x ≤ 7
All x where x 6= 7
x ≥ 3 and x 6= 8
x < 2 and x 6= −5, −2
x ≤ −3 or x > 5
1
c
Math 140, Benjamin
Aurispa
What is a function?
A function is a rule that assigns to each input value exactly one output value. We write y = f (x) and say
“y is a function of x” to indicate that f takes values of x and assigns them values of y. The “input” variable
is called the independent variable and the “output” variable is called the dependent variable.
Example: For the function f (x) = x2 + 2x, find:
f (1)
f (−3)
f (a)
f (a + h)
f (a + h) − f (a)
The values you get when you “plug in” numbers into the function are the y-values in the graph.
Vertical Line Test: A graph in the coordinate plane is the graph of a function if and only if there is no
vertical line that intersects the curve more than once.
In other words, if any vertical line crosses a graph more than once, it is not a function.
Are the following graphs of functions?
2
c
Math 140, Benjamin
Aurispa
The domain of a function is the set of all x-values for which the function is defined. The range of a function
is the set of all y-values that the function attains or takes on.
For the graphs of the following functions, find f (−2), f (0), f (1) and then find the domain and range of each
function.
3
c
Math 140, Benjamin
Aurispa
A polynomial function is a function of the form
f (x) = an xn + an−1 xn−1 + · · · + a1 x + a0
Examples of polynomials: f (x) = x3 , f (x) = 2x2 − 6x + 7, f (x) = 23 x − 4
√
NOT polynomials: f (x) = x1 , f (x) = x1/2 , f (x) = 3 x
The degree of the polynomial is the highest power of x that appears.
The number an , the coefficient of the highest power of x, is called the leading coefficient and the term
an xn is called the leading term.
The numbers a0 , a1 , . . . , an are called the coefficients of the polynomial.
The number a0 is called the constant coefficient or constant term.
Examples: For the following polynomial functions, state the degree of the polynomial, the leading term, the
leading coefficient, and the constant term.
f (x) = −3x4 − 2x + 7
g(x) = 5x3 − 3x2
h(x) = 6x − 9
Polynomials of degree 2 are called quadratic functions. Polynomials of degree 3 are called cubic functions. You should be comfortable with recognizing the graphs of the parent functions f (x) = x2 and
f (x) = x3 shown below. Graphs of other quadratic and cubic polynomial functions are just shifts and
stretches and reflections of these two parent functions.
The domain of all polynomial functions is all real numbers: (−∞, ∞). The range depends on the polynomial.
4
c
Math 140, Benjamin
Aurispa
Definition: The zeros of a function f (x) are the values of x such that f (x) = 0. In other words, they are
the x-intercepts of the function.
What are the zeros of the function graphed below?
Finding zeros usually requires factoring!! If you don’t remember how to factor, though, you can ALWAYS
use the quadratic formula. The solution(s) to the equation ax2 + bx + c = 0 are given by
√
−b ± b2 − 4ac
provided b2 − 4ac ≥ 0
x=
2a
Find the zeros of the following functions.
f (x) = 4x2 − 36
f (x) = x2 + 4x − 21
f (x) = −6x2 + 14x − 4
f (x) = 2x3 + 13x2 + 15x
5
c
Math 140, Benjamin
Aurispa
f (x) = x2 − 3x − 3
The graph of EVERY quadratic function is a parabola. Whether the parabola opens upward or downward
depends on the sign of a. The vertex of a parabola is the point on the graph that has either the lowest
y-value (when opening up) or the highest y-value (when opening down).
If a quadratic function is written in standard form, the x-coordinate of the vertex is x = −
b
Then, the y-coordinate of the vertex, is just f − 2a
Example: Consider the quadratic function f (x) = 3x2 − 12x + 15.
• Find the vertex and determine if the parabola opens upward or downward.
• What is the minimum value? maximum value?
• What are the zeros?
6
b
.
2a
c
Math 140, Benjamin
Aurispa
Example: Consider the quadratic function f (x) = −4x2 − 12x − 8.
• Find the vertex and determine if the parabola opens upward or downward.
• What is the minimum value? maximum value?
• What are the zeros?
Applications of Quadratics
In Chapter 1, we saw that when the selling price s of an item is fixed, then the revenue function is R(x) = sx.
We also learned, however, that sometimes the price p of an object depends on the quantity demanded by
consumers x and is given by the demand equation. So, in general, if we are given a demand equation
p = ax + b, then the revenue function will now be R(x) = px = (ax + b)x = ax2 + bx, which is a quadratic
function.
Example: Suppose the price-demand equation for a product is given by p = −7x + 84.
• What is the revenue function?
• How many items should be sold to maximize revenue? What is the maximum revenue?
• What is the price per unit when the revenue is maximized?
• Now suppose the cost function for this company is C(x) = 35x + 70. How many items does the
company need to sell to break-even?
7
c
Math 140, Benjamin
Aurispa
Example: A company sells gadgets. They can sell 10 gadgets when the price is $170 and they can sell 20
gadgets when the price is $120. The company incurs production costs of $70 per gadget and the company
has fixed costs of $805.
• Find the price-demand equation, assuming it is linear.
• How many items should be sold to maximize revenue? What is the maximum revenue?
• At what price are the gadgets sold when revenue is maximized?
• What is the company’s profit function?
• How many items should be sold to maximize profit? What is the maximum profit?
• Determine the price of a gadget when the profit is maximized.
• How many gadgets does the company need to sell to break even?
8
c
Math 140, Benjamin
Aurispa
5.2 Rational, Power, and Pieceiwse Functions
Rational Functions
A rational functions is a function of the form f (x) =
p(x)
q(x)
where p(x) and q(x) are polynomials.
The only place a rational function is NOT defined is where the denominator is zero!! So, the domain of a
rational function is all real numbers EXCEPT the values of x for which the denominator is 0.
Find the domains of the following rational functions.
• f (x) =
x+3
x2 + 7x − 8
• f (x) =
x(x + 4)
x3 − 16x
To add/subtract rational expressions or functions, remember you must get a common denominator.
Add and simplify
x−3 x+5
+
x+2 x−1
f (a + h) − f (a)
This quantity is very important for calculus.
h
Examples: Find and simplify the difference quotient for the following functions.
The difference quotient is the quantity
• f (x) = −x2 − 3x + 1
9
c
Math 140, Benjamin
Aurispa
• f (x) =
2
x−1
Power Functions and Radical Functions
A power function is a function of the form f (x) = axr where r is a real nonzero number. Functions such as
f (x) = x2 and f (x) = x3 are power functions as well as polynomial functions. But since r does not have to
be an integer in a power function, we now have new functions like f (x) = x1/2 and f (x) = x1/3 which are
power functions but not polynomial functions.
If a power function has a fractional exponent, then it can also be referred to as a radical function. The
reason why is the following imporant relationship:
x1/n =
√
n
xm/n =
x
√
n
xm
So fractional exponents are radicals.
x1/2 =
x1/3 =
x3/4 =
√
√
The graph of f (x) = x1/2 = x and f (x) = x1/3 = 3 x are shown below. These are two more parent graphs
you should be familiar with.
For a function that involves radicals, the key to finding the domain is realizing that you can not take an
even root of a negative number!! Whatever you are taking an even root of must be ≥ 0. If the
even root is in the denominator, then it must be > 0.
For odd roots, since you CAN take the odd root of a negative number, there are no domain issues with odd
roots, unless it is in the denominator, in which case it cannot be 0.
Find the domains of the following functions.
• f (x) =
√
3x − 8
10
c
Math 140, Benjamin
Aurispa
• f (x) =
√
3
5x + 9
x
• h(x) = √
4
−6x − 5
√
x+1
• g(x) =
(x − 4)(4x + 3)
√
4
3x − 1
• f (x) = √
3
3x − 4
To rationalize the numerator or denominator of a fraction that involves radicals means to get rid of any
radicals in that part of the fraction. This often involves multiplying the numerator and the denominator by
the conjugate.
The conjugate of an expression is essentially formed by just changing the sign of the second term.
Rationalize the denominator and simplify the function below.
x−4
f (x) = √
x−2
11
c
Math 140, Benjamin
Aurispa
Rationalize
and simplify the function below.
√
√ the numerator
x+1+ x−2
g(x) =
x+3
Evaluate and simplify the difference quotient
√
f (a + h) − f (a)
for the function f (x) = x − 4.
h
Piecewise Functions
A piecewise function is a function which is defined differently on separate parts of its domain.
Example: Find f (−5), f (−1), f (1), f (4), f (6) for the following piecewise function.
f (x) =


 3x
if x ≤ −1
x+1
if −1 < x ≤ 4


(x − 2)2 if x > 4
Sketch graphs of the following functions.
f (x) =

2

 x − 1 if x < 0
1

 x−1
if 0 ≤ x ≤ 3
if x > 3
12
c
Math 140, Benjamin
Aurispa


 3−x
if −2 ≤ x < 2
f (x) =
1
if x = 2

 2x − 7 if x > 2
When finding the domain of a piecewise function, first check domain intervals and see if the function is
defined everywhere. Then, check each function piece to make sure it is defined everywhere on that interval.
 √
3
x
if x < 0



1
f (x) =
if 1 < x < 4


 x−2
7
if x ≥ 5
f (x) =







1
x+6
1
(x + 7)(x − 3)
if x < −4
if x ≥ −4
An important piecewise function is the absolute value function f (x) = |x|. Although it is written with the
bars, it really is a piecewise function. Write down the piecewise definition of f (x) = |x|.
13
c
Math 140, Benjamin
Aurispa
Sketch a graph of f (x) = |x − 3| and write it as a piecewise function.
Write f (x) = |5x + 9| as a piecewise function.
Example: Your cell phone plan charges you $40 per month plus an additional by-the-minute rate. For the
first 200 minutes, there is no additional charge. For every minute over 200, you pay an extra 1 cent per
minute. For every minute over 1000, you are charged 5 cents per minute. Find a piecewise function that
models your monthly bill as a function of the number of minutes you talk on the phone.
14