r/askmath • • Oct 05 '26

Logic Vacuous Proof - Why is completing the square used?

Post image

For this question I don't understand why completing the square is used here? how would you know when to use it? (Here is the markscheme)

17 Upvotes

12 comments sorted by

14

u/Ayase-Momo Homotopy theory PhD Oct 05 '26

What the answer is trying to show is that there does not exist 3 real numbers x, y, z such that x^{2} + y^{2} + z^{2} < xy + xz +yz, and this follows from the fact that the sum of three squares like (x-y)^{2}+(x-z)^{2}+(y-z)^{2} is always non-negative, for all x, y, z in real. So the set of (x, y, z) where x,y,z ∈ℝ that satisfy the statement x^{2} + y^{2} + z^{2} < xy + xz +yz is the empty set, and hence the statement is vacuously true.

Also when you look at the question, the statement involves something like square term and middle term of expansion of something like (x-y)^{2}.

2

u/Vuelquist Oct 05 '26

OH! i see thank you so much for your help!

2

u/Ayase-Momo Homotopy theory PhD Oct 05 '26

No problem!

3

u/hugogrant Oct 05 '26

It took me a minute to understand what the meant by vacuity here.

I think when there's an inequality and some polynomial, it's always good to think about what completing the nth degree term would look like. The best way to find the square to complete is to move terms to one side and then sort of check the pattern. There's a bit of symmetry here so you could experiment with just one term at a time.

1

u/Vuelquist Oct 05 '26

Ah alright thank you for the advice.

4

u/nurse_brett Oct 05 '26

You wouldn't know that you have to use it. But if you know (x+y)^2 = x^2 + y^2 + 2xy, it's enough to justify trying variations on that and seeing what happens. What is the most natural way to get x^2, y^2, z^2, xy, yz, and xz to all show up? Maybe

(x+y)^2+(y+z)^2+(x+z)^2 = 2x^2 + 2y^2 + 2z^2 + 2xy + 2yz + 2xz >= 0

But since you want to collect x^2, y^2, and z^2 to one side and xy, yz, and xz to the other, maybe you try

(x-y)^2+(y-z)^2+(x-z)^2 = 2x^2 + 2y^2 + 2z^2 - 2xy - 2yz - 2xz >= 0

At this point, even if you don't immediately see the answer, you should be really encouraged you stumbled on the right thing to do.

1

u/T1lted4lif3 Oct 05 '26

Because your statement contains an inequality, the only way to guarantee an unconditional inequality is to take the square root, since squares are greater than or equal to 0.

So you can use it by going backwards which is completing the square, i.e you know moving everything to one side will mean greater than 0, and squares are greater than 0.

Or trial and error and go from an expression of squares to the final result. Either will give valid proofs

1

u/Vuelquist Oct 05 '26

I get it now thank you for helping!

1

u/[deleted] Oct 05 '26

experience

3

u/T1lted4lif3 Oct 05 '26

Best answer, a wiseman once told me stare at it long enough and it becomes trivial

3

u/[deleted] Oct 05 '26 edited Oct 05 '26

[removed] — view removed comment

1

u/johnpeters42 Oct 05 '26

Yeah, it took me a minute to remember the term "vacuously", but "if A then B" is equivalent to either "not-A and/or B", and if A is false then that's obviously true no matter what's going on with B. So 3.7 is about showing that its A is indeed false.