Identities, Inequalities, and Mathematical Induction
Verify identities and inequalities with domains and equality cases, and prove integer statements by induction.
Course contents
Motivation
You need algebraic expansion, sign reasoning, basic trigonometry and Chapter 5's notation. This chapter develops the logical work behind a calculation: deciding what must be proved, recording the assumptions that permit each step, and identifying equality cases. You should learn to verify identities and simple inequalities and to prove statements about every positive integer by induction.
Testing a formula at several values can reveal a mistake. It cannot prove a universal statement. A proof must explain why every value within its stated domain is covered, including boundaries and exceptional cases.
7.1 Identity, equation, implication and equivalence
Definition
An identity on a domain is an equality true at every input in that domain. An equation to solve asks which inputs in an allowed domain make an equality true. For example,
(x+1)2=x2+2x+1
is an identity for all real x, while (x+1)2=9 has only two real solutions. The equality symbol alone does not specify which task is intended.
The statement P⟹Q says that P guarantees Q. The converse need not hold. For instance x=2⟹x2=4, but x2=4 also permits x=−2. The notation P⟺Q asserts both implications. In algebra, a reversible transformation establishes equivalence on the stated domain. Squaring or dividing by a possibly zero quantity may not be reversible.
To verify a rational identity, first state where both original sides are defined. A simplified expression may have a larger natural domain, but simplification does not extend the original statement automatically.
Worked example
Worked example 1: a rational identity with a hole. Verify
x−2x2−4=x+2.
The left side requires x=2. For every such x, factoring and dividing by the nonzero factor x−2 proves the equality. At x=2 the left side is undefined, so this is an identity on R∖{2}, not an equality between the two natural-domain functions on all real inputs.
Worked example
Worked example 2: a trigonometric domain. On the common domain of the two sides,
1+cosθsinθ=sinθ1−cosθ.
The right side requires sinθ=0, equivalently θ∈/πZ. On that domain cosθ=−1, so the left denominator is also nonzero. Multiplying the left side by (1−cosθ)/(1−cosθ) is permitted there, because cosθ=1 as well. Then
At θ=0 the left side alone equals zero but the right is undefined. The identity is not an assertion that their natural domains agree. Rationalizing a denominator without checking the newly used factor can conceal this difference.
A useful proof format is to transform one side into the other through identities with stated conditions. Another is to subtract the sides and prove the difference is zero. Starting from the desired equality can also work if every line is explicitly equivalent and the chain ends at an already established truth; merely repeating the desired equality in a different form is not a proof.
7.2 Inequalities come from nonnegative quantities
Proposition
For real t, t2≥0, with equality exactly when t=0. Consequently,
(a−b)2≥0⟹a2+b2≥2ab(a,b∈R),
with equality exactly when a=b. This is a general inequality, not a claim that a,b are positive.
Proposition
For nonnegativeu,v, insert a=u and b=v. Then
2u+v≥uv,
with equality exactly when u=v. This is the two-number arithmetic–geometric mean inequality. Its square roots require u,v≥0. Extending this particular formula to arbitrary real u,v is not valid.
Worked example
Worked example 3: a positive reciprocal bound. If x>0, the square (x−1)2≥0 gives x2+1≥2x. Dividing by the positive number x yields
x+x1≥2,
with equality only at x=1. If x<0, division reverses the inequality and gives x+1/x≤2, but the sharper negative-side bound is x+1/x≤−2, obtained by applying the positive result to −x. At x=0 the expression is undefined. The sign hypothesis is part of the theorem.
Worked example
Worked example 4: a constrained product. Suppose u,v≥0 and u+v=10. Then (u−v)2≥0 implies
100=(u+v)2=(u−v)2+4uv≥4uv.
Hence uv≤25, with equality exactly at u=v=5. This determines the maximum and shows that it is achieved within the admissible domain. It does not assert the same maximum if the sum or the nonnegativity restrictions are changed.
A systematic strategy is to put the desired inequality in the form “nonnegative expression ≥0.” For x≥0,
x−1+xx=1+xx2≥0,
because the numerator is nonnegative and the denominator positive. Thus 0≤x/(1+x)≤x. Equality in the upper bound occurs exactly at x=0. For x<−1 the denominator has another sign, so this argument cannot be reused without a new analysis.
7.3 Absolute values and a two-dimensional inequality
Proof
From the definition, −∣a∣≤a≤∣a∣. Add this inequality for a and b to obtain
−(∣a∣+∣b∣)≤a+b≤∣a∣+∣b∣.
Since ∣a∣+∣b∣≥0, this is equivalent to the real triangle inequality
∣a+b∣≤∣a∣+∣b∣.
Equality occurs exactly when ab≥0, including a zero input. For a direct check, square the two nonnegative sides: the difference of their squares is 2(∣a∣∣b∣−ab), which is zero exactly when ab≥0.
Applying the triangle inequality to a=(a−b)+b gives ∣a∣−∣b∣≤∣a−b∣. Interchanging a,b gives the other side. Together they prove the reverse triangle inequality
∣a∣−∣b∣≤∣a−b∣.
These estimates compare errors without needing their signs.
Worked example
Worked example 5: a combined measurement error. Suppose an ideal sum is s=u+v, and measured inputs are u~=u+e1, v~=v+e2, with ∣e1∣≤0.03 and ∣e2∣≤0.05 in a common unit. Then
∣(u~+v~)−s∣=∣e1+e2∣≤0.08.
The bound is attainable when errors have the same sign and reach their bounds. Cancellation may produce a smaller actual error, but it is not guaranteed.
For any real a,b,c,d, expansion gives
(a2+b2)(c2+d2)−(ac+bd)2=(ad−bc)2≥0.
Both square-root sides are nonnegative, so this proves
∣ac+bd∣≤a2+b2c2+d2.
Equality holds exactly when ad=bc, which includes a zero vector. This two-dimensional Cauchy–Schwarz inequality gives a rigorous upper bound for the dot product used in Chapter 2. No assumption that all components are positive is needed.
7.4 Why induction covers infinitely many integers
Let P(n) be a statement about integers n≥n0, where n0 is fixed. The principle of mathematical induction says:
Prove the base case P(n0).
For an arbitrary integer k≥n0, assume P(k) and prove P(k+1).
Conclude that P(n) holds for every integer n≥n0.
The assumption in step 2 is the induction hypothesis. It is conditional, not an assumption that the final theorem is already true. The base starts the chain, and the implication extends any valid link to the next.
Here is a justification using the least-element property of the nonnegative integers. If a counterexample existed, there would be a least counterexample m≥n0. It could not be n0 because of the base case. Then m−1≥n0 would not be a counterexample, and the induction step would force P(m), a contradiction.
Common mistake
Checking the first hundred values gives a hundred facts but not the induction step. Proving the induction step without a base gives an implication but no starting truth. Using P(k+1) in order to prove itself creates a circle rather than a step.
7.5 Induction for identities, divisibility and inequalities
Worked example
Worked example 6: a sum of squares. For every integer n≥1,
j=1∑nj2=6n(n+1)(2n+1).
At n=1 both sides equal one. Suppose the formula holds for an arbitrary k≥1. Splitting off the new term gives
This is exactly the formula with n=k+1. The principle now proves all positive integer cases. The symbol j is the summation index and k the current endpoint; distinguishing their jobs avoids ambiguity.
Worked example
Worked example 7: divisibility. For every integer n≥0, 7n−1 is divisible by six. At zero the expression is zero, equal to 6⋅0. Suppose 7k−1=6m for an integer m. Then
7k+1−1=7(7k−1)+6=6(7m+1),
which is divisible by six since 7m+1 is an integer. This proves the statement. Divisibility means an integer multiple; an unverified decimal approximation is irrelevant.
Worked example
Worked example 8: Bernoulli's inequality. For every real h≥−1 and integer n≥1,
(1+h)n≥1+nh.
Fix such an h. The base n=1 is equality. Suppose the statement holds at k≥1. Since 1+h≥0, multiplication preserves the inequality:
(1+h)k+1≥(1+kh)(1+h)=1+(k+1)h+kh2≥1+(k+1)h.
The last step uses k≥1 and h2≥0. Induction completes the proof. Equality holds for every h at n=1; for n≥2 it holds exactly at h=0, because a nonzero h makes the displayed kh2 term strictly positive in the step to any exponent at least two. The boundary h=−1 is allowed: its positive powers are zero and the right side is 1−n≤0.
This example explains why one must state sign hypotheses before multiplying an induction inequality. If h<−1, the multiplier is negative and the same step is invalid; indeed the claim fails at h=−4,n=3, where the left side is (−3)3=−27 and the right side is 1−12=−11. A proposed counterexample must itself be checked.
7.6 Recurrences and deliberately false claims
For a recurrence, an explicit formula is proved by checking the initial value and the recurrence relation. This is induction in a natural form.
Worked example
Worked example 9: an accumulating odd increment. Let x0=0 and xn+1=xn+2n+1 for integers n≥0. Claim xn=n2. At zero it is true. If xk=k2, then
xk+1=k2+2k+1=(k+1)2.
Therefore the formula holds for all allowed indices. An input sequence of odd increments has produced square totals. The formula does not follow merely from matching its first two values.
Induction proves a particular proposition, not a vague visual pattern. Suppose someone claims 2n≥n2 for every n≥1. The base n=1 works but n=3 fails: 8<9. The corrected statement is true for every integer n≥4. At four there is equality. For k≥4,
2k2−(k+1)2=k2−2k−1=(k−1)2−2>0.
Assuming 2k≥k2 gives 2k+1≥2k2≥(k+1)2. The later base and the step now match. One must not claim the missing small indices as a consequence.
For some recurrences it is helpful to assume all statements from the base through k when proving k+1. This is strong induction; it has the same least-counterexample justification. We do not need it to strengthen any of the single-step proofs above, but it explains why some induction hypotheses legitimately contain more than one earlier case.
7.7 Graded exercises
Foundation
Checkpoint
Exercise 1
State the common real domain and verify (x2−1)/(x+1)=x−1.
Checkpoint
Exercise 2
Is x2=x an identity for real x? Give the correct identity and a counterexample to the proposed one.
Checkpoint
Exercise 3
Prove a2+4b2≥4ab for real a,b. Give every equality case.
Checkpoint
Exercise 4
A student tests n2+n+41 for n=0,1,2 and claims it is prime for every nonnegative integer n. Explain why the argument is insufficient and find a composite value at n=41.
Core
Checkpoint
Exercise 5
For x>0, prove (x+2)2/x≥8 and determine equality.
Checkpoint
Exercise 6
For 0≤t≤1, prove t(1−t)≤1/4 and give the equality case.
Checkpoint
Exercise 7
Prove ∣a−b∣≤∣a∣+∣b∣ for real a,b. Give its equality condition.
Checkpoint
Exercise 8
State the exact domain and verify (1−cos2θ)/sin2θ=tanθ on that domain.
Checkpoint
Exercise 9
Use induction to prove ∑j=1n(2j−1)=n2 for integers n≥1.
Checkpoint
Exercise 10
Use induction to prove 3n−1 is even for all integers n≥0.
Checkpoint
Exercise 11
Use induction to prove n!≥2n−1 for integers n≥1. Determine exactly when equality holds.
Checkpoint
Exercise 12
Let a0=2 and an+1=3an+1. Prove an=(5⋅3n−1)/2 for every integer n≥0.
Synthesis
Checkpoint
Exercise 13
For a,b>0, prove (a+b)(1/a+1/b)≥4, with equality characterized. Make every division condition explicit.
Checkpoint
Exercise 14
For real a≤x≤b, prove x2≤(a+b)x−ab. Give all equality cases, including a=b.
Checkpoint
Exercise 15
Prove (2u−v)2≤5(u2+v2) for real u,v, using an identity or the two-dimensional inequality. Give equality cases.
Checkpoint
Exercise 16
Prove by induction that 2n>n for all integers n≥1. Explain why multiplying an inequality by two is safe here.
Checkpoint
Exercise 17
A purported induction says: “All groups of n readings have the same value. A singleton does. To prove it for n+1, remove the first reading and then the last; the two n-reading groups overlap, so they have the same value.” Identify the exact step where the overlap argument fails.
Checkpoint
Exercise 18
Using Bernoulli's inequality, give an explicit tail index that proves (3/4)n→0 for positive integer n. Your index must ensure strict error below a prescribed ε>0.
7.8 Full solutions
Solution · Exercise 1
Require x=−1. Factoring x2−1=(x−1)(x+1) and cancelling the nonzero denominator proves the identity on that domain. At x=−1 the original quotient is undefined.
Solution · Exercise 2
The correct identity is x2=∣x∣ for all real x. At x=−2 the left side is two but the proposed right side is minus two. The original formula holds only on x≥0.
Solution · Exercise 3
The difference is a2+4b2−4ab=(a−2b)2≥0. Equality occurs exactly when a=2b, including a=b=0.
Solution · Exercise 4
Finitely many tests do not establish all integer cases. At n=41, 412+41+41=41(41+2)=41⋅43, a product of integers greater than one, hence composite.
Solution · Exercise 5
Since x>0, (x+2)2/x−8=(x2−4x+4)/x=(x−2)2/x≥0. Equality occurs exactly when x=2.
Solution · Exercise 6
The identity t(1−t)=1/4−(t−1/2)2 gives the bound, with equality exactly at t=1/2. The stated domain also ensures the product is nonnegative; the upper bound alone actually holds for every real t.
Solution · Exercise 7
Apply the triangle inequality to a+(−b). Equality occurs when a(−b)≥0, equivalently ab≤0, including either value zero.
Solution · Exercise 8
The left denominator requires sin2θ=2sinθcosθ=0, so both sinθ and cosθ must be nonzero. This is equivalent to θ∈/(π/2)Z and already guarantees tangent is defined. Using 1−cos2θ=2sin2θ and cancelling nonzero 2sinθ gives sinθ/cosθ=tanθ. Tangent alone is defined at some additional points, which does not enlarge the identity's common domain.
Solution · Exercise 9
At one the sum is one. If the sum through k is k2, the next sum is k2+[2(k+1)−1]=k2+2k+1=(k+1)2. Thus every positive integer case follows by induction.
Solution · Exercise 10
At zero the expression is zero, an even integer. If 3k−1=2m for an integer m, then 3k+1−1=3(3k−1)+2=2(3m+1), also even. This proves all cases.
Solution · Exercise 11
At one there is equality. If k!≥2k−1, multiply by k+1≥2 to get (k+1)!≥(k+1)2k−1≥2k. Equality holds at n=1 and n=2. For every n≥3, the last step leading to that exponent uses k+1≥3, making it strict; hence these are the only equality cases.
Solution · Exercise 12
At zero the formula gives (5−1)/2=2. If true at k, then ak+1=3(5⋅3k−1)/2+1=(5⋅3k+1−1)/2. This matches the claimed next term and completes the proof.
Solution · Exercise 13
Positive a,b ensure ab>0. Expand and subtract four: (a+b)(1/a+1/b)−4=a/b+b/a−2=(a−b)2/(ab)≥0. Equality holds exactly when a=b.
Solution · Exercise 14
The interval conditions imply x−a≥0 and b−x≥0. Their product is nonnegative: (x−a)(b−x)=(a+b)x−ab−x2≥0. Equality holds exactly when x=a or x=b. If a=b, the only allowed point is that common endpoint and equality still holds.
Solution · Exercise 15
Subtract the left side from the proposed right side: 5(u2+v2)−(2u−v)2=(u+2v)2≥0. Equality occurs exactly when u=−2v. This also follows by Cauchy–Schwarz with component vectors (u,v) and (2,−1).
Solution · Exercise 16
At one, 2>1. If 2k>k, multiply by the positive number two to obtain 2k+1>2k. For k≥1, 2k≥k+1, so 2k+1>k+1. No inequality reverses because the multiplier is positive.
Solution · Exercise 17
In the step from one to two readings, the two one-reading groups have no shared reading. Thus nothing forces their values to agree. The argument needs an overlap but lacks it exactly at the first extension; a valid base alone cannot repair a failed induction step.
Solution · Exercise 18
Since 4/3=1+1/3, Bernoulli gives (4/3)n≥1+n/3. Taking positive reciprocals yields (3/4)n≤1/(1+n/3). Choose a positive integer N with N>3/ε. Then for all n≥N, 1/(1+n/3)<3/n≤3/N<ε. This proves convergence using an explicit, though not sharp, tail threshold.
Summary
An identity needs a domain; an equation needs a solution set. Reversible steps prove equivalence only where their operations are permitted. Squares, factorizations and absolute-value estimates give inequalities with explicit equality cases. Induction requires a correctly placed base and a valid implication for an arbitrary later integer. It can verify formulas, divisibility, recurrences and bounds, but cannot make an incorrect proposition true or replace a missing convergence argument.
Connections. Chapter 5's finite formulas are natural induction statements. Bernoulli's inequality supports geometric sequence limits in Chapter 6. Triangle and Cauchy–Schwarz inequalities support the coordinate and complex-modulus calculations of Chapters 2 and 8. Sign-aware transformations remain essential in Chapter 9's logarithmic inequalities.