Download presentation
Presentation is loading. Please wait.
Published byClinton Page Modified over 7 years ago
1
2 Functions, Limits, and the Derivative Functions and Their Graphs
The Algebra of Functions Functions and Mathematical Models Limits One-Sided Limits and Continuity The Derivative
2
Function A rule that assigns to each element in a set A (the domain), one and only one element in a set B (the range) Domain Range mapping A -1 1 -6 1 3 -4 B
3
Function A function is a rule that assigns to each object in a set A exactly one object in a set B. The set A is called the domain of the function, and the set of assigned objects in B is called the range.
4
Function, or not? YES NO NO
5
Function Notation is a function, with values of x as the domain and values of y as the range. We write in place of y. This is read “f of x.” So NOTE: It is not f times x
6
To be convenient, we represent a functional relationship by an equation
In this context, x and y are called variable, furthermore, we refer to y as the dependent variable and to x as the independent variable. For instant, the function representation Noted that x and y can be substituted by other letters. For example, the above function can be represented by
7
Function Notation Example Solution Plug in –2
8
Function that describes tabular data
Table 1.1 Average Tuition and Fees for 4-Year Private Colleges Academic Year Tuition and Ending in Period n Fees $1,898 $2,700 $4,639 $7,048 $10,448 $13,785 $18,273
9
So how can we use functional notation to describe this kind of data that is listed in Table 1.1?
We can describe this data as a function f defined by the rule Thus, Noted that the domain of f is the set of integers What is the range of f ?
10
Piecewise-defined function
A piecewise-defined function is such a function that is often defined using more than one formula, where each individual formula describes the function on a subset of the domain. Here is an example of such a function
11
Since satisfies x<1, use the top part of the formula to find
Example 1 Find f(-1/2), f(1), and f(2), where the piecewise-defined function f(x) is given at the foregoing slide. Since satisfies x<1, use the top part of the formula to find However, x=1 and x=2 satisfy x≥1, so f(1) and f(2) are both found by using the bottom part of the formula: and Solution:
12
Domain Convention We assume the domain of f to be the set of all numbers for which f(x) is defined (as a real number). We refer to this as the natural domain of f. In general, there are two situations where a number is not in the domain of a function: 1) division by 0 2) The even number root of a negative number
13
Domain of a Function Ex1. Find the domain of
Since division by zero is undefined we must The domain can be expressed as the intervals
14
Domain of a Function Ex2. Find the domain of
Since the square root of a negative number is undefined we must have The domain can be expressed as the interval
15
Example 3 Find the domain and range of each of these functions a b. Solution: Since division by any number other than 0 is possible, the domain of f is the set of all numbers except 3. The range of f is the set of all numbers y except 0, since for any y≠0, there is an x such that ; in particular, Since negative numbers do not have real fourth roots, so the domain of g is the set of all numbers u such as u≥-2. The range of g is the set of all nonnegative numbers.
16
Graph of a Function The graph of a function is the set of all points (x, y) such that x is in the domain of f and y = f (x). Given the graph of y = f (x), find f (1). y f (1) = 2 (1, 2) x
17
Graph of a Function The graph of a function f consists of all points (x,y) where x is in the domain of f and y=f(x), that is, all points of the form (x,f(x)). Rectangular coordinate system, Horizontal axis, vertical axis. The below example shows that the function can be sketched by plotting a few points. x -3 -2 -1 1 2 3 4 f(x) -10 -4
18
Parabolas Parabolas: The graph of as long as A≠0.
All parabolas have a “U shape” and the parabola opens up if A>0 and down if A<0. The “peak” or “valley” of the parabola is called its vertex, and it always occurs where
19
Intersections of Graphs
Sometimes it is necessary to determine when two functions are equal. For example, an economist may wish to compute the market price at which the consumer demand for a commodity will be equal to supply.
20
The Vertical Line Test Vertical Line Test: The graph of a function can be crossed at most once by any vertical line. Function Not a Function It is crossed more than once.
21
The Vertical Line Test The Vertical Line Test: A curve is the graph of a function if and only if no vertical line intersects the curve more than once.
22
Algebra of Functions Domain:
Domain of f intersected with the domain of g. Domain: Domain of f intersected with the domain of g with the exclusion of all values of x, such that g(x) = 0.
24
Application Example (Functions )
The total revenue is given by the product R(x)=(number of items sold)(price per item) =xp=xD(x) If C(x) is the total cost of producing the x units, the profit is given by the function P(x)=R(x)-C(x)=xD(x)-C(x)
25
b. For what values of x is production of the coffee makers profitable?
Example Market research indicates that consumers will buy x thousand units of a particular kind of coffee maker when the unit price is dollars. The cost of producing the x thousand units is thousand dollars. a. What are the revenue and profit functions, R(x) and P(x), for this production process? b. For what values of x is production of the coffee makers profitable?
26
The demand function is , so the revenue is
Solution: The demand function is , so the revenue is thousand dollars, and the profit is (thousand dollars) b. Production is profitable when P(x)>0. We find that Thus, production is profitable for 2<x<17.
27
Application Example (Functions )
A shirt producer has a fixed monthly cost of $ If each shirt costs $3 and sells for $12 find: a. The cost function Cost: C(x) = 3x where x is the number of shirts produced. b. The revenue function Revenue: R(x) = 12x where x is the number of shirts sold. c. The profit from 900 shirts Profit: P(x) = Revenue – Cost = 12x – (3x ) = 9x – 5000 P(900) = 9(900) – 5000 = 3100, or $3100.
28
Application Example 2 (Functions)
A division of Chapman Corporation manufactures a pager. The weekly fixed cost for the division is $20,000, and the variable cost for producing x pagers/week is The company realizes a revenue of
29
1. Find the total cost function.
The total cost function is the variable cost plus the fixed cost: 2. Find the total profit function. The profit is the revenue minus the total cost
30
What is the profit for the company if 2000 units are produced and sold each week?
Since the profit function is we have
31
Composition of Functions
Composition of Functions: Given functions f(u) and g(x), the composition f(g(x)) is the function of x formed by substituting u=g(x) for u in the formula for f(u). Example Find the composition function f(g(x)), where and Solution: Replace u by x+1 in the formula for f(u) to get Question: How about g(f(x))? Note: In general, f(g(x)) and g(f(x)) will not be the same.
32
Composition of Functions
33
Express the level of carbon monoxide in the air as a function of time.
Example An environmental study of a certain community suggests that the average daily level of carbon monoxide in the air will be parts per million when the population is p thousand. It is estimated that t years from now the population of the community will be thousand. Express the level of carbon monoxide in the air as a function of time. When will the carbon monoxide level reach 6.8 parts per million?
34
Solution: a. Since the level of carbon monoxide is related to the variable p by the equation , and the variable p is related to the variable t by the equation It follows that the composite function expresses the level of carbon monoxide in the air as a function of the variable t. b. Set c(p(t)) equal to 6.8 and solve for t to get That is, 4 years from now the level of carbon monoxide will be 6.8 parts per million.
35
Functions and Mathematical Models
36
Functions and Mathematical Models
Formulate: Given a real-world problem, our first task is to formulate the problem, using the language of mathematics. Solve: Once a mathematical model has been constructed, we can use the appropriate mathematical techniques, which we will develop throughout the book, to solve the problem.
37
Functions and Mathematical Models
3.Interpret: Bearing in mind that the solution obtained in step 3 is just the solution of the mathematical model, we need to interpret these results in the context of the original real-world problem. 4.Test: Some mathematical models of real-world applications describe the situations with complete accuracy, some are not. In this case we need to test the accuracy of the model.
38
Elimination of Variables
In next example, the quantity you are seeking is expressed most naturally in term of two variables. We will have to eliminate one of these variables before you can write the quantity as a function of a single variable. Example The highway department is planning to build a picnic area for motorists along a major highway. It is to be rectangular with an area of 5,000 square yards and is to be fenced off on the three sides not adjacent to the highway. Express the number of yards of fencing required as a function of the length of the unfenced side.
39
Solution: We denote x and y as the lengths of the sides of the picnic area. Expressing the number of yards F of required fencing in terms of these two variables, we get Using the fact that the area is to be 5,000 square yards that is and substitute the resulting expression for y into the formula for F to get
40
Modelling in Business and Economics
Example A manufacturer can produce blank videotapes at a cost of $2 per cassette. The cassettes have been selling for $5 a piece. Consumers have been buying 4000 cassettes a month. The manufacturer is planning to raise the price of the cassettes and estimates that for each $1 increase in the price, 400 fewer cassettes will be sold each month. a: Express the manufacturer’s monthly profit as a function of the price at which the cassettes are sold. b: Sketch the graph of the profit function. What price corresponds to maximum profit? What is the maximum profit?
41
As we know, Profit=(number of cassettes sold)(profit per cassette)
Solution: As we know, Profit=(number of cassettes sold)(profit per cassette) Let p denotes the price at which each cassette will be sold and let P(p) be the corresponding monthly profit. Number of cassettes sold = (number of $1 increases) = (p-5)= p Profit per cassette=p-2 The total profit is
42
The graph of P(p) is the downward opening parabola shown in the bottom figure. Profit is maximized at the value of p that corresponds to the vertex of the parabola. We know Thus, profit is maximized when the manufacturer charges $8.50 for each cassette, and the maximum monthly profit is
43
Power Functions, Polynomials, and Rational Functions
A Power Function: A function of the form , where n is a real number. A Polynomial Function: A function of the form where n is a nonnegative integer and are constants. If , the integer n is called the degree of the polynomial. A Rational Function: A quotient of two polynomials p(x) and q(x).
44
Linear Functions A linear function is a function that changes at a constant rate with respect to its independent variable. The graph of a linear function is a straight line. The equation of a linear function can be written in the form where m and b are constants.
45
Functions Used in Economics
A demand function p=D(x) is a function that relates the unit price p for a particular commodity to the number of units x demanded by consumers at that price. The supply function S(x) for the commodity is the unit price p=S(x) at which producers are willing to supply x units to the market.
46
Some Economic Models Demand Function: p=f(x)
47
Some Economic Models Supply Function: p=f(x)
48
Market Equilibrium The law of supply and demand: In a competitive market environment, supply tends to equal demand, and when this occurs, the market is said to be in equilibrium. The demand function: p=D(x) The supply function: p=S(x) The equilibrium price: Shortage: D(x)>S(x) Surplus: S(x)>D(x)
49
Example Market research indicates that manufacturers will supply x units of a particular commodity to the marketplace when the price is p=S(x) dollars per unit and that the same number of units will be demanded by consumers when the price is p=D(x) dollars per unit, where the supply and demand functions are given by At what level of production x and unit price p is market equilibrium achieved? Sketch the supply and demand curves, p=S(x) and p=D(x), on the same graph and interpret.
50
Market equilibrium occurs when S(x)=D(x), we have
Solution: Market equilibrium occurs when S(x)=D(x), we have Only positive values are meaningful,
51
Break-Even Analysis At low levels of production, the manufacturer suffers a loss. At higher levels of production, however, the total revenue curve is the higher one and the manufacturer realizes a profit. Break-even point : The total revenue equals total cost.
52
How many units must the manufacturer sell to break even?
Example A manufacturer can sell a certain product for $110 per unit. Total cost consists of a fixed overhead of $7500 plus production costs of $60 per unit. How many units must the manufacturer sell to break even? What is the manufacturer’s profit or loss if 100 units are sold? How many units must be sold for the manufacturer to realize a profit of $1250? Solution: If x is the number of units manufactured and sold, the total revenue is given by R(x)=110x and the total cost by C(x)= x
53
To find the break-even point, set R(x) equal to C(x) and solve 110x=7500+60x, so that x=150.
It follows that the manufacturer will have to sell 150 units to break even. The profit P(x) is revenue minus cost. Hence, P(x)=R(x)-C(x)=110x-( x)=50x-7500 The profit from the sale of 100 units is P(100)=-2500 It follows that the manufacturer will lose $2500 if 100 units are sold. We set the formula for profit P(x) equal to 1250 and solve for x, we have P(x)=1250, x=175. That is 175 units must be sold to generate the desired profit.
54
Example A certain car rental agency charges $25 plus 60 cents per mile. A second agency charge $30 plus 50 cents per mile. Which agency offers the better deal? Solution: Suppose a car is to be driven x miles, then the first agency will charge dollars and the second will charge . So that x=50. For shorter distances, the first agency offers the better deal, and for longer distances, the second agency is better.
55
Constructing Mathematical Models
Guidelines for Constructing Mathematical Models a. Assign a letter to each variable mentioned in the problem. If appropriate, draw and label a figure. b. Find an expression for the quantity sought. c. Use the conditions given in the problem to write the quantity sought as a function f of one variable. Note any restrictions to be placed on the domain of f from physical considerations of the problem.
56
Constructing Mathematical Models
CONSTRUCTION COSTS A rectangular box is to have a square base and a volume of 20 ft3. The material for the base costs 30¢/ft2, the material for the sides costs 10¢/ft2, and the material for the top costs 20¢/ft2. find a function giving the cost of constructing the box.
57
Introduction to Calculus
There are two main areas of focus: 1. Finding the tangent line to a curve at a given point. y x tangent line 2. Finding the area of a planar region bounded by a given curve. y Area x
58
Velocity Over any time interval Average
If I travel 200 miles in 5 hours, my average velocity is 40 miles/hour. As elapsed time approaches zero Instantaneous When I see the police officer, my instantaneous velocity is 60 miles/hour.
59
Velocity Ex. Given the position function
where t is in seconds and s(t) is measured in feet, find: a. The average velocity for t = 1 to t = 3. b. The instantaneous velocity at t = 1. t Average velocity Notice how elapsed time approaches zero Answer: 12 ft/sec
60
Limit of a Function (x approaches a)
The limit of f (x), as x approaches a, equals L written: if we can make the value f (x) arbitrarily close to L by taking x to be sufficiently close to a. y L x a
61
Limits Roughly speaking, the limit process involves examining the behavior of a function f(x) as x approaches a number c that may or may not be in the domain of f. To illustrate the limit process, consider a manager who determines that when x percent of her company’s plant capacity is being used, the total cost is hundred thousand dollars. The company has a policy of rotating maintenance in such a way that no more than 80% of capacity is ever in use at any one time. What cost should the manager expect when the plant is operating at full permissible capacity?
62
x approaches 80 from the left → ←x approaches 80 from the right
It may seem that we can answer this question by simply evaluating C(80), but attempting this evaluation results in the meaningless fraction 0/0. However, it is still possible to evaluate C(x) for values of x that approach 80 from the left (x<80) and the right (x>80), as indicated in this table: x approaches 80 from the left → ←x approaches 80 from the right x 79.8 79.99 79.999 80 80.001 80.04 C(x) The values of C(x) displayed on the lower line of this table suggest that C(x) approaches the number 7 as x gets closer and closer to 80. The functional behavior in this example can be describe by
63
Limit: If f(x) gets closer and closer to a number L as x gets closer and closer to c from both sides, then L is the limit of f(x) as x approaches c. The behavior is expressed by writing
64
Use a table to estimate the limit
Example 14 Use a table to estimate the limit Solution: Let and compute f(x) for a succession of values of x approaching 1 from the left and from the right. x→ 1 ← x x 0.99 0.999 0.9999 1 1.0001 1.001 f(x) The numbers on the bottom line of the table suggest that f(x) approaches 0.5 as x approaches 1. That is
65
It is important to remember that limits describe the behavior of a function near a particular point, not necessarily at the point itself. Three functions for which
66
The figure below shows that the graph of two functions that do not have a limit as x approaches 2.
Figure (a): The limit does not exist; Figure (b): The function has no finite limit as x approaches 2. Such so-called infinite limits will be discussed later.
67
Computing Limits Ex. y 6 Note: f (-2) = 1 is not involved x 2
68
Properties of Limits
69
For any constant k, That is, the limit of a constant is the constant itself, and the limit of f(x)=x as x approaches c is c.
70
Computing Limits Ex. Ex.
71
Indeterminate Form If and , then is said to be indeterminate. The term indeterminate is used since the limit may or may not exist. Example 17 (a) Find (b) Find Solution: b.
72
Indeterminate Form: Ex. Notice form Factor and cancel common factors
Note: factor the numerator or denoninator.
73
Indeterminate Form: Ex.
Note: rationalize the numerator or denoninator.
74
Limits Involving Infinity
Limits at Infinity: If the value of the function f(x) approach the number L as x increases without bound, we write Similarly, we write when the functional values f(x) approach the number M as x decreases without bound.
75
Reciprocal Power Rules: For constants A and k, with k>0
Example Find Solution:
76
Procedure for Evaluating a Limit at Infinity of f(x)=p(x)/q(x)
Step 1. Divide each term in f(x) by the highest power xk that appears in the denominator polynomial q(x). Step 2. Compute or using algebraic properties of limits and the reciprocal rules. Exercise Example If a crop is planted in soil where the nitrogen level is N, then the crop yield Y can be modeled by the Michaelis-Menten function where A and B are positive constants. What happens to crop yield as the nitrogen level is increased indefinitely?
77
Infinite Limits: If f(x) increases or decreases without bound as x→c, we have
For example From the figure, we can guest that
78
Solution: We wish to compute Thus, the crop yield tends toward the constant value A as the nitrogen level N increases indefinitely. For this reason, A is called the maximum attainable yield.
79
Limits at Infinity Ex form: Note: rationalize the expression.
80
One-Sided Limit of a Function
The right-hand limit of f (x), as x approaches a, equals L written: if we can make the value f (x) arbitrarily close to L by taking x to be sufficiently close to the right of a. L a
81
One-Sided Limit of a Function
Ex. Given Find Find
82
One-Sided Limit of a Function
The left-hand limit of f (x), as x approaches a, equals M written: if we can make the value f (x) arbitrarily close to M by taking x to be sufficiently close to the left of a. y M x a
83
Continuity of a Function
Loosely speaking: a function is continuous at a point if the graph of the function at that point is devoid of holes, gaps, jumps, or breaks.
84
Continuity of a Function
Definition: A function f is continuous at the point x = a if the following are true: y f(a) x a
85
Continuity of a Function
Determine whether the function is continuous at a, b, c, d; if not, state which condition is violated.
86
Properties of Continuous Functions
1. The constant function f (x) is continuous everywhere. Ex. f (x) = 10 is continuous everywhere. 2. The identity function f (x) = x is continuous everywhere.
87
Properties of Continuous Functions
3. If f and g are continuous at x = a, then 4. A polynomial function y = P(x) is continuous at everywhere. 5. A rational function is continuous at all x values in its domain.
88
Intermediate Value Theorem
Theorem 4 If f is a continuous function on a closed interval [a, b] and L is any number between f (a) and f (b), then there is at least one number c in [a, b] such that f(c) = L. y f (b) f (c) = L f (a) x a c b
89
Intermediate Value Theorem
Ex. f (x) is continuous for all values of x and since f (1) < 0 and f (2) > 0, by the Intermediate Value Theorem, there exists a c on (1, 2) such that f (c) = 0.
90
Existence of Zeros of a Continuous Function
Theorem 5 If f is a continuous function on a closed interval [a, b], and f(a) and f(b) have opposite signs, then there is at least one solution of the equation f(x) = 0 in the interval (a, b). y f(b) x a b f(a)
91
Example (Existence of zeros of a continuous function)
Show that f(x) is a continuous function everywhere. The function is a polynomial function and is therefore continuous everywhere. 2. Show that f(x) = 0 has at least one solution on the interval (0, 2)
92
An Intuitive Example Position function s = f (t) = 4t2 (0 ≤ t ≤ 30)
Steepness (Slope)~~~~~~Speed (Rate of change)
93
Slope of a Tangent Line We call a line which intersects a graph in two points a secant line. It is easy to find the slope of that line. But it takes limits in order to find the slope of a tangent line which touches the graph at only one point. The green line is a secant line because it crosses the blue graph more than once. In particular we focus on the two points illustrated.
94
Slope of a Tangent Line Tangent line (to the graph of f at the point P) and Secant line
95
Slope of a Tangent Line
96
Slope of a Tangent Line Slope of the Secant Line:
Slope of the Tangent Line:
97
Slope of a Tangent Line Average rate of change of f over the interval [x, x+h] Slope of the Secant Line Instantaneous rate of change of f at x Slope of the Tangent Line
98
What is the derivative of something?
The derivative of a function f(x) is, mathematically speaking, the slope of the line tangent to f(x) at any point x. It is also called “the instantaneous rate of change” of a function. It can be equated with many real world applications such as; Velocity which is speed such as miles per hour In business, the derivative is called marginal, such as the marginal Cost function, etc.
99
The Derivative The derivative of a function f with respect to x is the function given by It is read “f prime of x.”
100
The Derivative Derivative of the function at the point x0 :
101
The Derivative Notations for the derivative of function f :
102
The Derivative Four-step process for finding 1. Compute 2. Find
103
The Derivative Given 1. 2. 3. 4.
104
Example Find the slope of the tangent line to the graph of at any point (x, f(x)). Step 1. Step 2. Step 3. Step 4.
105
Example Let Find the derivative f’ of f. Find the point on the graph of f where the tangent line to the curve is horizontal. Find an equation of the tangent line at the point (2, 16).
106
Differentiability and Continuity
If a function is differentiable at x = a, then it is continuous at x = a. y Not Continuous x Still Continuous Not Differentiable
107
Differentiability and Continuity
However, continuous functions may contain points at which the function is not differentiable. These are points that create sharp points graphically, or vertical tangent lines. In this graph there is an abrupt change at (a,f(a)) The slope at (a,f(a)) is undefined.
108
Example The function is not differentiable at x = 0 but it is continuous everywhere. y x O
Similar presentations
© 2025 SlidePlayer.com Inc.
All rights reserved.