Skip to ContentGo to accessibility page
Algebra 1

1.4.3 Finding the Solution to an Equation in Two Variables

Algebra 11.4.3 Finding the Solution to an Equation in Two Variables

1.4.3 Finding the Solution to an Equation in Two Variables

1.4.3 • Finding the Solution to an Equation in Two Variables

Activity

Use the following scenario for questions 1 – 3:

One gram of protein contains 4 calories. One gram of fat contains 9 calories. A snack has 60 calories from p p grams of protein and f f grams of fat.

1.

Determine if 5 grams of protein and 2 grams of fat could be the number of grams of protein and fat in the snack. Explain your reasoning.

2.

Determine if 10.5 grams of protein and 2 grams of fat could be the number of grams of protein and fat in the snack. Explain your reasoning.

3.

Determine if 8 grams of protein and 4 grams of fat could be the number of grams of protein and fat in the snack. Explain your reasoning.

4.

If there are 6 grams of fat in the snack, how many grams of protein are there? Be prepared to show your reasoning.

5.

In this situation, what does a solution to the equation 4 p + 9 f = 60 4 p + 9 f = 60 tell us? Give an example of a solution.

Video: Working Through the Equation

Watch the following video to learn more about how to determine a solution to this particular equation:  4 p + 9 f = 60 4 p + 9 f = 60 .

Working Through the Equation

Self Check

Which of the following is a solution ( x , y ) to 2 x + 3 y = 7 ?
  1. ( − 2 , 4 )
  2. ( 4 , − 1 )
  3. ( 1 , 2 )
  4. ( 2 , 1 )

Additional Resources

Solutions to Equations in Two Variables

An equation that contains two unknown quantities or two quantities that vary is called an equation in two variables.

A solution to such an equation is a pair of numbers that makes the equation true.

Example

Suppose Tyler spends $45 on T-shirts and socks. A T-shirt costs $10, and a pair of socks costs $2.50. If t t represents the number of T-shirts and p p represents the number of pairs of socks that Tyler buys, we can represent this situation with the equation:

10 t + 2.50 p = 45 10 t + 2.50 p = 45

This is an equation in two variables. More than one pair of values for t t and p p make the equation true.

Which pair of values makes the equation 10 t + 2.50 p = 45 10 t + 2.50 p = 45 true?

1.

t = 3 t = 3 and p = 6 p = 6

2.

t = 4 t = 4 and p = 2 p = 2

3.

t = 1 t = 1 and p = 10 p = 10

In this situation, one constraint is that the combined cost of shirts and socks must equal $45.

Solutions to the equations are pairs of t t and p p values that satisfy this constraint, such as in questions 1 – 2.

Combinations such as t = 1 t = 1 and p = 10 p = 10 , as in question 3, are not solutions because they don't meet the constraint. When these pairs of values are substituted into the equation, they result in statements that are false.

Try it

Solutions to Equations in Two Variables

Is a = 3 a = 3 and  b = 5 b = 5 a solution to 6 a − 3 b = 3 6 a − 3 b = 3 ?

Citation/Attribution
Reuse and redistribution of this content in digital or print format:
  • This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's prior written permission.
  • This book uses the Creative Commons Attribution-NonCommercial-ShareAlike License, which means that you can reuse and modify the material only for noncommercial purposes, must attribute OpenStax, and must distribute any derivative works under the same license.
  • Any commercial printing of this textbook, including using a local or custom printer, must be approved by OpenStax, and proper citation provided.
  • OpenStax-copyrighted images, activities, assessments, and similar components of this book are subject to the same licensing – CC-BY-NC-SA. They can be used for noncommercial purposes with attribution. Commercial use requires permission.
  • Permission requests: Anyone who intends to incorporate this content (including text, images, and other components) into large language models, use it in AI offerings, use it commercially (including in print), and/or has questions about another use case is welcome to complete our reuse request form.
Attribution information
  • If you are redistributing all or part of this book in a noncommercial print format, then you must include on every physical page the following attribution:

    Access for free at https://openstax.org/books/algebra-1/pages/about-this-course

  • If you are redistributing all or part of this book in a noncommercial digital format, then for every page that includes OpenStax content, you must license the derivative work under the same CC-BY-NC-SA license as the original, and include on every digital page view the following attribution:

    Access for free at https://openstax.org/books/algebra-1/pages/about-this-course

Citation information

The information below includes the information needed to generate citations in most major styles (APA, MLA, etc.); you must reformat and organize the information as needed to fit the requirements of the style. Use the information below to generate a citation. We recommend using a citation tool such as this one.

© Apr 23, 2026 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike License. The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo, and Rice University name, and Rice University logo trademarks, or wordmarks are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.