Algebra expansion and simplification

TwelveMoons

New member
Joined
May 20, 2015
Messages
3
Hi everyone,

Need some help with two questions please. The first is part of a larger generating functions question and the second is part of a larger recurrence relations question.

First question: How do I expand (1 - x16)(1 - x16)(1 - x13)(1 - x6)

To give: (1 - x6 - x13 - 2x16 + x19 + 2x22 + 2x29 + x32 - x35 + ...



And second question: How does: \(\displaystyle 3\, =\, A\left(\dfrac{3\, +\, \sqrt{5\,}}{2}\right)\, +\, B\left(\dfrac{3\, -\, \sqrt{5\,}}{2}\right)\)

Become:

\(\displaystyle A\, =\, \left(\dfrac{3\,\sqrt{5\,}\, +\, 5}{10}\right)\)

\(\displaystyle B\, =\, \left(\dfrac{5\, -\, 3\,\sqrt{5\,}}{10}\right)\)

Any help greatly appreciated.
 
Last edited by a moderator:
Hi everyone,

Need some help with two questions please. The first is part of a larger generating functions question and the second is part of a larger recurrence relations question.

First question: How do I expand (1 - x16)(1 - x16)(1 - x13)(1 - x6)

To give: (1 - x6 - x13 - 2x16 + x19 + 2x22 + 2x29 + x32 - x35 + ...

Just multiply it out by using "distributive law" of multiplication i.e.

(a + b) * (c + d) = a*(c + d) + b*(c + d) = a*c + a*d + b*c + b*d




And second question: How does: \(\displaystyle 3\, =\, A\left(\dfrac{3\, +\, \sqrt{5\,}}{2}\right)\, +\, B\left(\dfrac{3\, -\, \sqrt{5\,}}{2}\right)\)

Become:

\(\displaystyle A\, =\, \left(\dfrac{3\,\sqrt{5\,}\, +\, 5}{10}\right)\)

\(\displaystyle B\, =\, \left(\dfrac{5\, -\, 3\,\sqrt{5\,}}{10}\right)\)

Any help greatly appreciated.

For the second question again expand the right-hand-side by multiplying it out. Then collect the "rational" terms and the "irrational" terms.

If you are still stuck - come back and post your work.
 
Last edited by a moderator:
Thanks. I knew the distributive law had to be used just wasn't sure in what order. There was a minor error in the original answer the correct solution is:

Expand: (1 - x16)(1 - x16)
Group like terms: 1 - x16 - x16 + x32
Expand: (1 - 2x16 + x32)(1 - x13)
Group like terms: 1 - 2x16 + x32 - x13 + 2x29 - x45
Expand: 1 - 2x16 + x32 - x13 + 2x29 - x45(1 - x6)
Group like terms and arrange in order: 1 - x6 - x13 - 2x16 + x19 + 2x22 + 2x29 + x32 - 2x35 - x38 - x45 + x51
 
Thanks. Knew the distributive law had to be used just wasn't sure the order in which to apply it. The original answer has a minor error. Correct answer is:
Expand (1 - x16)(1 - x16)
Collect like terms 1 - x16 - x16 + x32
Expand 1 - 2x16 + x32(1 - x13)
Collect like terms 1 - 2x16 + x32 - x13 + 2x29 - x45
Expand 1 - 2x16 + x32 - x13 + 2x29 - x45(1 - x6)
Collect and order terms 1 - x6 - x13 - 2x16 + x19 + 2x22 + 2x29 + x32 - 2x35 - x38 - x45 + x51
 
Top