“Why are functions and relations important?” students ask. “How will I ever use functions and relations? Who cares?”

The answer is that the concepts of function and relation are core concepts in mathematics, and almost every course a student will take in the future will use these concepts. What’s more, we use functions and relations every day without realizing it.

**All functions and relations have three components:**

**Domain Component**: The domain of a function or relation can be any collection of objects. Elements in the domain can be numbers, matrices, people, cars, food items on a menu, or anything one can imagine. The domain variable of a function or relation represents all possible input values and is said to be an** independent **variable.

**Range Component:** The range of a function or relation can be any collection of objects. Elements in the range can be numbers, matrices, people, cars, food items on a menu, or anything one can imagine. The range variable of a function or relation represents all possible output values. Range variables are called **dependent** variables, because their values depend on domain input values.

**Matching Rule Component: **The matching rule component tells us how to match domain objects with range objects. Matching rules are usually in the form of an equation, table, list of ordered pairs, catalog, or set of directions. Every function is a relation, but not every relation is a function. If a relation is a function, every domain object is matched with only one range object. If a function is a one-to-one function, then any two different input values always have different output values. If **a** and **b** are domain input values, the symbols **f(a)** and **f(b)** represent the corresponding output values. If f(x) is a one-to-one function and f(a) = f(b), then a = b.

**To introduce functions and relations to students, I often use the following examples:**

**Restaurant Menu Function**: When a person is handed a menu in a restaurant, they instinctively start matching food items on the menu with prices. The domain of a restaurant menu equals all the food items for sale, and the range equals the prices of the food items. Every food item of a specific type and size is matched with exactly one price. Since different food items may have the same price, a restaurant menu is not a one-to-one function. When a customer sees chateaubriand for two on the menu with a price of $150, the customer probably thinks that chateaubriand is out of his price range. The matching rule is usually described on a sheet of heavy paper, sign on a wall, or on a chalkboard mounted on a wall.

**Student Report Card Function**: The domain of a student’s report card equals all courses in which the student was enrolled. The range of a report card equals all grades the student received for the courses enrolled. Students receive one grade for each course taken. Because students can receive the same grade in different courses, most report cards are not one-to-one functions. The matching rule for a report card is usually described on a sheet of paper or in a database that can be accessed at the school’s web site.

**People and Social Security Number Function**: The domain equals all people with a valid social security number, and the range equals all valid social security numbers. Individuals can have only one valid social security number. The matching rule is determined and maintained by the Social Security Administration. This function is one-to-one because two different people who have valid social security numbers always have different social security numbers.

**Cars and VIN Number Function**: The domain equals all legally manufactured cars, and the range equals all vehicle identification numbers (VINs) assigned to the cars. Every car has only one VIN, and no two cars have the same VIN. The one-to-one matching rule is described in some computer database.

**People and Phone Number Relation**: The domain equals all people who have a phone, and the range equals the phone numbers of all people who have a phone. Since an individual can have more than one phone number, the matching rule is a relation, but not a function.

**Musical Notes and Sound Function**: The domain of a piece of music is the collection of note symbols that appear on a sheet of paper and the range equals the sounds that correspond to the notes on the sheet of paper. The matching rule is one-to-one because different note symbols always result in different sounds. The music matching rule is a set of rules developed by musicians over the course of many centuries.

**Mathematical Functions and Relations**: In beginning algebra courses, both the domain and range of a function or relation are subsets of the real number system. The matching rule is usually a relatively simple equation such as y = -x + 3, y = 3x^2 + 1, y = (2x – 5)/(x + 3) or x^2 + y^2 = 36.

**Free Functions and Relations Handout:**

Math teachers and students can go to **www.mathteachersresource.com/instructional-content.html** to download the free Functions and Relations Introduction Handout. I use this handout with my developmental algebra, technical math, and college algebra students. This handout also contains graphs of mathematical functions and relations. I recently used this handout to tutor a developmental algebra student in the math lab at the junior college where I teach. She said, “When you explain it that way, it makes perfect sense.” By the way, all the 2D graphs in this handout were created with the program Basic Trig Functions.

Math Teacher’s Resource offers the program, Basic Trig Functions, which allows students and teachers to graph a wide variety of mathematical functions and relations. Go to **www.mathteachersresource.com** to view numerous screen shots of the program’s capabilities. Click the <get all the details> button in the TRIG FUNCTIONS AND GRAPHING section to get to the screen shots. At the bottom of each screen shot are comments that teachers will find helpful. The polar graphs demo has a cool animation of the trace cursor as it races around the edges of the leaves of a five petal rose.

Awesome post, I liked the way functions have been defined and the examples on real life situation are just fantastic. If possible then please include types of function in the blog, all parts will be covered then.

Hi Rahul,

Thank you for taking the time to read my post about functions and relations. Your positive comments are much appreciated. Go to my free instructional content page to download the Functions and Relations Introduction Handout. This handout contains more examples of functions and relations. You can read my post Infinity Does Not Necessarily Equal Infinity which gives examples of functions that have a sophisticated matching rule. This post also contains links to other posts about functions and relations by MTR.

I’m not sure what you mean by “types of functions.” As I see it, there are almost infinitely many different types of functions. If you will give me some examples of your favorite types of functions, I will consider doing a follow up post on functions and relations.

Regards,

George Johnson

MTR