To find the linear equations for both T-shirt companies, we need to use the slope-intercept form of a linear equation, which is:
\[ y = mx + b \]
where:
- \( y \) is the total cost,
- \( m \) is the slope,
- \( x \) is the number of T-shirts,
- \( b \) is the y-intercept (the total cost when \( x = 0 \)).
1. Shirt Box
Points:
- The line passes through the points (0, 30) and (4, 60).
Finding the slope (m): The slope \( m \) is calculated using the formula:
\[ m = \frac{y_2 - y_1}{x_2 - x_1} \]
Using the points (0, 30) as \((x_1, y_1)\) and (4, 60) as \((x_2, y_2)\):
\[ m = \frac{60 - 30}{4 - 0} = \frac{30}{4} = 7.5 \]
Finding the y-intercept (b): From the point (0, 30), we see that the y-intercept \( b = 30 \).
Equation for Shirt Box: \[ y = 7.5x + 30 \]
2. Just Tees
Points:
- The line passes through the points (0, 0) and (6, 63).
Finding the slope (m): Using the points (0, 0) as \((x_1, y_1)\) and (6, 63) as \((x_2, y_2)\):
\[ m = \frac{63 - 0}{6 - 0} = \frac{63}{6} = 10.5 \]
Finding the y-intercept (b): From the point (0, 0), we see that the y-intercept \( b = 0 \).
Equation for Just Tees: \[ y = 10.5x + 0 \] or simply \[ y = 10.5x \]
Summary of Linear Equations
- Shirt Box: \( y = 7.5x + 30 \)
- Just Tees: \( y = 10.5x \)