General Formula for Multiplying Polynomials?

Click For Summary

Homework Help Overview

The discussion revolves around finding a general formula for multiplying polynomials, specifically focusing on the relationship between the coefficients of the resulting polynomial and those of the original polynomials. The subject area is polynomial algebra and combinatorial relationships.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants explore the existence of a general formula for polynomial multiplication, with one participant attempting to understand the relationship between the coefficients in the product and the original polynomials. Others suggest starting with simpler cases, such as equal-length polynomials, to identify patterns. There is mention of the Cauchy Product as a potential reference.

Discussion Status

The discussion is active, with participants sharing insights and suggestions for exploring simpler cases. Some guidance has been offered regarding the convolution of sequences, and references to external resources have been provided. However, there is no explicit consensus on a general formula yet.

Contextual Notes

Participants express uncertainty about the patterns in the coefficients and the combinatorial relationships involved. There is a mention of needing a general formula for programming purposes, indicating practical constraints in the discussion.

kpoltorak
Messages
15
Reaction score
0

Homework Statement


Does a general formula exist?
[tex] \sum \limits_{k=0}^{m_1} a_kx^k\cdot\sum \limits_{k=0}^{m_2} b_kx^k=\sum \limits_{k=0}^{m_1+m_2} c_kx^k[/tex]

Homework Equations


The Attempt at a Solution


I am having trouble understanding the relation between the c coefficients in the product and the respective a and b coefficients in the factors. Could somebody shed some light on this? I am fairly certain there is a relation between the two which is based on combinatorics but cannot find the answer anywhere.
 
Physics news on Phys.org
See if you can solve an "easier" problem. Try assuming m1=m2 (if you get this the general case isn't hard to handle).

Look at a specific case m1 = m2 = 2.

(a0 +a1x +a2x^2) * (b0 +b1x + b2x^2) =

(a0b0)x^0 + (a1b0 + b1a0)x + (a2b0 +a1b1 + a0b2)x^2 + (a1b2 + a2b1)x^3 + (a2b2)x^4

Do you see how to write this as a summation?
 
I know am digging this thread out of the bottom of the universe but Google got me here, and am sure more people could use this answer.

I am writing a program for multiplying polynomials of equal length and need a general formula for the coefficients in the resulting polynomial. I literary stumped as I don't see much of a pattern here. Any one have a clue?
 
Look up the Cauchy Product. One place is here:
http://www.astarmathsandphysics.com/university_maths_notes/analysis/university_maths_notes_analysis_cauchy_products_of_series.html
 
Last edited by a moderator:
Thank you :)
 
kpoltorak said:

Homework Statement


Does a general formula exist?
[tex] \sum \limits_{k=0}^{m_1} a_kx^k\cdot\sum \limits_{k=0}^{m_2} b_kx^k=\sum \limits_{k=0}^{m_1+m_2} c_kx^k[/tex]

Homework Equations





The Attempt at a Solution


I am having trouble understanding the relation between the c coefficients in the product and the respective a and b coefficients in the factors. Could somebody shed some light on this? I am fairly certain there is a relation between the two which is based on combinatorics but cannot find the answer anywhere.

The sequence [itex]\{ c_k \}[/itex] is the (discrete) convolution of the two sequences [itex]\{ a_k \} \text{ and } \{ b_k \}.[/itex] See, eg., http://www.cg.tu-berlin.de/fileadmin/fg144/Courses/07WS/compPhoto/Convolution_charts.pdf .

RGV
 
Last edited by a moderator:

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K