This is the first question in Thomas' Calculus Appendix on Proof by Induction Exercise (Exercise A.1).
As the title suggests, I'd like to prove by induction that |x1+x2+...+xn|≤|x1|+|x2|+…+|xn| is true for any n numbers.
You are told to assume that the triangle inequality |a+b|≤|a|+|b| is true.
I'm 17 and I've only done Proof By Induction in Further Pure 1 (A first year module in Further Pure Mathematics at College, in the UK), so sorry if this seems incredibly simple. So far I have this:
Let n = 2 ⟹LHS=|1+2|=|3|=3⟹RHS=|1|+|2|=1+2=3Therefore I have proved it for n = 2 Assume that n=k is true, Let n=k+1
And that's about it :).
I know how to say it in words; that the LHS is the absolute value of the sum of all n numbers, therefore when x∈R− the actual value of the sum of all n numbers could be negative, where as the RHS is the sum absolute value of each x... but I don't know how to prove it...
Thanks.
Answer
In the induction step you have |x1+…+xn|≤|x1|+…+|xn| and want ot show |x1+…+xn+xn+1|≤|x1|+…+|xn|+|xn+1|.
Simply plug a=x1+…+xn, b=xn+1 into the triangle inequality to obtain
|x1+…+xn+xn+1|=|a+b|≤|a|+|b|=|x1+…+xn|+|xn+1|≤|x1|+…+|xn|+|xn+1|.
No comments:
Post a Comment