How to merge the sum and ##x^n##?

  • B
  • Thread starter MevsEinstein
  • Start date
  • Tags
    Sum
  • #1
MevsEinstein
124
36
TL;DR Summary
What the title says
How do I merge ##x^n + \displaystyle\sum^x_{k=1} \frac{d^k}{d^kx} \frac{x^ny^k}{k}##? I tried changing the denominator of the summand to ##k+1## and make ##k## go from zero, but I had to divide by zero when k equaled one.
 
Mathematics news on Phys.org
  • #2
MevsEinstein said:
Summary: What the title says

How do I merge ##x^n + \displaystyle\sum^x_{k=1} \frac{d^k}{d^kx} \frac{x^ny^k}{k}##? I tried changing the denominator of the summand to ##k+1## and make ##k## go from zero, but I had to divide by zero when k equaled one.
Is the upper bound index of your sum right? With to merge both terms, you mean to write everything as a unique sum?
 
  • #3
I'm not able to guess what you mean by this expression -- ##x^n + \displaystyle\sum^x_{k=1} \frac{d^k}{d^kx} \frac{x^ny^k}{k}##. The upper limit of the summation should not be x, and it should be something other than n.

Also, and this is minor, your derivative is not formed correctly. The usual notation for the k-th derivative operator with respect to x is ##\frac {d^k}{dx^k}##.

Once you get the summation written correctly, the ##x^n## term outside the summation would get added to the corresponding term(s) of the summation. You'll probably need to expand the summation to get the addition right. Sums like this show up in power series solutions of differential equations.
 
  • Like
Likes Delta2
  • #4
Assuming your sum goes from 1 to n: While it's possible to write this as ##\displaystyle \sum_{k=0}^n ...## it will look ugly. What's the point of this transformation?
 
  • #5
Hold up the upper bound is ##n##. I couldn't edit though.
 
  • #6
LCSphysicist said:
you mean to write everything as a unique sum?
I wanted to get rid of ##x^n## and put something in replacement inside the summand of the sum so that the expression is the same. And my upper bound was supposed to be ##n##, sorry for the misconvenience. I couldn't edit for some reason.
 
  • #7
Ah, I missed that the yk term disappears on its own for k=0 in my previous post. Then it's only mildly ugly.
$$x^n + \sum^n_{k=1} \frac{d^k}{dx^k} \frac{x^ny^k}{k} = \sum^n_{k=0} \frac{d^k}{dx^k} \frac{x^ny^k}{|k-1/2|+1/2}$$

The denominator can be replaced by max(1,k).
 
Last edited:
  • #8
mfb said:
$$x^n + \sum^n_{k=1} \frac{d^k}{d^kx} \frac{x^ny^k}{k} = \sum^n_{k=0} \frac{d^k}{d^kx} \frac{x^ny^k}{|k-1/2|+1/2}$$
Minor nit: the derivatives in the above should be
mfb said:
$$x^n + \sum^n_{k=1} \frac{d^k}{dx^k} \frac{x^ny^k}{k} = \sum^n_{k=0} \frac{d^k}{dx^k} \frac{x^ny^k}{|k-1/2|+1/2}$$
 
  • #9
But
$$ x^n + \sum^n_{k=1} \frac{d^k}{dx^k} \frac{x^ny^k}{k} $$
is simpler than
$$ \sum^n_{k=0} \frac{d^k}{dx^k} \frac{x^ny^k}{|k-1/2|+1/2} $$
so why not stick with that?

Anyway, what is ## y ## ?
 
  • #10
pbuk said:
But
$$ x^n + \sum^n_{k=1} \frac{d^k}{dx^k} \frac{x^ny^k}{k} $$
is simpler than
$$ \sum^n_{k=0} \frac{d^k}{dx^k} \frac{x^ny^k}{|k-1/2|+1/2} $$
so why not stick with that?

Anyway, what is ## y ## ?
Actually let's just stick with that. The expression is equal to \(\displaystyle (x+y)^n\). Turns out that this formula is harder to use than the one we have now.
 
  • #11
Mark44 said:
Minor nit: the derivatives in the above should be
Copy&paste error, fixed.

@pbuk: That's my point, the original expression is easier.
MevsEinstein said:
The expression is equal to \(\displaystyle (x+y)^n\).
Only if you make it a k! in the denominator.
 
  • Like
Likes pbuk

Similar threads

Replies
8
Views
2K
Replies
4
Views
2K
Replies
3
Views
1K
Replies
3
Views
1K
Replies
2
Views
1K
Replies
6
Views
2K
Replies
3
Views
1K
Back
Top