You determine whether a value is a solution to an equation by substituting it for the variable and evaluating both sides. If the resulting statement is true—both sides equal the same number—the value satisfies the equation. If the statement is false, or the substitution makes an expression undefined, the value is not a solution. This holds for linear, quadratic, radical, rational, and trigonometric equations alike, with one critical exception: extraneous solutions introduced during solving must be rejected.

The substitution mechanism and why it works

An equation is a claim that two expressions name the same number, but only for certain replacements of the variable. The equals sign asserts identity of value, not identity of form. When you substitute a candidate number, you convert an equation with a variable into a closed arithmetic statement. That statement is either true or false, and its truth value is the entire test.

The logic rests on a property mathematicians call the substitution principle: if two expressions are equal for a given input, replacing the variable with that input preserves the equality. Evaluation order matters in practice. Work inside grouping symbols first, then exponents and roots, then multiplication and division left to right, then addition and subtraction. A sign error in this sequence flips true solutions to false negatives more often than any other mistake.

Consider 3x − 7 = 8 with candidate x = 5. The left side becomes 3(5) − 7 = 15 − 7 = 8, which matches the right side exactly. The statement 8 = 8 is true, so 5 is a solution. Try x = 4 and the left side is 12 − 7 = 5, giving 5 = 8, which is false.

Quadratics behave the same way. For x² − 5x + 6 = 0, substituting x = 2 gives 4 − 10 + 6 = 0, a true statement. Substituting x = 4 gives 16 − 20 + 6 = 2, not zero, so 4 fails. The mechanism never changes; only the arithmetic gets longer.

One plain-language restatement: plug the number in, do the math honestly on both sides, and see whether the two results agree.

What counts as true: quantified context

The test looks binary, but the number of candidates and the tolerance for "true" vary by context. A linear equation in one variable has exactly one solution unless the coefficients make it degenerate. A quadratic has at most two real solutions, and the discriminant b² − 4ac tells you how many: positive gives two, zero gives one repeated root, negative gives none among real numbers. A polynomial of degree n has at most n real roots.

Trigonometric equations break the counting habit entirely. Because sine and cosine repeat every 2π radians (360 degrees), an equation like sin x = 0.5 has infinitely many solutions, expressed as x = π/6 + 2πk and x = 5π/6 + 2πk for every integer k. Checking one value confirms only that value, not the family.

In applied settings, "true" often means "within tolerance." Engineering and computational work typically accepts agreement to a specified relative or absolute error, and a candidate is treated as a solution when the residual falls below that threshold. In pure mathematics, equality is exact and no tolerance applies. Keep the two standards separate.

Timeline of a verification: worked example

The table below traces a single check step by step for the rational equation 1/(x − 2) + 3 = 5, testing the candidate x = 2.5 and then the candidate x = 2.

Step Action Result for x = 2.5 Result for x = 2
1 Identify domain restrictions x ≠ 2 x ≠ 2
2 Substitute candidate 1/(2.5 − 2) + 3 1/(2 − 2) + 3
3 Simplify denominator 1/0.5 + 3 1/0 + 3
4 Evaluate division 2 + 3 undefined
5 Compare to right side 5 = 5 no valid statement
6 Apply domain filter allowed excluded
7 Verdict solution not a solution

The domain check in step 1 is not optional bookkeeping. It is the filter that catches the most common failure mode in algebra, where a candidate that emerges from valid-looking manipulation destroys the equation the moment it is substituted.

Edge cases that break naive checking

Extraneous solutions are the professional caveat worth internalizing. Squaring both sides of an equation, multiplying by an expression containing the variable, or applying certain trigonometric identities can create new candidates that satisfy the transformed equation but not the original. Every candidate from those operations must be substituted back into the original equation, never the transformed one. A candidate that works in x² = 4 but fails in x = 2 is exactly this trap: x = −2 solves the squared version but not the original.

Rational equations carry domain restrictions wherever a denominator equals zero. Radical equations restrict the radicand to non-negative values for even roots. Logarithmic equations require positive arguments. Absolute value equations can produce candidates that satisfy one branch but not the piecewise definition. Each restriction is a filter applied before or after substitution.

Floating-point arithmetic adds a computational edge case. In software, 0.1 + 0.2 does not equal 0.3 exactly in binary floating point, so a strict equality check can reject a genuinely correct candidate. Numerical code uses tolerance-based comparison for this reason. The mathematical definition of solution does not change; the implementation of the test does.

Misconceptions worth correcting

The most common error is checking against the wrong equation. Students who solve by squaring, then verify against the squared form, confirm nothing about the original. Verification must target the equation as originally stated.

A second misconception treats "the algebra gave me this number" as proof. Algebra produces candidates; substitution produces verdicts. The two are different stages, and skipping the second is how wrong answers survive.

A third conflates solving with checking. Solving is search; checking is confirmation. A candidate can be found correctly and still fail, and a candidate can be guessed and pass. The test is independent of the method that produced the candidate.

A fourth assumes every equation has a solution. The equation x² + 1 = 0 has no real solution, and no amount of substitution will find one. Recognizing that a candidate set is empty is itself a valid result.

Red-flag warnings to watch for:

You squared both sides at any point and did not re-check against the original equation. The candidate makes any denominator zero or any even root negative. You verified against a rearranged or simplified version rather than the original. Both sides matched only after rounding, with no stated tolerance. You checked one member of an infinite solution family and stopped. A computer returned "not equal" for values that differ by less than machine precision.

Practical actions and thresholds

Follow a fixed sequence so the test is reproducible.

Step 1: Write the original equation exactly as given and record every domain restriction before substituting anything. For rational equations, note where denominators vanish. For radicals, note where radicands go negative. For logarithms, note where arguments reach zero or below.

Step 2: Substitute the candidate using parentheses around the value, especially for negatives. Writing 3(−2) prevents the sign error that writing 3 − 2 invites.

Step 3: Evaluate each side completely and independently, following standard order of operations. Do not simplify across the equals sign.

Step 4: Compare the two final values. Exact equality confirms the solution in pure mathematics. In applied work, state your tolerance explicitly and confirm the residual is below it.

Step 5: Apply the domain filter. If the candidate was excluded in step 1, it fails regardless of the arithmetic.

Step 6: For equations with solution families, verify the general form rather than a single instance, or verify two distinct members to confirm the pattern.

Step 7: If you squared, multiplied by a variable expression, or applied a non-invertible operation during solving, treat every candidate as suspect until it passes the original-equation test.

For classroom and exam settings, showing the substitution with both sides evaluated is the standard that earns full credit. For computational settings, set an explicit tolerance, typically well above machine epsilon, and document it.

Comparison of verification methods

Different checking strategies suit different situations. The table below compares them on reliability and cost.

Method How it works Reliability Best use
Direct substitution Evaluate both sides with the candidate Highest; definitive Any equation, always
Graphical check See whether the curve crosses the target Good for real roots; misses complex Quick visual confirmation
Numerical residual Compute left minus right; compare to tolerance High with a stated tolerance Software and engineering
Reverse solving Solve forward and compare candidate sets Moderate; inherits solver errors Cross-checking your own work
Symmetry or identity check Verify the equation holds for all inputs Definitive for identities only Distinguishing identities from equations

Direct substitution remains the gold standard because it tests the actual claim rather than a proxy for it. Graphs can miss solutions outside the plotted window, and numerical residuals can mask sign changes near zero.

Limits of what verification can tell you

Substitution confirms or rejects a specific candidate. It does not find candidates, prove that a solution set is complete, or establish uniqueness. A passing check on one value says nothing about whether other solutions exist. For that you need solving methods, the fundamental theorem of algebra for polynomial counts, or interval analysis for continuous functions.

Verification also cannot rescue an equation posed ambiguously. If the original statement is unclear about domain, units, or which variable is unknown, the check inherits that ambiguity. In applied contexts, a value that satisfies the equation may still be physically meaningless, such as a negative time or a concentration above saturation; the equation does not know about the constraints of the system it models.

Finally, exact symbolic verification and numerical verification answer slightly different questions. Symbolic substitution under assumptions proves the claim. Numerical evaluation approximates it. Knowing which you performed matters when the stakes are high, and stating the method alongside the result is good practice in any technical write-up.

This article is general educational information about mathematical method, not a diagnosis, treatment plan, legal opinion, or investment recommendation. It does not promise any outcome. For decisions in medicine, engineering safety, law, or finance that depend on equation results, consult a qualified professional in that field.