Solved Exercises on Modeling with Composite and Inverse Functions in Precalculus

Master modeling with composite and inverse functions: function composition, real-world applications, inverse relationships, and mathematical modeling through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Real-world composition
Exercise 1
The cost of producing \(x\) units of a product is given by \(C(x) = 100 + 5x\). The revenue from selling \(x\) units is \(R(x) = 15x\). The profit function is defined as \(P(x) = R(x) - C(x)\). Express the profit as a composite function and find the number of units needed to achieve a profit of $500.
Definition:

Function Composition: The process of applying one function to the result of another, denoted as \((f \circ g)(x) = f(g(x))\).

Profit Function: The difference between revenue and cost functions.

Modeling with composition method:
  1. Identify the individual functions involved in the problem
  2. Determine how functions relate to each other
  3. Create composite functions when one function depends on another
  4. Solve for unknown variables using inverse operations
  5. Verify the solution in the context of the original problem
Cost Function
\(C(x) = 100 + 5x\)
Revenue Function
\(R(x) = 15x\)
Profit Function
\(P(x) = 10x - 100\)
Step 1: Define the individual functions

Cost function: \(C(x) = 100 + 5x\) (fixed cost of $100 + $5 per unit)

Revenue function: \(R(x) = 15x\) ($15 per unit sold)

Step 2: Create the profit function

Profit = Revenue - Cost

\(P(x) = R(x) - C(x)\)

\(P(x) = 15x - (100 + 5x)\)

\(P(x) = 15x - 100 - 5x\)

\(P(x) = 10x - 100\)

Step 3: Set up equation for desired profit

We want \(P(x) = 500\)

\(10x - 100 = 500\)

Step 4: Solve for x

\(10x = 500 + 100\)

\(10x = 600\)

\(x = 60\)

Step 5: Verify the solution

\(P(60) = 10(60) - 100 = 600 - 100 = 500\) ✓

60 units needed to achieve a profit of $500
Final answer:

The profit function is \(P(x) = 10x - 100\). To achieve a profit of $500, 60 units must be produced and sold.

Applied rules:

• Function Composition: Combining functions to model complex relationships

• Algebraic Manipulation: Properly distributing negative signs

• Solving Linear Equations: Isolate variable by inverse operations

2 Temperature conversion
Exercise 2
The temperature in Celsius is given by \(C(t) = \frac{5}{9}(F(t) - 32)\), where \(F(t)\) is the temperature in Fahrenheit at time \(t\). If the Fahrenheit temperature follows the function \(F(t) = 68 + 10\sin(t)\), find the Celsius temperature as a function of time. Then find the inverse function to convert back to Fahrenheit.
Definition:

Temperature Conversion: \(C = \frac{5}{9}(F - 32)\) and \(F = \frac{9}{5}C + 32\).

Inverse Function: A function that reverses the effect of another function.

Fahrenheit Function
\(F(t) = 68 + 10\sin(t)\)
Celsius Function
\(C(t) = \frac{5}{9}(36 + 10\sin(t))\)
Inverse Function
\(F(C) = \frac{9}{5}C + 32\)
Step 1: Substitute F(t) into the conversion formula

\(C(t) = \frac{5}{9}(F(t) - 32)\)

\(C(t) = \frac{5}{9}((68 + 10\sin(t)) - 32)\)

\(C(t) = \frac{5}{9}(68 - 32 + 10\sin(t))\)

\(C(t) = \frac{5}{9}(36 + 10\sin(t))\)

Step 2: Simplify the expression

\(C(t) = \frac{5}{9} \cdot 36 + \frac{5}{9} \cdot 10\sin(t)\)

\(C(t) = 20 + \frac{50}{9}\sin(t)\)

Step 3: Find the inverse conversion

Starting with \(C = \frac{5}{9}(F - 32)\)

\(\frac{9}{5}C = F - 32\)

\(F = \frac{9}{5}C + 32\)

Step 4: Verify the inverse relationship

\(F(C(t)) = \frac{9}{5}(20 + \frac{50}{9}\sin(t)) + 32\)

\(F(C(t)) = \frac{9}{5} \cdot 20 + \frac{9}{5} \cdot \frac{50}{9}\sin(t) + 32\)

\(F(C(t)) = 36 + 10\sin(t) + 32 = 68 + 10\sin(t) = F(t)\) ✓

Step 5: Interpret the results

The Celsius temperature oscillates between approximately 14.4°C and 25.6°C

The inverse function allows conversion back to Fahrenheit

\(C(t) = 20 + \frac{50}{9}\sin(t)\), with inverse \(F(C) = \frac{9}{5}C + 32\)
Final answer:

The Celsius temperature as a function of time is \(C(t) = 20 + \frac{50}{9}\sin(t)\). The inverse function to convert Celsius back to Fahrenheit is \(F(C) = \frac{9}{5}C + 32\).

Applied rules:

• Function Substitution: Replace function input with another function

• Algebraic Manipulation: Distribute and simplify expressions

• Inverse Relationships: Verify that \(f(f^{-1}(x)) = x\)

3 Compound interest model
Exercise 3
An investment grows according to \(A(t) = P(1 + r)^t\), where \(P\) is the principal, \(r\) is the rate, and \(t\) is time. If the principal is determined by the function \(P(x) = 1000 + 200x\) where \(x\) represents years since 2020, find the amount as a composite function. Then find how long it takes for an initial investment of $1200 to double at 5% annual interest.
Definition:

Compound Interest Formula: \(A(t) = P(1 + r)^t\), where \(A\) is final amount, \(P\) is principal, \(r\) is rate, and \(t\) is time.

Exponential Growth: Growth proportional to current value.

Principal Function
\(P(x) = 1000 + 200x\)
Amount Function
\(A(x,t) = (1000 + 200x)(1.05)^t\)
Time for Doubling
\(t = \log_{1.05}(2) \approx 14.21\) years
Step 1: Identify the functions

Principal function: \(P(x) = 1000 + 200x\) (starting at $1000, adding $200 per year)

Compound interest: \(A(t) = P(1 + r)^t\)

Step 2: Form the composite function

\(A(x,t) = P(x)(1 + r)^t\)

\(A(x,t) = (1000 + 200x)(1 + r)^t\)

Step 3: Find when initial investment doubles

Initial investment: $1200 means \(x = 1\) (since \(P(1) = 1000 + 200(1) = 1200\))

We want \(A(1,t) = 2 \times 1200 = 2400\)

\(1200(1.05)^t = 2400\)

Step 4: Solve for t using logarithms

\((1.05)^t = 2\)

\(t \ln(1.05) = \ln(2)\)

\(t = \frac{\ln(2)}{\ln(1.05)} = \frac{0.6931}{0.0488} \approx 14.21\) years

Step 5: Verify the calculation

\(1200(1.05)^{14.21} \approx 1200 \times 2.000 = 2400\) ✓

\(A(x,t) = (1000 + 200x)(1.05)^t\), doubling time ≈ 14.21 years
Final answer:

The composite function is \(A(x,t) = (1000 + 200x)(1.05)^t\). For an initial investment of $1200 (at \(x = 1\)), it takes approximately 14.21 years to double at 5% annual interest.

Applied rules:

• Function Composition: Combine functions to model complex relationships

• Logarithmic Solutions: Use logs to solve exponential equations

• Compound Interest: Exponential growth model

Key Concepts: Modeling with Composite and Inverse Functions
\((f \circ g)(x) = f(g(x))\)
Function Composition
Composition Rule
\((f \circ g)(x) = f(g(x))\)
Apply g first, then f
Inverse Function
\(f(f^{-1}(x)) = x\)
Reverses the function operation
Modeling Process
Real situation → Mathematical model → Solution → Interpretation
Translate problems to math
Key definitions:

Function Composition: The process of applying one function to the result of another, denoted as \((f \circ g)(x) = f(g(x))\).

Inverse Function: A function that reverses the effect of another function, satisfying \(f(f^{-1}(x)) = x\) and \(f^{-1}(f(x)) = x\).

Mathematical Model: A mathematical representation of a real-world situation using functions.

Modeling Methodology:
  1. Identify Variables: Determine dependent and independent variables
  2. Find Relationships: Identify how functions relate to each other
  3. Create Functions: Define functions that represent the relationships
  4. Compose Functions: Combine functions when one depends on another
  5. Solve Problems: Use inverse functions to solve for unknowns
  6. Interpret Results: Translate mathematical results back to real-world context
Tip 1: Always check the order of composition: \((f \circ g)(x) = f(g(x))\), not \(g(f(x))\).
Tip 2: Domain restrictions may apply when composing functions.
Tip 3: Verify inverse functions by checking that compositions yield the identity function.
Tip 4: Always interpret results in the context of the original problem.
Common errors: Confusing order of composition, forgetting to consider domain restrictions, misapplying inverse functions.
Exam preparation: Practice with various function types, master composition notation, understand domain considerations, work with real-world applications.
Essential Rules:

• Composition Order: \((f \circ g)(x) = f(g(x))\) is generally not equal to \((g \circ f)(x)\)

• Inverse Properties: \(f \circ f^{-1} = f^{-1} \circ f = \text{Identity}\)

• Domain Considerations: The domain of \(f \circ g\) is restricted by both domains

• Modeling Accuracy: Mathematical models approximate real-world situations

Solution: Exercises 4 to 5
4 Population growth model
Exercise 4
The population of a city grows exponentially according to \(P(t) = P_0e^{kt}\), where \(P_0\) is the initial population and \(k\) is the growth constant. If the initial population is modeled by \(P_0(x) = 50000 + 1000x^2\) where \(x\) is years since 2000, find the population as a composite function. If the population doubles every 20 years, find the growth constant \(k\) and determine when the population will reach 200,000.
Definition:

Exponential Growth: \(P(t) = P_0e^{kt}\), where \(P_0\) is initial value, \(k\) is growth constant, and \(t\) is time.

Population Doubling Time: Time required for population to double, related to growth constant by \(t_d = \frac{\ln(2)}{k}\).

Initial Population
\(P_0(x) = 50000 + 1000x^2\)
Growth Constant
\(k = \frac{\ln(2)}{20}\)
Time to Reach 200K
\(t = \frac{\ln(4)}{k}\)
Step 1: Form the composite function

Given: \(P(t) = P_0e^{kt}\) and \(P_0(x) = 50000 + 1000x^2\)

Composite function: \(P(x,t) = (50000 + 1000x^2)e^{kt}\)

Step 2: Find the growth constant k

If population doubles every 20 years: \(P(t + 20) = 2P(t)\)

\(P_0e^{k(t+20)} = 2P_0e^{kt}\)

\(e^{k(t+20)} = 2e^{kt}\)

\(e^{kt}e^{20k} = 2e^{kt}\)

\(e^{20k} = 2\)

\(20k = \ln(2)\)

\(k = \frac{\ln(2)}{20} \approx 0.03466\)

Step 3: Determine when population reaches 200,000

Assuming we start in 2000 (\(x = 0\)): \(P_0 = 50000\)

We want: \(P(t) = 200000\)

\(50000e^{kt} = 200000\)

\(e^{kt} = 4\)

\(kt = \ln(4)\)

\(t = \frac{\ln(4)}{k} = \frac{\ln(4)}{\ln(2)/20} = \frac{20\ln(4)}{\ln(2)} = \frac{20 \cdot 2\ln(2)}{\ln(2)} = 40\)

Step 4: Verify the result

\(P(40) = 50000e^{(\ln(2)/20) \cdot 40} = 50000e^{2\ln(2)} = 50000e^{\ln(4)} = 50000 \cdot 4 = 200000\) ✓

Step 5: Interpret the findings

It takes 40 years for the population to quadruple from its initial value

This makes sense since it doubles every 20 years: double after 20 years, then double again after 40 years

\(P(x,t) = (50000 + 1000x^2)e^{(\ln(2)/20)t}\), \(k \approx 0.03466\), time ≈ 40 years
Final answer:

The composite population function is \(P(x,t) = (50000 + 1000x^2)e^{(\ln(2)/20)t}\) with growth constant \(k = \frac{\ln(2)}{20} \approx 0.03466\). Starting from 2000, the population will reach 200,000 after 40 years.

Applied rules:

• Exponential Properties: \(e^{a+b} = e^a \cdot e^b\)

• Logarithmic Properties: \(\ln(a^b) = b\ln(a)\)

• Function Composition: Combine initial value function with growth function

5 Manufacturing cost optimization
Exercise 5
A company's production cost is modeled by \(C(q) = 1000 + 5q + 0.01q^2\), where \(q\) is quantity produced. The demand function is \(q(p) = 200 - 2p\), where \(p\) is price. Find the cost as a function of price. Then find the inverse function to express price as a function of quantity demanded. Finally, determine the cost when the price is $40.
Definition:

Demand Function: Relates quantity demanded to price, typically decreasing as price increases.

Cost Function: Models total cost as a function of quantity produced.

Cost Function
\(C(q) = 1000 + 5q + 0.01q^2\)
Demand Function
\(q(p) = 200 - 2p\)
Cost vs Price
\(C(p) = 1000 + 5(200-2p) + 0.01(200-2p)^2\)
Step 1: Form the composite function C(p)

Given: \(C(q) = 1000 + 5q + 0.01q^2\) and \(q(p) = 200 - 2p\)

\(C(p) = C(q(p)) = 1000 + 5(200 - 2p) + 0.01(200 - 2p)^2\)

Step 2: Expand the expression

\(C(p) = 1000 + 5(200 - 2p) + 0.01(200 - 2p)^2\)

\(C(p) = 1000 + 1000 - 10p + 0.01(40000 - 800p + 4p^2)\)

\(C(p) = 2000 - 10p + 400 - 8p + 0.04p^2\)

\(C(p) = 2400 - 18p + 0.04p^2\)

Step 3: Find the inverse demand function

From \(q = 200 - 2p\):

\(2p = 200 - q\)

\(p = \frac{200 - q}{2} = 100 - 0.5q\)

Step 4: Calculate cost when price is $40

Using the composite function: \(C(40) = 2400 - 18(40) + 0.04(40)^2\)

\(C(40) = 2400 - 720 + 0.04(1600)\)

\(C(40) = 2400 - 720 + 64 = 1744\)

Step 5: Verify with alternative approach

At \(p = 40\): \(q = 200 - 2(40) = 120\)

\(C(120) = 1000 + 5(120) + 0.01(120)^2\)

\(C(120) = 1000 + 600 + 0.01(14400) = 1000 + 600 + 144 = 1744\) ✓

\(C(p) = 2400 - 18p + 0.04p^2\), \(p(q) = 100 - 0.5q\), \(C(40) = 1744\)
Final answer:

The cost as a function of price is \(C(p) = 2400 - 18p + 0.04p^2\). The inverse demand function is \(p(q) = 100 - 0.5q\). When the price is $40, the production cost is $1,744.

Applied rules:

• Function Composition: Substitute demand function into cost function

• Algebraic Expansion: Carefully expand binomial expressions

• Inverse Functions: Solve for independent variable in terms of dependent variable

Comprehensive Summary: Modeling with Composite and Inverse Functions
\((f \circ g)(x) = f(g(x))\)
Function Composition
Key definitions:

Function Composition: The process of applying one function to the result of another, denoted as \((f \circ g)(x) = f(g(x))\). The output of the inner function becomes the input of the outer function.

Inverse Function: A function \(f^{-1}\) such that \(f(f^{-1}(x)) = x\) and \(f^{-1}(f(x)) = x\). The inverse reverses the effect of the original function.

Mathematical Model: A mathematical representation of a real-world situation using functions to describe relationships between variables.

Complete Modeling Methodology:
  1. Problem Identification: Understand the real-world situation and identify key variables
  2. Variable Classification: Distinguish between dependent and independent variables
  3. Function Creation: Define functions that represent relationships between variables
  4. Composition Determination: Identify when one function depends on the output of another
  5. Model Construction: Create composite functions to represent complex relationships
  6. Solution Strategy: Use inverse functions to solve for unknown variables
  7. Verification: Check that solutions make sense in the original context
  8. Interpretation: Translate mathematical results back to real-world implications
Tip 1: Always pay attention to the order of composition: \((f \circ g)(x) = f(g(x))\) is different from \((g \circ f)(x) = g(f(x))\).
Tip 2: Domain restrictions must be considered when composing functions - the output of the inner function must be in the domain of the outer function.
Tip 3: To find the inverse of a function, solve for the input variable in terms of the output variable.
Tip 4: Always verify inverse functions by checking that \(f(f^{-1}(x)) = x\) and \(f^{-1}(f(x)) = x\).
Tip 5: In real-world problems, check that your solutions make sense in the context of the original situation.
Common errors: Mixing up the order of composition, forgetting to consider domain restrictions, misapplying inverse functions, not verifying solutions in the original context.
Exam preparation: Practice with various function types (linear, quadratic, exponential, trigonometric), master composition notation, understand domain considerations, work extensively with real-world applications, and develop problem-solving strategies.
Essential Rules and Properties:

• Composition Associativity: \((f \circ g) \circ h = f \circ (g \circ h)\)

• Non-Commutativity: Generally, \((f \circ g)(x) \neq (g \circ f)(x)\)

• Inverse Properties: \(f \circ f^{-1} = f^{-1} \circ f = \text{Identity function}\)

• Domain Considerations: Domain of \(f \circ g\) is \(\{x \in \text{Domain}(g) : g(x) \in \text{Domain}(f)\}\)

• Chain Rule Pattern: Rate of change involves both functions when composed

Visual Analysis: Modeling with Composite Functions
Exercise 6: Economic Applications
Consider the following economic models and their compositions:
\(f(x) = 2x + 10\) (production cost per unit)
\(g(x) = 100 - x\) (demand function)
\(h(x) = x^2\) (efficiency factor)

Analysis: The visualization shows how different functions can be combined to model economic relationships.

  • \(f(x) = 2x + 10\): Linear cost function
  • \(g(x) = 100 - x\): Linear demand function (decreasing)
  • \(h(x) = x^2\): Quadratic efficiency function
  • \((f \circ g)(x) = f(g(x)) = 2(100-x) + 10 = 210 - 2x\)

Questions & Answers

Question: I'm having trouble understanding when to use function composition versus just multiplying functions. When do I know to use \((f \circ g)(x) = f(g(x))\) instead of \(f(x) \cdot g(x)\)?

Answer: Great question! The key is understanding the difference between composition and multiplication:

  • Function Composition: \((f \circ g)(x) = f(g(x))\) means you apply function \(g\) first, then apply function \(f\) to the result. This represents a sequence of operations.
  • Function Multiplication: \((f \cdot g)(x) = f(x) \cdot g(x)\) means you evaluate both functions at the same input and multiply the results.

Use composition when:

  • One process feeds into another (like cost depending on quantity, which depends on price)
  • You have a chain of transformations
  • The output of one function becomes the input of another

Use multiplication when:

  • You're combining quantities that scale together
  • You're finding joint effects that multiply
  • Both functions operate independently on the same input

Example: If \(f(x) = 2x\) (doubling) and \(g(x) = x + 3\) (adding 3), then:

  • \((f \circ g)(x) = f(g(x)) = f(x+3) = 2(x+3) = 2x+6\) (add 3, then double)
  • \((f \cdot g)(x) = f(x) \cdot g(x) = 2x \cdot (x+3) = 2x^2 + 6x\) (double input and multiply by input+3)

Question: How do I find the domain of a composite function? I've heard that it's not just the intersection of the domains.

Answer: You're absolutely right! The domain of a composite function \((f \circ g)(x) = f(g(x))\) is more complex than just the intersection of domains:

The domain of \(f \circ g\) consists of all \(x\) in the domain of \(g\) such that \(g(x)\) is in the domain of \(f\).

  • First, \(x\) must be in the domain of \(g\)
  • Second, \(g(x)\) must be in the domain of \(f\)

Example: Let \(f(x) = \sqrt{x}\) and \(g(x) = x - 2\)

Domain of \(g\): All real numbers

Domain of \(f\): \(x \geq 0\)

For \((f \circ g)(x) = f(g(x)) = f(x-2) = \sqrt{x-2}\):

  • \(x\) must be in domain of \(g\): \(x \in \mathbb{R}\)
  • \(g(x) = x-2\) must be in domain of \(f\): \(x-2 \geq 0\), so \(x \geq 2\)
  • Domain of \(f \circ g\): \(x \geq 2\)

Notice that this is not the intersection of domains, but rather a more restrictive condition based on the composition requirement.

Question: Why do we need inverse functions in real-world modeling? What's the practical benefit?

Answer: Inverse functions are incredibly valuable in real-world modeling for several key reasons:

  • Solving for Inputs: Often we know the output and need to find the input that produced it
  • Unit Conversions: Temperature, currency, measurement conversions
  • Optimization Problems: Finding optimal parameters
  • Data Analysis: Working backwards from results to causes

Practical Examples:

  • Business: Given a profit target, find the required sales volume
  • Science: Given a temperature reading, determine the actual temperature
  • Engineering: Given a desired output, calculate necessary input
  • Finance: Given a future value, determine the required initial investment

Inverse functions allow us to "work backwards" through our models, making them bidirectional tools for analysis and prediction.

Question: Can you have a composite function of three or more functions? How do I work with \((f \circ g \circ h)(x)\)?

Answer: Yes, absolutely! You can compose any number of functions. For \((f \circ g \circ h)(x)\), you work from the inside out:

\((f \circ g \circ h)(x) = f(g(h(x)))\)

  • First, evaluate \(h(x)\)
  • Then, use that result as input to \(g\): \(g(h(x))\)
  • Finally, use that result as input to \(f\): \(f(g(h(x)))\)

Example: Let \(f(x) = x^2\), \(g(x) = x + 1\), and \(h(x) = 2x\)

\((f \circ g \circ h)(x) = f(g(h(x))) = f(g(2x)) = f(2x + 1) = (2x + 1)^2\)

The composition is associative, meaning \((f \circ g) \circ h = f \circ (g \circ h)\), so the grouping doesn't matter, only the order.

In real-world modeling, multi-function compositions are common when you have a series of transformations or processes that build upon each other.

Question: How do composite and inverse functions relate to what I'll learn in calculus? Should I focus on mastering these now?

Answer: Yes, you should definitely master these concepts now! They are foundational to calculus:

For Derivatives:

  • Chain Rule: \(\frac{d}{dx}[f(g(x))] = f'(g(x)) \cdot g'(x)\) - directly uses function composition
  • Inverse Function Theorem: \((f^{-1})'(x) = \frac{1}{f'(f^{-1}(x))}\) - relies heavily on inverse functions

For Integrals:

  • Substitution Rule: Often involves recognizing composite functions
  • Inverse Trigonometric Functions: Directly related to inverse function concepts

For Applications:

  • Related rates problems frequently involve composite functions
  • Optimization problems often require working with inverse relationships
  • Parametric equations and vector functions rely on composition ideas

Mastering function composition and inverses now will make calculus much more intuitive and manageable. These concepts are fundamental to understanding how functions interact and transform.