Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. The Lounge
  3. math issue

math issue

Scheduled Pinned Locked Moved The Lounge
help
12 Posts 10 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M mystro_AKA_kokie

    Please prove the following assertion:"The absolute value of a sum of two numbers is never larger than the sum of their absolute values." The Triangle Inequality |a+b| <= |a| + |b|. for all number 'a' and 'b'. while u're at it,please give me some pointers to some math magazine sites. It's a sh*tty world. Take advantage of whomever,whenever,whereever. And oh.. becarefull what you say to me,am too sensitive.Or i might just show up at your house.

    B Offline
    B Offline
    Brad Jennings
    wrote on last edited by
    #3

    Damn dude, it makes so much sense but I don't remember how to prove it. Brad Jennings "You're mom is nice. Mind if I go out with her?" - Jörgen Sigvardsson

    1 Reply Last reply
    0
    • M mystro_AKA_kokie

      Please prove the following assertion:"The absolute value of a sum of two numbers is never larger than the sum of their absolute values." The Triangle Inequality |a+b| <= |a| + |b|. for all number 'a' and 'b'. while u're at it,please give me some pointers to some math magazine sites. It's a sh*tty world. Take advantage of whomever,whenever,whereever. And oh.. becarefull what you say to me,am too sensitive.Or i might just show up at your house.

      S Offline
      S Offline
      Stuart van Weele
      wrote on last edited by
      #4

      Google for "triangle inequality".

      1 Reply Last reply
      0
      • M mystro_AKA_kokie

        Please prove the following assertion:"The absolute value of a sum of two numbers is never larger than the sum of their absolute values." The Triangle Inequality |a+b| <= |a| + |b|. for all number 'a' and 'b'. while u're at it,please give me some pointers to some math magazine sites. It's a sh*tty world. Take advantage of whomever,whenever,whereever. And oh.. becarefull what you say to me,am too sensitive.Or i might just show up at your house.

        C Offline
        C Offline
        Chris Maunder
        wrote on last edited by
        #5

        |a+b|2 = (a+b)2
        = a2 + 2ab + b2
        <= |a|2 + 2|a||b| + |b|2
        = (|a| + |b|)2
        => |a+b| <= |a| + |b|

        or

        For all a,b in R:

        We have -|a| <= a <= |a| (defn of absolute value)
        Sim'ly -|b| <= b <= |b|

        So -|a|-|b| <= a+b <= |a|+|b|
        +> |a+b| <= |a|+|b|

        cheers, Chris Maunder

        X 1 Reply Last reply
        0
        • M mystro_AKA_kokie

          Please prove the following assertion:"The absolute value of a sum of two numbers is never larger than the sum of their absolute values." The Triangle Inequality |a+b| <= |a| + |b|. for all number 'a' and 'b'. while u're at it,please give me some pointers to some math magazine sites. It's a sh*tty world. Take advantage of whomever,whenever,whereever. And oh.. becarefull what you say to me,am too sensitive.Or i might just show up at your house.

          W Offline
          W Offline
          Wesner Moise
          wrote on last edited by
          #6

          Proof: |x| = x , if x >= 0 |x| = -x , otherwise Case 1: Both a and b >= 0. Then, |a| = a, by definition. Then, |b| = b, by definition Adding both inequalities yields a+b >= 0, so |a+b| = a+b So, |a| + |b| = a + b = | a + b | Thus, the two sides are equal Case 2: A >= 0 , B < 0 |A| = A |B| = -B |A| + |B| = A - B Since B < 0, -B > 0 by multiplication of -1 Thus A - B > 0 and |A| + |B| > 0 if A+B < 0, Then |A+B| < 0 < |A| + |B| if A+B > 0, then |A+B| = A + B, by definition | A + B | - ( | A | + | B | ) = A + B - ( A - B ) = 2B < 0, since B < 0 Adding |A| + |B| to both sides, we have | A + B | < | A | + | B | Case 3: A is negative, B is nonnegative By the commutative property of addition, |A| + |B| = |B| + |A| and |A + B| = |B + A| Reverse the roles of A and B, and proof follows from Case 2 Case 4: Both A<0 and B<0 |A| = -A |B| = -B The addition of two negative numbers is also negative. Since A < 0 and B < 0, adding both inequalities results yields A + B < 0 Thus, by definition, |A+B| = -(A+B) Thus, |A| + |B| = (-A) + (-B), by substitution, = -(A+B), by distributive property of multiplication over addition = | A + B |, by equality Both sides of the equation are equal All cases are proved. QED

          M 1 Reply Last reply
          0
          • W Wesner Moise

            Proof: |x| = x , if x >= 0 |x| = -x , otherwise Case 1: Both a and b >= 0. Then, |a| = a, by definition. Then, |b| = b, by definition Adding both inequalities yields a+b >= 0, so |a+b| = a+b So, |a| + |b| = a + b = | a + b | Thus, the two sides are equal Case 2: A >= 0 , B < 0 |A| = A |B| = -B |A| + |B| = A - B Since B < 0, -B > 0 by multiplication of -1 Thus A - B > 0 and |A| + |B| > 0 if A+B < 0, Then |A+B| < 0 < |A| + |B| if A+B > 0, then |A+B| = A + B, by definition | A + B | - ( | A | + | B | ) = A + B - ( A - B ) = 2B < 0, since B < 0 Adding |A| + |B| to both sides, we have | A + B | < | A | + | B | Case 3: A is negative, B is nonnegative By the commutative property of addition, |A| + |B| = |B| + |A| and |A + B| = |B + A| Reverse the roles of A and B, and proof follows from Case 2 Case 4: Both A<0 and B<0 |A| = -A |B| = -B The addition of two negative numbers is also negative. Since A < 0 and B < 0, adding both inequalities results yields A + B < 0 Thus, by definition, |A+B| = -(A+B) Thus, |A| + |B| = (-A) + (-B), by substitution, = -(A+B), by distributive property of multiplication over addition = | A + B |, by equality Both sides of the equation are equal All cases are proved. QED

            M Offline
            M Offline
            mystro_AKA_kokie
            wrote on last edited by
            #7

            base assumption: a>b(basic principle would work otherwise) first list all possible configurations of a+b(in terms of the signs they may have.then evaluate).

            left side of inequality

            (both a&b positive)a+b = c0,|c0| == c0 == (|a|+|b|(right side)); (both a&b negative)-a+(-b) = -c0,|-c0| = -(-c0) = c0; ('a' negative)-a+b = -c1,|-c1|<|c0|; ('b' negative)a+(-b)= c2,(|-c1|==|c2|)<|c0|; proff: all results on left side satisfy inequality. :) It's a sh*tty world. Take advantage of whomever,whenever,whereever. And oh.. becarefull what you say to me,am too sensitive.Or i might just show up at your house.

            1 Reply Last reply
            0
            • M mystro_AKA_kokie

              Please prove the following assertion:"The absolute value of a sum of two numbers is never larger than the sum of their absolute values." The Triangle Inequality |a+b| <= |a| + |b|. for all number 'a' and 'b'. while u're at it,please give me some pointers to some math magazine sites. It's a sh*tty world. Take advantage of whomever,whenever,whereever. And oh.. becarefull what you say to me,am too sensitive.Or i might just show up at your house.

              N Offline
              N Offline
              nay
              wrote on last edited by
              #8

              AAAAAAAHHHHHHHHHHHRRRRRRRRRRGGGGGGGGGHHHHHHHHHHHHHHH!!!!!!!!!!!. I just took a final in Non-Euclidean Geometry today! Luckily I didn't have to prove this (we proved it on an earlier test). I'm glad that class is over. nay

              1 Reply Last reply
              0
              • M mystro_AKA_kokie

                Please prove the following assertion:"The absolute value of a sum of two numbers is never larger than the sum of their absolute values." The Triangle Inequality |a+b| <= |a| + |b|. for all number 'a' and 'b'. while u're at it,please give me some pointers to some math magazine sites. It's a sh*tty world. Take advantage of whomever,whenever,whereever. And oh.. becarefull what you say to me,am too sensitive.Or i might just show up at your house.

                C Offline
                C Offline
                ColinDavies
                wrote on last edited by
                #9

                For it to be equal the difference between the numbers must be 1 and when multiplied the product must be 1. So a constant of 1.6180339887498948482045868343656.... solves it for equality, or (Sqrt 5 + 1)/2 For anything less than this it will fail. Of course things are different with irrational numbers. :-) Quite shocking that other CPIans have given you all these bogus algebraic answers, when you need your homework done. :-) Regardz Colin J Davies

                Sonork ID 100.9197:Colin

                Warning Link to the minion's animation, do not use. It's a real shame that people as stupid as you can work out how to use a computer. said by Christian Graus in the Soapbox

                1 Reply Last reply
                0
                • C Chris Maunder

                  |a+b|2 = (a+b)2
                  = a2 + 2ab + b2
                  <= |a|2 + 2|a||b| + |b|2
                  = (|a| + |b|)2
                  => |a+b| <= |a| + |b|

                  or

                  For all a,b in R:

                  We have -|a| <= a <= |a| (defn of absolute value)
                  Sim'ly -|b| <= b <= |b|

                  So -|a|-|b| <= a+b <= |a|+|b|
                  +> |a+b| <= |a|+|b|

                  cheers, Chris Maunder

                  X Offline
                  X Offline
                  Xiangyang Liu
                  wrote on last edited by
                  #10

                  Proof by contradiction: the opposite can't be true. If      |a+b| > |a|+|b| is true, then either (a)     a+b > |a|+|b| or (b)     -(a+b) > |a|+|b| From (a) we get      a > |a|+|b|-b = |a|+(|b|-b) >= |a|, so a > |a| From (b) we get      -a > |a|+|b|+b = |a|+(|b|+b) >= |a|, so -a > |a| Both conclusions are false. ;) Click here to see my articles and software tools

                  C 1 Reply Last reply
                  0
                  • M mystro_AKA_kokie

                    Please prove the following assertion:"The absolute value of a sum of two numbers is never larger than the sum of their absolute values." The Triangle Inequality |a+b| <= |a| + |b|. for all number 'a' and 'b'. while u're at it,please give me some pointers to some math magazine sites. It's a sh*tty world. Take advantage of whomever,whenever,whereever. And oh.. becarefull what you say to me,am too sensitive.Or i might just show up at your house.

                    B Offline
                    B Offline
                    brianwelsch
                    wrote on last edited by
                    #11

                    A formal proof is not needed because it falls under the realm of Euclid's Rule of Common Sense. Euclid said: "Any Equations which upon first glance seem natural and true, need not be proven, for your time would be wasted, and I abhor wasting time." I swear it's true, he did say that. Really. BW "I always wanted to be somebody, but now I realize I should have been more specific." - Lily Tomlin

                    1 Reply Last reply
                    0
                    • X Xiangyang Liu

                      Proof by contradiction: the opposite can't be true. If      |a+b| > |a|+|b| is true, then either (a)     a+b > |a|+|b| or (b)     -(a+b) > |a|+|b| From (a) we get      a > |a|+|b|-b = |a|+(|b|-b) >= |a|, so a > |a| From (b) we get      -a > |a|+|b|+b = |a|+(|b|+b) >= |a|, so -a > |a| Both conclusions are false. ;) Click here to see my articles and software tools

                      C Offline
                      C Offline
                      Chris Maunder
                      wrote on last edited by
                      #12

                      Nice. cheers, Chris Maunder

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups