General Formula for Multiplying Polynomials?

Click For Summary
A general formula for multiplying polynomials exists, expressed as the convolution of their coefficients. The coefficients of the resulting polynomial, denoted as c_k, can be derived from the coefficients a_k and b_k of the original polynomials using combinatorial principles. Specifically, for polynomials of equal length, the product can be calculated by summing the products of the coefficients based on their indices. The Cauchy Product provides a useful framework for understanding this relationship. This approach is essential for programming polynomial multiplication efficiently.
kpoltorak
Messages
15
Reaction score
0

Homework Statement


Does a general formula exist?
<br /> \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<br />

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?
<br /> \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<br />

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 \{ c_k \} is the (discrete) convolution of the two sequences \{ a_k \} \text{ and } \{ b_k \}. See, eg., http://www.cg.tu-berlin.de/fileadmin/fg144/Courses/07WS/compPhoto/Convolution_charts.pdf .

RGV
 
Last edited by a moderator:
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 15 ·
Replies
15
Views
2K
  • · 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