Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Way to re-express this equation by writing x and y separate?

  1. Sep 2, 2013 #1
    Hi All,
    I have an equation like this:

    [itex]\sum_{i=0}^{n} x^{i}*y^{i}[/itex]

    is there a way to re-express this equation by writing x and y separate? Thank you
  2. jcsd
  3. Sep 2, 2013 #2


    User Avatar
    Science Advisor

    The expression can be looked at as the dot product of n+1 dimensional vectors. Ir can be written as:
    |x||y|cosθ, where θ is the angle between the vectors and |x| and |y| are the individual vector lengths. I suspect it won't be much help, since the usual way of finding the angle is using the dot product.
  4. Sep 2, 2013 #3


    User Avatar
    Science Advisor
    Homework Helper

    What you wrote is not actually an equation, it is an expression. An equation should have an equals sign (=) and something on the other side of it. You may think this is a bit nitpicky but it can matter a lot whether the sum should be equal to 0, for example, or to some complex value, or to some convenient value in which stuff cancels out.

    Assuming you want to rewrite your sum (and that * means scalar multiplication and not e.g. convolution) to something like
    ##\left( \sum f(x) \right) \left( \sum g(y) \right)##
    where f(x) and g(y) are some functions of only the x's and y's, respectively, in general the answer is no - you cannot do that, except for what mathman has already pointed out.

    However, I assume this question did not drop out of thin air; so maybe if you give us a bit more about the context that you asked it in we would be able to help you more.
  5. Sep 3, 2013 #4
    If you are trying to get estimates on something (like upper bounds) you can use Cauchy Schawrtz:

    [itex]\sum_{i=0}^{n} x^{i}*y^{i} \leq (\sum_{i=0}^{n} x_i^2)^{1/2}(\sum_{i=0}^{n} y_i^2)^{1/2}[/itex]
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook