sign up I login
 advanced
refer a friend - earn nickels!!

Ask & Discuss Questions with Community & Experts

Moderation Team
 90 chars left    advanced
Ask iit jee aieee pet cbse icse state board community Community Discussion Question: P and C
Forum Index -> Algebra like the article? email it to a friend.  
Author Message
lokeshsardana (675)

Blazing goIITian

Olaaa!! Perrrfect answer. 117  [162 rates]

lokeshsardana's Avatar

total posts: 625    
offline Offline
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

    
akhil_o (2704)

Blazing goIITian

Olaaa!! Perrrfect answer. 434  [701 rates]

akhil_o's Avatar

total posts: 1451    
offline Offline
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 Olaaa!! Perrrfect answer.   in 1 votes )   [?]
 
You have to be logged on to rate
  
the.sniper (642)

Blazing goIITian

Olaaa!! Perrrfect answer. 112  [153 rates]

the.sniper's Avatar

total posts: 754    
offline Offline
ext{We have the equation}   2x+y+z=20     ext{consider the following cases:}    ext{Case1:  }x=0   ext{we have  }y+z=20

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 Olaaa!! Perrrfect answer.   in 2 votes )   [?]
 
You have to be logged on to rate
  
Greatdreams (3155)

Forum Expert Moderator

Olaaa!! Perrrfect answer. 599  [679 rates]

Greatdreams's Avatar

total posts: 600    
offline Offline
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 Olaaa!! Perrrfect answer.   in 3 votes )   [?]
 
You have to be logged on to rate
  
sboosy (3053)

Blazing goIITian

Olaaa!! Perrrfect answer. 537  [721 rates]

sboosy's Avatar

total posts: 510    
offline Offline
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 b )] [ .....] [ ....]
in the second bracket instead of a put b ...that is coeff of x2 and instead of a1 ...put a2 to b   
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 Olaaa!! Perrrfect answer.   in 1 votes )   [?]
 
You have to be logged on to rate
  
lokeshsardana (675)

Blazing goIITian

Olaaa!! Perrrfect answer. 117  [162 rates]

lokeshsardana's Avatar

total posts: 625    
offline Offline
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 Olaaa!! Perrrfect answer.   in 0 votes )   [?]
 
You have to be logged on to rate
  
sboosy (3053)

Blazing goIITian

Olaaa!! Perrrfect answer. 537  [721 rates]

sboosy's Avatar

total posts: 510    
offline Offline
i think the method gives the same answer ..121
 this reply: 0 points  (with Olaaa!! Perrrfect answer.   in 0 votes )   [?]
 
You have to be logged on to rate
  
 
Forum Index -> Algebra
Go to:   

Top Offers for goIITians
Correspondence Courses
Brilliant Tutorials
Narayana Institute
Aakash Institute
Classroom/Crash Courses
Narayana - Kota , Delhi , Others
Brilliant Tutorials - Class , Crash
Aakash Institute - Medical , Engg
Online Test Series
Brilliant Tutorials
Narayana Institute
Aakash Institute
Mahesh Tutorials
AMITY      Sri Chaitanya