Algebraic Constraint Examples: 47 Problems with Answers

Worked examples of Algebraic Constraint to try before you open each solution, then practice problems with answers.

Worked Examples

Example 1

easy
What constraint does x2≥0 impose on x?
Show solution

Answer

No restriction — x2≥0 is always true for real x.

First step

1.
Step 1: x2≥0 for all real x — this is always true.

Full solution

  1. 2.
    Step 2: This constraint doesn't restrict x at all; every real number satisfies it.
  2. 3.
    Step 3: But x2=−1 would impose an impossible constraint (no real solution).
Some constraints are automatically satisfied (trivial constraints), while others like x2=−1 are impossible. Understanding what a constraint rules out is as important as what it allows.

Example 2

medium
What values does 1x−3 constrain x to avoid?

Example 3

medium
A box has length ℓ, width w, and height h, all positive, with total surface area ≤96. Write all constraints.

Example 4

medium
(x−2)(x+3)≥0. Solve.

Example 5

hard
A budget of $60 buys apples at $3 each and bananas at $2 each, with at least 5 apples. Find the maximum total fruit.

Example 6

challenge
Solve the system x+y+z=6, x,y,z≥0 integers. How many solutions?

Practice Problems

Try each one, then open the solution to compare your method.

Example 1

easy
What constraint does x impose on x?

Example 2

medium
If x+y=10 and x,y>0, what is the maximum of xy?

Example 3

easy
What values of x are allowed by the constraint x≥0?

Example 4

easy
In 1x, what value is forbidden by an implicit constraint?

Example 5

easy
What constraint does x place on x (real numbers)?

Example 6

easy
Does the point (2,0) satisfy the constraint x+y=2?

Example 7

easy
A length ℓ satisfies what real-world constraint?

Example 8

easy
Which describes a constraint: x+3 or x+3=7?

Example 9

easy
How many values of x satisfy the constraint x=5?

Example 10

easy
Geometrically, what does the constraint x2+y2=1 describe?

Example 11

medium
Combine the constraints x>0 and x<5. What is the feasible set?

Example 12

medium
For x+1x−2, state all domain constraints.

Example 13

medium
Solve x2=9 subject to the constraint x>0.

Example 14

medium
A rectangle has perimeter 20 with length ℓ and width w. Write the constraint and the implicit ones.

Example 15

medium
Is (3,4) feasible under both x+y≤10 and x≥0?

Example 16

medium
The constraint ∣x∣≤3 describes which values?

Example 17

medium
Why can the constraint x>0 and x<0 never be satisfied together?

Example 18

medium
The constraint 2x+3=3+2x restricts x to what set?

Example 19

medium
Given x≥2 and x≥5, which constraint is binding?

Example 20

challenge
Maximize x+y subject to x+2y≤8, x≥0, y≥0. Find the maximum.

Example 21

challenge
Find all integer points satisfying x+y=4 with x,y≥0.

Example 22

challenge
For what k does the constraint x2+y2=k have any real solutions?

Example 23

easy
What is the domain constraint of 1x+4?

Example 24

easy
Solve 3x=12 subject to x>0.

Example 25

easy
Which point satisfies x+y≤5 and x≥0: (2,4) or (−1,3)?

Example 26

easy
What constraint on x makes log⁡(x) defined (real, principal branch)?

Example 27

easy
What domain constraint does 1x2−9 impose?

Example 28

medium
Find the integer values of x satisfying −2≤x<3.

Example 29

medium
x2=16 subject to x negative. Find x.

Example 30

medium
Solve x2=25 subject to 'side length of a square'. Which root applies?

Example 31

medium
Domain of f(x)=x−1x−4?

Example 32

medium
How many integer solutions (x,y) satisfy x+y=6 with x,y≥1?

Example 33

medium
A right triangle has legs a and b=a+1 with hypotenuse 5. State the constraint and solve.

Example 34

medium
Maximize 4x+3y subject to x+y≤4, x≥0, y≥0.

Example 35

hard
x+1=x−1. Solve and check.

Example 36

hard
How many lattice points (x,y) satisfy x≥0, y≥0, x+2y≤6?

Example 37

hard
For what real k does x2+kx+9=0 have two distinct real roots?

Example 38

hard
xx−2≥0. Solve.

Example 39

hard
For which real a is the system x+y=a, x2+y2=1 feasible?

Example 40

challenge
Find the minimum of x2+y2 subject to x+2y=5.

Example 41

challenge
For x,y>0 with xy=4, find the minimum of x+y.

What to focus on

Core idea: An algebraic constraint is an equation or inequality saying which values are allowed.

Common stuck point: The procedure for algebraic constraint is the easy part; the trap is ignoring implicit constraints like denominator ≠0 or radicand ≥0. Asking "Does this condition restrict the set of permissible values rather than ask for a single computation?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

Ask yourself: Does this condition restrict the set of permissible values rather than ask for a single computation?

Concept recap

A mathematical condition expressed as an equation or inequality that restricts which values the variables are allowed to take.

A constraint works like the filters on a shopping site: "under $30", "size M", "in stock". Each filter removes items, and what remains is the allowed set. Add more filters and the set shrinks, possibly to nothing. Unlike a shop's stock, the allowed set can hold infinitely many values.

Read the full lesson on Algebraic Constraint

Background knowledge

These ideas may be useful before you work through the harder examples.

equationsinequalities