To find the cost of each truck rental company as a function of the number of miles driven \( x \), we can define the cost functions for Company A and Company B as follows:
-
Company A's cost function (A): \[ A(x) = 40 + 1x = 40 + x \]
-
Company B's cost function (B): \[ B(x) = 20 + 1.5x \]
Step 1: Set Up the Equations
To find the number of miles driven where the costs are the same, we need to set the two cost functions equal to each other: \[ 40 + x = 20 + 1.5x \]
Step 2: Solve for x
Now, let's solve the equation:
-
Subtract \( x \) from both sides: \[ 40 = 20 + 0.5x \]
-
Subtract 20 from both sides: \[ 20 = 0.5x \]
-
Multiply both sides by 2 to solve for \( x \): \[ 40 = x \]
Step 3: Determine the Intersection Point
Mia should drive 40 miles for the costs to be the same for both companies.
Step 4: Create a Graph
To graph the functions \( A(x) \) and \( B(x) \):
-
Calculate some points for each function:
-
For Company A:
- \( A(0) = 40 + 0 = 40 \)
- \( A(20) = 40 + 20 = 60 \)
- \( A(40) = 40 + 40 = 80 \)
- \( A(60) = 40 + 60 = 100 \)
-
For Company B:
- \( B(0) = 20 + 1.5(0) = 20 \)
- \( B(20) = 20 + 1.5(20) = 50 \)
- \( B(40) = 20 + 1.5(40) = 80 \)
- \( B(60) = 20 + 1.5(60) = 110 \)
-
-
Plot the points on a graph:
- Company A (A):
- Points: (0, 40), (20, 60), (40, 80), (60, 100)
- Company B (B):
- Points: (0, 20), (20, 50), (40, 80), (60, 110)
- Company A (A):
-
Draw the lines:
- Plot these points on a graph with \( x \) (miles driven) on the horizontal axis and the cost on the vertical axis. Draw a straight line through the points for Company A and Company B.
-
Mark the intersection:
- The intersection point of the two lines occurs where \( x = 40 \) and the cost at that point is \( A(40) = B(40) = 80 \). You can label this point on the graph as (40, 80).
Additional Markings:
- Label the axes: "Miles Driven" for the x-axis and "Cost ($)" for the y-axis.
- Label the lines: "Company A" for the line corresponding to \( A(x) \) and "Company B" for the line corresponding to \( B(x) \).
- Highlight the intersection point with a different color or a dot and label it as "Costs Equal: (40, 80)".
This way, the graph will effectively show the comparison between the two companies and visually indicate the mileage where costs are the same.