1 What an integral solution is
A rice trader has 38 kg of rice. He packs all of it into 3 kg bags and 5 kg bags.
Every bag is full and nothing is left over. How many bags of each can he use?
Say he uses bags of 3 kg and bags of 5 kg. Then .
Fractions would fit easily: and give . But 6.4 bags is not a packing. Only whole numbers of bags count.
So try every possible . Seven 5 kg bags hold 35 kg and eight would hold 40, so is 0 to 7.
| a multiple of 3? | ||||
|---|---|---|---|---|
| 0 | 0 | 38 | no | |
| 1 | 5 | 33 | yes | 11 |
| 2 | 10 | 28 | no | |
| 3 | 15 | 23 | no | |
| 4 | 20 | 18 | yes | 6 |
| 5 | 25 | 13 | no | |
| 6 | 30 | 8 | no | |
| 7 | 35 | 3 | yes | 1 |
Three packings work: 11 small bags and 1 big, 6 and 4, or 1 and 7.
On a graph, is a straight line. It passes through endless points, but only three of them have whole-number coordinates.
Words to know
- An integer is a whole number with a sign: No fractions, no decimals.
- Whole numbers are They are also called non-negative integers: integers that are not below 0.
- Positive integers are Zero is not positive. They are also called natural numbers.
- A solution is a set of values that makes the equation true. is a solution of , because .
- An integral solution (or integer solution) is a solution in which every unknown is an integer.
- An ordered pair lists first and second. and are different pairs: gives , not 38.
- A lattice point is a point on a graph whose two coordinates are both integers. Each integral solution is a lattice point on the line.
Which numbers are allowed
The same equation can have a different count with a different word. So read the word first.
| The question says | Allowed values | Does 0 count? |
|---|---|---|
| integers, integral solutions | yes, and negatives too | |
| whole numbers, non-negative integers | yes | |
| positive integers, natural numbers | no | |
| "at least one of each" | no | |
| a count of bags, coins or people, nothing more said | yes |
Try the unknown with the bigger coefficient
A coefficient is the number in front of an unknown: in , 3 is the coefficient of and 5 is the coefficient of .
grows in jumps of 5, so has only 8 values to try. would have 13 ( from 0 to 12).
- and are the coefficients of and , and is the number on the right. Here they are all positive. Try up to .
- Why it works: once is fixed, , so . Keep the for which divides exactly by .
- Use it for a first look, when is small: up to about 10 values to try.
- Tiny use: : leaves , and , so is a solution.
- The common slip: stopping at the first solution you find. The question nearly always asks how many.
Example 1Basic
Find all the solutions of in whole numbers. How many of them are in positive integers?
See the solution
Step 1: is more than 40, so runs from 0 to 5
Step 2: must be even. 40 is even, so must be even, and must be even
Step 3: : . : . :
Step 4: Whole numbers: , , : 3 solutions
Step 5: Positive integers: has , so it is out: 2 solutions
Check:
Answer: 3 in whole numbers; 2 in positive integers
When one coefficient is even and the other odd, look at odd and even first. It cuts the tries in half, as step 2 did.
Example 2Exam level
A school hall has benches that seat 4 and benches that seat 6, but only 6 benches of the six-seat kind. 50 students sit, every seat on the benches used is filled, and at least one bench of each kind is used. What is the fewest benches that can be used?
See the solution
Step 1: Let benches seat 4 and benches seat 6:
Step 2: Every term is even, so halve it:
Step 3: must be even, so is odd and is odd
Step 4: Only 6 six-seat benches exist, so is 1, 3 or 5
Step 5: give , so
Check: ; would give 9 benches, but needs 7 six-seat benches
Answer: 10 benches: 5 of each kind
Try it
Pencils cost ₹6 and pens cost ₹11. Sahil spends exactly ₹100 on them (he may buy none of one kind). In how many ways can he do it?
The rest of the chapter turns this trying into a method.
Section 2 tells you when there is no solution at all. Section 3 finds all of them from one.
Check yourself · 5 questions
Which of these pairs is a solution of in positive integers?
Loading the rest of the chapter…
Focused
Read the whole chapter
11 more sections: 21 worked examples, 11 graphs and figures, the question types IPMAT asks, 45 practice questions with full solutions.
Unlock with Focused Aspirant