Definition 4.2.1
A constant function is a function that has the same output value for every input value, \(f(x)=c\) for some constant \(c\text{.}\)
We have learned previously that functions provide a map between two variables of a system. In modeling, the functions are almost always defined by formulas, with the dependent variable being equal to an expression involving only the independent variable. As we analyze these functions with calculus, the rules of computation will depend on how a function algebraically put together.
This section focuses on how expressions and functions are constructed. We start by reviewing elementary functions that represent basic operations on the independent variable. Expressions formed by these elementary operations are combined with the basic arithmetic operations and function composition. Common constructions often take the same form, so we consider parametrized families of functions, particularly including power functions and exponential functions.
Every expression defining a function can be interpreted as a combination of various operations. Operations that act on a single expression are functions. Operations that combine multiple expressions include the binary arithmetic operations, particularly addition and multiplication. In order to characterize expressions, we first review the elementary operations that can be considered as elementary functions.
The simplest operations are the constant functions and the identity function. As an operation, the constant function ignores the variable and always gives the same value for the output. The identity function, on the other hand, has no net change with the variable and returns an output that matches the input.
A constant function is a function that has the same output value for every input value, \(f(x)=c\) for some constant \(c\text{.}\)
The identity function is a function where the output value is the same as the input value, \(f(x)=x\text{.}\)
We earlier learned that inverse functions \(f\) and \(f^{-1}\) have composition
this is equivalent to saying that \(f \circ f^{-1}\) and \(f^{-1}\circ f\) are equivalent to an identity function.
The four basic arithmetic operations of addition, subtraction, multiplication, and division can be used as functions. Because these binary operations require two operands (the expressions being acted on), the simplest functions involve operating on the variable and a particular constant.
For example, \(x \mapsto x+4\) is an elementary operation that adds the constant 4 to the independent variable. Similarly, \(x \mapsto 4x\) is an elementary operation that multiplies the input by 4. Because subtraction is really addition with an additive inverse (the negation) of a number, an operation like \(x \mapsto x-4\) is equivalent to \(x \mapsto x+-4\text{.}\) Likewise, division is really multiplication with a multiplicative inverse (the reciprocal) of a number, so an operation like \(x \mapsto x \div 4\) is equivalent to \(x \mapsto \frac{1}{4} x\text{.}\)
We therefore start with two families of constant arithmetic operations: the constant sum and the constant multiple.
For every real number (constant) \(c\text{,}\) we can define the constant sum operation
and the constant multiple operation
A constant sum represents a mapping that maintains a constant offset between the input and output. For example, the function \(x \mapsto x-3\) has an output that is always 3 units to the left of the input. This mapping is illustrated in the following interactive figure.
A constant multiple represents a mapping that maintains a constant scaling or ratio between the input and output. For example, the function \(x \mapsto 2x\) has an output that is always twice the value of the input. This mapping is illustrated in the following interactive figure.
There are two more arithmetic operations possible with constants. Taking a constant and subtracting the variable, as in \(x \mapsto 4-x\text{,}\) is not equivalent to a constant sum because we are not adding something to \(x\text{.}\) Similarly, dividing a constant by a variable, as in \(x \mapsto 4 \div x\text{,}\) is not equivalent to a constant multiple. We can, however, obtain these functions and others by introducing the reciprocal operation as an elementary arithmetic operation and then using composition of these elementary operations.
The reciprocal or inverse operation is the function
defined for all \(x \ne 0\text{.}\)
Express the functions \(x \mapsto 4-x\) and \(x \mapsto 4 \div x\) as compositions of elementary arithmetic operations.
We start with the function \(x \mapsto 4-x\text{.}\) The negation of a number is always equal to that number times \(-1\)—a constant multiple,
Because \(4-x = -x + 4\text{,}\) we can see that we take the output of \(f_1\) and apply the elementary arithmetic operation of adding 4,
The function is question is the composition,
For the second function, \(x \mapsto 4 \div x\text{,}\) we recall \(4 \div x = 4 \cdot \frac{1}{x}\text{.}\) Our first elementary operation is the reciprocal,
We then multiply by the constant 4,
Our function is the composition
We can construct fairly complex operations by composition of various elementary operations. Our ability to recognize compositions will be very important in calculus, so we take advantage of this opportunity to develop this skill.
Express \(\displaystyle x \mapsto 3 + \frac{4}{2x-5}\) as a composition of elementary arithmetic operations.
We start by looking for the variable \(x\) in the formula. Using the order of operations, we state in words (at least in our minds) what happens to that value.
The step where we divide 4 by the result is not an elementary operation. We break it into two steps: (i) find the reciprocal and (ii) multiply by 4.
Now that each step is an elementary operation, we can state our composition. First, we define the relevant functions, one for each step.
Our function is the composition
It is common for learners to be confused by the functions used in composition. For example, many learners think that \(f_2(x)\) should have been \(2x+-5\text{.}\) Remember that the function representing the operation describes what happens to its input and does not take into account what we might separately know will become the input. The composition of the first two operations would be \(f_2 \circ f_1(x) = 2x+-5\text{.}\) It might be helpful to use a different placeholder for the input. We could have written \(\square\) as a placeholder for the input of subsequent operations to remind us that the operation acts on the input and not on the \(x\) of the ultimate formula.
When a function can be represented as a composition of elementary arithmetic operations, the inverse function can easily be found by the reverse composition of inverse arithmetic operations.
Find the inverse function for \(\displaystyle f(x)=\frac{4}{2x-5}+3\text{.}\)
In the previous example, we identified that \(f(x)\) was a composition of the following operations, starting with the input \(x\text{:}\)
The inverse function must apply the inverse operations in the reverse order.
The composition of these operations gives us an inverse function,
We can rewrite this expression in a simpler equivalent form. We can simplify the fraction within a fraction by recognizing \(\frac{1}{4}(x+-3) = \frac{x-3}{4}\) and then finding the reciprocal:
If we wanted to distribute the multiplication by \(\frac{1}{2}\text{,}\) we would obtain a slightly simpler expression,
While studying sequences, we learned about the operations of exponentials 2.4.4 and powers 2.4.5. In effect, these two operations add powers involving constants to our collection of elementary operations. We also include the inverse operations.
The elementary power function with power \(p\) is the function that raises the variable to a constant power,
The elementary exponential function with base \(b\text{,}\) where \(b \gt 0\) and \(b \ne 1\) is the function that raises a constant base to the power of the variable,
The inverse operations for a power is a root, which is itself a power:
Technically, the power operation is not one-to-one for \(p\) an even power, so the root is only a true inverse operation for \(p\) odd. When \(p\) is even, the root is an inverse operation only for non-negative values.
The inverse operation for an exponential is a logarithm,
We consider logarithms as elementary functions.
The trigonometric functions are used in relation to triangles as well as cyclic behavior. There are two fundamental trigonometric functions, the sine and cosine functions, from which the others are defined. We will study these functions in more depth soon, but for the purpose of summary include the following table here.
The trigonometric functions are periodic, which implies that they must not be one-to-one. Inverse trigonometric functions are defined to solve equations for a limited interval and provide additional elementary functions for our use.
The arccotangent and arccosecant functions can be defined but are not used in practice.
Functions defined by a formula are generally formed by combining these operations and functions into more complicated expressions. One of the most valuable skills in calculus is the ability to recognize how a formula is constructed. Many rules in calculus are named according to which operation forms the expression of interest. The basic operations of combination are the arithmetic operations of addition (a sum), subtraction (a difference), multiplication (a product), and division (a quotient) along with the operation of function composition. Although powers are usually considered algebraic operations, we will think of powers in terms of power and exponential functions.
Most formulas involve more than one operation. An expression is classified by the last operation that would be applied. The order of operations determines the priority with which operations are applied. In algebra, you may have learned the acronym PEMDAS
, which stands for Parentheses, Exponents, Multiplication, Division, Addition, and Subtraction. Subtraction is really the addition of an inverse, so differences can be classified as sums. The same technically applies for division being multiplication, but this is less frequently used. We will change the meaning of E
to stand for Every function, including powers and exponentials, as all functions have higher precedence than the arithmetic operations. Composition occurs whenever the operation is a function acting on the output of another operation involving a variable.
Classify each function by the last operation that is applied, and then classify each component expression. Make note of when a binary operation involves a constant instead of two variable expressions.
Although binary operations like addition and multiplication are defined in terms of two operands, we often see them in expressions involving more than two terms, such as \(a+b+c\) or \(3xy\text{.}\) By convention, the operations are performed left to right as \((a+b)+c\) or \((3x)y\text{.}\) Because addition and multiplication are commutative and associative, this order doesn't matter and we act as if it were one sum or one product. In calculus, however, all of the rules are based on the binary nature of the operations. When classifying the structure of a formula, we should identify exactly two operands.
One of the most common ways to combine expressions in mathematics is to create a sum of constant multiples of those expressions. Such a combination is called a linear combination. The calculus operations of limits, integrals, and derivatives all satisfy a linearity in that they preserve linear combinations. It is therefore useful to recognize them.
Given a finite set of expressions, \(u=(u_1, u_2, \ldots, u_n)\text{,}\) and the same number of constants, \(c = (c_1, c_2, \ldots, c_n)\text{,}\) the linear combination of the expressions \(u\) with coefficients \(c\) is the sum of constant multiples of the expressions
The non-negative integer powers of \(x\) are the powers \(x^0=1\text{,}\) \(x^1=x\text{,}\) \(x^2\text{,}\) \(x^3\text{,}\) etc., and form the basis for an important family of functions called polynomials.
Let \(n\) be a non-negative integer. A polynomial of degree \(n\) is a function that can be written in the form
where \(a_0, a_1, \ldots, a_n\) are constants called the coefficients. The term with the highest power \(a_n x^n\) is called the leading term and \(a_n\) is called the leading coefficient.
Polynomials are just linear combinations of non-negative integer powers of \(x\text{.}\) A constant multiple of just one such power is called a monomial. The sum of two constant multiples is called a binomial.
The polynomial \(f(x)=3x^3+x^2-5x+8\) is a linear combination of the powers \((1, x, x^2, x^3)\text{.}\) The degree of the polynomial is \(n=3\text{,}\) and the coefficients are \((c_0, c_1, c_2, c_3) = (8, -5, 1, 3)\text{.}\) The leading coefficient is \(c_3=3\text{.}\)
Write down the polynomial \(f(x)\) of degree \(n=4\) with coefficients \((c_0,c_1,c_2,c_3,c_4) = (16, 0, -8, 0, 1)\text{.}\)
Because \(c_1=0\) and \(c_3=0\text{,}\) we skip the terms with powers \(x^1=x\) and \(x^3\text{.}\) We usually write polynomials in decreasing powers, so we have
When functions have the same structure but use different constants, we say they are in the same parametrized (or parametric) family. For example, linear functions can always be written in the form \(f(x)=mx+b\) with different values of \(m\) and \(b\text{.}\) The constants are called the parameters of the family. Some examples of parametrized functions are:
In addition, polynomials could also be considered a parametrized function where the coefficients are the parameters.
To find the values of the parameters for a function, we use given states for the relation to create equations. The equation associated with each state is called a constraint. We generally need as many constraints as parameters in the function. We solve the system of equations simultaneously to find the parameters. This usually requires a method called solving by substitution.
The method of substitution for a system of equations is to take one equation and solve for one of the unknowns. We then substitute that formula in place of that unknown in the other equation. This allows us to find the value of the second unknown. We then back-substitute that value into our first equation to solve for the first unknown.
Use parameter constraint equations to find a linear function \(f(x)=mx+b\) satisfying \(f(2)=5\) and \(f(5)=1\text{.}\)
We could find an equation of the function by computing the slope and \(y\)-intercept, but we want to illustrate parameter constraints. The data will give us equations for \(m\) and \(b\text{.}\) We use the parametrized formula \(f(x)=mx+b\) for the two given values \(x=2\) and \(x=5\) to give us two constraint equations.
The system of equations that we need to solve is given by
We solve for \(b\) in the first equation.
Now substitute this formula into the second equation.
We finish by back-substituting this value into the first equation to find the value for \(b\text{,}\)
The function is \(f(x)=-\frac{4}{3}x+\frac{7}{3}\text{.}\)
Solving the parameter equations for a parametric model provides us a way of identifying a function from a particular family that passes through given points.
Find a power function \(f(x)=Ax^p\) satisfying \(f(2)=5\) and \(f(5)=1\text{.}\)
Start by creating the system of constraint equations.
To use the method of substitution, it is easiest to solve for \(A\text{:}\)
Substitute this into the second equation to get an equation for \(p\text{:}\)
To solve this, we isolate the exponential with base \(\frac{5}{2}\) and then use a logarithm as the inverse operation.
This allows us to find the value of \(A\text{:}\)
The exact function is defined by
with an approximate form
Find an exponential function \(f(x)=Ab^x\) satisfying \(f(2)=5\) and \(f(5)=1\text{.}\)
Start by creating the system of constraint equations.
We solve for \(A\text{:}\)
Substitute this into the second equation to get an equation for \(p\text{:}\)
The value of \(A\) can be found:
The exact exponential function is defined by
and is approximated by
When we know how to find models for functions, we can use those models to answer questions about physical systems.
A chemical reaction is tracked with concentrations measured every five minutes. The concentration of one reactant is predicted to follow an exponential decay. Let \(R\) be the concentration of that reactant in moles per liter as a function of time \(t\) in minutes. When \(t=0\text{,}\) the concentration was \(R=2.5\text{.}\) When \(t=5\text{,}\) the concentration was \(R=2.1\text{.}\) At what time will the concentration be \(R=1.0\text{?}\)
This question is a bit more challenging as it will involve several stages. We begin by looking at the question. We want to find the time \(t\) knowing the concentration \(R\text{.}\) That is, we would like to apply a map \(R \mapsto t\) which would be the inverse of \(t \mapsto R\text{.}\) To find our answer, we will first need to write \(R\) as a dependent variable with \(t\) as the independent variable.
Next, we look at the given information to see what it says about the relation \(f: t \mapsto R\text{.}\) Because the problem states that the reactant follows exponential decay, we interpret this as telling us that \(R = f(t)\) is an exponential function. The general exponential function has the form
where \(A\) and \(b\) are the model parameters (constants).
We use the given information to determine the values of \(A\) and \(b\text{.}\) Each state will give us an equation that can be used to constrain the values of the parameters. The state \((t,R) = (0,2.5)\) corresponds to the equation \(f(0) = 2.5\text{.}\) The exponential function applied to this equation gives
The state \((t,R) = (5,2.1)\) corresponds to the equation \(f(5)=2.1\text{,}\) which gives an equation
Substituting \(A=2.5\) into the second equation, we can then solve for \(b\text{.}\)
The inverse operation of a power \(p=5\) is a fifth-root or a power \(p=\frac{1}{5}\text{.}\)
We will use the exact value.
Knowing \(A=2.5\) and \(b = 0.84^{1/5}\text{,}\) we have our function \(f : t \mapsto R\text{,}\)
The inverse function \(f^{-1} : R \mapsto t\) can be used to take a concentration and report back a time. We need to solve the equation for \(t\) as the dependent variable. When choosing what operation to apply an inverse, we first need to isolate the exponential.
We now have an exponential with base \(b=0.84\) on the right. The balanced inverse operation would be to use a logarithm with \(b=0.84\) on both sides.
We finish by using the change of base formula for logarithms:
To answer the question, we use the inverse relation with \(R=1.0\) and compute \(t\text{.}\)
The concentration will be \(R=1.0\) approximately 26.277 minutes after the experiment begins.
Common parametrized families of functions are linear, exponential, and power functions.
Parametric Formula | Description |
\(f(x)=mx+b\) | linear, slope-intercept |
\(f(x)=A \, x^p\) | power |
\(f(x)=A \, b^x\) | exponential, general base \(b\) |
\(f(x)=A \, e^{kx}\) | exponential, natural base \(e\) |
Classify each elementary function.
Classify each function according to the last operation. Then classify the component expressions. Make note if the operation involves a constant expression.
For each polynomial, determine the degree and list the coefficients.
Find the equation of the function \(x \mapsto y\text{,}\) if possible, for each of the following parametric models satisfying the states \((x,y)=(0,3)\) and \((x,y)=(5,9)\text{.}\)
linear function
power function
exponential function
quadratic function of the form \(y=a+bx^2\)
quadratic function of the form \(y=ax+bx^2\)
Find the equation of the function \(x \mapsto y\text{,}\) if possible, for each of the following parametric models satisfying the states \((x,y)=(1,3)\) and \((x,y)=(4,6)\text{.}\)
linear function
power function
exponential function
quadratic function of the form \(y=a+bx^2\)
quadratic function of the form \(y=ax+bx^2\)
a function the form \(\displaystyle y=\frac{ax}{x+b}\)
Parametrized functions are often used to model real-life scenarios. In particular, exponential functions are often used to model problems involving radioactive decay. A half-life is a length of time during which the amount of the radioactive substance loses exactly half of its mass. We think of the mass \(M\) as a function of time \(t\text{,}\) \(M=A\cdot b^t\text{,}\) with parameters \(A\) and \(b\text{.}\)
Use the information given in each problem to find a parametrized exponential function satisfying the given data and use it to answer the question.
P-32 is a radioactive isotope of phosphorus used in labeling biological molecules. P-32 has a half-life of 14.29 days. Suppose an experiment begins with 10 µg of P-32. Find a parametrized model for the mass (in µg) as a function of time (in days) measured from the start of the experiment, \(t \mapsto M\text{,}\) in order to determine how much P-32 remains after 10 days and after 100 days.
Create two constraints using \(t=0\) and \(t=14.29\text{.}\)
C-14 is a radioactive isotope of carbon used in dating biological samples. C-14 has a half-life of 5730 years. Due to cosmic rays on atmospheric nitrogen, C-14 has a steady concentration in the atmosphere. The tissue of living plants match the atmospheric concentration until the time of death. Measuring how much the fraction of carbon that is C-14 allows us to estimate the time the plant tissue died.
Suppose a sample is measured as having 3.5 mg. How old is the sample if the living sample is estimated to have had 5.0 mg?
The current measurement gives a constraint for \(t=0\text{;}\) the half-life gives a second constraint. Solve for \(t\) corresponding to the living sample.
Radioactive masses decay according to an exponential function of time. The isotope of plutonium Pu-239 has a half-life of 24,110 years, which is the time after which half of the mass has decayed. For an initial mass of 1 kg, how much plutonium remains after 100 years?
An exponentially growing population that doubles in size every 5 years currently has 1000 individuals.