Jump to content

a^n +/- b^n

Featured Replies

Hello everyone

 

I'd just like to known if the formulas below are correct. Normally I wouldn't post such a short/maybe dumb question, but since Wolfram|Alpha won't generate these formulas, which are, according to me, somewhat obvious, I'd just like to know if there are correct.

 

[math]a^n-b^n=(a-b)\cdot \sum_{i=1}^n{\left(a^{n-i}\cdot b^{i-1}\right)}[/math]

 

[math]a^n+b^n=(a+b)\cdot \sum_{i=1}^n{\left((-1)^{i-1}\cdot a^{n-i}\cdot b^{i-1}\right)}[/math]

 

Thanks.

 

Function

Hello,

 

Inputting the expression "Simplify [//math:(a-b)*(sum (a^(n-i) * b^(i-1)), i=1 to n)//]" into WolframAlpha yields:

a^n + b^n for a != b

 

(as expected)

 

How did you derive these results? What was your thought process?

Edited by Sato

  • Author

Hello,

 

Inputting the expression "Simplify [//math:(a-b)*(sum (a^(n-i) * b^(i-1)), i=1 to n)//]" into WolframAlpha yields:

a^n + b^n for a != b

 

(as expected)

 

How did you derive these results? What was your thought process?

 

Blame it on my brains, which want to find a general formula for special expressions, like a^n +/- b^n ;)

I first looked for n even, so I found:

[math]a^{2n}-b^{2n}=(a^n-b^n)(a^n+b^n)[/math]

 

And then for n odd, looked up what a^3+b^3, a^5+b^5, a^7+b^7, ... equals when facotized, and then I found the formulas in #1. So, I guess they only work if n is odd.

Edited by Function

Hello everyone

 

I'd just like to known if the formulas below are correct. Normally I wouldn't post such a short/maybe dumb question, but since Wolfram|Alpha won't generate these formulas, which are, according to me, somewhat obvious, I'd just like to know if there are correct.

 

[math]a^n-b^n=(a-b)\cdot \sum_{i=1}^n{\left(a^{n-i}\cdot b^{i-1}\right)}[/math]

 

[math]a^n+b^n=(a+b)\cdot \sum_{i=1}^n{\left((-1)^{i-1}\cdot a^{n-i}\cdot b^{i-1}\right)}[/math]

 

Thanks.

 

Function

The first formula is true for all n. The second only for odd n.

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.