Proving the General Formula for X^n - y^n

  • Thread starter Thread starter DavidSnider
  • Start date Start date
  • Tags Tags
    Proof
Click For Summary
SUMMARY

The forum discussion centers on proving the general formula for the difference of powers, specifically \(x^n - y^n = (x - y)(x^{n-1} + x^{n-2}y + \ldots + xy^{n-2} + y^{n-1}\). Participants reference Spivak's calculus book and discuss strategies for expanding the right-hand side (RHS) to demonstrate the cancellation of terms. Key techniques include multiplying out the terms and aligning them for clarity to show the cancellation pattern. The conversation emphasizes the importance of clear presentation in mathematical proofs.

PREREQUISITES
  • Understanding of polynomial expansion
  • Familiarity with mathematical proofs
  • Knowledge of algebraic identities
  • Experience with Spivak's calculus book
NEXT STEPS
  • Study polynomial identities and their proofs
  • Learn about mathematical proof techniques, particularly in calculus
  • Practice expanding and simplifying algebraic expressions
  • Explore additional examples of the difference of powers in algebra
USEFUL FOR

Students studying calculus, particularly those using Spivak's textbook, as well as educators and anyone interested in mastering algebraic proofs and polynomial identities.

DavidSnider
Gold Member
Messages
511
Reaction score
147

Homework Statement


Prove xn - yn = (x-y)(xn-1 + xn-2y + ... + xyn-2 + yn-1)


Homework Equations


See Above

The Attempt at a Solution


The previous problem in the book was:
Prove:
x3 - y3 = (x - y)(x2 + xy + y2)

(x - y)(x2 + xy + y2)
(x)(x2 + xy + y^2) + (-y)(x2 + xy + y2)
(x3 + x2y + xy2) + (-x2y - xy2 - y3)
x3 + x2y + xy2 - x2y - xy2 - y3
x3 - y3

I'm not sure how to show the same thing when the exponent is variable though.
 
Physics news on Phys.org
Do the same thing you did for x^3-y^3. Multiply out the right side. Many terms cancel.
 
I know they cancel, but.. how am I supposed to show that?
 
random do you happen to be using the Spivaks calculus book?

try multiplying (x-y) with all of the terms you have listedm like xn-1, xn-2y, etc and go from there
 
Yes, I am using Spivak's calculus. It's unlike any math book I've ever used before, so I am kind of confused as to what they are expecting me to do.

I'll think about what you just said.
 
I definitely agree with you. I too am using Spivak's calculus book (my class just finished chapter 2, I'm a sophomore so I'm going a little slower through the book). But yeah start by multiplying the beginning terms you have, and the end terms you have. good luck!
 
Write out x*(x^(n-1)+x^(n-2)*y+...+x*y^(n-2)+y^(n-1)) and y*(x^(n-1)+x^(n-2)*y+...+x*y^(n-2)+y^(n-1)) and look for things that cancel. E.g. x*x^(n-2)*y cancels y*x^(n-1), x*x^(n-3)*y^2 cancels y*x^(n-2)*y. I know you can't write out all of the terms. You'll have to use the '...' to express what you mean. It might help to write the two expanded products on separate lines and shift one over so cancelling terms are above each other.
 
Last edited:
<br /> (x-y)(x^{n-1} + x^{n-2}y + ... + xy^{n-2} + y^{n-1})<br />

<br /> (x)(x^{n-1} + x^{n-2}y + ... + xy^{n-2} + y^{n-1}) + <br /> (-y)(x^{n-1} + x^{n-2}y + ... + xy^{n-2} + y^{n-1})<br />

<br /> (x^{n-1+1} + x^{n-2+1}y + ... + x^{2}y^{n-2} + xy^{n-1}) + <br /> (-x^{n-1}y - x^{n-2}y^{2} - ... - xy^{n-2+1} - y^{n-1+1})<br />

<br /> x^{n} + x^{n-1}y + ... + x^{2}y^{n-2} + xy^{n-1}<br /> -x^{n-1}y - x^{n-2}y^{2} - ... - xy^{n-1} - y^{n}<br />

<br /> x^{n} + ... + x^{2}y^{n-2} - x^{n-2}y^{2} - ... - y^{n}<br />

... now I'm stuck.
 
Last edited:
Well, to prove x^n-y^n=(x-y)(x^{n-1}+x^{n-2}y+x^{n-3}y^2+...+xy^{n-2}+y^{n-1})
we are just going to expand the RHS.

RHS=x(x^{n-1}+x^{n-2}y+...+xy^{n-2}+y^{n-1}) - y(x^{n-1}+x^{n-2}y+...+xy^{n-2}+y^{n-1})

The first factor is expanded:
x^n+x^{n-1}y+x^{n-2}y^2+...+x^2y^{n-2}+xy^{n-1}

The second factor is expanded:
-(x^{n-1}y+x^{n-2}y^2+...+x^2y^{n-2}+xy^{n-1}+y^n)

Do you notice any cancelling pattern happening?
 
  • #10
Mentallic said:
Well, to prove x^n-y^n=(x-y)(x^{n-1}+x^{n-2}y+x^{n-3}y^2+...+xy^{n-2}+y^{n-1})
we are just going to expand the RHS.

RHS=x(x^{n-1}+x^{n-2}y+...+xy^{n-2}+y^{n-1}) - y(x^{n-1}+x^{n-2}y+...+xy^{n-2}+y^{n-1})

The first factor is expanded:
x^n+x^{n-1}y+x^{n-2}y^2+...+x^2y^{n-2}+xy^{n-1}

The second factor is expanded:
-(x^{n-1}y+x^{n-2}y^2+...+x^2y^{n-2}+xy^{n-1}+y^n)

Do you notice any cancelling pattern happening?

Yeah I knew they all canceled intuitively, just wasn't sure how to show it on paper.
Filling in the blanks one step further makes it more clear.
 
  • #11
Well how about making it obvious to the examiner that you realize they cancel by lining up each equal term?

i.e. after the line x(x^{n-1}+x^{n-2}y+...+xy^{n-2}+y^{n-1}) - y(x^{n-1}+x^{n-2}y+...+xy^{n-2}+y^{n-1})

Then expand the first factor on 1 line, then expand the next factor on the line underneath, but keep cancelling factors in line with each other.

x^n+x^{n-1}y+x^{n-2}y^2+...+x^2y^{n-2}+xy^{n-1}
...-x^{n-1}y-x^{n-2}y^2-... -x^2y^{n-2} - xy^{n-1} - y^n

get the idea? :smile:
 

Similar threads

Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 17 ·
Replies
17
Views
3K
Replies
6
Views
3K
Replies
11
Views
10K
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 3 ·
Replies
3
Views
8K
  • · Replies 7 ·
Replies
7
Views
11K