Solved Exercises on Choosing Appropriate Function Models

Master choosing appropriate function models: linear, quadratic, exponential, logarithmic, and polynomial models through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Linear Model
Exercise 1
A car rental company charges $25 per day plus $0.15 per mile driven. Write a linear model for the total cost C as a function of miles driven m.
Definition:

Linear Function Model: A function of the form f(x) = mx + b, where m is the rate of change (slope) and b is the initial value (y-intercept).

Constant Rate of Change: The dependent variable changes by a constant amount for each unit change in the independent variable.

Linear Model Method:
  1. Identify the independent variable (input)
  2. Identify the dependent variable (output)
  3. Determine the rate of change (slope)
  4. Identify the initial value (y-intercept)
  5. Write in the form y = mx + b
Independent variable
m = miles driven
Rate of change
$0.15 per mile
Initial value
$25 daily charge
Step 1: Identify variables

Independent variable: m = miles driven

Dependent variable: C = total cost

Step 2: Identify the rate of change

The cost increases by $0.15 for each mile driven

Rate of change = slope = $0.15 per mile

Step 3: Identify the initial value

Even if 0 miles are driven, there's still a $25 daily charge

Initial value = y-intercept = $25

Step 4: Write the linear model

Using the form C = slope × m + y-intercept

C = 0.15m + 25

Step 5: Verify the model

For 0 miles: C = 0.15(0) + 25 = $25 ✓

For 100 miles: C = 0.15(100) + 25 = $15 + $25 = $40 ✓

C(m) = 0.15m + 25
Final answer:

The linear model for the total cost is C(m) = 0.15m + 25, where m is the number of miles driven.

Applied rules:

• Linear Form: y = mx + b

• Rate of Change: Constant increase/decrease per unit

• Initial Value: Value when independent variable equals zero

2 Quadratic Model
Exercise 2
A ball is thrown upward from a height of 4 feet with an initial velocity of 32 ft/s. The height h of the ball after t seconds is modeled by h(t) = -16t² + 32t + 4. Find the maximum height and when it occurs.
Definition:

Quadratic Function Model: A function of the form f(x) = ax² + bx + c, where a ≠ 0. The graph is a parabola.

Vertex of Parabola: The maximum or minimum point of the parabola, occurring at x = -b/(2a).

Function
h(t) = -16t² + 32t + 4
Coefficients
a=-16, b=32, c=4
Maximum
t=1s, h=20ft
Step 1: Identify the quadratic model

The given function h(t) = -16t² + 32t + 4 is a quadratic function

Since a = -16 < 0, the parabola opens downward, so it has a maximum

Step 2: Find the time at maximum height

For a quadratic f(x) = ax² + bx + c, the vertex occurs at x = -b/(2a)

t = -32/(2(-16)) = -32/(-32) = 1 second

Step 3: Find the maximum height

Substitute t = 1 into the function:

h(1) = -16(1)² + 32(1) + 4 = -16 + 32 + 4 = 20 feet

Step 4: Interpret the coefficients

a = -16: acceleration due to gravity (negative means downward)

b = 32: initial velocity in ft/s

c = 4: initial height in feet

Step 5: Verify the solution

h(0) = -16(0)² + 32(0) + 4 = 4 feet (initial height) ✓

h(1) = 20 feet (maximum height) ✓

h(2) = -16(4) + 32(2) + 4 = -64 + 64 + 4 = 4 feet (back to initial height) ✓

Maximum height: 20 feet at t = 1 second
Final answer:

The ball reaches its maximum height of 20 feet after 1 second.

Applied rules:

• Vertex Formula: x = -b/(2a) for maximum/minimum

• Parabola Direction: Opens up if a > 0, down if a < 0

• Quadratic Applications: Projectile motion, area optimization

3 Exponential Model
Exercise 3
A bacteria culture starts with 500 bacteria and doubles every 3 hours. Write an exponential model for the number of bacteria N after t hours.
Definition:

Exponential Function Model: A function of the form f(x) = a·bˣ or f(x) = a·e^(kx), where the independent variable appears in the exponent.

Exponential Growth: Occurs when b > 1 or k > 0; the function increases at an accelerating rate.

Initial amount
a = 500
Growth factor
b = 2 (doubles)
Time interval
every 3 hours
Step 1: Identify the initial amount

At t = 0, there are 500 bacteria

Initial amount: a = 500

Step 2: Determine the growth pattern

The population doubles every 3 hours

This means: N(0) = 500, N(3) = 1000, N(6) = 2000, etc.

Step 3: Find the growth rate

Since it doubles every 3 hours, we need to find the hourly growth factor

If the population doubles every 3 hours: b³ = 2

Therefore: b = 2^(1/3) ≈ 1.26 per hour

Step 4: Write the exponential model

Method 1: Using the doubling time directly

N(t) = 500 · 2^(t/3)

Method 2: Using hourly growth rate

N(t) = 500 · (2^(1/3))^t = 500 · 2^(t/3)

Step 5: Verify the model

At t = 0: N(0) = 500 · 2^(0/3) = 500 · 1 = 500 ✓

At t = 3: N(3) = 500 · 2^(3/3) = 500 · 2 = 1000 ✓

At t = 6: N(6) = 500 · 2^(6/3) = 500 · 4 = 2000 ✓

N(t) = 500 · 2^(t/3)
Final answer:

The exponential model for the bacteria population is N(t) = 500 · 2^(t/3), where t is in hours.

Applied rules:

• Exponential Form: N(t) = a·b^(t/T) where T is the doubling/halving time

• Growth Factor: If quantity doubles, b = 2; if it triples, b = 3

• Continuous Growth: N(t) = N₀e^(kt) where k is the continuous rate

Function Models: Rules and Methods
f(x) = ax^n + bx^{n-1} + \cdots + k
General Polynomial Form
Linear
f(x) = mx + b
Constant rate of change
Quadratic
f(x) = ax² + bx + c
Parabolic shape
Exponential
f(x) = a·bˣ
Constant percentage change
Linear Model: Use when there's a constant rate of change (same difference between consecutive y-values).
Exponential Model: Use when there's a constant percentage change (same ratio between consecutive y-values).
Quadratic Model: Use when the rate of change itself changes linearly (parabolic relationship).
Solution: Exercises 4 to 5
4 Logarithmic Model
Exercise 4
The pH of a solution is given by pH = -log[H⁺], where [H⁺] is the hydrogen ion concentration in moles per liter. If [H⁺] = 10⁻⁴, what is the pH?
Definition:

Logarithmic Function Model: A function of the form f(x) = a + b log(x) or f(x) = a + b ln(x), where the independent variable appears inside the logarithm.

Inverse Relationship: Logarithmic functions are inverses of exponential functions.

Given
[H⁺] = 10⁻⁴
Formula
pH = -log[H⁺]
Calculate
pH = -log(10⁻⁴) = 4
Step 1: Identify the logarithmic model

The pH scale is defined by the logarithmic function: pH = -log[H⁺]

This is a logarithmic model with base 10 (common logarithm)

Step 2: Substitute the given value

Given: [H⁺] = 10⁻⁴ moles per liter

pH = -log(10⁻⁴)

Step 3: Apply logarithm properties

Using the property: log(aⁿ) = n·log(a)

log(10⁻⁴) = -4·log(10) = -4·1 = -4

Step 4: Calculate the final result

pH = -log(10⁻⁴) = -(-4) = 4

Step 5: Interpret the result

A pH of 4 indicates an acidic solution (pH < 7)

The logarithmic scale allows us to express very small concentrations with manageable numbers

Step 6: Verify the calculation

If pH = 4, then [H⁺] = 10⁻⁴, which matches our given value ✓

pH = 4
Final answer:

The pH of the solution is 4.

Applied rules:

• Logarithm Property: log(aⁿ) = n·log(a)

• Common Logarithm: log base 10, log(10) = 1

• Logarithmic Scale: Compresses wide ranges of values

5 Model Selection
Exercise 5
Given the data points: (1, 3), (2, 6), (3, 11), (4, 18), (5, 27), determine which function model (linear, quadratic, or exponential) best fits the data.
Definition:

Model Selection: The process of determining which mathematical function best represents a given set of data points.

Difference Analysis: Examining first and second differences to identify the appropriate model type.

First differences
3, 5, 7, 9
Second differences
2, 2, 2
Model type
Quadratic (constant second differences)
Step 1: Organize the data

Data points: (1, 3), (2, 6), (3, 11), (4, 18), (5, 27)

x values: 1, 2, 3, 4, 5

y values: 3, 6, 11, 18, 27

Step 2: Calculate first differences

First differences: Δy = y₂ - y₁

6 - 3 = 3

11 - 6 = 5

18 - 11 = 7

27 - 18 = 9

First differences: 3, 5, 7, 9 (not constant)

Step 3: Calculate second differences

Second differences: Δ²y = (Δy)₂ - (Δy)₁

5 - 3 = 2

7 - 5 = 2

9 - 7 = 2

Second differences: 2, 2, 2 (constant)

Step 4: Determine the model type

Linear: constant first differences

Quadratic: constant second differences

Exponential: constant ratios between consecutive y-values

Since second differences are constant, this is a quadratic model

Step 5: Verify by checking ratios

For exponential: 6/3 = 2, 11/6 ≈ 1.83, 18/11 ≈ 1.64, 27/18 = 1.5

Ratios are not constant, confirming it's not exponential

Step 6: Find the quadratic function

Using the form f(x) = ax² + bx + c and three points:

From (1,3): a + b + c = 3

From (2,6): 4a + 2b + c = 6

From (3,11): 9a + 3b + c = 11

Solving: a = 1, b = 0, c = 2

So f(x) = x² + 2

Quadratic model: f(x) = x² + 2
Final answer:

The data is best modeled by a quadratic function: f(x) = x² + 2.

Applied rules:

• First Differences: Constant for linear functions

• Second Differences: Constant for quadratic functions

• Ratios: Constant for exponential functions

Complete Guide to Function Models
f(x) = a_nx^n + a_{n-1}x^{n-1} + \cdots + a_1x + a_0
General Polynomial Model
Key definitions:

Function Model: A mathematical function that describes the relationship between variables in a real-world situation.

Model Selection: The process of choosing the most appropriate function type based on data patterns and real-world context.

Regression Analysis: Statistical methods used to find the function that best fits a given set of data points.

Complete model selection methodology:
  1. Examine the data: Plot points and look for patterns
  2. Calculate differences: First, second, and higher-order differences
  3. Calculate ratios: For exponential pattern detection
  4. Consider the context: Physical or real-world meaning
  5. Test the model: Verify with additional data points
  6. Validate: Check if the model makes sense in context
Tip 1: Look at the first few differences - if they're constant, use linear; if not, continue to second differences.
Tip 2: For exponential models, check if consecutive y-values have a constant ratio.
Tip 3: Always consider the real-world context when selecting a model.
Tip 4: Use technology to verify your model choice with regression analysis.
Common errors: Misidentifying patterns, not considering context, using wrong model type for the situation.
Exam preparation: Practice identifying patterns from tables, master difference analysis, memorize model characteristics.
Essential Rules:

• Linear: Constant first differences (y = mx + b)

• Quadratic: Constant second differences (y = ax² + bx + c)

• Exponential: Constant ratios (y = abˣ)

• Logarithmic: Rapid initial change followed by slower change (y = a + b log x)

Exercise with Visualization: Function Model Comparison
Exercise 6: Comparing Different Function Models
Visualize the different behaviors of function models:
\(f(x) = 2x + 1\) (Linear)
\(g(x) = x^2 + 1\) (Quadratic)
\(h(x) = 2^x\) (Exponential)

Analysis: The chart shows how different function models grow at different rates.

  • Linear functions grow at a constant rate
  • Quadratic functions grow at an increasing rate
  • Exponential functions grow at an accelerating rate
  • Exponential functions eventually exceed both linear and quadratic functions

Questions & Answers

Question: How do I determine which function model to use when I'm given a table of values? The patterns aren't always obvious.

Answer: Use this systematic approach to identify the correct model:

  1. Linear: Calculate first differences (y₂ - y₁). If they're constant, it's linear.
  2. Quadratic: If first differences aren't constant, calculate second differences. If they're constant, it's quadratic.
  3. Exponential: Calculate ratios of consecutive y-values (y₂/y₁). If they're constant, it's exponential.
  4. Higher-degree polynomial: Continue with third, fourth, etc. differences until you find a constant level.

Example: Data points (1,2), (2,6), (3,12), (4,20)

  • First differences: 4, 6, 8 (not constant)
  • Second differences: 2, 2 (constant!) → Quadratic model

Always verify by checking additional points or considering the real-world context.

Question: How can I tell the difference between linear and exponential growth? They both seem to increase.

Answer: The key difference is in the rate of change:

Linear Growth:

  • Constant rate of change (same amount added each time)
  • First differences are constant
  • Example: $100, $110, $120, $130 (add $10 each time)
  • Graph is a straight line

Exponential Growth:

  • Constant percentage rate of change (same factor multiplied each time)
  • Ratios of consecutive terms are constant
  • Example: $100, $110, $121, $133.10 (multiply by 1.1 each time)
  • Graph is a curve that gets steeper

Exponential growth will eventually surpass linear growth, no matter how fast the linear function grows.

Question: What are some real-world examples where quadratic models are appropriate?

Answer: Quadratic models are appropriate in many real-world situations:

  • Projectile Motion: Height of a thrown object over time (follows h(t) = -gt² + v₀t + h₀)
  • Area Optimization: Maximizing area with fixed perimeter (like rectangular gardens)
  • Revenue Models: Revenue = price × quantity, where price affects demand quadratically
  • Physics: Kinetic energy (KE = ½mv²), stopping distance of vehicles
  • Business: Profit maximization where costs and revenues have quadratic relationships
  • Geometry: Surface area formulas often involve squared terms

Quadratic models are characterized by having one maximum or minimum point (vertex), making them ideal for optimization problems.

The key is that the rate of change itself changes linearly (constant second differences).

Question: What should I do if the data doesn't fit any of the standard models perfectly? How do I decide?

Answer: Real-world data rarely fits perfectly. Here's how to handle imperfect data:

  1. Look for the closest pattern: Which model captures the general trend?
  2. Calculate correlation coefficients: Use technology to measure how well each model fits
  3. Consider the context: Physics problems often suggest specific models
  4. Examine residuals: Look at the differences between actual and predicted values
  5. Use piecewise functions: Different models for different intervals

Sometimes the data suggests a combination of models. For instance, a business might have linear growth initially, then exponential growth as it scales up.

The goal is to find the simplest model that adequately represents the data and makes sense in context.

Question: How important is the real-world context in choosing a function model? Can't I just rely on the mathematical patterns?

Answer: Context is extremely important and should guide your decision:

Examples of context determining model:

  • Population growth: Typically exponential (limited by resources)
  • Height of falling object: Quadratic (due to gravity)
  • Simple interest: Linear (constant rate)
  • Compound interest: Exponential (interest on interest)
  • Area of square: Quadratic (side²)

Mathematical patterns alone can be misleading. A set of data might appear linear over a small range but reveal exponential or quadratic behavior over a larger range.

Always consider: What physical, economic, or biological process is generating the data? This knowledge helps validate your model choice and predict future behavior.

A model that fits the data mathematically but contradicts known physical laws isn't useful for prediction.