Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #9885
| From | Vladimir M <vladimir7523@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Struggling to prove simple triangle inequality |
| Date | 2012-04-30 08:44 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jnljcu$n5b$1@smc.vnet.net> (permalink) |
Greetings!
Given two 3D vectors A and B, I want to prove that length of their sum
is less or equal than the sum of their lengths:
length[v_] := Sqrt[v.v];
a = {ax, ay, az};
b = {bx, by, bz};
inequality = length[a + b] <= length[a] + length[b];
This is famous, well-known and quite obvious: triangle side is shorter
than the sum of other sides, straight line is shorter than non-
straight, etc. However, proving it formally is hard.
This fails:
assum = Element[ax | ay | az | bx | by | bz, Reals];
FullSimplify[inequality, assum]
This takes ages on a high-end PC with unknown result:
vars = {ax, ay, az, bx, by, bz};
Reduce[inequality, vars, Reals]
Anyone can help? I think Reduce should somehow make it because it
actually succeeds at least with 2D vectors.
--
All the best,
Vladimir
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
Struggling to prove simple triangle inequality Vladimir M <vladimir7523@gmail.com> - 2012-04-30 08:44 +0000 Re: Struggling to prove simple triangle inequality danl@wolfram.com - 2012-05-01 19:00 +0000 Re: Struggling to prove simple triangle inequality Murray Eisenberg <murray@math.umass.edu> - 2012-05-02 09:46 +0000 Re: Struggling to prove simple triangle inequality Murray Eisenberg <murray@math.umass.edu> - 2012-05-03 08:33 +0000
csiph-web