Euclidean Algorithm: Solving x-1 = (x^3-x^2+2x-2)-(x+1)(x^2-2x+1)

Click For Summary

Homework Help Overview

The discussion revolves around understanding a step in the application of the Euclidean algorithm, specifically regarding the equation x-1 = (x^3-x^2+2x-2)-(x+1)(x^2-2x+1). Participants are trying to clarify the reasoning behind the manipulation of terms and the identification of the greatest common divisor (gcd).

Discussion Character

  • Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • Participants are questioning the derivation of the term (x+1)(x^2-2x+1) and its relevance to the problem. There are inquiries about the underlying algebraic identities and the application of the extended Euclidean algorithm.

Discussion Status

Some participants are exploring the algebraic proof of the identity presented, while others are attempting to connect the steps in the textbook to the current problem. There is an acknowledgment of the need for further explanation regarding the terms used in the equation.

Contextual Notes

There is mention of a potential misunderstanding regarding the definition of gcd and its relation to the last non-zero remainder found during the application of the Euclidean algorithm.

roam
Messages
1,265
Reaction score
12

Homework Statement



The following is a worked example, I circled around the part which I couldn't follow:

http://img15.imageshack.us/img15/161/untitleou.jpg

Homework Equations





The Attempt at a Solution



To begin with, I can't understand why they wrote:

[tex]x-1 = \frac{1}{3}(x^3-x^2+2x-2)-\frac{1}{3}(x+1)(x^2-2x+1)[/tex]

(or [tex]3x-3 = (x^3-x^2+2x-2)-(x+1)(x^2-2x+1)[/tex])

What formula/theorem were they using here? I can't follow what is done here. :redface:

P.S. On the top it says [tex]gcd(2x^3+x^2-2x-1, x^3-x^2+2x-2)= x-1[/tex], but it previously said "the last non-zero remainder is a gcd". And when the Euclidean algorithem was applied we found that the last non-zero remainder is 3x-3 NOT x-1.
 
Last edited by a moderator:
Physics news on Phys.org
roam said:
To begin with, I can't understand why they wrote:
...
What formula/theorem were they using here?
You're asking why it's true? Just use algebra to prove the identity!

You're asking why they knew it to be true? It's the middle line of the preceeding calculation.

You're asking why they thought it would help solve the problem? Presumably your textbook has explicitly presented a version of the extended Euclidean algorithm and is using that.

P.S. GCD's are only defined up to an invertible constant.
 
Hurkyl said:
You're asking why it's true? Just use algebra to prove the identity!

You're asking why they knew it to be true? It's the middle line of the preceeding calculation.

You're asking why they thought it would help solve the problem? Presumably your textbook has explicitly presented a version of the extended Euclidean algorithm and is using that.

Before they apply the algebra to prove the identity they wrote:

[tex]x-1 = \frac{1}{3}(x^3-x^2+2x-2)-\frac{1}{3}(x+1)(x^2-2x+1)[/tex]

Why? Where did the [tex](x+1)(x^2-2x+1)[/tex] term come from?


P.S. GCD's are only defined up to an invertible constant.

I think I understand, but could you explain a bit more please?
 
roam said:
Why? Where did the [tex](x+1)(x^2-2x+1)[/tex] term come from?

It came from the middle line of the solution to the previous example. The textbook took the 1/3 out of (1/3x+1/3), placed it into (3x^2-6x+3), and ended up with (x+1)(x^2-2x+1).
 

Similar threads

Replies
5
Views
2K
Replies
7
Views
2K
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 24 ·
Replies
24
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
3
Views
1K
Replies
7
Views
2K