Results 1 to 1 of 1

Math Help - optimized distance betwee vectors using their linear combinations ?

  1. #1
    Newbie
    Joined
    Dec 2007
    Posts
    14

    optimized distance betwee vectors using their linear combinations ?

    Hi,

    given a set of fix vectors V = v_{1}, v_{2}, ..., v_{n} and a set of vectors A = \alpha_{1}, \alpha_{2}, ..., \alpha_{k} where all \alpha_{i} can be expressed as a convex combination of the vectors in V:

    <br />
a_{i} = \lambda_{i,1} \cdot v_{1} + \lambda_{i,2} \cdot v_{2} + ... + \lambda_{i,n} \cdot v_{n}<br />

    where  \lambda_{i,j} is the j'th coefficient of vector i.
    Also  \lambda_{i,1} + \lambda_{i,2}  + ... + \lambda_{i,n} = 1 and  \lambda_{i,j} >= 0

    Now the mission is: given a vector \alpha_{1} \in A, find the vector \alpha_{2} \in A which has the smallest distance to  \alpha_{1} using the squared euclid distance  \| \alpha_{1} - \alpha_{2} \|^{2} (and of course \alpha_{1} != \alpha_{2}).

    Suppose that the vectors in A are stored in their convex combination form and that the combination is not calculated yet.

    An easy but expensive way to solve the problem is:
    1) calculate the convex combinations for all vectors in A
    2) find \alpha_{2} by comparing the distance of \alpha_{1} to all vactors in A and picking the one with the smallest distance.

    Is there an alternative way to efficiently calculate this (from a practical + implementation point of view) ? Probably by respecting the fact that the vectors in V do not change and that the vectors in  A are expressed as convex combination.

    (We assume that all vectors are in  R^{n}.)


    kind regards,
    Andreas
    Last edited by sirandreus; June 5th 2008 at 05:35 AM.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 3
    Last Post: June 30th 2011, 09:05 PM
  2. vectors distance
    Posted in the Pre-Calculus Forum
    Replies: 1
    Last Post: January 17th 2010, 06:42 AM
  3. vectors distance and velocity - FP3
    Posted in the Algebra Forum
    Replies: 1
    Last Post: August 30th 2009, 02:19 AM
  4. Distance between vectors and absolute sum
    Posted in the Advanced Algebra Forum
    Replies: 0
    Last Post: April 5th 2008, 10:59 PM
  5. optimized problem
    Posted in the Calculus Forum
    Replies: 1
    Last Post: March 16th 2007, 06:06 AM

Search Tags


/mathhelpforum @mathhelpforum