Two Jobs System of Equations: Find Hours Worked

Systems of Equations 9th-10th Grade
Problem
You worked 14 hours last week and earned a total of $96 before taxes. Your job as a lifeguard pays $8 per hour, and your job as a cashier pays $6 per hour. How many hours did you work at each job?

What This Problem Teaches

  • Setting up systems from real constraints: Translating "total hours" and "total earnings" into mathematical equations
  • Variable assignment for multiple unknowns: Choosing meaningful letters and maintaining consistency throughout
  • Substitution method mastery: Expressing one variable in terms of another and making clean substitutions
  • Verification habits: Checking solutions against both original constraints to build confidence
  • Real-world equation modeling: Understanding how rate × time structures appear across different contexts

Visualizing the Setup

You worked 14 hours last week and earned a total of $96 before taxes. Your job as a lifeguard pays $8 per hour, and...

The problem gives us two constraints that must be satisfied simultaneously. We need to find values for L and C that make both equations true at the same time.

Solution: Method 1 — The Substitution Approach

Step 1 — Define variables clearly

Let L = hours worked as a lifeguard
Let C = hours worked as a cashier

Step 2 — Write the constraint equations

From the total hours worked: L + C = 14

From the total earnings: 8L + 6C = 96

The first equation captures the time constraint, while the second captures the earnings constraint. Both must be satisfied.

Step 3 — Solve the first equation for one variable

From L + C = 14, we can express C in terms of L:

C = 14 - L

Step 4 — Substitute into the earnings equation

Replace C with (14 - L) in the earnings equation:

8L + 6(14 - L) = 96

Step 5 — Solve for L

Distribute the 6:

8L + 84 - 6L = 96

Combine like terms:

2L + 84 = 96

Subtract 84 from both sides:

2L = 12

Divide by 2:

L = 6

Step 6 — Find C using the substitution

Using C = 14 - L:

C = 14 - 6 = 8

Solution: Method 2 — The Elimination Strategy

Step 1 — Set up the system

Starting with our two equations:

L + C = 14 (Equation 1) 8L + 6C = 96 (Equation 2)

Step 2 — Eliminate one variable by multiplication

To eliminate C, multiply Equation 1 by -6:

-6L - 6C = -84 (Modified Equation 1) 8L + 6C = 96 (Equation 2)

Step 3 — Add the equations to eliminate C

Add the modified equations vertically:

(-6L - 6C) + (8L + 6C) = -84 + 96 2L = 12 L = 6

Step 4 — Substitute back to find C

Using L = 6 in Equation 1:

6 + C = 14 C = 8
You worked 6 hours as a lifeguard and 8 hours as a cashier.

Verification

Let's confirm our solution satisfies both original constraints:

Check total hours

L + C = 6 + 8 = 14

Check total earnings

8L + 6C = 8(6) + 6(8) = 48 + 48 = 96

Both constraints are satisfied, confirming our solution is correct.

Common Pitfalls

✗ Mixing up which variable represents which job
Setting L = cashier hours and C = lifeguard hours, then using the wrong pay rates. This leads to 6L + 8C = 96 instead of 8L + 6C = 96. The key is consistent variable definition — write it down and stick to it.
✗ Forgetting to check both equations
Only verifying that the hours add to 14, without confirming the earnings calculation. A solution like L = 7, C = 7 gives the right total hours but wrong earnings: 8(7) + 6(7) = 98 ≠ 96.
✗ Arithmetic errors in the distribution step
Writing 8L + 6(14 - L) = 8L + 84 - L instead of 8L + 84 - 6L. This happens when you forget to multiply both terms inside the parentheses by 6.

The Pattern Behind This

This problem follows the classic mixture with two components structure that appears throughout mathematics:

General Form:
Component 1 + Component 2 = Total quantity
(Rate₁ × Component 1) + (Rate₂ × Component 2) = Total value

Whether you're mixing coffee beans at different prices, combining investments with different returns, or blending solutions with different concentrations, the mathematical structure remains the same. The "rates" change (price per pound, interest rate, concentration percentage), but the two-equation setup is identical.

This pattern is so robust that once you recognize it, you can solve these problems almost automatically — define variables for the two components, write one equation for total quantity, and one for total value.

Why This Shows Up Everywhere

  • Payroll management: Companies tracking employee hours across different pay scales or departments
  • Project budgeting: Allocating resources between high-cost specialists and lower-cost general staff
  • Manufacturing optimization: Using machines with different operating costs to meet production targets
  • Portfolio analysis: Balancing investments between assets with different risk-return profiles

The mathematical thinking you're developing here — setting up constraints and solving systems — is fundamental to operations research, economics, and any field where resources must be allocated efficiently.

What If?

1
Pay Rate Change
You worked 12 hours total and earned $78. Your lifeguard job pays $9 per hour and your cashier job pays $5 per hour. How many hours did you work at each job?
Step 1 — Set up variables and equations

Let L = lifeguard hours, C = cashier hours
Hours: L + C = 12
Earnings: 9L + 5C = 78

Step 2 — Solve by substitution

From the first equation: C = 12 - L
Substitute: 9L + 5(12 - L) = 78

Step 3 — Simplify and solve

9L + 60 - 5L = 78
4L = 18
L = 4.5

Step 4 — Find C

C = 12 - 4.5 = 7.5

Step 5 — Verify

Hours: 4.5 + 7.5 = 12
Earnings: 9(4.5) + 5(7.5) = 40.5 + 37.5 = 78

Answer: 4.5 hours lifeguarding, 7.5 hours cashiering

2
Overtime Constraint
You can work at most 6 hours as a lifeguard due to scheduling. You worked 14 total hours and earned $100. Lifeguard pays $9/hour, cashier pays $5/hour. How many hours at each job?
Step 1 — Check if constraint matters

Set up normally first: L + C = 14 and 9L + 5C = 100

Step 2 — Solve without constraint

C = 14 - L
9L + 5(14 - L) = 100
9L + 70 - 5L = 100
4L = 30
L = 7.5

Step 3 — Apply constraint

Since 7.5 > 6, we hit the constraint. Set L = 6 (maximum allowed).

Step 4 — Find C and check feasibility

C = 14 - 6 = 8
Earnings: 9(6) + 5(8) = 54 + 40 = 94

Problem: This only gives $94, not $100. The constraint makes the problem impossible as stated.

3
Reverse Engineering
You worked 5 hours as a lifeguard and 9 hours as a cashier, earning $94 total. The cashier job pays $6/hour. What must the lifeguard hourly rate be?
Step 1 — Set up with unknown rate

Let r = lifeguard hourly rate
Known: 5 lifeguard hours, 9 cashier hours at $6/hr, total earnings $94

Step 2 — Write the earnings equation

5r + 9(6) = 94
5r + 54 = 94

Step 3 — Solve for the rate

5r = 94 - 54
5r = 40
r = 8

Step 4 — Verify

Earnings: 5(8) + 9(6) = 40 + 54 = 94

Answer: The lifeguard job must pay $8/hour

4
Three-Job Challenge
You have three jobs: lifeguard ($8/hr), cashier ($6/hr), and tutor ($12/hr). You worked 16 total hours and earned $140. You worked twice as many cashier hours as tutor hours. Find the hours for each job.
Step 1 — Define variables and constraints

Let L = lifeguard, C = cashier, T = tutor hours
Given: C = 2T (twice as many cashier as tutor hours)

Step 2 — Set up the system

L + C + T = 16 (total hours)
8L + 6C + 12T = 140 (total earnings)
C = 2T (relationship constraint)

Step 3 — Substitute to reduce variables

Using C = 2T in both equations:
L + 2T + T = 16L + 3T = 16
8L + 6(2T) + 12T = 1408L + 24T = 140

Step 4 — Solve the 2×2 system

From first: L = 16 - 3T
Substitute: 8(16 - 3T) + 24T = 140
128 - 24T + 24T = 140
128 = 140

Wait! Let me recalculate: 8(16 - 3T) + 24T = 128 - 24T + 24T = 128 ≠ 140

This means there's an error. Let me redo: 8L + 12T + 12T = 8L + 24T = 140
Using L = 16 - 3T: 8(16 - 3T) + 24T = 128 - 24T + 24T = 128

Since 128 ≠ 140, let me reconsider the earnings equation more carefully.

Step 5 — Correct calculation

Actually: 8L + 6C + 12T = 8L + 6(2T) + 12T = 8L + 12T + 12T = 8L + 24T = 140
From L + 3T = 16: L = 16 - 3T
So: 8(16 - 3T) + 24T = 128 - 24T + 24T = 128

But we need 140, not 128. This suggests the problem has no solution as stated, or I made an error in setup.

Let me try T = 2: L = 10, C = 4. Check: 10 + 4 + 2 = 16 ✓, 8(10) + 6(4) + 12(2) = 80 + 24 + 24 = 128 ≠ 140.

Result: This problem as stated appears to have no solution. The constraints are inconsistent.

Frequently Asked Questions

How do you set up a system of equations for two different pay rates? +
Create one equation for the total constraint (hours or items) and another for the value constraint (money or cost). In this example, L + C = 14 represents total hours worked, and 8L + 6C = 96 represents total earnings, where L is lifeguard hours at $8/hr and C is cashier hours at $6/hr.
What's the difference between substitution and elimination methods? +
Substitution solves one equation for a variable, then replaces that variable in the other equation. Elimination multiplies equations by constants to make coefficients equal, then adds or subtracts to eliminate a variable. Here, substitution gives C = 14 - L, leading to 8L + 6(14 - L) = 96.
How do you check if your solution to a system of equations is correct? +
Substitute both values back into both original equations to verify they're satisfied. In this problem, L = 6 and C = 8 should give: 6 + 8 = 14 ✓ (total hours) and 8(6) + 6(8) = 48 + 48 = 96 ✓ (total earnings).
NJ
Neven Jurkovic, PhD

Professor of Computer Science, Palo Alto College, Alamo Colleges District, San Antonio, TX

Developer of Algebrator

Contact

This solution was prepared with AI assistance and reviewed by Dr. Jurkovic for mathematical accuracy and pedagogical clarity.

2026-09-15