Mathovia

Algebra / Solving Equations and Inequalities

Solutions and Solution Sets

Every method for solving an equation or inequality — no matter how many steps it takes — is aimed at the same target: the solution set, the complete collection of values that make the statement true. This lesson defines that target precisely before any solving technique is introduced, so every later lesson in this chapter has firm ground to stand on.

M
Written by
Mathovia Team
Editorial Team

Every technique you’ll learn in this chapter — isolating a variable, factoring, using the quadratic formula, testing intervals — exists to answer one question: which values make the equation or inequality true? This lesson defines that question precisely before any solving method is introduced. Once you know exactly what a solution is, what a solution set is, and how to write one correctly, every later lesson in this chapter is just a faster way of finding it.

None of this requires new algebra. Every check in this lesson is ordinary substitution and arithmetic — the goal is to get the vocabulary and the notation right, because a correct value written in the wrong form (or the wrong number of values reported) is graded as an incomplete answer just as often as an arithmetic mistake is.

What Does It Mean to Solve an Equation or Inequality?

To solve an equation or inequality is to find every value of the variable that makes it a true statement. Each individual value that works is called a solution (or a root, for equations). The complete collection of every solution — no more, no fewer — is called the solution set.

$$ \text{Solve } 3x - 5 = 16 \;\Longrightarrow\; \text{find every } x \text{ for which } 3x - 5 = 16 \text{ is a true statement} $$

Notice the ask is every value. If a problem has three solutions and you report two, you have not fully solved it, even if both of the two you found are correct. This is one of the most common reasons a correct-looking answer loses points.

Checking Whether a Value Is a Solution

Before finding solutions, it helps to be able to check a candidate one. Substitute the candidate value for the variable everywhere it appears, then evaluate both sides independently. If the two sides come out equal (for an equation) or the inequality holds (for an inequality), the candidate is a solution. If not, it isn’t — no matter how it was obtained.

EquationCandidateLeft SideRight SideSolution?
\(3x - 5 = 16\)\(x = 7\)\(3(7)-5 = 16\)\(16\)Yes
\(3x - 5 = 16\)\(x = 6\)\(3(6)-5 = 13\)\(16\)No
\(x^{2} = 9\)\(x = -3\)\((-3)^{2} = 9\)\(9\)Yes
\(x^{2} = 9\)\(x = 3\)\((3)^{2} = 9\)\(9\)Yes
\(2x + 1 > 7\)\(x = 4\)\(2(4)+1 = 9\)\(9 > 7\)Yes
\(2x + 1 > 7\)\(x = 3\)\(2(3)+1 = 7\)\(7 > 7\)No

The last row is worth pausing on: \(x=3\) makes both sides equal, and the inequality is strict (\(>\), not \(\ge\)), so equality does not satisfy it. Swapping in a non-strict symbol would change the answer — always check which symbol the problem actually uses.

What Is a Solution Set?

A solution set can contain one value, several values, infinitely many values, or none at all — the equation or inequality itself determines which. Four cases already appear above and below:

  • One solution. \(3x - 5 = 16\) has exactly one value that works: \(x = 7\).
  • Several solutions. \(x^{2} = 9\) has exactly two: \(x = -3\) and \(x = 3\). Squaring loses the sign, so both are genuinely needed.
  • Infinitely many solutions. \(2x + 1 > 7\) is satisfied by every number greater than \(3\) — an infinite interval, not a finite list.
  • No solutions. Some equations and inequalities are never true for any real number (covered directly below).

Because a solution set can be infinite, listing every element by hand isn’t always possible. That’s exactly why set-builder notation and interval notation exist — they describe a solution set completely without writing out its members one at a time.

Writing Solution Sets: Set-Builder Notation

Set-builder notation names the set by describing the rule every member must satisfy, rather than listing members:

$$ \{x \mid x > 3\} $$

Read this as “the set of all \(x\) such that \(x\) is greater than \(3\).” The vertical bar \(\mid\) is read “such that”; some textbooks use a colon instead, with the same meaning.

For finite sets, set-builder notation can also just list the members inside braces, separated by commas:

$$ \{-3, 3\} $$

is the full solution set of \(x^{2} = 9\) — braces around the finished list, no rule needed once there are only finitely many values.

Writing Solution Sets: Interval Notation

Interval notation describes an infinite (or continuous) solution set using its two endpoints instead of a rule. The bracket style at each end tells you whether that endpoint itself is included:

SymbolMeaningEndpoint included?
\( ( \) or \( ) \)ParenthesisNo — strict inequality (\(<\) or \(>\))
\( [ \) or \( ] \)BracketYes — inequality includes equality (\(\le\) or \(\ge\))
\(\infty\) or \(-\infty\)InfinityAlways a parenthesis — infinity is never actually “reached”
InequalitySet-Builder NotationInterval Notation
\(x > 3\)\(\{x \mid x > 3\}\)\((3, \infty)\)
\(x \ge 3\)\(\{x \mid x \ge 3\}\)\([3, \infty)\)
\(x < 5\)\(\{x \mid x < 5\}\)\((-\infty, 5)\)
\(x \le 5\)\(\{x \mid x \le 5\}\)\((-\infty, 5]\)
\(-2 < x \le 7\)\(\{x \mid -2 < x \le 7\}\)\((-2, 7]\)
\(-2 \le x \le 7\)\(\{x \mid -2 \le x \le 7\}\)\([-2, 7]\)
Every real number\(\mathbb{R}\)\((-\infty, \infty)\)
No real number\(\varnothing\)\(\varnothing\)

Two habits prevent almost every notation mistake. First, the smaller number always goes on the left, regardless of which direction the original inequality symbol pointed: \(x < 5\) becomes \((-\infty, 5)\), not \((5, -\infty)\). Second, infinity always gets a parenthesis, never a bracket — there is no number equal to infinity to “include.”

Three Kinds of Equations: Conditional, Identity, and Contradiction

Simplifying an equation all the way down sometimes eliminates the variable entirely. What happens next depends on what statement is left behind:

TypeWhat happens when solvedSolution set
Conditional equationVariable remains; one specific value (or a few) makes it trueA finite set, e.g. \(\{6\}\)
IdentityVariable cancels, leaving a true statementEvery real number: \(\mathbb{R}\)
ContradictionVariable cancels, leaving a false statementNo solution: \(\varnothing\)

$$ 2(x+3) = 2x + 6 \;\Longrightarrow\; 2x+6 = 2x+6 \;\Longrightarrow\; 6 = 6 \quad \text{(always true — an identity)} $$

$$ x + 5 = x + 9 \;\Longrightarrow\; 5 = 9 \quad \text{(never true — a contradiction)} $$

Most equations you’ll solve are conditional — that’s the normal case. But whenever every variable term cancels during simplification, stop and read the remaining constant statement: if it’s true, the solution set is all real numbers; if it’s false, the solution set is empty. Neither case means “no answer” — \(\varnothing\) and \(\mathbb{R}\) are both complete, correct solution sets in their own right.

Solution Sets for Inequalities

An inequality’s solution set is almost always an interval (or a union of intervals) rather than a short list, because if one value satisfies \(x > 3\), so does every larger value — infinitely many numbers, not just one. Compound inequalities combine two conditions with “and” or “or,” and the two words change the solution set in opposite ways:

  • “And” (both conditions must hold) → intersection. \(-1 < x + 2 \le 6\) really means ”\(-1 < x+2\) and \(x + 2 \le 6\)” simultaneously — solve by applying the same operation to every part at once: subtracting \(2\) gives \(-3 < x \le 4\), interval \((-3, 4]\).
  • “Or” (either condition is enough) → union. ”\(x < -2\) or \(x > 5\)” has two separate pieces that never overlap, written with the union symbol: \((-\infty, -2) \cup (5, \infty)\).

The union symbol \(\cup\) is doing real work in that second case — there is no single interval that captures “less than \(-2\)” and “greater than \(5\)” at once, because the two pieces don’t touch.

Worked Example A: Checking Whether a Value Is a Solution

Determine whether \(x = -4\) is a solution of \(2(x+3) - 1 \ge 3x + 5\).

Step 1 — substitute \(-4\) for every \(x\):

$$ 2(-4+3) - 1 \; \ge \; 3(-4) + 5 $$

Step 2 — evaluate the left side and the right side independently:

$$ 2(-1) - 1 = -3 \qquad \text{and} \qquad -12 + 5 = -7 $$

Step 3 — check whether the resulting numeric statement is true:

$$ -3 \ge -7 \quad \text{(true)} $$

Since substituting \(-4\) produces a true statement, \(x = -4\) is a solution of the inequality. The two sides are evaluated completely separately before comparing — never simplify across the inequality symbol as if it were an equation.

Worked Example B: Finding and Writing the Solution Set of a Linear Equation

Find the solution set of \(5(x-2) = 3x + 4\).

Step 1 — distribute the left side:

$$ 5x - 10 = 3x + 4 $$

Step 2 — collect variable terms on one side and constants on the other:

$$ 5x - 3x = 4 + 10 \;\Longrightarrow\; 2x = 14 $$

Step 3 — isolate \(x\):

$$ x = 7 $$

The variable did not cancel, so this is a conditional equation with exactly one solution. Write the solution set with braces, even for a single value:

$$ \{7\} $$

Reporting the bare number \(7\) instead of the set \(\{7\}\) is common and usually accepted informally, but the set notation is the technically complete answer — it’s the form that generalizes correctly once an equation has more than one solution.

Worked Example C: Finding and Writing the Solution Set of a Compound Inequality

Solve \(3 \le 2x - 1 < 9\) and express the solution set in interval notation.

Step 1 — add \(1\) to all three parts:

$$ 4 \le 2x < 10 $$

Step 2 — divide all three parts by \(2\) (positive, so the inequality directions don’t flip):

$$ 2 \le x < 5 $$

Step 3 — convert to interval notation, matching each endpoint’s bracket to its symbol:

The left end uses \(\le\) (bracket, included); the right end uses \(<\) (parenthesis, excluded):

$$ [2, 5) $$

Both sides of a compound inequality get every operation at the same time — there’s no way to solve the left half and the right half as separate problems, since \(x\) has to satisfy both conditions from a single expression.

Worked Example D: Classifying an Equation

Determine whether \(4(x+1) - 2x = 2x + 4\) is conditional, an identity, or a contradiction.

Step 1 — distribute and combine like terms on the left:

$$ 4x + 4 - 2x = 2x + 4 \;\Longrightarrow\; 2x + 4 = 2x + 4 $$

Step 2 — try to isolate \(x\):

$$ 2x - 2x = 4 - 4 \;\Longrightarrow\; 0 = 0 $$

Step 3 — read the remaining statement:

The variable cancelled completely, and \(0 = 0\) is always true. This is an identity — every real number is a solution.

$$ \text{Solution set: } \mathbb{R}, \text{ or } (-\infty, \infty) $$

Had step 2 produced something false instead, like \(0 = 4\), the equation would be a contradiction with solution set \(\varnothing\) instead — the arithmetic decides which one it is, not a guess.

Common Mistakes to Avoid

  • Stopping after finding one solution when there are more. \(x^{2}=9\) has two solutions, \(-3\) and \(3\); reporting only \(3\) is an incomplete solution set, not a partially-correct one.
  • Writing \(x = \varnothing\) instead of \(\varnothing\) alone. The empty set is the entire answer to a no-solution problem — it isn’t assigned to \(x\) as if it were a value.
  • Flipping which endpoint gets a bracket. A bracket belongs on the side with \(\le\) or \(\ge\); a parenthesis belongs on the side with \(<\) or \(>\), and on every \(\infty\) or \(-\infty\) endpoint without exception.
  • Writing the larger number first in an interval. \((5,2)\) is not a valid interval; the smaller value always comes first, regardless of which way the original inequality pointed.
  • Confusing “and” with “or.” An “and” compound inequality needs both conditions at once (an intersection, often one connected interval); an “or” compound inequality needs only one (a union, often two separate pieces). Swapping them changes the solution set completely.
  • Treating an inequality like an equation when checking a candidate. Evaluate both sides fully, then compare with the original inequality symbol — don’t simplify the two sides together as though there were an equals sign between them.
  • Ignoring whether the inequality is strict. A value that makes both sides exactly equal satisfies \(\le\) or \(\ge\) but not \(<\) or \(>\) — always check the actual symbol in the problem, not the one from a similar-looking problem.
  • Declaring “no solution” too early. An equation only has an empty solution set if the variable cancels and leaves a false statement. If the variable is still present, keep solving.

Where This Shows Up Later

  • Linear equations and inequalities. The isolation techniques used in Worked Examples B and C are the entire method for solving any linear equation or inequality — this lesson supplies the vocabulary those lessons assume.
  • Quadratic equations. \(x^{2}=9\) already previewed the pattern: quadratics typically produce a solution set with two elements, found by factoring or the quadratic formula rather than by inspection.
  • Absolute value equations and inequalities. These routinely split into two separate conditions joined by “and” or “or,” exactly the compound-inequality machinery introduced above.
  • Systems of equations. A solution to a system is a value (or pair of values) that satisfies every equation in the system simultaneously — the same substitution-and-check idea from this lesson, just applied to more than one equation at once.
  • Rational and radical equations. Both routinely introduce extraneous values during solving — candidates that satisfy a simplified equation but fail the original one. Checking every candidate by direct substitution, as in Worked Example A, is exactly how those get caught.

Practice Problems

Work each problem yourself before opening the answer.

Problem 1. Determine whether \(x = 5\) is a solution of \(3x - 7 = 2x - 2\).

Show answer

Step 1 — substitute \(5\) for \(x\) on both sides:

$$ 3(5) - 7 = 2(5) - 2 $$

Step 2 — evaluate each side:

$$ 15 - 7 = 8 \qquad \text{and} \qquad 10 - 2 = 8 $$

Both sides equal \(8\), so the statement is true.

Answer: Yes, \(x=5\) is a solution.

Problem 2. Determine whether \(x = -2\) is a solution of \(4 - 3x \le 9\).

Show answer

Step 1 — substitute \(-2\) for \(x\):

$$ 4 - 3(-2) \le 9 $$

Step 2 — evaluate the left side:

$$ 4 + 6 = 10 $$

Step 3 — check the statement:

$$ 10 \le 9 \quad \text{(false)} $$

Answer: No, \(x = -2\) is not a solution.

Problem 3. Find the solution set of \(4x + 9 = 2x - 3\), and write it using set notation.

Show answer

Step 1 — collect variable terms on one side:

$$ 4x - 2x = -3 - 9 \;\Longrightarrow\; 2x = -12 $$

Step 2 — isolate \(x\):

$$ x = -6 $$

Answer: \(\{-6\}\)

Problem 4. Find the solution set of \(x^{2} = 25\).

Show answer

Step 1 — ask which values, squared, give \(25\):

$$ (-5)^{2} = 25 \qquad \text{and} \qquad (5)^{2} = 25 $$

Both signs work, since squaring erases the sign.

Answer: \(\{-5, 5\}\)

Problem 5. Determine whether \(3(x-1) = 3x - 3\) is conditional, an identity, or a contradiction.

Show answer

Step 1 — distribute the left side:

$$ 3x - 3 = 3x - 3 $$

Step 2 — try to isolate \(x\):

$$ 3x - 3x = -3 + 3 \;\Longrightarrow\; 0 = 0 $$

The variable cancelled and left a true statement.

Answer: an identity — solution set \(\mathbb{R}\).

Problem 6. Determine whether \(2x + 7 = 2x - 1\) is conditional, an identity, or a contradiction.

Show answer

Step 1 — try to isolate \(x\):

$$ 2x - 2x = -1 - 7 \;\Longrightarrow\; 0 = -8 $$

The variable cancelled and left a false statement.

Answer: a contradiction — solution set \(\varnothing\).

Problem 7. Solve \(3x - 2 > 10\) and write the solution set in interval notation.

Show answer

Step 1 — add \(2\) to both sides:

$$ 3x > 12 $$

Step 2 — divide both sides by \(3\):

$$ x > 4 $$

Answer: \((4, \infty)\)

Problem 8. Solve \(-2x + 5 \le 13\) and write the solution set in interval notation. (Watch the direction of the inequality.)

Show answer

Step 1 — subtract \(5\) from both sides:

$$ -2x \le 8 $$

Step 2 — divide both sides by \(-2\), which flips the inequality direction:

$$ x \ge -4 $$

Answer: \([-4, \infty)\). Dividing by a negative number is what flips \(\le\) into \(\ge\); forgetting the flip is the single most common mistake with this kind of problem.

Problem 9. Solve \(1 < 2x + 3 \le 11\) and write the solution set in interval notation.

Show answer

Step 1 — subtract \(3\) from all three parts:

$$ -2 < 2x \le 8 $$

Step 2 — divide all three parts by \(2\):

$$ -1 < x \le 4 $$

Answer: \((-1, 4]\)

Problem 10. Write the solution set of ”\(x < -1\) or \(x \ge 6\)” using interval notation.

Show answer

The two conditions never overlap, so the solution set is the union of both pieces. The strict \(<\) gets a parenthesis; the \(\ge\) gets a bracket:

$$ (-\infty, -1) \cup [6, \infty) $$

Answer: \((-\infty, -1) \cup [6, \infty)\)

Quick Reference

SituationWhat to do
Checking a candidate valueSubstitute everywhere, evaluate each side independently, then compare
Finite solution setWrite every element inside braces: \(\{a, b, \dots\}\)
Infinite solution set (inequality)Use interval notation, smaller endpoint first
Endpoint uses \(<\) or \(>\)Parenthesis — not included
Endpoint uses \(\le\) or \(\ge\)Bracket — included
Endpoint is \(\infty\) or \(-\infty\)Always a parenthesis
Variable cancels, statement trueIdentity — solution set \(\mathbb{R}\)
Variable cancels, statement falseContradiction — solution set \(\varnothing\)
Compound “and”Intersection of both conditions
Compound “or”Union of both conditions, joined with \(\cup\)

Once checking a candidate and writing a solution set both feel automatic, the rest of this chapter is just adding solving techniques on top of vocabulary you already have — starting with isolating a variable in a straightforward linear equation. Refresh the algebra those techniques lean on in Polynomials and Rational Expressions if it’s been a while, or browse the rest of the Algebra lessons as new ones publish.

Frequently Asked Questions

What exactly counts as a solution to an equation?+

A solution is any value that makes the equation a true numerical statement once it replaces the variable. For \(3x - 5 = 16\), \(x = 7\) is a solution because \(3(7) - 5 = 16\) is true; \(x = 6\) is not, because \(3(6) - 5 = 13 \neq 16\).

Why does an equation sometimes have more than one solution?+

Squaring, taking an even root, or factoring a quadratic can each produce more than one value that satisfies the original equation. \(x^{2} = 9\) is the simplest example: both \(x = -3\) and \(x = 3\) square to \(9\), so the complete solution set is \(\{-3, 3\}\), not just one of them.

What is the difference between the empty set and all real numbers as a solution?+

They are opposite outcomes of the same situation: the variable cancelling out of an equation entirely. If what is left behind is a true statement, like \(0 = 0\), every real number works and the solution set is \(\mathbb{R}\). If what is left is false, like \(0 = 4\), no real number works and the solution set is \(\varnothing\), the empty set.

How do I know whether to use a parenthesis or a bracket in interval notation?+

Match the bracket style to the inequality symbol at that endpoint. A strict inequality (\(<\) or \(>\)) gets a parenthesis, because the endpoint itself is not included. A non-strict inequality (\(\le\) or \(\ge\)) gets a bracket, because the endpoint is included. Infinity always gets a parenthesis, since there is no actual number there to include.

What is the difference between an and-compound and an or-compound inequality?+

An and-compound inequality requires both conditions to hold at the same time, which is an intersection and usually produces one connected interval, like \(-3 < x \le 4\). An or-compound inequality only needs one condition to hold, which is a union and often produces two separate, non-overlapping pieces, like \(x < -2\) or \(x > 5\), written \((-\infty,-2) \cup (5,\infty)\).

Is 7 the same answer as writing the solution set {7}?+

They communicate the same value, but \(\{7\}\) is the technically complete form, since a solution set is still a set even when it happens to have only one member. Writing the bare number is common shorthand and usually accepted, but switching to set notation becomes necessary the moment an equation has more than one solution, so it is worth using consistently from the start.

Related lessons