1.14 - Function Model Construction and Application

hub34

Introduction

Welcome to unit 1.14! In this unit, you’ll learn how to construct a linear, quadratic, cubic, quartic, polynomial of degree , or related piecewise-defined function model; construct a rational function model based on a context; and apply a function model to answer questions about a data set or contextual scenario.

What is a function model?

A function model is an equation (or occasionally a set of equations, as is the case with piecewise functions) that describes how one quantity/variable depends or affects another given some situation. Put simply, it is a regular function that describes some sort of context (within a problem)

Polynomial Models 

If you’ll remember, polynomial functions include linear, quadratic, cubic, quartic, and higher-degree polynomial functions. In the previous subunit, you learned how to decide which of these to use. Now, we will dive deeper into actually constructing the function.

Linear models

In general, you will use a linear model when the rate of change is (about) constant.

There are two forms of a linear function.

The first is slope-intercept form:

The second is point-slope form:

The advantages of each form will be clear later.

Before you begin constructing the model, you must recognize how the problem gives you data. 

Tabular data

If they give you tabular data (data points in a table), first check if the rate of change is roughly constant. Deciding which model to use is shown in more detail in 1.13; this article will not go into such depth.

If the ROC (rate of change) is about constant, then choose two points from the table (can be random points). Say we chose the points and .

Then, we find the slope:

Then we can either: Use point-slope form with one of these points and our slope:

or

Or, convert to slope-intercept form by solving for :

or

Point-slope form is typically the faster way to construct an equation from a model. However, slope-intercept form can sometimes be easier to interpret. Ultimately, it is up to you which form you use. 

Two data points are given

If the problem instead provides two data points in non-tabular form (like in a word problem), we can actually treat it the same as if we were given two tabular points.

A graph is given

Occasionally, you’ll be asked to create a function that is depicted in a graph. If the graph looks linear (a straight line), find two points that clearly lay on the graph (on the linear function depicted in the graph) and treat it like two points given in a table or in a word problem. 

There are shortcuts: for example, if the -intercept is shown in the graph, then it’s a lot easier to just use slope-intercept form, as is already known. Then, just find two points and find the slope to find . Plug both of these into slope-intercept form and you have your function.

Slope is given with a data point

Sometimes, the problem will explicitly tell you the rate of change (or sometimes they’ll implicitly tell you) and one data point (typically the -intercept). 

An example could be: “A population of bunnies is increasing at a constant rate of bunnies per year; in , it was

Here, the slope is given directly (once again, this is elaborated more in 1.13 and will not be discussed in detail in this article): “increasing by bunnies per year) tell us that (assuming that we are graphing population of bunnies vs time in years). 

Then, we identify a point. Here, our point is

Then, we can use point-slope form (it’s usually easier when we’re given a slope and point directly, as we don’t even need to do any work) and plug in our values:

If required (by the question or teacher or whatever), we can convert this into slope-intercept form through algebraic expansion and manipulation, although it's not necessary.

However, here, we can see that point-slope is incredibly convenient when a problem tells us a slope and point. You can just plug in the rate () and a point and get your function.

Quadratic Models

As a summary of what was discussed in 1.13, you will typically use a quadratic model when there is one maximum/minimum in the data or the ROC of the ROC is constant.

There are three main forms of a quadratic function:

Standard form:

Vertex form:

Factored (intercept) form:

Here, each form is better suited for different types of situations.

A vertex (maximum/minimum) and one additional point is given

In this situation, there is an “objectively” best form to use: vertex form.

If you know a vertex (usually something like max/min height, max/min cost, etc. etc.)

And if you know a second point on the parabola,

Then: Plug in the known vertex

And then, using the other known point , solve for :

This is common in physics problems, where you’re modeling the height of a projectile.

Zeros (x-intercepts) and an additional point are given)

If you are given both zeros (-intercepts) and some other point on the graph, then you can use factored form.

First, plug in your two roots (say, you have the roots and )

Then, plug in your additional point (say, ):

Three or more points (tabular or in a word problem)

With three exact points, you can either use systems of equations or technology.

Say the three random points are , , and .

To solve a system of equations (usually for integer points that can be solved without causing a migraine)

Plug each point into standard form:

Then, you can solve the system with substitution or elimination.

This is more algebra-heavy, but it’s fairly simple if the numbers are also simple.

However, if your data is only approximate or just hard data to work with by hand, you can use regressions. Using regressions is covered in the previous article.

Graph

When a graph is very clearly a single parabola, look for a vertex, zeros, or the intercept.

If the vertex is a clear point (on the grid), use vertex for and find from some other point on the graph.

If zeros are obvious, use factored form and find from another point.

If the intercept is obvious, use standard form (the -value of the intercept will just be ) and solve a systems of equations (this is also what you do if none of the features are available)

Cubic, Quartic, and higher-degree polynomial models

When dealing with functions that have a degree of 3, 4, or even higher, there are a small number of tips for constructing the function. Usually, all you can do is create a system of equations by plugging in points.

The only scenario in which it would be easier is if they give you the roots, in which you can write a factored form using zeros. This will usually be the case when you’re given a graph.

Then, you can solve for by picking a point that is not a zero and solving for through a regression (which is further elaborated on in 1.13).

Deciding when to use these types of functions is explained in the previous article 1.13.

Piecewise Functions

There are no “piecewise” specific tips. That’s because a piecewise truly is just a mix of different functions. Simply split the piecewise function into the separate types of functions and use the tips above. Identifying where a piecewise split is elaborated more in 1.13.

Rational Functions

A rational function is a ratio of two polynomials. It takes the form of:

, where

When modeling a situation, the most common use of Rational Functions as models is modeling inverse relationships.

Inverse Variation

When something like is inversely proportional to , it means that .

This takes on the form of a rational function, where and . It is absolutely possible for to be something other than , such as .

Sometimes, the phrasing will be more vague. For example, a problem could say “ decreases with the square of

To solve for , all you need is one point. Simply plug that point in and solve for . From there, you have a complete function to model with.

Graph

Recognizing a rational function is actually fairly simple. If both sides of the graph approach some value (a horizontal asymptote), then you have a rational function. If there’s a vertical asymptote (where the function approaches a vertical line to infinity), then you have a rational function. If you have a hole in your function with these traits, you absolutely have a rational function.

Technically, it is possible to see a slant/oblique asymptote. However, the graph will still show the behaviors listed. Additionally, it will still “follow” an asymptote, it is just that the asymptote is a linear function. It will very clearly follow a straight line.

To create the function, first look at the vertical asymptotes. Remember, the vertical asymptote is a vertical line that the graph will seemingly approach but never cross.

If the asymptote is at, say, , then one of the factors in the polynomial in the denominator is

Then, find any zeros. If a zero is at , then one of the factors in the polynomial in the denominator is . However, note that this is only true if the polynomial simply “passes through” the -axis. If the polynomial “bounces off” the -axis, the factor has an even degree (the exponent on the factor must be 2, 4, 6, 8, etc.). If it seems to smoothen and flatten out before crossing, then it has an odd degree greater than one (3, 5, etc.)

Then, find the horizontal asymptote. Again, this is a horizontal line the graph approaches as approaches infinity and negative infinity.

If the horizontal asymptote is , where is a constant, then the lead coefficient of the polynomial in the numerator divided by the lead coefficient of the polynomial in the denominator must be equal to , and the degrees of both polynomials must be equal.

If the horizontal asymptote is , then the degree of the polynomial in the denominator must be greater than that of the polynomial in the numerator’s.

If there is a slant or oblique asymptote, then the slant or oblique asymptote is the result of dividing the numerator’s polynomial by the denominator’s, and then ditching (ignoring) the remainder.

Finding how to derive an equation of a rational function from a graph is detailed more in later articles. For now, this portion isn’t too important.

Conceptual ideas of Rational Function Modeling

There is one main takeaway of using Rational Functions to model scenarios. 

Rational models are used when one quantity changes in the denominator, so that as that input grows, the output shrinks towards some value.

Transformations, Compositions, and Inverses 

So far, you’ve been building models from scratch; you’ve had to decide what model to use, solve for constants, etc.

However, instead of creating a new function from scratch, it’s possible to build new models by modifying existing functions. You can do this by utilizing:

  1. Transformations
  2. Compositions
  3. Inverses

Note: more on Compositions and Inverses in Unit 2.

Transformations

A parent function is the simplest member of a function family (examples include , ,

If is the parent function, then

A vertical shift would be defined as , where the graph moves up or down by (down if k is negative).

A horizontal shift would be defined as , where the graph moves left or right (left if ).

A vertical stretch/compression and reflection take the form .

When , you have a stretch

When , you have a compression

And when , you have a reflection of the -axis (you can still have a stretch/compression with a reflection over the -axis.

You can additionally have a reflection over the -axis, which takes the form

Quite often, these will be used in tandem:

To obtain a model from context, you have to first choose your parent function (using decision making from above or from article 1.13). Then, use a key feature to determine the shift. For example, let’s look at the vertex form of a quadratic function.

In the equation:

We have a stretch/dilation by (a reflection too if ), a horizontal shift right , and a vertical shift up .

Compositions

A composition models a situation where one quantity depends on another, which depends on another.

Basically, it takes the form 

.

Compositions often show up in modeling during unit conversions (converting days into hours, then applying a cost per hour model), geometry and a changing input (radius grows with time , and area/volume depends on ), or in general, the output of one process affects another.

Inverses

Sometimes the context can ask for the opposite of a typical function model; they may ask you to swap the inputs and outputs.

Say you have a function that models the total cost of a toy factory given a number of units (toys). But now you’re asked to find how many units you could buy given $. Now, yes, you can set . However, the point is that (especially if you specifically need a function) you can find the inverse of this function and simply plug in as your input.

Applying Models with Context

Once you have a model, whatever type of function it is, you can use it to answer questions, including predicting values and analyzing rates of change. Given any function model , you can 

  1. Plug in an input to predict an output
  2. Set to some value and solve for the input (x)

Rate of Change in Context

Additionally, you will sometimes be asked to find the rate of change between two points. Simply find those two points using your function and use the Rate of Change formula.

However, the harder part is putting that rate in context. 

The formula for average rate is

Physically, it’s a measure of the change in output per unit change in input, and its units are:

You will often be asked to interpret the meaning of your ROC for a situation.

Changing Rate of Change

You are not expected to do any calculus, but you should recognize when the rate of change itself is changing. You can do this by using concavity, which is also expressed in more detail in 1.13. 

You can discuss more physical ideas (related to the problem) with concavity, such as acceleration.

Using Units and Reasonableness

Whenever you use a model, ask yourself what are the units of my inputs and outputs ( and )? 

Understanding what your function model even models is of utmost importance.

More context about domain and range are covered in 1.13.

Practice Problems

1) A car rental company charges a flat daily fee plus a per-mile cost:

  • You must pay $ to rent the car for a day
  • You must pay $ every mile for the first hundred miles
  • You must pay $ for every mile after miles.

Let be the number of miles driven in and, and models the total daily cost in dollars.

  1. Construct a function that models this situation
  2. Using your model, find the total cost if you drove 60 miles. 150 miles?
  3. Find and interpret the average rate of change of on the interval

2) A man is attempting to throw a rock at a wasp nest. The man throws the rock from a platform. The rock’s height (in meters) above the ground as a function of time (in seconds) is represented by  

The rock is launched from a height of meters and reaches a max height of meters after seconds.

  1. Create the function to model the scenario.
  2. List all transformations of the function from it’s parent
  3. Find the rock’s height after seconds have passed.

3) The intensity () of a signal is inversely proportional to the square of the distance () in meters. When a man stands meters from the source, the intensity is (of some unit)

  1. Write a formula relating and
  2. What is the intensity at a distance of meters?
  3. The man begins to walk away from the light; in his perspective, how is the intensity of the light changing?
  4. Solve for distance as a function of intensity (in other words, find a function

Answers

1) A car rental company charges a flat daily fee plus a per-mile cost:

  • You must pay $ to rent the car for a day
  • You must pay $ every mile for the first hundred miles
  • You must pay $ for every mile after miles.

Let be the number of miles driven in and, and models the total daily cost in dollars.

  1. Construct a function that models this situation
  2. Using your model, find the total cost if you drove 60 miles. 150 miles?
  3. Find and interpret the average rate of change of on the interval

Answer:

Part a:

First, there will always be a base fee of $.

For , the total cost will be the base fee of $ + cost per mile. So,

However, for , we must have a new function

For the first miles, we have to pay dollars. Then, for any extra miles , we pay $ per mile. So, our function is

Our final piecewise function is

Part b:

We know that miles is less than miles, so we use the first function and plug in , which is $.

We know that miles is greater than miles, so we use the second function and plug in , which is $.

Part c:

AROC between and is described by:

This simplifies to

What this means is that on average, each additional mile between miles and miles will increase the total cost by $.


2) A man is attempting to throw a rock at a wasp nest. The man throws the rock from a platform. The rock’s height (in meters) above the ground as a function of time (in seconds) is represented by  

The rock is launched from a height of meters and reaches a max height of meters after seconds.

  1. Create the function   to model the scenario.
  2. List all transformations of the function from it’s parent
  3. Find the rock’s height after seconds have passed.

Answer:

Part a:

Because this is projectile motion, we know it’s best modeled by a quadratic.

Using vertex form (because we are given a max height), we can obtain the form:

Then, we can plug in the point to solve for .

Solving for , we get that

So,

Part b:

First, we can see that there was a reflection over the -axis, as is negative.

Then, we see that there was a vertical stretch by .

After, we see that the graph was shifted right units.

Finally, we see that the graph was shifted up units.

Part c:

Plugin in into our function, we get that

After seconds, the rock is (about) meters above the ground


3) The intensity () of a signal is inversely proportional to the square of the distance () in meters. When a man stands meters from the source, the intensity is (of some unit)

  1. Write a formula relating and
  2. What is the intensity at a distance of meters?
  3. The man begins to walk away from the light; in his perspective, how is the intensity of the light changing?
  4. Solve for distance as a function of intensity (in other words, find a function

Answer:

Part a:

First, we know that (because it is inversely proportional)

Plugging in the point , we see that and our function is

Part b:

We can simply plug in to obtain that Intensity equals units.

Part c)

First off, we know that as the man walks away, the intensity will decrease as distance is increasing. Then, intensity will approach (never reaching it).

Part d)

We can simply find the inverse of the intensity function: it is