Skip to main content

Beginning Activity Beginning Activity 1: Functions from Previous Courses

One of the most important concepts in modern mathematics is that of a function. In previous mathematics courses, we have often thought of a function as some sort of input-output rule that assigns exactly one output to each input. So in this context, a function can be thought of as a procedure for associating with each element of some set, called the domain of the function, exactly one element of another set, called the codomain of the function. This procedure can be considered an input-output rule. The function takes the input, which is an element of the domain, and produces an output, which is an element of the codomain. In calculus and precalculus, the inputs and outputs were almost always real numbers. So the notation \(f( x ) = x^2 \sin x\) means the following:

  • \(f\) is the name of the function.

  • \(f( x )\) is a real number. It is the output of the function when the input is the real number \(x\text{.}\) For example,

    \begin{align*} f\left( {\frac{\pi }{2}} \right) \amp = \left( {\frac{\pi }{2}} \right)^2 \sin \left( {\frac{\pi } {2}} \right)\\ \amp = \frac{{\pi ^2 }}{4} \cdot 1\\ \amp = \frac{{\pi ^2 }}{4}\text{.} \end{align*}

For this function, it is understood that the domain of the function is the set \(\R\) of all real numbers. In this situation, we think of the domain as the set of all possible inputs. That is, the domain is the set of all possible real numbers \(x\) for which a real number output can be determined.

This is closely related to the equation \(y = x^2 \sin x\text{.}\) With this equation, we frequently think of \(x\) as the input and \(y\) as the output. In fact, we sometimes write \(y = f( x )\text{.}\) The key to remember is that a function must have exactly one output for each input. When we write an equation such as

\begin{equation*} y = \dfrac{1}{2}x^3 - 1\text{,} \end{equation*}

we can use this equation to define \(y\) as a function of \(x\text{.}\) This is because when we substitute a real number for \(x\) (the input), the equation produces exactly one real number for \(y\) (the output). We can give this function a name, such as \(g\text{,}\) and write

\begin{equation*} y = g( x ) = \frac{1}{2}x^3 - 1\text{.} \end{equation*}

However, as written, an equation such as

\begin{equation*} y^2 = x + 3 \end{equation*}

cannot be used to define \(y\) as a function of \(x\) since there are real numbers that can be substituted for \(x\) that will produce more than one possible value of \(y\text{.}\) For example, if \(x = 1\text{,}\) then \(y^2 = 4\text{,}\) and \(y\) could be \(-2\) or 2.

Which of the following equations can be used to define a function with \(x \in \R\) as the input and \(y \in \R\) as the output?

1.

\(y = x^2 - 2\)

2.

\(y^2 = x + 3\)

3.

\(y = \dfrac{1}{2}x^3 - 1\)

4.

\(y = \dfrac{1}{2} x\sin x\)

5.

\(x^2 + y^2 = 4\)

6.

\(y = 2x - 1\)

7.

\(y = \dfrac{x}{{x - 1}}\)