Systems of Equations and Inequalities: Star problems
Ten optional challenges to stretch your reasoning. Work on paper, use hints when you need them, and check the answer or full solution when you are ready. You can skip these problems and continue the course.
- 1 of 3 stars: Stretch
- 2 of 3 stars: Challenge
- 3 of 3 stars: Deep challenge
Stars indicate difficulty within this set.
0 of 10 completed · 0 skipped
Progress saved in this browser.
Progress can't be saved in this browser, so your choices last for this visit only.
-
Problem 1 Two row updates at once
Difficulty: 1 of 3 stars, Stretch
A student starts with
Calling these equations , the student simultaneously replaces each equation by , obtaining two copies of . The student claims that adding equations is always reversible.
(a) Explain the error, find the original solution, and exhibit a solution of the new system that does not solve the original.
(b) Instead replace the equations simultaneously by and . Prove that this transformation preserves the solution set of any pair of linear equations, by explaining how to recover both original equations.
- Hint 1
A permitted row addition keeps the source row available. Did the student retain enough independent information?
- Hint 2
For part (b), call the new equations and . Recover and using and .
Answer
(a) The original solution is ; is an added, invalid solution. (b) The second transformation is reversible because and .
Full solution
Adding the original equations gives , but that is only one consequence of the original system.
Replacing both equations by this same consequence discards their independent difference.
For example, satisfies both new rows but violates .
To solve the original system, keep alongside .
The second gives ; substitution into the first gives , so and .
Both original equations check.
For part (b), regard each equation as an equality whose entire left and right sides are transformed.
Every solution of satisfies their sum and difference .
Conversely, adding and and dividing by recovers ; subtracting from and dividing by recovers .
Hence every new solution is an old one.
The issue is not whether an individual row was formed by addition; it is whether the complete collection of equations retains enough information to reverse the operation.
Answer
(a) The original solution is ; is an added, invalid solution. (b) The second transformation is reversible because and .
Key idea
Judge a row transformation by reversibility of the whole system, especially when several rows are changed simultaneously.
- Hint 1
-
Problem 2 Two package sizes
Difficulty: 1 of 3 stars, Stretch
A shipment contains small packages and large packages. Every small package holds identical units and every large package holds units. There are exactly units in all, and at least packages. The counts are nonnegative integers.
Find all possible ordered pairs . Prove completeness without trying every possible value of or separately.
- Hint 1
Let be the total number of packages. The unit total can be written using and only one of the package counts.
- Hint 2
From , use , the bound , and divisibility by .
Answer
.
Full solution
Let .
If all packages were small they would contain units; changing a small package to a large one adds units.
Thus .
Since , we have , while the shipment condition gives .
The equation also says differs from by a multiple of .
Because and have the same remainder on division by , must be a multiple of .
Within , only remain.
For these totals, gives , respectively; subtracting from gives .
All six counts are nonnegative integers, their package totals are at least , and their unit totals are , so every candidate works.
The total-number substitution reduced two integer unknowns to three possible totals; the finite bound and divisibility condition prove that no other shipment is possible.
Answer
.
Key idea
A total-count variable can turn an integer system into a short divisibility argument with an explicit finite bound.
- Hint 1
-
Problem 3 A unique answer with too few equations
Difficulty: 1 of 3 stars, Stretch
Find all nonnegative real triples satisfying
A student argues that two linear equations in three unknowns cannot determine a unique triple.
Find the answer and explain precisely why that argument fails here. Then describe every real solution when the nonnegativity restrictions are removed.
- Hint 1
Double the second equation and subtract the first. Pay attention to the signs of the resulting terms.
- Hint 2
Without nonnegativity, set and solve for the other variables. Determine which values of survive the original sign conditions.
Answer
The unique nonnegative solution is . All unrestricted real solutions are , .
Full solution
Doubling the second equation and subtracting the first gives
Since both and are nonnegative, both terms must be zero.
Thus , and the total equation gives .
This triple also satisfies the first equation, so it is the unique permitted solution.
Without the sign conditions, let .
The derived equation gives , and the total then gives .
Direct substitution verifies both original equations for every real , yielding the entire line of unrestricted solutions.
Along that line, requires , while requires .
Their intersection is only , where is also nonnegative.
The student’s dimension intuition describes the solution set of the equations alone.
It does not account for additional inequalities, which can meet an entire solution line at just one boundary point.
A free variable in elimination can therefore become fixed after the domain restrictions are imposed.
Answer
The unique nonnegative solution is . All unrestricted real solutions are , .
Key idea
Count solutions only after intersecting the equations’ solution set with every inequality and domain restriction.
- Hint 1
-
Problem 4 How many partial checks are enough?
Difficulty: 2 of 3 stars, Challenge
(a) Four linear equations in two real unknowns each represent a line. Every choice of three of these equations has at least one common solution. Prove that all four equations have a common solution.
(b) Show that replacing “three” by “two” would make the statement false, by giving explicit equations.
(c) Show that the conclusion of part (a) can fail for four equations in three real unknowns: construct four equations such that every three have a common solution but all four do not.
- Hint 1
In part (a), first consider whether any two of the four lines are nonparallel.
- Hint 2
If two lines meet at a unique point, any third equation consistent with both must contain that point. In part (c), start with the three coordinate planes.
Answer
(a) All four are consistent. (b) For example, , , are pairwise consistent but not jointly consistent; a fourth equation keeps every pair consistent. (c) Use , , , .
Full solution
For (a), suppose some two lines are nonparallel.
They meet at a unique point .
Each remaining line belongs to a triple containing those two, so by the hypothesis it must pass through their only possible common point .
Thus all four share .
If no two are nonparallel, all four lines are parallel, allowing coincidence.
The triple hypothesis implies that every pair is consistent: include any third equation to obtain a solution.
Two parallel consistent lines must coincide.
Therefore all four lines are the same line, and again they have common solutions.
For (b), the four lines , , , and have pairwise distinct directions, so every pair meets.
The first three already have no common point, because contradicts .
Hence the four together are inconsistent.
For (c), take the four equations in the answer.
The first three meet at .
A triple containing and two coordinate equations is solved by setting the remaining coordinate to .
But all four would require both and .
The number of unknowns changes how much partial consistency can guarantee.
Answer
(a) All four are consistent. (b) For example, , , are pairwise consistent but not jointly consistent; a fourth equation keeps every pair consistent. (c) Use , , , .
Key idea
Partial consistency is powerful only when enough equations already pin down all remaining freedom.
- Hint 1
-
Problem 5 Accurate totals, uncertain components
Difficulty: 2 of 3 stars, Challenge
Two real quantities satisfy
where the independent measurement errors may be any real numbers with . Here “independent” means every pair of errors in the stated square is permitted, not a probabilistic assumption.
The nominal errors give . Find the greatest possible values of , , and . Prove each bound is sharp, and explain why two very accurate equations can still leave large uncertainty in the individual quantities.
- Hint 1
Subtract the equations to find the total before solving for either component.
- Hint 2
Express and as linear combinations of . The opposite corners of the error square will test the largest absolute changes.
Answer
The sharp bounds are for , for , and for .
Full solution
Subtracting the equations gives
Substitute into the first equation to obtain
These formulas determine a unique real solution for every allowed error pair.
The triangle inequality now gives
and
Take and .
Then , , and
Thus one permitted error pair attains all three absolute bounds, proving sharpness.
The two equations have almost the same relative coefficients of and .
A large increase in one component can be nearly canceled by a large decrease in the other.
Elimination consequently multiplies the small measurement errors by coefficients near .
Their sum behaves differently: it is obtained just by subtracting the two readings, so its error is at most the sum of the original error bounds.
Answer
The sharp bounds are for , for , and for .
Key idea
Uniqueness does not imply stability: inspect how elimination amplifies input errors in the quantities you want.
- Hint 1
-
Problem 6 Integer answers for every integer input
Difficulty: 2 of 3 stars, Challenge
Let be integers. Determine the necessary and sufficient condition on these coefficients for
to have a unique integer solution for every pair of integers . A unique integer solution here must also be the unique real solution.
Prove both directions using the determinant . Then, for any positive integer , construct such a coefficient matrix whose four entries are all at least . Give formulas for its solution in terms of .
- Hint 1
When , Cramer’s rule gives and .
- Hint 2
For necessity, test and . If divides all four coefficients, write them as multiples of and return to .
Answer
Exactly or . One construction is , with and .
Full solution
If , Cramer’s formulas give integer for every integer right-hand side, and the nonzero determinant guarantees real uniqueness.
Thus the condition is sufficient.
Conversely, the assumed real uniqueness forces .
For right-hand sides and , the solution formulas show that are all integers.
Hence write , , , and with integer .
Substituting into the determinant gives
so
Both factors are integers, forcing .
This proves necessity; testing a few right-hand sides was enough only because they controlled every coefficient in the inverse formulas.
For the construction,
All four entries are at least .
Cramer’s rule gives the displayed integer solution formulas.
Substitution, or reversing the same elimination, verifies both equations for arbitrary integers .
Large coefficients therefore do not prevent universal integrality; the determinant, not their individual size, governs it.
Answer
Exactly or . One construction is , with and .
Key idea
To prove a universal integer-output claim, test the simplest right-hand sides and use the determinant to coordinate the divisibility conditions.
- Hint 1
-
Problem 7 A system with three exceptional settings
Difficulty: 2 of 3 stars, Challenge
For each real parameter , solve the system
Give every exceptional parameter value and describe all its solutions. Compute the determinant of the coefficient matrix and explain what its zeros do and do not tell you. Do not use polynomial interpolation or the factor theorem.
- Hint 1
Subtract the first equation from the second, and the second from the third. Factor the resulting coefficients before dividing.
- Hint 2
For , the two new equations can be written and . Track what happens when their coefficients of agree.
Answer
For , . At : . At : . At : . Parameters are arbitrary real numbers. The determinant is .
Full solution
Subtracting equation 1 from equation 2 gives
Subtracting equation 2 from equation 3 gives
For , divide these by and , respectively, to obtain the two equations in Hint 2.
Subtracting those reduced equations gives
For , this forces , then , and finally .
All steps are reversible under these restrictions, so this is the unique solution.
The needed identity follows directly by expansion.
Now inspect the original system.
At , it reduces to and .
At , all equations reduce to .
At , the first and third coincide and the second is , giving and .
These are precisely the listed families.
Expanding the determinant after subtracting the first row from the other rows gives .
Its nonzero values certify uniqueness, and its zeros locate the cases needing separate inspection.
A zero determinant alone does not distinguish inconsistency from infinitely many solutions; here all three exceptional systems are consistent.
Answer
For , . At : . At : . At : . Parameters are arbitrary real numbers. The determinant is .
Key idea
Factor before dividing in parameter elimination, then return to the original system at every discarded factor.
- Hint 1
-
Problem 8 Shipping with three forbidden routes
Difficulty: 3 of 3 stars, Deep challenge
Three factories have supplies , and three warehouses require , with the same total . Factory cannot ship to warehouse , but all other routes are allowed. Shipments may be nonnegative real amounts.
(a) Prove that a shipping plan exists exactly when for . Give a constructive sufficiency proof by expressing all six allowed shipments in terms of one parameter.
(b) For supplies and demands , describe every plan. How many plans use only whole units? A plan is specified by its six shipment amounts; shipment order is irrelevant.
- Hint 1
Factory must fit its entire supply into warehouses other than . For sufficiency, name the shipment from factory 1 to warehouse 2.
- Hint 2
If that shipment is , the six amounts are forced by row and column totals. Nonnegativity will give three lower bounds and three upper bounds on .
Answer
(a) The stated three inequalities are necessary and sufficient. All plans have shipment matrix , with . (b) The matrix is for ; there are whole-unit plans.
Full solution
Necessity follows because factory can use only the other warehouses, whose combined demand is .
Thus
For sufficiency, let the shipment from factory 1 to warehouse 2 be .
Its row total forces the shipment to warehouse 3 to be .
Successively using column 3, row 2, column 1, and row 3 forces exactly the matrix in the answer.
Its remaining column total also holds because total supply equals total demand.
Hence every plan has this form, and every such matrix with nonnegative entries is a plan.
Nonnegativity gives with the stated maximum and minimum.
It remains to prove .
Compare each of the three lower bounds with each of the three upper bounds.
Six comparisons follow just from nonnegative supplies, demands, and their equal totals.
The other three are
These are exactly , , and
Thus the assumed conditions make every lower bound at most every upper bound, proving sufficiency constructively.
For the numerical data, substitution gives the displayed matrix and interval
All six entries are integers exactly when is an integer, because one entry is itself.
Therefore gives exactly seven whole-unit plans.
Answer
(a) The stated three inequalities are necessary and sufficient. All plans have shipment matrix , with . (b) The matrix is for ; there are whole-unit plans.
Key idea
Eliminate conservation equations first; feasibility then becomes a transparent interval intersection for the remaining free parameter.
- Hint 1
-
Problem 9 Which extra restrictions add nothing?
Difficulty: 3 of 3 stars, Deep challenge
Real numbers are known only to satisfy
Find all triples of real numbers for which is guaranteed for every permitted pair .
Prove necessity and sufficiency. Whenever your conditions fail, describe how to find a permitted pair that violates the proposed extra inequality. The variables may be negative, and the feasible region is unbounded.
Builds on Systems of Inequalities
- Hint 1
Find the intersection of the two boundary lines. Then find one direction along each boundary that stays feasible indefinitely.
- Hint 2
Every feasible point can be written with . Express using the original inequality slacks.
Answer
Exactly , , and .
Full solution
The boundary lines meet at
Write and
Then
Thus every gives a feasible point, and conversely every feasible point has this representation by taking and
At such a point,
If both variable coefficients are nonnegative, its least value is the value at , namely .
Therefore the three listed conditions are sufficient.
They are also necessary.
If , the feasible point already violates the inequality.
If , keep and let grow: the displayed expression decreases without bound, so choose any nonnegative large enough to make it less than .
If , use and sufficiently large instead.
These rays provide explicit violating points via the coordinate formulas.
Checking only the boundary intersection would have missed these failures far out in the unbounded region.
Answer
Exactly , , and .
Key idea
To certify an inequality on an unbounded region, check both a base point and every direction of unlimited travel.
- Hint 1
-
Problem 10 The largest determinant made from zeros and ones
Difficulty: 3 of 3 stars, Deep challenge
(a) A matrix has every entry equal to or . Prove that the absolute value of its determinant is at most . Characterize every matrix attaining , allowing row and column reorderings. Do not rely on checking all matrices by computer.
(b) One equality example is the coefficient matrix of
For integers , give necessary and sufficient conditions for its unique real solution to consist of nonnegative integers. Explain the role of the determinant and check sufficiency.
- Hint 1
Classify a row by how many ones it has. A row with one 1 reduces the determinant to a case. If every row has exactly two ones, only three distinct row types are available.
- Hint 2
If a row is , move it to the top and clear the first column below it. The remaining two-entry row pieces each have entries of one sign only; show their determinant has absolute value at most .
Answer
(a) The maximum is . Equality occurs exactly when the rows are the three distinct vectors , in any order. (b) Exactly even and , , . Then .
Full solution
A zero row gives determinant .
A row with exactly one 1 lets us expand along that row: the remaining determinant is a difference of two numbers in , so its absolute value is at most .
Now suppose a row is .
Move it to the top, affecting at most the determinant’s sign.
Clear the first column below it by subtracting this top row from a lower row whenever that lower row starts with 1.
In the remaining two columns, each lower row has entries either both in or both in .
Multiplying a negative row by affects only the sign and leaves a zero-one matrix.
Expanding down the cleared first column therefore bounds the original absolute determinant by .
The only case that can exceed has exactly two ones in each row.
If any rows repeat, the determinant is zero.
Otherwise the three rows must be precisely the three types listed.
Direct expansion for any one ordering gives absolute determinant , and row reordering preserves its absolute value.
This proves both the bound and the complete equality classification.
For (b), adding appropriate pairs of equations and subtracting the third gives the three formulas in the answer.
The determinant has absolute value , so the real solution is unique but may have halves.
All three numerators have the same parity as , making the even-sum condition exactly the integrality condition.
Their nonnegativity is exactly the three triangle inequalities stated.
These conditions make the formulas nonnegative integers; direct addition recovers , proving sufficiency.
Answer
(a) The maximum is . Equality occurs exactly when the rows are the three distinct vectors , in any order. (b) Exactly even and , , . Then .
Key idea
Classifying a small number of row types can prove a determinant bound and reveal the precise integrality obstruction.
- Hint 1