Algebraic expression

Discussion in 'Community Discussion' started by patent10021, Jan 19, 2016.

  1. patent10021 macrumors 68020

    patent10021

    Joined:
    Apr 23, 2004
    #1
    How does

    (function / 4.0 * 2.0) + (1.0 / 4.0)

    become

    ((function * 2.0) + 1.0) / 4

    ?
     
  2. mobilehaathi macrumors G3

    mobilehaathi

    Joined:
    Aug 19, 2008
    Location:
    The Anthropocene
    #2
    You factored out a 1/4. It follows from the distributive property.
     
  3. patent10021 thread starter macrumors 68020

    patent10021

    Joined:
    Apr 23, 2004
    #3
    Oh snap! That's right. I kept thinking it was an equation and had to do it to the other side as well, but it's only an expression!

    But wait. Isn't it function OVER 4 * 2 not function OVER 4? We have to adhere to PEDMAS
     
  4. mobilehaathi macrumors G3

    mobilehaathi

    Joined:
    Aug 19, 2008
    Location:
    The Anthropocene
    #4
    Pay attention to your parentheses. You wrote
    Code:
    (function / 4.0 * 2.0) + (1.0 / 4.0)
    which is NOT equivalent to
    Code:
    (function / (4.0 * 2.0)) + (1.0 / 4.0)
    which is, I believe, what you are thinking.
     
  5. patent10021, Jan 19, 2016
    Last edited: Jan 19, 2016

    patent10021 thread starter macrumors 68020

    patent10021

    Joined:
    Apr 23, 2004
    #5
    Yes you are right. I was thinking that. So in reality this expression is easier than I made it out to be lol Ridonculous.

    You just need to know the excursion types plus PEDMAS and you're set.

    Thank you.
     

Share This Page