I think the only thing that is missing is that summation does not automatically split out parts that it can do. https://code.google.com/p/sympy/issues/detail?id=2297 is also relevant here.
Aaron Meurer On Thu, Feb 21, 2013 at 11:39 AM, Matthew Rocklin <[email protected]> wrote: > Ah, yes, that is helpful. > > In general I'm looking for an automated solution for problems like this. > I'd like to solve this problem without being smart :) > > > On Thu, Feb 21, 2013 at 10:35 AM, Tom Bachmann <[email protected]> wrote: >> >> Multiplying through by lambda and taking terms independent of i from the >> sum, I seem to get 4 \sum x_i = n(lambda^2 - 6\lambda). This is just a >> quadratic equation for lambda. >> >> Am I missing something? >> >> Best, >> Tom >> >> >> On 21.02.2013 18:31, Matthew Rocklin wrote: >>> >>> I need to solve the following problem for lambda. >>> >>> n >>> ____ >>> ╲ >>> ╲ 2 >>> ╲ - λ + 6⋅λ + 4⋅xᵢ >>> ╱ ───────────────── = 0 >>> ╱ 4⋅λ >>> ╱ >>> ‾‾‾‾ >>> i = 1 >>> >>> This is the end of a simplification around a data-oriented problem. In >>> the future I will be given a set of many `x_i`s as data and will be >>> asked to solve for lambda. I'm trying to make this future computation >>> as simple as possible. >>> >>> Can SymPy help me to reduce this problem any further? (it has already, >>> by the way, done wonders.) >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "sympy" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at http://groups.google.com/group/sympy?hl=en. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "sympy" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/sympy?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sympy?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
