1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Distance formula in higher dimensions.

  1. Sep 8, 2008 #1
    1. The problem statement, all variables and given/known data
    Let [tex]A = (a_1, . . . , a_{2008}) \in \Re^{2008}[/tex], where [tex]a_i = \frac{1}{2^{i}}[/tex] for each [tex]i = 1, . . . , 2008[/tex]. Find the distance from the point [tex]A[/tex] to the origin. Please express your answer in the form [tex]\sqrt{\frac{a}{b}}[/tex] where [tex]a, b[/tex] are integers.


    2. Relevant equations
    Extended distance formula in [tex]\Re^{n}[/tex]


    3. The attempt at a solution
    Using what I knew about the distance from a point to the origin in two and three dimensions, I deduced the distance is

    [tex]\sqrt{\sum_{i=1}^{2008} a_i^2} = \sqrt{\sum_{j=1}^{2008} \frac{1}{2^{2j}}} = \sqrt{\sum_{k=0}^{2007} \frac{1}{4}\frac{1}{4^k}} = \left( \frac{1}{4} \right) \left( \frac{1 - \left( \frac{1}{4} \right)^{2008}}{1 - \frac{1}{4}} \right)[/tex]

    where the last equality is achieved through the finite geometric series formula. Now I did simplify that expression so that the numerator and denominator contained products of integers but when a problem normally asks for integers a and b, don't they usually want them in decimal notation? I mean I know that the numerator and denominator will be integers but the expression is too big to multiply out. Thus, I'm not quite sure of my solution to this problem. Thanks for your help.
     
  2. jcsd
  3. Sep 9, 2008 #2

    tiny-tim

    User Avatar
    Science Advisor
    Homework Helper

    say it in binary!

    Hi snipez90! :smile:

    Normally, yes …

    but I think 42008 - 1 is an exception! :biggrin:

    hmm … :rolleyes:

    if you really want to impess your professor

    (thought not necessarily favourably …)

    you could write the answer out in full …

    in binary! :wink: :biggrin:
     
  4. Sep 9, 2008 #3
    Haha well to be honest this isn't my pset. I'm itching for college to begin and thought I would prepare by trying the problem sets of friends who have already begun.

    I passed along the hint though, thanks for the confirmation :-D.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Distance formula in higher dimensions.
Loading...