Recent chats

How can I model two changing quantities that always add to the same total?

Quick answer

Call the fixed total T and the two changing quantities x and y. Their relationship is x + y = T. Rearrange it to get y = T − x: once you know x, you can calculate y by subtracting x from the total. This models the relationship without measuring shapes; define what each quantity represents and use consistent units.

LET’S WORK THROUGH IT

The question, the details, the next step.

Question

I have two quantities that change, but their sum stays fixed. How do I turn that into a model without using a diagram or measuring anything?

Geez

Name the fixed total T, and call the two quantities x and y. Then write:

x + y = T

This equation says exactly what stays unchanged: the sum of x and y is always T. Rearrange by subtracting x from both sides:

y = T − x

So, if the total is known, every chosen value of x determines the corresponding value of y. OpenStax illustrates the general method of naming quantities and writing their fixed-sum relationship as an equation; its example uses two numbers, so applying that form to your situation depends on defining what your quantities mean. [S1]

Relationship diagram:

Fixed total T
   /       \
  x   +    y
            |
       y = T − x

The branches represent the two parts making up the total, not a scale drawing. No length, area, or other geometric measurement is implied.

Follow-up question

Could you work through a concrete example and explain what the rearranged equation means?

Geez

Suppose, as an illustrative assumption, a class has 30 activity tokens to divide between two groups. Let x be the number given to Group A and y the number given to Group B. The fixed-sum model is:

x + y = 30

y = 30 − x

If Group A gets 12 tokens, then y = 30 − 12 = 18, so Group B gets 18. If x increases by 1 while the total remains 30, y must decrease by 1 to compensate. The equation describes that relationship; it does not say which allocation is fair or appropriate.

The assumed context also sets practical limits: if tokens are whole items, x and y should be whole numbers from 0 through 30. Those limits come from this example’s assumptions, not from the equation alone. For a context where parts can be fractional, different allowed values may make sense.

Follow-up question

What should I check if my equation gives an answer that seems impossible or confusing?

Geez

First check your definitions: x and y should identify the two quantities clearly, and they should use compatible units. Then check the total and the rearrangement. For example, substituting the results back into x + y = T should reproduce T. Finally, compare the values with the limits of your real situation. If a group cannot receive more than 20 tokens, for instance, a result of 23 may satisfy the algebra but violate that assumed limit.

A fixed-sum equation models the stated relationship; it does not establish that the total really stays fixed, explain why it stays fixed, or supply any missing measurements. Those must come from the situation you are modeling.

Follow-up question

Can you give me a reusable setup I can fill in for another problem?

Geez

Use this template:

Fixed total: T = [total and units]
First quantity: x = [what it represents and units]
Second quantity: y = [what it represents and units]
Relationship: x + y = T
Solve for the second quantity: y = T − x
Allowed values: [limits from the situation]
Check: [chosen x] + [calculated y] = [total]

For the token example, the entries are T = 30 tokens, x = tokens for Group A, y = tokens for Group B, and y = 30 − x. Keep the total and both quantities in matching units, and state any limits separately. The equation alone does not determine a particular allocation until you provide a value for one quantity.

A practical checklist

  • State the fixed total and its units.

  • Define each changing quantity in plain language.

  • Write x + y = T, then rearrange to y = T − x.

  • Substitute a chosen value to calculate the other quantity.

  • Check that the two values add back to T and fit the situation’s limits.

A few more useful answers

Does y = T − x mean the two quantities always change at the same rate?

For this fixed-sum relationship, increasing x by a given amount requires y to decrease by that amount. That interpretation assumes T really stays fixed.

Can I use this model if the quantities have different units?

Only if they can meaningfully be added after conversion to compatible units. Otherwise, x + y = T does not represent a valid sum as written.

Does the equation tell me which values are allowed?

Not by itself. Use the context to specify limits, such as whole-number counts or maximum amounts, and check calculated values against them.

Sources

References used for this guide.

  1. [S1] OpenStax Intermediate Algebra 2e: Solve Applications with Systems of Equations
    openstax.org · Checked

YOUR QUESTION. YOUR DETAILS.

Let’s work through your situation.

Get a tailored answer or help with your next task. Starts at $1, with a quote before you pay.

Ask your own question
← Back to Geez at Work