What have I done wrong here with this binomial expansion?

Smith S.

New member
Joined
Jul 13, 2022
Messages
26
Hello,
I have been asked to find the [math]x^3[/math] term of the following expansion: [math](1-\frac{x}{3})(1+3x)^6[/math]. My answer to this was [math]-585x^3[/math]. However, when I checked the answer scheme, it was [math]495x^3[/math]. The error here is unknown to me; I have attached my steps to the answer. It would be appreciated if anyone could point out the error.
 

Attachments

  • Untitled (1).jpg
    Untitled (1).jpg
    370.8 KB · Views: 18
I do not follow your work.
In the expansion of [imath]\left(1+3x\right)^6[/imath] do you have the term [imath]540x^3~?[/imath]
[imath]\left(1+3x\right)^6=729 x^6 + 1458 x^5 + 1215 x^4 + 540 x^3 + 135 x^2 + 18 x + 1[/imath]
You also need to multiply by [imath]~1\&~\dfrac{-3}{x}[/imath] to get any other [imath]x^3[/imath]
 
Last edited:
Is there any other than to expand everything out? What would your approach to this problem be? I have sought out the general term of [math](1− 3 x )(1+3x) ^6[/math] (in terms of binomial), then equated the x values to x^3.
 
Hello,
I have been asked to find the [math]x^3[/math] term of the following expansion: [math](1-\frac{x}{3})(1+3x)^6[/math]. My answer to this was [math]-585x^3[/math]. However, when I checked the answer scheme, it was [math]495x^3[/math]. The error here is unknown to me; I have attached my steps to the answer. It would be appreciated if anyone could point out the error.
Please explain in words what you are doing there; parts of it look sensible, but I'm not sure of your notations. I expect to see you adding two numbers, corresponding to the two 3's you circled, but I don't see that.
 
Hello,
I have been asked to find the [math]x^3[/math] term of the following expansion: [math](1-\frac{x}{3})(1+3x)^6[/math]. My answer to this was [math]-585x^3[/math]. However, when I checked the answer scheme, it was [math]495x^3[/math]. The error here is unknown to me; I have attached my steps to the answer. It would be appreciated if anyone could point out the error.
[math]\left ( 1 - \dfrac{x}{3} \right ) (1 + 3x)^6 = \left ( 1 - \dfrac{x}{3} \right ) \sum_{j = 0}^6 \binom{6}{j} (1)^j (3x)^{6-j}[/math]
[math]= \sum_{j = 0}^6 \binom{6}{j} (3x)^{6-j} - \sum_{j = 0}^6 \dfrac{x}{3} \binom{6}{j} (3x)^{6-j}[/math]
Now pick out the [math]x^3[/math] terms: That's j = 3 in the first sum and j= 4 in the second. The sum of these coefficients are
[imath]\binom{6}{3} 3^3 - \binom{6}{4} \dfrac{1}{3} 3^2 = 495[/imath]

I can't follow your notation but apparently you didn't subtract.

-Dan
 
Please explain in words what you are doing there; parts of it look sensible, but I'm not sure of your notations. I expect to see you adding two numbers, corresponding to the two 3's you circled, but I don't see that.
What do you mean? When r=0, p=3 and r=1, p=2, x=3, since we are looking for the x^3 term. Then, I substituted those values into the general term of the expansion (Tr,p). How would you do it?
 
Last edited:
[math]\left ( 1 - \dfrac{x}{3} \right ) (1 + 3x)^6 = \left ( 1 - \dfrac{x}{3} \right ) \sum_{j = 0}^6 \binom{6}{j} (1)^j (3x)^{6-j}[/math]
[math]= \sum_{j = 0}^6 \binom{6}{j} (3x)^{6-j} - \sum_{j = 0}^6 \dfrac{x}{3} \binom{6}{j} (3x)^{6-j}[/math]
Now pick out the [math]x^3[/math] terms: That's j = 3 in the first sum and j= 4 in the second. The sum of these coefficients are
[imath]\binom{6}{3} 3^3 - \binom{6}{4} \dfrac{1}{3} 3^2 = 495[/imath]

I can't follow your notation but apparently you didn't subtract.

-Dan
How did you get j=3, and j=4?
 
Suppose we want to know the coefficient of x cubed in the expansion of [imath](3 - 4x) (2 + x)^4[/imath].

The first thing I would do is

[math](3 - 4x) (2 + 3x)^4 = 3(2 + x)^4 - 4x(3x + 2)^4[/math].

The next thing I would do is to realize that I need the x cubed term from the binomial expansion to multiply by 3 but the x squared term to multiply by - 4x.

[math](3x + 2)^4 = \text {irrelevant} + \dbinom{4}{2} * (3x)^2 * 2^2 + \binom{4}{3} * (3x)^1 * 2^3 + \text {irrelevant}.[/math]
So my two terms are 3 * 6 * 9 * 4 = 648 and
- 4 * 4 * 3 * 8 = - 384.

The coeffecient of x^3 is 264.
 
Suppose we want to know the coefficient of x cubed in the expansion of [imath](3 - 4x) (2 + x)^4[/imath].

The first thing I would do is

[math](3 - 4x) (2 + 3x)^4 = 3(2 + x)^4 - 4x(3x + 2)^4[/math].

The next thing I would do is to realize that I need the x cubed term from the binomial expansion to multiply by 3 but the x squared term to multiply by - 4x.

[math](3x + 2)^4 = \text {irrelevant} + \dbinom{4}{2} * (3x)^2 * 2^2 + \binom{4}{3} * (3x)^1 * 2^3 + \text {irrelevant}.[/math]
So my two terms are 3 * 6 * 9 * 4 = 648 and
- 4 * 4 * 3 * 8 = - 384.

The coeffecient of x^3 is 264.
Why did you factor out 3 and -4?
 
Why did you factor out 3 and -4?
Please work with pencil and paper (even chalk and slate) will do.

3 and (-4) multiplicative constants coming from (3 - 4x). Those are constants - would not affect the "locations" of the required coefficients
 
How did you get j=3, and j=4?
It's basic algebra. Ask yourself what value of [imath]j[/imath] will give you 3?

For the first summation, [imath]6-j=3 \implies j=3\\[/imath]
For the second summation, [imath]1 + (6-j)=3 \implies j=4[/imath]
 
How do you get an x^3 term from (1-x/3)(1+3x)^6?

(1-x/3)(1+3x)^6 = 1(1+3x)^6 - (x/3)(1+3x)^6

From the factor 1(1+3x)^6, you will need the x^3 term from (1+3x)^6
From the factor
(x/3)(1+3x)^6, you will need the x^2 term from (1+3x)^6
 
@topsquark What if there was a power like [math](1− 3 x )^5(1+3x) ^6[/math]?
Then you would have to use a double summation, which would get a tad ugly. But it's doable:
[math](1 - 3x)^5 (1 + 3x)^6 = \sum_{j = 0}^5 \binom{5}{j} (1)^j (-3x)^{5 - j} \sum_{k = 0}^6 \binom{6}{k} (1)^k (3x)^{6 - k}[/math]
[math]= \sum_{j = 0}^5 \sum_{k = 0}^6 \binom{5}{j} \binom{6}{k} (-3x)^{5 - j} (3x)^{6 - k}[/math]
[math]= \sum_{j = 0}^5 \sum_{k = 0}^6 \binom{5}{j} \binom{6}{k} (-1)^{5 - j} (3)^{11 - j - k} x^{11 - j - k}[/math]
To get the coefficient of [imath]x^3[/imath] we would need to add all of the coefficients with j and k values such that 3 = 11 - j - k.

-Dan
 
Then I could create a two-way table to find the values of j and k that add up to 3; something like the attachment above. I attempted to use this way (double summation one you just showed) to solve the [math](1− 3 x )(1+3x)^6[/math], but it turns out, it didn't work for power of 1. Am I right?
 
@topsquark What if there was a power like [math](1− 3 x )^5(1+3x) ^6[/math]?
[imath](1-3x)^5(1+3x)^6\\\left((1-3x)^5(1+3x)^5\right)(1+3x)\\\left((1-9x^2)^5\right)(1+3x)\\= -177147 x^{11} - 59049 x^{10} + 98415 x^9 + 32805 x^8 - 21870 x^7 - 7290 x^6 + 2430 x^5 + 810 x^4 - 135 x^3 - 45 x^2 + 3 x + 1[/imath] SEE HERE

[imath][/imath][imath][/imath][imath][/imath][imath][/imath]
 
Then I could create a two-way table to find the values of j and k that add up to 3; something like the attachment above. I attempted to use this way (double summation one you just showed) to solve the [math](1− 3 x )(1+3x)^6[/math], but it turns out, it didn't work for power of 1. Am I right?
Using a double sum for this is like using a nuke to crack a walnut but what the heck.
[math](1 - 3x)(1 + 3x)^6 = \sum_{j = 0}^1 \binom{1}{j} (1)^j (-3x)^{1-j} \sum_{k = 0}^6 \binom{6}{k} (1)^k (3x)^{6 - k}[/math]
[math]= \sum_{j = 0}^1 \sum_{k = 0}^6 \binom{1}{j} \binom{6}{k} (-3x)^{1-j} (3x)^{6 - k}[/math]
[math]= \sum_{j = 0}^1 \sum_{k = 0}^6 \binom{1}{j} \binom{6}{k} (-1)^{1 - j} 3^{7 -j - k} x^{7 - j - k}[/math]
For the [imath]x^3[/imath] term, pick out j, k such that 7 - j - k = 3. Well, j only goes from 0 to 1, so when j = 0, k = 4 and when j= 1 then k = 3. So the coefficient of [imath]x^3[/imath] will be
[imath]\binom{1}{0} \binom{6}{4} (-1)^{1 - 0} 3^{7 -0 - 4} + \binom{1}{1} \binom{6}{3} (-1)^{1 - 1} 3^{7 -1 - 3}[/imath]

But it's simpler just to distribute:
[math](1 - 3x)(1 + 3x)^6 = \sum_{k = 0}^6 \binom{6}{k} (1)^k (3x)^{6 - k} + \sum_{k = 0}^6 \binom{6}{k} (1)^k (-3x) (3x)^{6 - k}[/math]
and go from there.

-Dan
 
Top