Skip to main content
Mathematics LibreTexts

5.1.2: Introduction to Functions

  • Page ID
    36025
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    Lesson

    Let's learn what a function is.

    Exercise \(\PageIndex{1}\): Square Me

    Here are some numbers in a list:

    \[1, -3, -\frac{1}{2}, 3, 2, \frac{1}{4}, 0.5\nonumber\]

    1. How many different numbers are in the list?
    2. Make a new list containing the squares of all these numbers.
    3. How many different numbers are in the new list?
    4. Explain why the two lists do not have the same number of different numbers.

    Exercise \(\PageIndex{2}\): You Know This, Do You Know That?

    Say yes or no for each question. If yes, draw an input-output diagram. If no, give examples of two different outputs that are possible for the same input.

    1. A person is 5.5 feet tall. Do you know their height in inches?
    2. A number is 5. Do you know its square?
    3. The square of a number is 16. Do you know the number?
    4. A square has a perimeter of 12 cm. Do you know its area?
    5. A rectangle has an area of 16 cm2. Do you know its length?
    6. You are given a number. Do you know the number that is \(\frac{1}{5}\) as big?
    7. You are given a number. Do you know its reciprocal?

    Exercise \(\PageIndex{3}\): Using Function Languages

    Here are the questions from the previous activity. For the ones you said yes to, write a statement like, “The height a rubber ball bounces to depends on the height it was dropped from” or “Bounce height is a function of drop height.” For all of the ones you said no to, write a statement like, “The day of the week does not determine the temperature that day” or “The temperature that day is not a function of the day of the week.”

    1. A person is 5.5 feet tall. Do you know their height in inches?
    2. A number is 5. Do you know its square?
    3. The square of a number is 16. Do you know the number?
    4. A square has a perimeter of 12 cm. Do you know its area?
    5. A rectangle has an area of 16 cm2. Do you know its length?
    6. You are given a number. Do you know the number that is \(\frac{1}{5}\) as big?
    7. You are given a number. Do you know its reciprocal?

    Exercise \(\PageIndex{4}\): Same Function, Different Rule?

    Which input-output rules could describe the same function (if any)? Be prepared to explain your reasoning.

    clipboard_e8321ed35a59570e90329328f4e2cfb4d.png
    Figure \(\PageIndex{1}\)
    clipboard_e7080ef4fba6e9e7ae7a5ef22466c4509.png
    Figure \(\PageIndex{2}\)
    clipboard_eb21d7564c6aa3297611ef3ef09da0b54.png
    Figure \(\PageIndex{3}\)

    Are you ready for more?

    The phrase “is a function of” gets used in non-mathematical speech as well as mathematical speech in sentences like, “The range of foods you like is a function of your upbringing.” What is that sentence trying to convey? Is it the same use of the word “function” as the mathematical one?

    Summary

    Let's say we have an input-output rule that for each allowable input gives exactly one output. Then we say the output depends on the input, or the output is a function of the input.

    For example, the area of a square is a function of the side length, because you can find the area from the side length by squaring it. So when the input is 10 cm, the output is 100 cm2.

    clipboard_e61794244094857fa4ce3d636ae9815a1.png
    Figure \(\PageIndex{4}\)

    Sometimes we might have two different rules that describe the same function. As long as we always get the same, single output from the same input, the rules describe the same function.

    Glossary Entries

    Definition: Function

    A function is a rule that assigns exactly one output to each possible input.

    The function \(y=6x+4\) assigns one value of the output, \(y\), to each value of the input, \(x\). For example, when \(x\) is 5, then \(y=6(5)+4\) or 34.

    Practice

    Exercise \(\PageIndex{5}\)

    Here are several function rules. Calculate the output for each rule when you use -6 as the input.

    clipboard_e638d9772e28add66c9502332fd6ac25c.png
    Figure \(\PageIndex{5}\): Six function rule diagrams, no input or output given for any. Rule 1, subtract 7. Rule 2, square the input. Rule 3, divide by 3. Rule 4, divide the input into 3. Rule 5, write pi. Rule 6, find the volume of a cube with side length equal to the input in centimeters.

    Exercise \(\PageIndex{6}\)

    A group of students is timed while sprinting 100 meters. Each student’s speed can be found by dividing 100 m by their time. Is each statement true or false? Explain your reasoning.

    1. Speed is a function of time.
    2. Time is a function of distance.
    3. Speed is a function of number of students racing.
    4. Time is a function of speed.

    Exercise \(\PageIndex{7}\)

    Diego’s history teacher writes a test for the class with 26 questions. The test is worth 123 points and has two types of questions: multiple choice worth 3 points each, and essays worth 8 points each. How many essay questions are on the test? Explain or show your reasoning.

    (From Unit 4.3.6)

    Exercise \(\PageIndex{8}\)

    These tables correspond to inputs and outputs. Which of these input and output tables could represent a function rule, and which ones could not? Explain or show your reasoning.

    Table A:

    input output
    -2 4
    -1 1
    0 0
    1 1
    2 4
    Table \(\PageIndex{1}\)

    Table B:

    input output
    4 -2
    1 -1
    0 0
    1 1
    4 2
    Table \(\PageIndex{2}\)

    Table C:

    input output
    1 0
    2 0
    3 0
    Table \(\PageIndex{3}\)

    Table D:

    input output
    0 1
    0 2
    0 3
    Table \(\PageIndex{4}\)

    This page titled 5.1.2: Introduction to Functions is shared under a CC BY license and was authored, remixed, and/or curated by Illustrative Mathematics.

    • Was this article helpful?