Ma · Mathematics

Prove That If x + 5 Is Odd, Then x² Is Even

Published By the 9to5Science editorial team

At a glance

  1. 1. Assume integers

    Parity is defined for integers, so take x to be an integer.

  2. 2. Solve for x

    Write x + 5 as 2k + 1; subtracting 5 shows x is even.

  3. 3. Square the result

    Write x as 2m and factor x² as 2 times an integer.

Assume that xx is an integer. The statement is then true: if x+5x+5 is odd, xx must be even, and the square of an even integer is even. The proof follows directly from the definitions of odd and even.

Direct proof from the definitions

An integer is odd if it can be written as 2k+12k+1 for some integer kk. If x+5x+5 is odd, there is an integer kk such that

x+5=2k+1.x+5=2k+1.

Subtract 55 from both sides:

x=2k+1−5=2k−4=2(k−2).\begin{aligned} x &= 2k+1-5 \\ &= 2k-4 \\ &= 2(k-2). \end{aligned}

Because kk is an integer, k−2k-2 is also an integer. Thus xx has the form 2m2m for the integer m=k−2m=k-2, so xx is even. Squaring gives

x2=[2(k−2)]2=4(k−2)2=2(2(k−2)2).x^2 = [2(k-2)]^2 = 4(k-2)^2 = 2\bigl(2(k-2)^2\bigr).

The quantity 2(k−2)22(k-2)^2 is an integer, so x2x^2 is twice an integer. That is exactly the definition of an even integer. This proves the claim.

A shorter parity argument

Adding an odd integer to an integer changes its parity: an even integer plus an odd integer is odd, while an odd integer plus an odd integer is even. Since 55 is odd, the only way for x+5x+5 to be odd is for xx to be even. The square of an even integer is even, because if x=2mx=2m, then x2=4m2=2(2m2)x^2=4m^2=2(2m^2).

The definition-based proof is often preferable in a formal proof because it shows exactly which integer witnesses make the expressions even or odd.

Worked example

Take x=8x=8. Then x+5=13x+5=13, which is odd. The proof’s representation applies with k=6k=6, since 13=2(6)+113=2(6)+1. It gives

x=2(6−2)=8,x=2(6-2)=8,

so xx is even. Its square is x2=64=2⋅32x^2=64=2\cdot 32, also even.

The same reasoning works for negative integers. For instance, if x=−4x=-4, then x+5=1x+5=1 is odd, and x2=16x^2=16 is even. The definitions use integer multiples of 22 and do not require the integer to be positive.

Why the integer assumption matters

Odd and even are normally defined only for integers. If xx is an arbitrary real number, the phrases “xx is odd” and “xx is even” do not have their usual number-theoretic meaning. The claim should therefore be read with the domain stated: x∈Zx\in\mathbb{Z}.

If the premise is instead understood to mean that x+5x+5 is an odd integer, that condition itself implies xx is an integer, because subtracting the integer 55 from an integer leaves an integer. The conclusion then follows as above.

Common mistakes

  • Ignoring the domain: State that xx is an integer, or explain why the premise makes it an integer. Parity is not ordinarily assigned to arbitrary real numbers.
  • Stopping after showing xx is even: The requested conclusion concerns x2x^2. Finish by writing x=2mx=2m and showing x2=2(2m2)x^2=2(2m^2).
  • Assuming the square is even without justification: Use the definition: a number is even when it equals 22 times an integer. Here the integer is 2m22m^2.
  • Treating the implication as an equivalence: The proof establishes the stated direction, not its converse. For integer xx, the converse is also true: if x2x^2 is even, then xx is even (an odd x=2m+1x=2m+1 would give x2=2(2m2+2m)+1x^2=2(2m^2+2m)+1, which is odd), so x+5x+5 is odd.

A compact final proof is: since x+5x+5 is odd, x+5=2k+1x+5=2k+1 for some integer kk. Hence x=2(k−2)x=2(k-2), so x2=2[2(k−2)2]x^2=2[2(k-2)^2], which is even.

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.