image
Physics Forums Logo
image
image
* Register * Upgrade Blogs Library Staff Rules Mark Forums Read
image
image   image
image

Go Back   Physics Forums > Mathematics > General Math


Reply

image Equal Coefficients Polynomials Share It Thread Tools Search this Thread image
Old Jun30-09, 02:56 AM       Last edited by Enjoicube; Jun30-09 at 03:12 AM..            #1
Enjoicube

Enjoicube is Offline:
Posts: 38
Equal Coefficients Polynomials

Here is something that always bugged me, and I think I have an explanation for it now, but I am wondering if it is correct. Alright, the problem to me was that back when I was in Diff-eq, to use undetermined coefficients with polynomials, we would always group together the terms on one side, and set the undetermined coefficients equal on the other side, as such:

2(x^2)+3x+5=a(x^2)+bx+c

would imply that a=2, b=3 and c=5

However, this method always seemed a little uncertain to me, and when I would ask about why we could set the coefficients equal, I was always given a handwaving argument or "doesn't it seem reasonable?"
Today, I came across an exercise in my linear algebra book that I think may justify this method; the exercise says "prove that if v1,...,vn are linearly independent vectors in the vector space U and each ai,bi belongs to the field F then a1*V1+...an*Vn=b1*V1+...bn*Vn LaTeX Code: \\leftrightarrow a1=b1,...,an=bn with

The proof in the forward direction (all I will prove):
Since a1*V1+...an*Vn=b1*V1+...bn*Vn[tex]
subtract the right side of the equation to end up with
(a1-b1)*V1+...(an-bn)*Vn=0

and since these vectors are linearly independent, each ai-bi=0, so ai=bi for i=1,...,n

Now, looking at the space Pn of polynomials of degree n, the set {1,x,(x^2),...,(x^n)} forms a basis, so each of these vectors must be linearly independent. That means that, as above, if we have

2(x^2)+3x+5=a(x^2)+bx+c

Since the set vectors {1,x,(x^2)} is linearly independent, one can set the coefficients equal.

Am I correct about using this theorem to justify this method of setting coefficients equal? I know it seems trivial, but if this is correct, someone who doesn't really understand why this works could try this method on a set of linearly dependent vectors, for which it isn't necessarily true!
  Reply With Quote
Old Jun30-09, 03:08 AM                  #2
Civilized

Civilized is Offline:
Posts: 164
Re: Equal Coefficients Polynomials

Yes, the fact that two polynomials are equal if and only if the coefficients of the corresponding powers are equal follows from the fact that {1,x,...,x^n} is a basis.

Notice that this proof does not involve considering the polynomials as functions. If we consider two polynomials P(x) = Q(x), then we can generate an infinite set of linear equations:

P(1) - Q(1) = 0

P(2) - Q(2) = 0

.
.
.

from here you can if you wish complete the proof of the same fact using the tools of linear algebra.
  Reply With Quote
Old Jun30-09, 03:38 AM       Last edited by Enjoicube; Jun30-09 at 01:00 PM..            #3
Enjoicube

Enjoicube is Offline:
Posts: 38
Re: Equal Coefficients Polynomials

I suppose the same argument goes for the trig functions sine and cosine, since they are linearly independent.
  Reply With Quote
Old Jun30-09, 06:40 AM                  #4
HallsofIvy

PF Mentor

HallsofIvy is Offline:
Posts: 24,778
Re: Equal Coefficients Polynomials

Even more simply, given two polynomials LaTeX Code: P(x)= a_nx^n+ a_{n-1}x^{n-1}+ \\cdot\\cdot\\cdot+ a_1x+ a_0 and LaTeX Code: Q(x)= b_mx^m+ b_{m-1}x^{m-1}+ \\cdot\\cdot\\cdot+ b_1x+ b_0 , with P(x)= Q(x) for all x, setting x= 0 shows that LaTeX Code: a_0= b_0 . But we must also have P'(x)= Q'(x) and setting x= 0 shows that LaTeX Code: a_1= b_1 . Each successive derivative, at x= 0, gives the equality of the next coefficients.
  Reply With Quote
Old Jun30-09, 07:39 AM                  #5
statdad

statdad is Offline:
Posts: 702
Recognitions:
Homework Helper Homework Helper
Re: Equal Coefficients Polynomials

Yet another proof. If

LaTeX Code:  <BR>a_n x^n + a_{n-1}x^{n-1} + \\cdots + a_1 x + a_0 = b_n x^n + b_{n-1} x^{n-1} + \\cdots + b_1 x + b_0 <BR>

for all x, then

LaTeX Code: <BR>(a_n - b_n) x^n + (a_{n-1} - b_{n-1})x^n + \\cdots + (a_1 - b_1) x + (a_0 - b_0) = 0<BR>

for all x, so the second polynomial has more than LaTeX Code:  n  zeros, and so must itself be the zero polynomial. This means LaTeX Code:  a_i = b_i \\, \\, i = 1, \\dots, n
  Reply With Quote
Old Jun30-09, 09:44 AM                  #6
g_edgar

g_edgar is Offline:
Posts: 388
Re: Equal Coefficients Polynomials

2(x^2)+3x+5=a(x^2)+bx+c

would imply that a=2, b=3 and c=5
Yes, that is in fact "linear independence". The textbook may not say that, however, if it does not have linear algebra as a prerequisite. More advanced DE textbooks will, of course, mention the concept of "linear independence".
  Reply With Quote
Old Jun30-09, 10:27 AM                  #7
Hurkyl

PF Mentor
 
Hurkyl's Avatar

Hurkyl is Offline:
Posts: 13,011
Re: Equal Coefficients Polynomials

I would like to add some things.

There are a variety of ways to define polynomials -- in at least one of them, "equal polynomials" actually literally means "they have the same coefficients".

Equality of the functions these polynomials represent is a slightly trickier issue. The result statdad mentioned is the typical approach.

It turns out that in familiar situations, equality of polynomials and equality of the functions they represent turn out to be the same.




In some more esoteric situations, two polynomials may be different despite representing the same polynomial function. If you're familiar with modular arithmetic, you can check that if we define the functions

LaTeX Code: f(x) = x \\pmod 2
LaTeX Code: g(x) = x^2 \\pmod 2

then f=g, despite LaTeX Code: x \\pmod 2 and LaTeX Code: x^2 \\pmod 2 being different polynomials.
  Reply With Quote
image image
Reply
Thread Tools


Similar Threads for: Equal Coefficients Polynomials
Thread Thread Starter Forum Replies Last Post
Characteristic Polynomials and Minimal polynomials xfunctionx Linear & Abstract Algebra 9 Apr30-09 06:54 PM
Numbers in Triangle Rows of 3 are equal rows of 4 are equal Dragon_Wizard Brain Teasers 2 Oct16-08 04:41 PM
Find a basis for polynomials with complex coefficients p3forlife Calculus & Beyond 2 Oct12-08 10:57 PM
Equal areas in equal times Benny Calculus & Beyond 3 Mar10-06 08:52 AM
Comparing coefficients thepatientmental Calculus & Beyond 2 Oct5-05 11:14 PM

Powered by vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. © 2009 Physics Forums
Sciam | physorgPhysorg.com Science News Partner
image
image   image