Why Does the Binomial Theorem Solution Differ from the Book's Answer?

In summary: What you've been doing is solving each term on average, but what you might not be aware of is that you can also solve it using the "expected value" method. So, imagine you do the same thing n times (eg, try to hit a target), with independent results, and the probability of success each time is x:what does ∑ rnCrxryn-r represent? :smile:∑ rnCrxryn-r represents the expected value of the number of successes (after n independent tries).
  • #1
gaganspidey
20
0

Homework Statement



106g8jd.jpg


Homework Equations



Formula => C(n,r) or nCr =n!/r!(n-r)! & the basic Binomial Theorem formula.

*Answer mentioned in book = nx

The Attempt at a Solution



The LHS should be (x+y)n & the given question is its expansion only if that 'r' is not multiplied in the question. I also know how to add using the summation feature but I am not able to get x+y in the expansion (so I could substitute the value of 1). If I substitute 1 on the LHS I get => 1n.
 
Last edited:
Physics news on Phys.org
  • #2
Welcome to PF!

Hi gaganspidey! Welcome to PF! :smile:
gaganspidey said:
Answer mentioned in book = nx

hmm … when you see the trick, you're going to kick yourself about how simple it is. :biggrin:

Hint: the sum of n elements is x times n … think "average" … :rolleyes:

(and everyone else, please no more hints until he's had a chance to reply! :wink:)
 
  • #3
It might sound strange but I still don't get it. From your hint what I've been able to understand is that there are n elements in the expansion because r ranges from 0 to n, but what has x got to do with it, I mean isn't it something like this -

0 + nxyn-1 +n(n-1)x2yn-2 + ... + xn

So how do we solve it to get the answer.

So sorry for being silly, I've a feeling its really easy but I am just not able to get it :frown:
 
Last edited:
  • #4
Sorry … perhaps that was a bit too cryptic :redface:

Try this: imagine you do the same thing n times (eg, try to hit a target), with independent results, and the probability of success each time is x:

what does ∑ rnCrxryn-r represent? :smile:
 
  • #5
So its means we don't actually have to calculate anything here, we just have to assume its average, like you said earlier,i.e, :-

= 0 + nxyn-1 +n(n-1)x2yn-2 + ... + xn <-----(the first actual step)
= x + x + x + x + ... + x upto n terms <-----(assuming we get x by solving each term on average)
= xn

But then why have the given value 'x+y=1' not been used, I think it tells us that the values of 'x' & 'y' are less than 1. And why do we take the average of each term as 'x' and not as any other term such as 'y' or 'r'
 
  • #6
tiny-tim said:
Try this: imagine you do the same thing n times (eg, try to hit a target), with independent results, and the probability of success each time is x:

what does ∑ rnCrxryn-r represent? :smile:

∑ rnCrxryn-r represents the expected value of the number of successes (after n independent tries).

But if you haven't done "expected values", try this:

What is ∑ (r/nx) nCrxryn-r ? :smile:

(expand the nCr)
 
  • #7
Unfortunately I'm not aware of "expected value" concept.
Here's the expansion that I've done :
= 0 + (1/nx) n(n-1)!/(n-1)! xyn-1 + (2/nx) n(n-1)(n-2)!/2!(n-2)! x2yn-2 + ... + (n/nx) nCnxnyn-n <------(substituting r=0,1,2...n)
= yn-1 + (n-1)xyn-2 + ... + xn-1
 
  • #8
I find that for general problems like this you need to manipulate the binomial coefficient expressed as a ratio of factorials(absorb the r term into it).

Note:
[tex]r! = r\cdot (r-1)! = r\cdot (r-1)\cdot (r-2)! ...[/tex]

Thus:

[tex]\sum_{r=0}^{n} r \mathbf{C}^n_r x^r y^{n-r}=\sum_{0}^{n} r \cdot\frac{n!}{r!(n-r)!} x^r y^{n-r}[/tex]

[tex]=\sum_{r=0}^{n} r \cdot\frac{n!}{r\cdot(r-1)!(n-r)!} x^r y^{n-r}[/tex]

Cancel the r's and then manipulate until you get a different binomial coefficient. Then see if you can factor out x's or y's from the sum to get another different binomial expansion. Then pay close attention to the end terms on the summation. See if you can manipulate it into something plus something times another binomial expansion sum.

Note that you can recursively solve this with higher powers of r since:

[tex]\sum_{r=0}^{n} r^2 \frac{n!}{r!(n-r)!} x^r y^{n-r}[/tex]

[tex]\sum_{r=0}^{n} r(r-1) \frac{n!}{r!(n-r)!} x^r y^{n-r}-\sum_{0}^{n} r \frac{n!}{r!(n-r)!} x^r y^{n-r}[/tex]

[EDIT: I forgot to write r=0 instead of 0 in the summation notation. Fixed now.]
 
Last edited:
  • #9
gaganspidey said:
0 + (1/nx) n(n-1)!/(n-1)! xyn-1 + (2/nx) n(n-1)(n-2)!/2!(n-2)! x2yn-2 + ...

hold it! what's going on here? :confused:

you're getting really confused …

n(n-1)(n-2)/2!(n-2)! isn't nC2

(I assume you meant that, without the extra "!")

you either mean n(n-1)/2!, or you mean n!/2!(n-2)!

Try again, multiplying by r/nx, and just using n!/r!(n-r)! (and without breaking it down any further) :smile:
 
  • #10
gaganspidey said:
It might sound strange but I still don't get it. From your hint what I've been able to understand is that there are n elements in the expansion because r ranges from 0 to n, but what has x got to do with it, I mean isn't it something like this -

0 + nxyn-1 +n(n-1)x2yn-2 + ... + xn

So how do we solve it to get the answer.

So sorry for being silly, I've a feeling its really easy but I am just not able to get it :frown:

Ok, you're on the right track.

What don't you use the sum of geometric series?

[tex]a + ar + a r^2 + ar^3 + \cdots + a r^{n-1} = \sum_{k=0}^{n-1} ar^k= a \, \frac{1-r^n}{1-r},[/tex]

Regards.
 
  • #11
jambaugh said:
I find that for general problems like this you need to manipulate the binomial coefficient expressed as a ratio of factorials(absorb the r term into it).

Note:
[tex]r! = r\cdot (r-1)! = r\cdot (r-1)\cdot (r-2)! ...[/tex]

Thus:

[tex]\sum_{r=0}^{n} r \mathbf{C}^n_r x^r y^{n-r}=\sum_{0}^{n} r \cdot\frac{n!}{r!(n-r)!} x^r y^{n-r}[/tex]

[tex]=\sum_{r=0}^{n} r \cdot\frac{n!}{r\cdot(r-1)!(n-r)!} x^r y^{n-r}[/tex]

Cancel the r's and then manipulate until you get a different binomial coefficient. Then see if you can factor out x's or y's from the sum to get another different binomial expansion. Then pay close attention to the end terms on the summation. See if you can manipulate it into something plus something times another binomial expansion sum.

I think this is an excellent way of doing this! Since neither n nor x are involved in the summation index, you can factor both of them out. And what's left can be manipulated into something much nicer.

Note that you can recursively solve this with higher powers of r since:

[tex]\sum_{r=0}^{n} r^2 \frac{n!}{r!(n-r)!} x^r y^{n-r}[/tex]

[tex]\sum_{r=0}^{n} r(r-1) \frac{n!}{r!(n-r)!} x^r y^{n-r}-\sum_{0}^{n} r \frac{n!}{r!(n-r)!} x^r y^{n-r}[/tex]

[EDIT: I forgot to write r=0 instead of 0 in the summation notation. Fixed now.]

What do you mean by this? Apparently I'm a bit out of it and I'm not sure what you're suggesting. Thanks!
 
  • #12
Alternatively, we could notice that the sum is the derivative of the usual binomial expansion multiplied by x.
 
  • #13
tiny-tim said:
hold it! what's going on here? :confused:

you're getting really confused …

n(n-1)(n-2)/2!(n-2)! isn't nC2

(I assume you meant that, without the extra "!")

you either mean n(n-1)/2!, or you mean n!/2!(n-2)!

Try again, multiplying by r/nx, and just using n!/r!(n-r)! (and without breaking it down any further) :smile:

Yes actually I expanded it a little bit further, but when applying the formula only, I get :

= 0 + (1/nx) n!/(n-1)! xyn-1 + (2/nx) n!/2!(n-2)! x2yn-2 + ... + (n/nx) nCnxnyn-n <------(substituting r=0,1,2...n)
= yn-1 + (n-1)xyn-2 + ... + xn-1

which is the same result.
 
  • #14
Дьявол said:
Ok, you're on the right track.

What don't you use the sum of geometric series?

[tex]a + ar + a r^2 + ar^3 + \cdots + a r^{n-1} = \sum_{k=0}^{n-1} ar^k= a \, \frac{1-r^n}{1-r},[/tex]

Regards.

I wonder how I could apply this formula because we need a geometric progression for it,ie, a2/a1=a3/a2 whereas I am not getting LHS = RHS.
 
  • #15
jambaugh said:
I find that for general problems like this you need to manipulate the binomial coefficient expressed as a ratio of factorials(absorb the r term into it).

Note:
[tex]r! = r\cdot (r-1)! = r\cdot (r-1)\cdot (r-2)! ...[/tex]

Thus:

[tex]\sum_{r=0}^{n} r \mathbf{C}^n_r x^r y^{n-r}=\sum_{0}^{n} r \cdot\frac{n!}{r!(n-r)!} x^r y^{n-r}[/tex]

[tex]=\sum_{r=0}^{n} r \cdot\frac{n!}{r\cdot(r-1)!(n-r)!} x^r y^{n-r}[/tex]

Cancel the r's and then manipulate until you get a different binomial coefficient. Then see if you can factor out x's or y's from the sum to get another different binomial expansion. Then pay close attention to the end terms on the summation. See if you can manipulate it into something plus something times another binomial expansion sum.

Note that you can recursively solve this with higher powers of r since:

[tex]\sum_{r=0}^{n} r^2 \frac{n!}{r!(n-r)!} x^r y^{n-r}[/tex]

[tex]\sum_{r=0}^{n} r(r-1) \frac{n!}{r!(n-r)!} x^r y^{n-r}-\sum_{0}^{n} r \frac{n!}{r!(n-r)!} x^r y^{n-r}[/tex]

[EDIT: I forgot to write r=0 instead of 0 in the summation notation. Fixed now.]

Hmm...got to give it a try.
 
  • #16
Gib Z said:
Alternatively, we could notice that the sum is the derivative of the usual binomial expansion multiplied by x.

Sorry, I still have to learn derivation/differentiation.
 
  • #17
gaganspidey said:
Yes actually I expanded it a little bit further, but when applying the formula only, I get :

= 0 + (1/nx) n!/(n-1)! xyn-1 + (2/nx) n!/2!(n-2)! x2yn-2 + ... + (n/nx) nCnxnyn-n <------(substituting r=0,1,2...n)
= yn-1 + (n-1)xyn-2 + ... + xn-1

which is the same result.

Nooo …

you're trying to guess what it is from what the first couple of terms look like …

that's a recipe for disaster …

just deal with one (general) term: what is (r/nx)nCr ?

(this is the same as jambaugh's :smile: suggestion …)
jambaugh said:
[tex]\sum_{r=0}^{n} r \mathbf{C}^n_r x^r y^{n-r}=\sum_{0}^{n} r \cdot\frac{n!}{r!(n-r)!} x^r y^{n-r}[/tex]

[tex]=\sum_{r=0}^{n} r \cdot\frac{n!}{r\cdot(r-1)!(n-r)!} x^r y^{n-r}[/tex]

Cancel the r's and then manipulate until you get a different binomial coefficient. Then see if you can factor out x's or y's from the sum to get another different binomial expansion.

(and ignore Дьявол's suggestion)
 
  • #18
gaganspidey said:
Sorry, I still have to learn derivation/differentiation.

Ahh sorry, I forgot it was in the pre calc forums. Pity, I thought it was a pretty short and simple solution =[

EDIT: I guess it depends on what you can see from inspection. I mean, if you can see that your series is the expansion of [itex]nx (x+y)^{n-1}[/itex] then that would be great lol! But obviously it needs practice for these kind of things.
 
  • #19
gaganspidey said:
Hmm...got to give it a try.
I worked it out and there are a couple of "tricks" trying from the start (such as adding and subtracting 1 and grouping to get a particular form.)

I suggest you also give the binomial expansion of:
[tex](x+y)^{n-1}[/tex]
so you can work from both ends.

Also it is quite helpful to pick some small values of n say 3, 4 and 5 and working through theses examples explicitly to see what's going on in general. (Good technique in any such problem!)
 
  • #20
jambaugh said:
I worked it out and there are a couple of "tricks" trying from the start (such as adding and subtracting 1 and grouping to get a particular form.)

I suggest you also give the binomial expansion of:
[tex](x+y)^{n-1}[/tex]
so you can work from both ends.

Also it is quite helpful to pick some small values of n say 3, 4 and 5 and working through theses examples explicitly to see what's going on in general. (Good technique in any such problem!)

This went over my head :redface:
 
  • #21
What is (r/n)nCr ? :smile:
 
  • #22
tiny-tim said:
What is (r/n)nCr ? :smile:

Do you mean : -

[tex]\sum_{r=0}^{n}[/tex] r/(nx) nCr

= [tex]\sum_{r=0}^{n}[/tex] r/(nx)n!/r(r-1)!(n-r)!

= [tex]\sum_{r=0}^{n}[/tex] 1/(nx)n!/(r-1)!(n-r)! <-----(cancelling the r's)

= 0 + 1/(nx) n!/(n-1)! + 1/(nx) n!/(n-2)! +...+ 1/(nx) n!/(n-1)! <----(putting r=0,1,2...n)

= 1/x + (n-1)/x + (n-1)(n-2)/2x + ... +1/x
 
  • #23
gaganspidey said:
Do you mean : -

[tex]\sum_{r=0}^{n}[/tex] r/(nx) nCr

= [tex]\sum_{r=0}^{n}[/tex] r/(nx)n!/r(r-1)!(n-r)!

= [tex]\sum_{r=0}^{n}[/tex] 1/(nx)n!/(r-1)!(n-r)! <-----(cancelling the r's)

ok so far … but don't go beserk …

(and forget the ∑ … I didn't ask about the ∑)

now what else can you cancel?

and then what is the result equal to? :smile:
 
  • #24
gaganspidey said:
This went over my head :redface:

[tex]\sum_{r=0}^3 r\cdot C_r^3 \cdot x^r y^{3-r} [/tex]
[tex]= 0\cdot 1\cdot x^0 y^3 + 1\cdot 3 \cdot x^1 y^2 + 2\cdot 3 \cdot x^2 y^1 + 3\cdot 1\cdot x^3[/tex]
[tex]= 3 \cdot x y^2 + 6 \cdot x^2 y + 3\cdot x^3[/tex]
[tex]= 3x( y^2 + 2 \cdot x y + \cdot x^2)[/tex]
[tex] = 3x(x+y)^2 = 3x[/tex]

Now try it with n=4.

[edit] Another helpful trick when dealing with the general n sum. Where you have n-r you can rewrite that as n-r + 1 - 1 and regroup the 1's...
 
Last edited:
  • #25
gaganspidey said:
Do you mean : -

[tex]\sum_{r=0}^{n}[/tex] r/(nx) nCr

=
...

I suggest you put the whole equations inside the tex:

[tex]\sum_{r=0}^{n} r/(nx) C^n_r[/tex]

[tex]=\sum_{r=0}^{n} r/(nx)n!/r(r-1)!(n-r)![/tex]


And use the \frac{ numerator}{denominator} latex command so your fractions are clear.


[tex]\sum_{r=0}^{n} \frac{r}{nx} C^n_r[/tex]

= [tex]\sum_{r=0}^{n} \frac{r}{nx} \frac{n!}{r(r-1)!(n-r)!}[/tex]


You have forgotten about the x^r y^{n-r} factor. You need it.
[tex]=\sum_{r=0}^{n} \frac{r}{nx} \frac{n!}{r(r-1)!(n-r)!} x^r y^{n-r}[/tex]
At this point you'll need a trick or two once you simplify.
Remember you can also write the n! as n(n-1)! and the n-r as n-1 - r + 1 = n-1 -(r-1).

But again I suggest you go through some sums with n=4 and n=5 to see why all these manipulations.
 
  • #26
jambaugh said:
[tex]\sum_{r=0}^3 r\cdot C_r^3 \cdot x^r y^{3-r} [/tex]
[tex]= 0\cdot 1\cdot x^0 y^3 + 1\cdot 3 \cdot x^1 y^2 + 2\cdot 3 \cdot x^2 y^1 + 3\cdot 1\cdot x^3[/tex]
[tex]= 3 \cdot x y^2 + 6 \cdot x^2 y + 3\cdot x^3[/tex]
[tex]= 3x( y^2 + 2 \cdot x y + \cdot x^2)[/tex]
[tex] = 3x(x+y)^2 = 3x[/tex]

Now try it with n=4.

[edit] Another helpful trick when dealing with the general n sum. Where you have n-r you can rewrite that as n-r + 1 - 1 and regroup the 1's...

For n=4 :-

[tex]\sum_{r=0}^4 r\cdot C_r^4 \cdot x^r y^{4-r} [/tex]
[tex]= 0 + 4 \cdot x y^3 + 12 \cdot x^2 y^2 + 12\cdot x^3 y + 4 \cdot x^4[/tex]
[tex]= 4x( y^3 + 3 \cdot x y^2 + 3 \cdot x^2 y + x^3)[/tex]
[tex]= 4x(x+y)^3 = 4x[/tex] <--------(substituting the value x+y=1)

[tex]= nx [/tex] <--------(when r=1 to n) {Is this step correct?}

Thanks for your help.

tiny-tim said:
ok so far … but don't go beserk …

(and forget the ∑ … I didn't ask about the ∑)

now what else can you cancel?

and then what is the result equal to? :smile:

I think jambaugh's hint solves my question, so is the following required :

[tex]=\sum_{r=0}^{n} \frac{r}{nx} \frac{n!}{r(r-1)!(n-r)!} x^r y^{n-r}[/tex]

I mean will this yield the same result and do we need to solve just the general term or substitute values of n like jambaugh has done.
 
Last edited:
  • #27
gaganspidey said:
… I think jambaugh's hint solves my question, so is the following required :

[tex]=\sum_{r=0}^{n} \frac{r}{nx} \frac{n!}{r(r-1)!(n-r)!} x^r y^{n-r}[/tex]

I mean will this yield the same result and do we need to solve just the general term or substitute values of n like jambaugh has done.

You're still missing the point that jambaugh and I are trying to lead you towards …

Hint: what is n!/n ? :smile:
 
  • #28
tiny-tim said:
You're still missing the point that jambaugh and I are trying to lead you towards …

Hint: what is n!/n ? :smile:

This is what I've been able to work out :

[tex]\sum_{r=0}^{n} r C^n_r x^r y^{n-r}[/tex] <--------(given)

[tex]= \frac{n!}{(r-1)!(n-1-(r-1)!} x^r y^{n-r}[/tex] <---------(cancelling the r's & adding & subtracting 1 & regrouping them)

[tex]= \frac{(nx)}{x} \frac{(n-1)!}{(r-1)!(n-1-(r-1)!} x^r y^{n-r}[/tex] <-------(separating n & multiplying & dividing by x)

[tex]= (nx) C^{n-1}_{r-1} x^{r-1}y^{n-r} [/tex] <-------( The R.H.S)

[tex]= nx(y+x)^{n-1}[/tex] <--------(The L.H.S)

[tex]= nx [/tex] <--------(Substuting the value x+y=1)I think something's not right above, but what is it ?
 
  • #29
No, that proof is exactly right! :biggrin:
 
  • #30
That means I am through with this problem though I need to increase my speed a bit else... :rolleyes:
 
  • #31
Thanks, this ended up helping a lot =)

and sorry for digging up an old thread!
 
  • #32
gaganspidey said:
This is what I've been able to work out :

[tex]\sum_{r=0}^{n} r C^n_r x^r y^{n-r}[/tex] <--------(given)

[tex]= \frac{n!}{(r-1)!(n-1-(r-1)!} x^r y^{n-r}[/tex] <---------(cancelling the r's & adding & subtracting 1 & regrouping them)

[tex]= \frac{(nx)}{x} \frac{(n-1)!}{(r-1)!(n-1-(r-1)!} x^r y^{n-r}[/tex] <-------(separating n & multiplying & dividing by x)

[tex]= (nx) C^{n-1}_{r-1} x^{r-1}y^{n-r} [/tex] <-------( The R.H.S)

[tex]= nx(y+x)^{n-1}[/tex] <--------(The L.H.S)

[tex]= nx [/tex] <--------(Substuting the value x+y=1)


I think something's not right above, but what is it ?

Hmm, just a question: The solution seems impeccable, but what happened to the sigma notation after the first line?
 

FAQ: Why Does the Binomial Theorem Solution Differ from the Book's Answer?

How do I determine the coefficients in a binomial expansion?

The coefficients in a binomial expansion can be determined using Pascal's Triangle or the Binomial Theorem formula. To use Pascal's Triangle, find the row that corresponds to the power of the binomial, and the coefficients will be the numbers in that row. To use the Binomial Theorem formula, use the formula nCr = n! / r!(n-r)!, where n is the power of the binomial and r is the term number.

What is the difference between a binomial expansion and a binomial theorem?

A binomial expansion is the result of expanding a binomial expression raised to a certain power, while the Binomial Theorem is the formula used to calculate the coefficients in a binomial expansion. In other words, the Binomial Theorem is the method used to solve a binomial expansion problem.

How can I simplify a binomial expansion?

A binomial expansion can be simplified by combining like terms. This means adding or subtracting terms that have the same variables and exponents. Additionally, you can use the Binomial Theorem formula to calculate the coefficients and then plug them into the expanded expression to simplify it further.

Can I use the Binomial Theorem to expand expressions with more than two terms?

No, the Binomial Theorem can only be used to expand binomial expressions, which have two terms. For expressions with more than two terms, you will need to use other methods, such as the FOIL method or the distributive property.

How do I know when to stop expanding a binomial expression?

You can stop expanding a binomial expression when you have reached the specified power. For example, if you need to expand (x+y)^3, you can stop after you have written out all terms up to x^3. Additionally, you can stop expanding when all the terms have been combined and simplified to their simplest form.

Back
Top