Proving the General Formula for X^n - y^n (2025)

  • Forums
  • Homework Help
  • Precalculus Mathematics Homework Help
  • Thread starterDavidSnider
  • Start date
  • Tags
    Proof

In summary, to prove the statement 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 can expand the right-hand side to get 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, by lining up like terms and cancelling them out, we can see that all terms cancel except for x^n

  • #1

DavidSnider

Gold Member

511
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.

  • #2

Dick

Science Advisor

Homework Helper

26,258
623

Do the same thing you did for x^3-y^3. Multiply out the right side. Many terms cancel.

  • #3

DavidSnider

Gold Member

511
147

I know they cancel, but.. how am I supposed to show that?

  • #5

DavidSnider

Gold Member

511
147

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.

  • #6

pyrosilver

39
0

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!

  • #7

Dick

Science Advisor

Homework Helper

26,258
623

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:

  • #8

DavidSnider

Gold Member

511
147

[tex]
(x-y)(x^{n-1} + x^{n-2}y + ... + xy^{n-2} + y^{n-1})
[/tex]

[tex]
(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})
[/tex]

[tex]
(x^{n-1+1} + x^{n-2+1}y + ... + x^{2}y^{n-2} + xy^{n-1}) +
(-x^{n-1}y - x^{n-2}y^{2} - ... - xy^{n-2+1} - y^{n-1+1})
[/tex]

[tex]
x^{n} + x^{n-1}y + ... + x^{2}y^{n-2} + xy^{n-1}
-x^{n-1}y - x^{n-2}y^{2} - ... - xy^{n-1} - y^{n}
[/tex]

[tex]
x^{n} + ... + x^{2}y^{n-2} - x^{n-2}y^{2} - ... - y^{n}
[/tex]

... now I'm stuck.

Last edited:

  • #9

Mentallic

Homework Helper

3,802
95

Well, to prove [tex]x^n-y^n=(x-y)(x^{n-1}+x^{n-2}y+x^{n-3}y^2+...+xy^{n-2}+y^{n-1})[/tex]
we are just going to expand the RHS.

[tex]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})[/tex]

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

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

Do you notice any cancelling pattern happening?

  • #10

DavidSnider

Gold Member

511
147

Mentallic said:

Well, to prove [tex]x^n-y^n=(x-y)(x^{n-1}+x^{n-2}y+x^{n-3}y^2+...+xy^{n-2}+y^{n-1})[/tex]
we are just going to expand the RHS.

[tex]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})[/tex]

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

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

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

Mentallic

Homework Helper

3,802
95

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 [tex]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})[/tex]

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.

[tex]x^n+x^{n-1}y+x^{n-2}y^2+...+x^2y^{n-2}+xy^{n-1}[/tex]
[tex]...-x^{n-1}y-x^{n-2}y^2-... -x^2y^{n-2} - xy^{n-1} - y^n[/tex]

get the idea? Proving the General Formula for X^n - y^n (1)

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

How do you prove the formula for X^n - y^n?

The formula for X^n - y^n can be proven using mathematical induction. This method involves showing that the formula holds for the base case, typically n = 1, and then assuming that it holds for some arbitrary value of n, and proving that it also holds for n+1. This process is repeated until the desired formula is proven to hold for all values of n.

What is the significance of the formula for X^n - y^n?

The formula for X^n - y^n has various applications in mathematics, particularly in algebra and calculus. It is used to factorize polynomial expressions and solve equations involving powers, and is also used in the study of limits and derivatives.

Can the formula for X^n - y^n be extended to complex numbers?

Yes, the formula for X^n - y^n can be extended to complex numbers. In this case, the formula becomes (X-y)(X^{n-1}+X^{n-2}y+...+Xy^{n-2}+y^{n-1}), where n is a positive integer. This extension is useful in solving equations involving complex numbers.

What happens if n is a negative integer in the formula for X^n - y^n?

If n is a negative integer, the formula for X^n - y^n can be rewritten using negative exponents, which gives (X^{-n}-y^{-n}). This formula can be further simplified using the laws of exponents to give (y^n-X^n). Therefore, the formula still holds for negative values of n.

Are there any other methods to prove the formula for X^n - y^n?

Yes, there are other methods to prove the formula for X^n - y^n, such as using logarithms and geometric series. These methods involve manipulating the formula and showing that it reduces to a known identity or series, thus proving its validity.

Similar threads

Algorithm problem involving 3 points and 3 lines in the x,y plane

    Replies
    7
    Views
    1K

    Iterative root finding for the cube root of 17

      Replies
      3
      Views
      3K

      Express ##x^3+y^3## in terms of ##m## and ##n##

        Replies
        17
        Views
        1K

        Proof of cos(θ +ϕ)=cosθ cosϕ - sinθsinϕ via Cartesian Orthogonal Triad

          Replies
          6
          Views
          3K

          Find the third coordinate of a vertex of an equilateral triangle

            Replies
            11
            Views
            9K

            Unable to crack this image enhancement code -- Matlab is throwing errors

              Replies
              1
              Views
              833

              Cosine Rule: n=2,3-x,y,z Calculation

                Replies
                3
                Views
                1K

                Comp SciC++ Reading Data File: Calculating Distances and Finding Closest Point

                  Replies
                  14
                  Views
                  3K

                  Equations of a Plane/Hyperplane

                    Replies
                    3
                    Views
                    8K

                    Centre of mass of of an isosceles Triangle

                      Replies
                      7
                      Views
                      11K
                      • Forums
                      • Homework Help
                      • Precalculus Mathematics Homework Help
                      Proving the General Formula for X^n - y^n (2025)

                      References

                      Top Articles
                      Latest Posts
                      Recommended Articles
                      Article information

                      Author: Allyn Kozey

                      Last Updated:

                      Views: 6471

                      Rating: 4.2 / 5 (63 voted)

                      Reviews: 94% of readers found this page helpful

                      Author information

                      Name: Allyn Kozey

                      Birthday: 1993-12-21

                      Address: Suite 454 40343 Larson Union, Port Melia, TX 16164

                      Phone: +2456904400762

                      Job: Investor Administrator

                      Hobby: Sketching, Puzzles, Pet, Mountaineering, Skydiving, Dowsing, Sports

                      Introduction: My name is Allyn Kozey, I am a outstanding, colorful, adventurous, encouraging, zealous, tender, helpful person who loves writing and wants to share my knowledge and understanding with you.