topic badge

10.06 Modeling with functions (M)

Introduction

The wide variety of functions we've learned so far can be used to model and understand the world we live in. In this lesson, we will focus on how to choose a model that fits a given situation and combine models to help us understand and interpret complex scenarios. Recall the modeling process:

A modeling cycle. Starting with the phrase Identify the problem inside a circle. An arrow pointing to the right where the phrase Create a model is inside a rectangle. Next is an arrow pointing downward where the phrase Apply and analyze is inside a rectangle. Then, an arrow pointing to the right where the phrase Interpret results is inside a rectangle. Next is an arrow pointing upward where the phrase Verify the model is inside a triangle. Then, an arrow pointing to the right where the phrase Report findings is inside a circle. There is an arrow pointing to the left from the phrase Verify the model to Create a model.

Each time we model a real-world situation we should:

  1. Identify the essential features of the problem

  2. Create a model using a diagram, graph, table, equation or expression, or statistical representation

  3. Analyze and use the model to find solutions

  4. Interpret the results in the context of the problem

  5. Verify that the model works as intended and improve the model as needed

  6. Report on our findings and the reasoning behind them

Identify the problem and create a model

When choosing a model to represent and solve real-world problems, we can use what we know about the key features of the functions we've learned so far and match them to the behavior of the problem.

  1. Linear functions: increase or decrease by a constant value, have infinite domain and range, can have both x and y-intercepts. Best used to model constant changes.
  2. Absolute value functions: have a constant rate of change, increase and decrease on different intervals, are symmetric, have infinite domain and restricted range. Best used to model deviations from a central value.
  3. Exponential functions: grow or decay by a constant factor, have an infinite domain but restricted range, do not have an x-intercept (never truly equal to zero). Best used to model percent changes.
  4. Quadratic functions: change direction, gradually changing rate of change, minimum or maximum values, can have more than one x-intercept. Best used to model projectile motion or situations that change directions smoothly.
  5. Piecewise functions: can have different characteristics at different intervals. Best used to model situations that change differently at different times.

Examples

Example 1

Drop tower rides are designed to lift passengers and then drop them in a freefall unexpectedly. Design a drop tower ride and create a mathematical model that describes the ride.

Worked Solution
Create a strategy

It may help to research drop tower rides and learn more about how passengers are lifted and then dropped. Helpful models will include graphs, tables, and equations.

Apply the idea

As an example, let's consider a drop tower that lifts the passengers at a constant speed until they reach 450 \text{ ft} in the air and then drops them in freefall for 400 \text{ ft} before decelerating them to the ground.

The passenger's height during the ride might look like this:

Drop tower ride
3
6
9
12
15
18
21
24
27
30
\text{Time, in seconds}
50
100
150
200
250
300
350
400
450
\text{Height, in feet}

We've chosen to assume that the riders will rise at a constant rate which allows us to model with a linear function. Freefall is subject to the laws of physics and can be modeled with a quadratic function. In the end, we need to slow down very quickly to gently land on the ground, so we might try an exponential function to model the landing.

As an equation, our model might be: \begin{cases} 20x,& 0\leq x < 22.5 \\ 450-16(x-22.5)^2,& 22.5\leq x < 27.5 \\ \left(\dfrac{1}{16}\right)^{x-29},& 27.5\leq x \leq 30 \end{cases}

Notice the equation of the freefall portion. It's modeled by a quadratic function with a leading coefficient of -16 (common in all gravity-related problems measured in feet), and it's been transformed 22.5 units to the right as well as 450 units up so that the maximum point lines up with the first function.

Reflect and check

To verify that the model works, we should consider the real-world constraints around amusement park rides:

  • What are the different speeds along the ride? How does it compare to other rides?
  • How fast can a roller coaster legally go?

We designed this ride under a specific set of conditions and assumptions. What assumptions could we change? Consider:

  • The maximum height of the ride
  • The duration of the freefall
  • The speeds during different points of the ride

How would the model change as these assumptions changed?

How could we write a report to explain our ride to interested stakeholders?

Idea summary

The behavior of a real-world situation can help us choose a mathematical model to represent it. Match the characteristics of each of the functions we've learned so far to the context to make the best decision.

Combining functions

Different functions can be used to model different situations. Sometimes, it takes a combination of functions to see the full picture. Some common function combinations:

  • \text{Revenue}=\text{Price per unit}\cdot \text{Quantity sold}
  • \text{Profit}=\text{Revenue} - \text{Cost}
  • Newton's Law of Cooling: T(t)=T_s+(T_0-T_s)e^{-kt}
  • Position of a falling object: d=\text{height}+ax^2

Examples

Example 2

To start a freeze-dried candy business, Carlee must purchase a freeze dryer and then supplies like candy, packaging, and labels for each product they sell.

a

Create a function that models Carlee's costs.

Worked Solution
Create a strategy

We'll need to research the cost of a freeze dryer, candy, packaging, and labels to create a realistic model. Then, we need to define variables and summarize the problem in a way that helps us choose a model.

Apply the idea

From some internet searches:

  1. A home freeze dryer costs between \$2\,495 and \$5\,090.

  2. The cost of candy varies depending on how much is purchased and how it's packaged. For this model, we'll use a 30-pack of individual fruity candy packs that can be purchased for \$25, making each bag about \$0.83.

  3. Again, there are a lot of packaging choices out there Carlee can choose from. For this model, we've picked a pink stand-up pouch that's 5.85\text{ in}\times 3.5\text{ in}\times 9.0125\text{ in} and is advertised to hold 6–11 \text{ oz}. Carlee can buy 100 bags for \$42, making the cost of each bag \$0.42.

Carlee only needs to buy the freeze dryer once. Then she will need to spend \$0.83+\$0.42=\$1.25 for each bag of freeze-dried candy she wants to make.

We'll assume that Carlee's costs for candy and packaging won't vary over time which means we can use a linear function to model total costs. Let x represent the number of bags of freeze-dried candy Carlee produces, then C(x)=1.25x+5000 represents her total cost, assuming she buys a more expensive freeze dryer.

Reflect and check

Some other assumptions we could consider:

  • Carlee's costs are \$1.25 but she should plan \$1.50 to account for any unexpected changes in price: C_1(x)=1.5x+5000

  • Carlee purchases a cheaper freeze dryer: C_2(x)=1.25x+3000

  • Carlee also needs to pay \$100 for a business license and pays a graphic designer \$150 for a logo: C_3(x)=1.25x+5250

b

Determine a reasonable selling price and create a function to model Carlee's revenue.

Worked Solution
Create a strategy

Consider the market price of freeze-dried candy from other sellers, how much Carlee wants to earn from each bag sold (her profit margin), and how long it will take her to pay off the initial costs before she makes a profit.

Apply the idea

There are companies online selling freeze-dried candy bags between \$10 and \$12, and when she went to her local farmer's market, Carlee saw someone selling freeze-dried candy for \$8 per bag.

Carlee's revenue function would be R(x)=cx where c is her cost per bag. For now, let's assume a cost of \$10, which is in the middle of what she found. Thus, Carlee's revenue function is R(x)=10x.

c

Combine your functions from (a) and (b) to create a function that models the business owner's profit.

Worked Solution
Create a strategy

Profit is the difference between revenue and cost.

Apply the idea

Carlee's revenue function is R(x)=10x and her cost function is C(x)=1.25x+5000 so her profit function will be:

\displaystyle P(x)\displaystyle =\displaystyle R(x)-C(x)Equation for profit
\displaystyle =\displaystyle 10x-(1.25x+5000)Substitute R\left(x\right)=10x and C\left(x\right)=1.25x+500
\displaystyle =\displaystyle 8.75x-5000Distribute and combine like terms

P(x)=8.75x-5000

d

Use your cost, revenue, and profit models to write a business plan for the business owner.

Worked Solution
Create a strategy

Carlee needs to know when her business will start profiting. We should also present her with a few reasonable options.

Apply the idea

We uncovered multiple options for cost and price that impact Carlee's profits, so we'll display a few options for her business plan:

Carlee's candy sales
100
200
300
400
500
600
700
800
900
\text{Number of candy bags, }x
-5000
-4000
-3000
-2000
-1000
1000
2000
3000
4000
5000
\text{Profit in dollars, }y

If Carlee purchases the \$5\,000 freeze dryer and sells her candy at \$10 per bag with a \$1.25 cost per bag in materials, she'll need to sell 572 bags to pay off her initial costs and start profiting. If she purchases a cheaper freeze dryer at \$3\,000 and keeps her selling price the same, she can begin profiting after only 343 are bags sold. If Carlee buys the more expensive freeze dryer, increases the cost per bag to \$1.50, and sells the bags at \$12 each, she will need to sell 477 bags to start profiting.

In summary, Carlee should expect to make between 300 and 600 bags of candy before she makes a profit. We recommend that Carlee:

  • Purchase the most reliable machine at the cheapest price.

  • Take advantage of bulk pricing and plan to buy supplies for making at least 600 bags of candy (to stay out of debt).

  • Find the highest selling price point that still gets her the business she needs to succeed.

Idea summary

Applying mathematics to real-world scenarios can involve using different functions to model different behaviors. In some cases, we need to combine multiple functions to get the full picture.

Outcomes

F.IF.C.9

Compare properties of two functions each represented in a different way (algebraically, graphically, numerically in tables, or by verbal descriptions).

F.BF.A.1

Write a function that describes a relationship between two quantities.

F.BF.A.1.A

Determine an explicit expression, a recursive process, or steps for calculation from a context.

F.BF.A.1.B

Combine standard function types using arithmetic operations.

What is Mathspace

About Mathspace