Polynom Division: Finding the Reminder with (x-a)(x-b)

  • Thread starter Thread starter Physicsissuef
  • Start date Start date
  • Tags Tags
    Division
AI Thread Summary
The discussion focuses on finding the remainder R(x) when dividing a polynomial P(x) by (x-a)(x-b), given the remainders α and β when divided by x-a and x-b, respectively. Participants clarify that R(x) must be of the form px + q, as it cannot exceed the degree of the divisor. Through a series of equations, they derive relationships involving α, β, and constants A and B, ultimately leading to the formula R(x) = (α - β)/(a - b)x + (βa - αb)/(a - b). The correctness of this formula is confirmed through a specific polynomial example, revealing an inconsistency with a textbook result. The thread concludes with the affirmation that their derived formula is accurate, while the textbook's version is incorrect.
Physicsissuef
Messages
908
Reaction score
0

Homework Statement



When we divide the polynom P(x) with x-a, we receive reminder \alpha, and if we divide P(x) with x-a, we receive reminder \beta. What will be the reminder, if we divide P(x) with (x-a)(x-b)?

Homework Equations





The Attempt at a Solution



P(x)=(x-a)f(x) + \alpha

P(x)=(x-b)c(x) + \beta

P(x)= (x-b)(x-a)g(x)+ R(x)

We need to find R(x)
 
Last edited:
Physics news on Phys.org
Physicsissuef said:

Homework Statement



When we divide the polynom P(x) with x-a, we receive reminder \alpha, and if we divide P(x) with x-a, we receive reminder \beta. What will be the reminder, if we divide P(x) with (x-a)(x-b)?

The Attempt at a Solution


Hi Physicsissuef!

Hint: write P(x) = f(x)(x-a)(x-b) + px +q. :smile:
 
Yes, I already knew it. What's next? :D
 
Physicsissuef said:
Yes, I already knew it.

Physicsissuef, you were supposed show us what you'd already done, in your original post. :frown:

Also the next thing you tried, and how it didn't work.

That's what

The Attempt at a Solution

is for.​

If you don't, other PF members don't know where to start, and it wastes our time.

Start again …
 
Actually I don't know why px+q
I will edited the first post. Look now. Sorry.
 
ok, your R(x) = px + q, for some constants p and q (because R(x) can't contain x^2, since it's a remainder after dividing by x^2 + …).

So you should be able to write two equations involving (px + q) and alpha and beta.

What are they? … :smile:
 
tiny-tim said:
ok, your R(x) = px + q, for some constants p and q (because R(x) can't contain x^2, since it's a remainder after dividing by x^2 + …).

So you should be able to write two equations involving (px + q) and alpha and beta.

What are they? … :smile:

Why after dividing x^2?
 
Remainders must be smaller

Physicsissuef said:
Why after dividing x^2?

Actually, "after dividing by x^2 + …"

If you divide by (x^2 plus anything smaller), then the remainder has to be smaller.

If the remainder was, say, 3x^2 + 5, then you'd just subtract 3 more lots of (x^2 + …), to give you a new remainder with only x and 1.

Generally, the remainder after dividing by any polynomial beginning with x^n will be a polynomial beginning with x^(n-1) or less. :smile:
 
And how do you know that it is x^2 ??
 
  • #10
Physicsissuef said:
And how do you know that it is x^2 ??

It's (x-a)(x-b), which is x^2 - (a+b)x + ab;
so when you divide any polynomial by it, the remainder will always be either linear or constant.
 
  • #11
And how do you know that the polynom P(x) is in this form:
ax^3+bx^2+cx+d, so you can write R(x)=px+q
??
 
  • #12
Physicsissuef said:
And how do you know that the polynom P(x) is in this form:
ax^3+bx^2+cx+d, so you can write R(x)=px+q
??

Sorry, Physicsissuef, you've completely lost me.

Where did ax^3+bx^2+cx+d come from? :confused:

Your own equation, P(x)= (x-b)(x-a)g(x)+ R(x), where R(x) is a remainder, shows that R(x) can't have anything higher than x.
 
  • #13
You said that R(x)=px+q, right?
So when I divide some polynom with x^3 with x^2, I will receive R(x)=px+q, right?

I asked how did you know that it is x^3?

Maybe it is x^4?
 
  • #14
Physicsissuef, divide anything with x^2 + …, you will receive R(x)=px+q.

It could be x^3 or x^4 or x^307 … it doesn't matter … the remainder will always be of the form px +q (possibly, of course, with p or q = 0).
 
  • #15
So what I will substitute for p and q? Sorry, if I am getting annoyed.
 
  • #16
I've lost the plot now …

ah … we have to go back to post #6:
tiny-tim said:
ok, your R(x) = px + q, for some constants p and q. {snip}

So you should be able to write two equations involving (px + q) and alpha and beta.

What are they? … :smile:

Hint: divide (px + q) by (x - a) … what is the remainder? :smile:
 
  • #17
pa+q. Why I divide them?
 
  • #18
Physicsissuef said:
pa+q. Why I divide them?

Because that equals alpha … can you see why? :smile:

And then, what equals beta?
 
  • #19
but didn't f(x)*(x-a)+px+q=P(x)

So px+q equals alpha. Because alpha is the remainder.
 
  • #20
Physicsissuef said:
but didn't f(x)*(x-a)+px+q=P(x)

So px+q equals alpha. Because alpha is the remainder.

You've got the principle, but you've got rather confused writing it.

From post #1, P(x) = f(x)(x-a) + alpha.

And so alpha equals pa + q (not px + q), from your post #17, because, as you say, alpha is the remainder.

Right! Nearly there! alpha = pa + q.

Now what does beta equal? :smile:
 
  • #21
pb+q
 
  • #22
oops!

oops! my last post was wrong! :redface:

should have been:

From post #1, P(x) = f(x)(x-a) + alpha.

Suppose the remainder on dividing f(x) by (x-b) is B.

Then the remainder on diving P(x) by (x-a)(x-b) will be alpha plus B(x-a).

In other words: px + q = alpha plus B(x-a), for some constant B.

Similarly, px + q = beta plus A(x-b), for some constant A.

So alpha plus B(x-a) = beta plus A(x-b)

So … :smile:

Sorry! :redface:
 
  • #23
Man, why dividing f(x) with (x-b)?
 
  • #24
Because the remainder on diving P(x) by (x-a)(x-b) is px + q.

So suppose f(x) = g(x)(x-b) + B, for some polynomial g(x), and some constant (remainder) B.

So P(x) = f(x)(x-a) + alpha
= (g(x)(x-b) + B)(x-a) + alpha
= g(x)(x-b)(x-a) + B(x-a) + alpha,
and so the remainder on dividing P(x) by (x-b)(x-a) is B(x-a) + alpha.

So px + q = B(x-a) plus alpha, for some constant B. :smile:
 
  • #25
and why in my textbook, the result is
R(x)=mx+n= \frac{\alpha - \beta}{a-b}x + \frac{b\alpha - \alpha\beta}{a-b}

??
 
  • #26
That's correct! (except it's a\beta, not \alpha\beta, at the end)

:smile: You tell me why! :smile:
 
  • #27
tiny-tim said:
That's correct! (except it's a\beta, not \alpha\beta, at the end)

:smile: You tell me why! :smile:

I don't know why... Please helllppp :smile:
 
  • #28
ok, you already have
px + q = B(x-a)\,+\,\alpha\,.​

And similarly you can get
px + q = A(x-b)\,+\,\beta\,.​

So
B(x-a)\,+\,\alpha\,=\,A(x-b)\,+\,\beta\,.​

So what do B and A equal? :smile:

(Remember, you know the result is
R(x)=mx+n= \frac{\alpha - \beta}{a-b}x + \frac{b\alpha - \alpha\beta}{a-b};
of course the book is using m and n instead of my p and q.)
 
  • #29
B= \frac{A(x-b)}{x-a}+ \frac{\beta - \alpha}{x-a}

A= \frac{B(x-a)}{x-b}+ \frac{\alpha - \beta}{x-b}

What is next?
 
  • #30
Physicsissuef, you're really bad at this! :smile:

Don't do any dividing!

Just look at:
B(x-a)\,+\,\alpha\,=\,A(x-b)\,+\,\beta\,.​

You have a polynomial on the left, and another one on the right.

You want these polynomials to be equal (for all values of x).

So … :smile:
 
  • #31
B=A
-B*a+ alpha =-A*b+ beta

Like this?
 
  • #32
Yes! :smile: :smile:

So the remainder = px + q = mx + n = … ? :smile:
 
  • #33
=-A*a+alpha=-A*b+beta
what's next? :) :)
 
  • #34
Physicsissuef said:
=-A*a+alpha=-A*b+beta

Right! :smile: :smile:

-A*a+alpha=-A*b+beta​

a b alpha and beta were given in the original question.

Your only unknown now is A (now we've got rid of that irritating B :mad:)

So A = … ? :smile:
 
  • #35
A= \frac{\alpha - \beta}{a-b}

What is next? LOL :smile:
 
  • #36
You're virtually there!

You're just round the corner! (has anyone ever told you that before? …)

px + q = A(x-b)\,+\,\beta

A= \frac{\alpha - \beta}{a-b}​

So the remainder = px + q = mx + n = … ? :smile:
 
  • #37
\frac{x(\alpha - \beta)}{a-b}+\frac{\beta a-\alpha b}{a-b}
I substitute for B(x-a) + alpha.
 
  • #38
Hurrah!

Case closed? :smile:
 
  • #39
tiny-tim said:
Hurrah!

Case closed? :smile:

I think so. Thanks buddy :smile:
 
  • #40
Just, want to ask you, we have:
\frac{\beta a-\alpha b}{a-b}
and in my textbook result:
\frac{\alpha b - \beta a}{a-b}

Is their fault?
 
  • #41
Hi Physicsissuef!:smile:

I've gone over it again, and I can't see any mistakes.

Let's test it with a = 2, b = 1, P(x) = x^2\,-\,2x\,+\,3.

Then alpha = 3, beta = 2.

And (x-a)(x-b) = (x-2)(x-1) = x^2\,-\,3x\,+\,2, so R(x) = x + 1.

\frac{x(\alpha - \beta)}{a-b}+\frac{\beta a-\alpha b}{a-b}

= (3-2)x/(2-1) + (2.2 - 3.1)/(2-1)

= x + 1.

So our formula is right, and the textbook is wrong! :smile:

Hurrah! :biggrin:
 
Back
Top