1.1 Function Definition (Slides in 4-To-1 Format)

Total Page:16

File Type:pdf, Size:1020Kb

1.1 Function Definition (Slides in 4-To-1 Format) Definition of a function We study the most fundamental concept in mathematics, that of a Elementary Functions function. Part 1, Functions In this lecture we first define a function and then examine the domain of Lecture 1.1a, The Definition of a Function functions defined as equations involving real numbers. Definition of a function. A function f : X ! Y assigns to each element of the set X an element of Dr. Ken W. Smith Y . Sam Houston State University Picture a function as a machine, 2013 Smith (SHSU) Elementary Functions 2013 1 / 27 Smith (SHSU) Elementary Functions 2013 2 / 27 A function machine Inputs and unique outputs of a function We study the most fundamental concept in mathematics, that of a function. In this lecture we first define a function and then examine the domain of functions defined as equations involving real numbers. The set X of inputs is called the domain of the function f. The set Y of all conceivable outputs is the codomain of the function f. Definition of a function The set of all outputs is the range of f. A function f : X ! Y assigns to each element of the set X an element of (The range is a subset of Y .) Y . Picture a function as a machine, The most important criteria for a function is this: A function must assign to each input a unique output. We cannot allow several different outputs to correspond to an input. dropping x-values into one end of the machine and picking up y-values at Smith (SHSU) Elementary Functions 2013 3 / 27 Smith (SHSU) Elementary Functions 2013 4 / 27 the other end. Examples of functions Not a function We give an example (from Wikipedia) of a function from a set X to the However the map below is not a function. set Y . Some items in X are not mapped anywhere; worse, the item 2 has two The function maps 1 to D, 2 to C and 3 to C. outputs, both B and C. Note that each element of X has a unique output in Y . Functions are not allowed to change a single input into several outputs! Smith (SHSU) Elementary Functions 2013 5 / 27 Smith (SHSU) Elementary Functions 2013 6 / 27 Functions as questions SSN and Sam ID as functions Functions occur naturally in our world. Functions occur throughout our modern technological society. When we pull out an attribute of an object, we are essentially creating a The US social security number is a function SSN mapping US citizens to function. nine digit numbers. For example, the set X below has polygons with various colors. At Sam Houston State University, all students and staff are assigned a The question, \What is the color of a polygon?" could be viewed as a Sam ID. function that maps to polygons to colors. This as a function SamID, mapping students/staff to nine digit numbers. For example, SamID(Ken W Smith) = 000354765: (This function exists so that data about students/staff { classes, grades, wages, etc. { can be kept in a computer database, tracked by a single number.) Smith (SHSU) Elementary Functions 2013 7 / 27 Smith (SHSU) Elementary Functions 2013 8 / 27 In this example, the function from the set X to the set Y maps the four polygonal shapes in X to their color. We might name this function \color", so, for example, color(yellow rectangle) = yellow Functions as ordered pairs A worked exercise Although functions in science are often defined by equations, they do not Worked Exercise. Consider the function with domain have to be. (The SamID function is not defined by an equation.) D = {−2; −1; 0; 1; 2g, codomain the real numbers R, defined by the In its most general form, a function is a collection of ordered pairs formula g(x) = x2: satisfying certain requirements. 1 Display the function g in tabular form, and Consider the sets D := f1; a; b; z; orangeg and C := fr; s; t; u; v; 1000g: 2 Display the function g as a set of ordered pairs. We create a function f by assigning to each member of D a member of C. 3 Give the range of the function g. input output Solution. 1 r 1 As a table, we can write out the function g as a s x g(x) b r −2 4 z 1000 −1 1 orange 1000 0 0 This is a function: the domain is the elements of D. And each element of 1 1 D has a unique output! 2 4 We may sometimes define a function by a table or by a list of ordered pairs. 2 As a set of order pairs, g = f(−2; 4); (−1; 1); (0; 0); (1; 1); (2; 4)g 3 The range of the function g is f0; 1; 4g: Smith (SHSU)f = f(1; r); (a; s); (Elementaryb; r); (z; Functions1000); (orange; 1000)g 2013 9 / 27 Smith (SHSU) Elementary Functions 2013 10 / 27 (The ordered pairs are simply the entries in the table.) Example # 2 Definition of a function Another example. Consider the function defined earlier. In the next lecture we examine functions defined by equations. (END) Write this function in both tabular form and as a set of ordered pairs. Solution. In tabular form we have: X Y 1 D 2 C 3 C As ordered pairs, the function is the set f(1;D); (2;C); (3;C)g: Smith (SHSU) Elementary Functions 2013 11 / 27 Smith (SHSU) Elementary Functions 2013 12 / 27 Functions defined by equations Many functions we explore in mathematics and science are defined by an equation. We can define a function implicitly in an equation involving two variables. Elementary Functions For example, does the equation Part 1, Functions Lecture 1.1b, Functions defined by equations 2x + 3y − 4 = 0 define a function with inputs x and outputs y? Isolate y to get Dr. Ken W. Smith 1 3y = 4 − 2x and so y = (4 − 2x): 3 Sam Houston State University We may now explicitly define the function 2013 1 f(x) = (4 − 2x) : 3 So YES, the equation 2x + 3y − 4 = 0 does define a function. Smith (SHSU) Elementary Functions 2013 13 / 27 Smith (SHSU) Elementary Functions 2013 14 / 27 Independent and dependent variables Exercises on implicit functions A digression. When we considered the equation 2x + 3y − 4 = 0 Some worked exercises. our choice of x as input and y as output is arbitrary. We could decide (contrary to custom!) that y is the input and x is the output. Then, 1 Does the equation x2y = 4 define y as a function of x? (If it does, solving for x, we have give the domain of the implied function.) 2x = 4 − 3y Solution. We attempt to solve for y. We may multiply both sides of 1 4 and so the equation by as long as x is not zero. This gives us y = : 1 x2 x2 x = (4 − 3y) 2 2 Is there a problem with x = 0? No, x = 0 does not allow x y = 4, so and so we create the function x will never be zero in this equation. 1 4 g(y) = (4 − 3y): Answer: YES, this is a function; y = : 2 x2 But most of the time we will stick to convention and, unless stated The domain of this function is all real numbers except zero. otherwise, assume x is the input variable and y is the output variable. In interval notation the domain is (−∞; 0) [ (0; 1): The input variable x is often called the independent variable and the output variable is the dependent variable since its value depends on the input. Smith (SHSU) Elementary Functions 2013 15 / 27 Smith (SHSU) Elementary Functions 2013 16 / 27 Not a function Not a function 3 Does the equation x2y = 0 define y as a function of x? (Why/why 2 Does the equation xy2 = 4 define y as a function of x? Solution. If we attempt to solve for y, we multiply both sides of the not?) 1 4 Solution. Although it might be tempting to solve for y, first notice equation by (as long as x 6= 0) and so we have y2 = : x x that if x is zero then y could be 0 or 1 or 2:71828 or anything! But now, what is y? y could be positive or negative { there will generally be two choices here, one positive and one negative. So the input x = 0 does not give a unique output. This is not a function. The appearance of two answers violates the uniqueness requirement in our outputs for a function. Answer: NO; if x = 0 then y could be anything. Answer: (This is different than problem 1. In problem 1, x = 0 is not a NO, this is not a function. If x = 1 then we don't know if y = 2 or y = −2: possible input in the equation. But here x = 0 is a possibility for a solution to the equation! So we have to worry about the input x.) Smith (SHSU) Elementary Functions 2013 17 / 27 Smith (SHSU) Elementary Functions 2013 18 / 27 Practicing function notation Practicing function notation Let us practice the function notation, f(x). A formula for f(x) tells us how the input x leads to the output f(x): For example, suppose More examples. f(x) = x2 − 9. Compute: Let's continue with the function f(x) = x2 − 9. Compute: 1 f(0), 6 f(x + h), p 2 f(1), 7 f( x), 3 f(−1), 8 f(2a + 1), 4 f(−5), 9 −f(x) + 2 5 f(−x) Solutions.
Recommended publications
  • Analysis of Functions of a Single Variable a Detailed Development
    ANALYSIS OF FUNCTIONS OF A SINGLE VARIABLE A DETAILED DEVELOPMENT LAWRENCE W. BAGGETT University of Colorado OCTOBER 29, 2006 2 For Christy My Light i PREFACE I have written this book primarily for serious and talented mathematics scholars , seniors or first-year graduate students, who by the time they finish their schooling should have had the opportunity to study in some detail the great discoveries of our subject. What did we know and how and when did we know it? I hope this book is useful toward that goal, especially when it comes to the great achievements of that part of mathematics known as analysis. I have tried to write a complete and thorough account of the elementary theories of functions of a single real variable and functions of a single complex variable. Separating these two subjects does not at all jive with their development historically, and to me it seems unnecessary and potentially confusing to do so. On the other hand, functions of several variables seems to me to be a very different kettle of fish, so I have decided to limit this book by concentrating on one variable at a time. Everyone is taught (told) in school that the area of a circle is given by the formula A = πr2: We are also told that the product of two negatives is a positive, that you cant trisect an angle, and that the square root of 2 is irrational. Students of natural sciences learn that eiπ = 1 and that sin2 + cos2 = 1: More sophisticated students are taught the Fundamental− Theorem of calculus and the Fundamental Theorem of Algebra.
    [Show full text]
  • Basic Structures: Sets, Functions, Sequences, and Sums 2-2
    CHAPTER Basic Structures: Sets, Functions, 2 Sequences, and Sums 2.1 Sets uch of discrete mathematics is devoted to the study of discrete structures, used to represent discrete objects. Many important discrete structures are built using sets, which 2.2 Set Operations M are collections of objects. Among the discrete structures built from sets are combinations, 2.3 Functions unordered collections of objects used extensively in counting; relations, sets of ordered pairs that represent relationships between objects; graphs, sets of vertices and edges that connect 2.4 Sequences and vertices; and finite state machines, used to model computing machines. These are some of the Summations topics we will study in later chapters. The concept of a function is extremely important in discrete mathematics. A function assigns to each element of a set exactly one element of a set. Functions play important roles throughout discrete mathematics. They are used to represent the computational complexity of algorithms, to study the size of sets, to count objects, and in a myriad of other ways. Useful structures such as sequences and strings are special types of functions. In this chapter, we will introduce the notion of a sequence, which represents ordered lists of elements. We will introduce some important types of sequences, and we will address the problem of identifying a pattern for the terms of a sequence from its first few terms. Using the notion of a sequence, we will define what it means for a set to be countable, namely, that we can list all the elements of the set in a sequence.
    [Show full text]
  • Domain and Range of a Function
    4.1 Domain and Range of a Function How can you fi nd the domain and range of STATES a function? STANDARDS MA.8.A.1.1 MA.8.A.1.5 1 ACTIVITY: The Domain and Range of a Function Work with a partner. The table shows the number of adult and child tickets sold for a school concert. Input Number of Adult Tickets, x 01234 Output Number of Child Tickets, y 86420 The variables x and y are related by the linear equation 4x + 2y = 16. a. Write the equation in function form by solving for y. b. The domain of a function is the set of all input values. Find the domain of the function. Domain = Why is x = 5 not in the domain of the function? 1 Why is x = — not in the domain of the function? 2 c. The range of a function is the set of all output values. Find the range of the function. Range = d. Functions can be described in many ways. ● by an equation ● by an input-output table y 9 ● in words 8 ● by a graph 7 6 ● as a set of ordered pairs 5 4 Use the graph to write the function 3 as a set of ordered pairs. 2 1 , , ( , ) ( , ) 0 09321 45 876 x ( , ) , ( , ) , ( , ) 148 Chapter 4 Functions 2 ACTIVITY: Finding Domains and Ranges Work with a partner. ● Copy and complete each input-output table. ● Find the domain and range of the function represented by the table. 1 a. y = −3x + 4 b. y = — x − 6 2 x −2 −10 1 2 x 01234 y y c.
    [Show full text]
  • SHEET 14: LINEAR ALGEBRA 14.1 Vector Spaces
    SHEET 14: LINEAR ALGEBRA Throughout this sheet, let F be a field. In examples, you need only consider the field F = R. 14.1 Vector spaces Definition 14.1. A vector space over F is a set V with two operations, V × V ! V :(x; y) 7! x + y (vector addition) and F × V ! V :(λ, x) 7! λx (scalar multiplication); that satisfy the following axioms. 1. Addition is commutative: x + y = y + x for all x; y 2 V . 2. Addition is associative: x + (y + z) = (x + y) + z for all x; y; z 2 V . 3. There is an additive identity 0 2 V satisfying x + 0 = x for all x 2 V . 4. For each x 2 V , there is an additive inverse −x 2 V satisfying x + (−x) = 0. 5. Scalar multiplication by 1 fixes vectors: 1x = x for all x 2 V . 6. Scalar multiplication is compatible with F :(λµ)x = λ(µx) for all λ, µ 2 F and x 2 V . 7. Scalar multiplication distributes over vector addition and over scalar addition: λ(x + y) = λx + λy and (λ + µ)x = λx + µx for all λ, µ 2 F and x; y 2 V . In this context, elements of F are called scalars and elements of V are called vectors. Definition 14.2. Let n be a nonnegative integer. The coordinate space F n = F × · · · × F is the set of all n-tuples of elements of F , conventionally regarded as column vectors. Addition and scalar multiplication are defined componentwise; that is, 2 3 2 3 2 3 2 3 x1 y1 x1 + y1 λx1 6x 7 6y 7 6x + y 7 6λx 7 6 27 6 27 6 2 2 7 6 27 if x = 6 .
    [Show full text]
  • Adaptive Lower Bound for Testing Monotonicity on the Line
    Adaptive Lower Bound for Testing Monotonicity on the Line Aleksandrs Belovs∗ Abstract In the property testing model, the task is to distinguish objects possessing some property from the objects that are far from it. One of such properties is monotonicity, when the objects are functions from one poset to another. This is an active area of research. In this paper we study query complexity of ε-testing monotonicity of a function f :[n] → [r]. All our lower bounds are for adaptive two-sided testers. log r • We prove a nearly tight lower bound for this problem in terms of r. TheboundisΩ log log r when ε =1/2. No previous satisfactory lower bound in terms of r was known. • We completely characterise query complexity of this problem in terms of n for smaller values of ε. The complexity is Θ ε−1 log(εn) . Apart from giving the lower bound, this improves on the best known upper bound. Finally, we give an alternative proof of the Ω(ε−1d log n−ε−1 log ε−1) lower bound for testing monotonicity on the hypergrid [n]d due to Chakrabarty and Seshadhri (RANDOM’13). 1 Introduction The framework of property testing was formulated by Rubinfeld and Sudan [19] and Goldreich et al. [16]. A property testing problem is specified by a property P, which is a class of functions mapping some finite set D into some finite set R, and proximity parameter ε, which is a real number between 0 and 1. An ε-tester is a bounded-error randomised query algorithm which, given oracle access to a function f : D → R, distinguishes between the case when f belongs to P and the case when f is ε-far from P.
    [Show full text]
  • Two Fundamental Theorems About the Definite Integral
    Two Fundamental Theorems about the Definite Integral These lecture notes develop the theorem Stewart calls The Fundamental Theorem of Calculus in section 5.3. The approach I use is slightly different than that used by Stewart, but is based on the same fundamental ideas. 1 The definite integral Recall that the expression b f(x) dx ∫a is called the definite integral of f(x) over the interval [a,b] and stands for the area underneath the curve y = f(x) over the interval [a,b] (with the understanding that areas above the x-axis are considered positive and the areas beneath the axis are considered negative). In today's lecture I am going to prove an important connection between the definite integral and the derivative and use that connection to compute the definite integral. The result that I am eventually going to prove sits at the end of a chain of earlier definitions and intermediate results. 2 Some important facts about continuous functions The first intermediate result we are going to have to prove along the way depends on some definitions and theorems concerning continuous functions. Here are those definitions and theorems. The definition of continuity A function f(x) is continuous at a point x = a if the following hold 1. f(a) exists 2. lim f(x) exists xœa 3. lim f(x) = f(a) xœa 1 A function f(x) is continuous in an interval [a,b] if it is continuous at every point in that interval. The extreme value theorem Let f(x) be a continuous function in an interval [a,b].
    [Show full text]
  • Basic Concepts of Set Theory, Functions and Relations 1. Basic
    Ling 310, adapted from UMass Ling 409, Partee lecture notes March 1, 2006 p. 1 Basic Concepts of Set Theory, Functions and Relations 1. Basic Concepts of Set Theory........................................................................................................................1 1.1. Sets and elements ...................................................................................................................................1 1.2. Specification of sets ...............................................................................................................................2 1.3. Identity and cardinality ..........................................................................................................................3 1.4. Subsets ...................................................................................................................................................4 1.5. Power sets .............................................................................................................................................4 1.6. Operations on sets: union, intersection...................................................................................................4 1.7 More operations on sets: difference, complement...................................................................................5 1.8. Set-theoretic equalities ...........................................................................................................................5 Chapter 2. Relations and Functions ..................................................................................................................6
    [Show full text]
  • The Axiom of Choice and Its Implications
    THE AXIOM OF CHOICE AND ITS IMPLICATIONS KEVIN BARNUM Abstract. In this paper we will look at the Axiom of Choice and some of the various implications it has. These implications include a number of equivalent statements, and also some less accepted ideas. The proofs discussed will give us an idea of why the Axiom of Choice is so powerful, but also so controversial. Contents 1. Introduction 1 2. The Axiom of Choice and Its Equivalents 1 2.1. The Axiom of Choice and its Well-known Equivalents 1 2.2. Some Other Less Well-known Equivalents of the Axiom of Choice 3 3. Applications of the Axiom of Choice 5 3.1. Equivalence Between The Axiom of Choice and the Claim that Every Vector Space has a Basis 5 3.2. Some More Applications of the Axiom of Choice 6 4. Controversial Results 10 Acknowledgments 11 References 11 1. Introduction The Axiom of Choice states that for any family of nonempty disjoint sets, there exists a set that consists of exactly one element from each element of the family. It seems strange at first that such an innocuous sounding idea can be so powerful and controversial, but it certainly is both. To understand why, we will start by looking at some statements that are equivalent to the axiom of choice. Many of these equivalences are very useful, and we devote much time to one, namely, that every vector space has a basis. We go on from there to see a few more applications of the Axiom of Choice and its equivalents, and finish by looking at some of the reasons why the Axiom of Choice is so controversial.
    [Show full text]
  • Module 1 Lecture Notes
    Module 1 Lecture Notes Contents 1.1 Identifying Functions.............................1 1.2 Algebraically Determining the Domain of a Function..........4 1.3 Evaluating Functions.............................6 1.4 Function Operations..............................7 1.5 The Difference Quotient...........................9 1.6 Applications of Function Operations.................... 10 1.7 Determining the Domain and Range of a Function Graphically.... 12 1.8 Reading the Graph of a Function...................... 14 1.1 Identifying Functions In previous classes, you should have studied a variety basic functions. For example, 1 p f(x) = 3x − 5; g(x) = 2x2 − 1; h(x) = ; j(x) = 5x + 2 x − 5 We will begin this course by studying functions and their properties. As the course progresses, we will study inverse, composite, exponential, logarithmic, polynomial and rational functions. Math 111 Module 1 Lecture Notes Definition 1: A relation is a correspondence between two variables. A relation can be ex- pressed through a set of ordered pairs, a graph, a table, or an equation. A set containing ordered pairs (x; y) defines y as a function of x if and only if no two ordered pairs in the set have the same x-coordinate. In other words, every input maps to exactly one output. We write y = f(x) and say \y is a function of x." For the function defined by y = f(x), • x is the independent variable (also known as the input) • y is the dependent variable (also known as the output) • f is the function name Example 1: Determine whether or not each of the following represents a function. Table 1.1 Chicken Name Egg Color Emma Turquoise Hazel Light Brown George(ia) Chocolate Brown Isabella White Yvonne Light Brown (a) The set of ordered pairs of the form (chicken name, egg color) shown in Table 1.1.
    [Show full text]
  • 17 Axiom of Choice
    Math 361 Axiom of Choice 17 Axiom of Choice De¯nition 17.1. Let be a nonempty set of nonempty sets. Then a choice function for is a function f sucFh that f(S) S for all S . F 2 2 F Example 17.2. Let = (N)r . Then we can de¯ne a choice function f by F P f;g f(S) = the least element of S: Example 17.3. Let = (Z)r . Then we can de¯ne a choice function f by F P f;g f(S) = ²n where n = min z z S and, if n = 0, ² = min z= z z = n; z S . fj j j 2 g 6 f j j j j j 2 g Example 17.4. Let = (Q)r . Then we can de¯ne a choice function f as follows. F P f;g Let g : Q N be an injection. Then ! f(S) = q where g(q) = min g(r) r S . f j 2 g Example 17.5. Let = (R)r . Then it is impossible to explicitly de¯ne a choice function for . F P f;g F Axiom 17.6 (Axiom of Choice (AC)). For every set of nonempty sets, there exists a function f such that f(S) S for all S . F 2 2 F We say that f is a choice function for . F Theorem 17.7 (AC). If A; B are non-empty sets, then the following are equivalent: (a) A B ¹ (b) There exists a surjection g : B A. ! Proof. (a) (b) Suppose that A B.
    [Show full text]
  • Calculus Terminology
    AP Calculus BC Calculus Terminology Absolute Convergence Asymptote Continued Sum Absolute Maximum Average Rate of Change Continuous Function Absolute Minimum Average Value of a Function Continuously Differentiable Function Absolutely Convergent Axis of Rotation Converge Acceleration Boundary Value Problem Converge Absolutely Alternating Series Bounded Function Converge Conditionally Alternating Series Remainder Bounded Sequence Convergence Tests Alternating Series Test Bounds of Integration Convergent Sequence Analytic Methods Calculus Convergent Series Annulus Cartesian Form Critical Number Antiderivative of a Function Cavalieri’s Principle Critical Point Approximation by Differentials Center of Mass Formula Critical Value Arc Length of a Curve Centroid Curly d Area below a Curve Chain Rule Curve Area between Curves Comparison Test Curve Sketching Area of an Ellipse Concave Cusp Area of a Parabolic Segment Concave Down Cylindrical Shell Method Area under a Curve Concave Up Decreasing Function Area Using Parametric Equations Conditional Convergence Definite Integral Area Using Polar Coordinates Constant Term Definite Integral Rules Degenerate Divergent Series Function Operations Del Operator e Fundamental Theorem of Calculus Deleted Neighborhood Ellipsoid GLB Derivative End Behavior Global Maximum Derivative of a Power Series Essential Discontinuity Global Minimum Derivative Rules Explicit Differentiation Golden Spiral Difference Quotient Explicit Function Graphic Methods Differentiable Exponential Decay Greatest Lower Bound Differential
    [Show full text]
  • The Exponential Constant E
    The exponential constant e mc-bus-expconstant-2009-1 Introduction The letter e is used in many mathematical calculations to stand for a particular number known as the exponential constant. This leaflet provides information about this important constant, and the related exponential function. The exponential constant The exponential constant is an important mathematical constant and is given the symbol e. Its value is approximately 2.718. It has been found that this value occurs so frequently when mathematics is used to model physical and economic phenomena that it is convenient to write simply e. It is often necessary to work out powers of this constant, such as e2, e3 and so on. Your scientific calculator will be programmed to do this already. You should check that you can use your calculator to do this. Look for a button marked ex, and check that e2 =7.389, and e3 = 20.086 In both cases we have quoted the answer to three decimal places although your calculator will give a more accurate answer than this. You should also check that you can evaluate negative and fractional powers of e such as e1/2 =1.649 and e−2 =0.135 The exponential function If we write y = ex we can calculate the value of y as we vary x. Values obtained in this way can be placed in a table. For example: x −3 −2 −1 01 2 3 y = ex 0.050 0.135 0.368 1 2.718 7.389 20.086 This is a table of values of the exponential function ex.
    [Show full text]