Algebra question

tfinch2

Lifer
Feb 3, 2004
22,114
1
0
Substitute values for n, a, and b to see that they are not equal.

n = 2
a = 3
b = 2

2^2 + 3^2 = 4 + 9 = 13
(2 + 3)^2 = 5^2 = 25

13 != 25

Why would you need to rewrite that anyway?
 

GambiT

Golden Member
Oct 13, 1999
1,195
0
0
Okay, back to the drawing board.

I know that (n*a)^b = n^b * a^b

But any ideas on how to re-write my original equation?
 

GambiT

Golden Member
Oct 13, 1999
1,195
0
0
If I have n^b = (n+a)^b

Can I divide both sides by n^b? If so, what would be the result on the right side?
 

Argo

Lifer
Apr 8, 2000
10,045
0
0
Originally posted by: GambiT
If I have n^b = (n+a)^b

Can I divide both sides by n^b? If so, what would be the result on the right side?

In that case you have:

a = 0 and n can be anything, or
a = -2n (for even b's)

Not sure what that has to do with programming.
 

aCynic2

Senior member
Apr 28, 2007
710
0
0
Look on the wikipage esun provided. You see it as (n + a)^b, but it's proper form is

(a + b) ^ r

That follows Newton's binomial theorem.

I can't write it here because this forum software has poor formating support, but it's on that page.