B Super silly question about a polynomial identity

AI Thread Summary
The polynomial identity ##-(a-b)^n=(b-a)^n## is valid under certain conditions, specifically when n is an odd integer or when a equals b. The discussion explores the application of this identity through examples with low values of n, confirming its validity for n=2 and n=3. A rigorous demonstration could involve Newton's binomial theorem, but intuitive understanding can be achieved by applying the distribution law. The key takeaway is that the identity holds true for odd n, while for even n, the identity simplifies differently. Overall, the participants clarify the conditions under which the identity can be applied correctly.
greg_rack
Gold Member
Messages
361
Reaction score
79
Am I(always) legitimized to write ##-(a-b)^n=(b-a)^n##?
I don't know why but it's confusing me... can't really understand when and why I can use that identity
 
Mathematics news on Phys.org
Simply try some low numbers for ##n##. And of course, it is allow in case ##a=b##.
Or use the rule ##(\alpha\cdot \beta)^n=\alpha^n\cdot \beta^n.##
 
fresh_42 said:
Simply try some low numbers for ##n##. And of course, it is allow in case ##a=b##.
Yup, it works for ##n=2## and ##n=3##, so I'd say it could be generalized to any odd and even integer index...

I imagine the most rigorous demonstration for it would be done by using Newton's binomial theorem(?), but is there an intuitive/more-straightforward way to demonstrate it, in order to get me convinced? :)
 
How can it work for ##n=2## if squares are non negative, but the left hand side is? Use the distribution law and pull ##(-1)^n## out.
 
greg_rack said:
Yup, it works for ##n=2##
So, for example it would be true that -(2-1)*2 = (1-2)*2, yes?

EDIT: I see fresh beat me to it
 
fresh_42 said:
How can it work for ##n=2## if squares are non negative, but the left hand side is?
Nevermind, I wrote without thinking...

By the way:
$$(b-a)^n=[-1(a-b)]^n=(-1)^n(a-b)^n$$
which is equal to ##-(a-b)^n## only for odd indexes.
 
greg_rack said:
Nevermind, I wrote without thinking...

By the way:
$$(b-a)^n=[-1(a-b)]^n=(-1)^n(a-b)^n$$
which is equal to ##-(a-b)^n## only for odd indexes.
Yes, you have ## -(a-b)^n=(-1)^n(a-b)^n##. Now comes the important step which is usually forgotten and a never ending well of mistakes!

Case 1: ##(a-b)^n = 0 \Longrightarrow a=b##
Case 2: ##(a-b)^n\neq 0 \Longrightarrow (-1)^n=-1 \Longrightarrow n \text{ odd }##
 
  • Like
Likes phinds and greg_rack
fresh_42 said:
Yes, you have ## -(a-b)^n=(-1)^n(a-b)^n##. Now comes the important step which is usually forgotten and a never ending well of mistakes!

Case 1: ##(a-b)^n = 0 \Longrightarrow a=b##
Case 2: ##(a-b)^n\neq 0 \Longrightarrow (-1)^n=-1 \Longrightarrow n \text{ odd }##
Got it, thanks a lot!
 
greg_rack said:
Yup, it works for n = 2 and n = 3

Are you sure? Are you sure you're sure?
 
Back
Top