| Author |
Message |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 26 Feb 2008 19:53:47 IST
|
|
|
Find the number of integral solutions of the equatiion 2x + y + z = 20 where x,y,z >= 0 actually I have solved this question but with a lengthy method..... but I want to know other methods too to solve this question...... so, plz tell all the methods you know to solve this problem. note: pls xplain clearly each and every step....... all good efforts will be rated...
|
my future signature:
LOKESH SARDANA,
department of Production and Industrial engineering,
Indian Institute of Technology,Roorkee.
Happiness can be found, even in the darkest of times, if one only remembers to turn on the light.
Albus Dumbledore
Harry Potter and the Prisoner of Azkaban movie
There are only two ways to live your life. One is as though nothing is a miracle. The other is as though everything is a miracle.
-- Albert Einstein
|
|
|
|
![[Post New]](/templates/default/images/icon_minipost_new.gif) 26 Feb 2008 20:10:25 IST
|
|
|
now x,y,z>=0, we have to find solns of 2x+y+z=20 2x term is even...et us take it to be a now a varies from 0 to 20...y and z vary accordingly for a=0, solns of x+y=20, a=2, x+y=18 and so on till a=20... so required solution is sumation of all these cases
for a=0 y+Z=20, it can be done by the ball-wall method...it can be done such that 20 balls are placed...we place a wall in one of the 21 gas so that they automatically get divided into 2 groups
a=0...21C1=21 a=2 19C1=19 and so on
so required soln = 21+19+17+....3+1 =11+10(11) =121
sory evry one....extremly stupid typing error... thanks Greatdreams and sniper
|
" Always remember money isn't everything but make sure you have made a lot of it before talking such nonsense!"
- Bill Gates |
this reply: 2 points
(with 0 
in 1 votes ) [?]
|
|
You have to be logged on to rate
|
|
|
![[Post New]](/templates/default/images/icon_minipost_new.gif) 26 Feb 2008 20:14:05 IST
|
|
|

now we have to divide 20 in two parts in such a way that each part gets 0 or more
this can be done in21C1 ways
similarly on considering cases when x=1 ,x=2 ...x=10we get 19C1 ,17C1......1C1
adding number of solutions of all cases we get 21+19+17+.......1 = sum of first 11 odd numbers= 112=121
|
this reply: 10 points
(with 2 
in 2 votes ) [?]
|
|
You have to be logged on to rate
|
|
|
![[Post New]](/templates/default/images/icon_minipost_new.gif) 26 Feb 2008 20:27:10 IST
|
|
|
2x + y + z = 20
So let x = r
So you have y + z = 20 - 2r
0 r 10 ( as it is given that x,y,z 0)
So we have Number of integral solutions
= No of ways to distribute (20 - 2r) objects among 2 persons
= 20 - 2r + 2 - 1 C 2 - 1
[ No of ways to distribute n objects among r persons = n+r-1 C r-1 ]
= 21 - 2r C 1 = 21 - 2r
So no of reqd solutions = [r =0] 10 (21 - 2r) =21 + 19 + 17 + 15 + 13 +...+ 3+ 1
= 121 ways
Akhil please check your answer......
|
__________________________________________________________________________________________________________
From J.R.R. Tolkien's 'The Lord of the Rings':
All that is gold does not glitter
Not all who wander are lost
The old that is strong does not wither,
Deep roots are not reached by frost.
From ashes a fire shall be woken
From shadows a light shall spring
Renewed shall be blade that's broken
The crown less again shall be king. |
this reply: 15 points
(with 3 
in 3 votes ) [?]
|
|
You have to be logged on to rate
|
|
|
![[Post New]](/templates/default/images/icon_minipost_new.gif) 26 Feb 2008 20:40:31 IST
|
|
|
ax1+bx2+cx3= n where x1 x2 x3 are integers ai <= xi <=bi (i= 1 , 2 , 3) coeff of xn in [ (xa)a1 + (xa )a1+1.....upto x power a power b1 )] [ .....] [ ....] in the second bracket instead of a put b ...that is coeff of x2 and instead of a1 ...put a2 to b2 similarly third bracket u put c instead of a and change substcripts to 3 from 2 according to given sum a=2 0<=x1<= 10 b=1 0<=x2<=20 c=1 0<=x3<=20 so second and third bracket become [ 1+ x + x2+ ....x20] each first bracket [1+x2+x4+ ...x20 ] so question nothing but finding coeff of x power 20 in [1+x2+x4+ ...x20 ] [ 1+ x + x2+ ....x20][ 1+ x + x2+ ....x20] this is the method
|
this reply: 5 points
(with 1 
in 1 votes ) [?]
|
|
You have to be logged on to rate
|
|
|
![[Post New]](/templates/default/images/icon_minipost_new.gif) 26 Feb 2008 21:59:30 IST
|
|
|
good work guys........
@ akhil ........sorry dude ....ur answer is not correct...
@ sniper and greatdreams............I appreciate ur work ...but both of u provided same method.......which I used initially to solve this problem.........
@ sboosy ...... r u sure u r getting same answer( i.e.121) from this method........well this method seems to be more lengthy........so, I didn't tried to find out the answer.................
anyways...........once again thanx to all of u....4 ur solutions....
rates to all of u.........
|
my future signature:
LOKESH SARDANA,
department of Production and Industrial engineering,
Indian Institute of Technology,Roorkee.
Happiness can be found, even in the darkest of times, if one only remembers to turn on the light.
Albus Dumbledore
Harry Potter and the Prisoner of Azkaban movie
There are only two ways to live your life. One is as though nothing is a miracle. The other is as though everything is a miracle.
-- Albert Einstein
|
this reply: 0 points
(with 0 
in 0 votes ) [?]
|
|
You have to be logged on to rate
|
|
|
![[Post New]](/templates/default/images/icon_minipost_new.gif) 26 Feb 2008 22:09:43 IST
|
|
|
i think the method gives the same answer ..121
|
this reply: 0 points
(with 0 
in 0 votes ) [?]
|
|
You have to be logged on to rate
|
|
|
|
|