prove the following:
a≥0∧b≥0⟹a2=b2⟹a=b
proof:
(A) a2=b2⟹(a+b)=0∨(a−b)=0
a≥0∧b≥0 =>[ (a>o or a=0)and (b>0 or b=0)] => [(a>o and b>o)or (a>0 and b=0) or (a=0 and b>0) or(a=0 and b=0)]
so we have:
1)(a>o and b>o) => a+b>0 => ¬(a+b=0) and using (A) we have a=b
2)(a>0 and b=0) => a+b=0 =a+0=0 => a=0=b => a=b
3) (a=0 and b>0) => a+b=0=0+b=0 => b=0=a => a=b
4)(a=0 and b=0) => a=0=b => a=b
Hence a2=b2⟹a=b
Is that proof correct?
a≥0∧b≥0⟹a2=b2⟹a=b
proof:
(A) a2=b2⟹(a+b)=0∨(a−b)=0
a≥0∧b≥0 =>[ (a>o or a=0)and (b>0 or b=0)] => [(a>o and b>o)or (a>0 and b=0) or (a=0 and b>0) or(a=0 and b=0)]
so we have:
1)(a>o and b>o) => a+b>0 => ¬(a+b=0) and using (A) we have a=b
2)(a>0 and b=0) => a+b=0 =a+0=0 => a=0=b => a=b
3) (a=0 and b>0) => a+b=0=0+b=0 => b=0=a => a=b
4)(a=0 and b=0) => a=0=b => a=b
Hence a2=b2⟹a=b
Is that proof correct?