Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
[Discrete Maths] Counting ,Number of solutions to the equation
rahul sharma 5
asked
in
Combinatory
Jun 10, 2017
2,514
views
2
votes
2
votes
How many solutions are there to the equation
x1 + x2 + x3 + x4 + x5 = 21,
where xi , i = 1, 2, 3, 4, 5, is a nonnegative integer such that:
0 ≤ x1 ≤ 3 , 1 ≤ x2 < 4 and 15≤x3 ?
generating-functions
discrete-mathematics
rahul sharma 5
asked
in
Combinatory
Jun 10, 2017
by
rahul sharma 5
2.5k
views
answer
comment
Follow
share this
share
4 Comments
by
rahul sharma 5
commented
Jun 10, 2017
reply
Follow
share this
I tried moving lower constraint from x2(1) and x3(15) and RHS becomes 21-6=5.
Then i find the coefficient of x^5 which is coming as -106 but answer in book is 106,Does sign matters here?I know number of solutions will be +ve only but if it comes -ve then can we ignore sign or do we give 0 as answer?
0
0
by
Hemant Parihar
commented
Jun 10, 2017
reply
Follow
share this
$\binom{24}{4}$ - $\binom{8}{4}$ - $\binom{21}{4}$ + $\binom{5}{4}$ - $\binom{20}{4}$ + $\binom{4}{4}$ + $\binom{17}{4}$ ????
0
0
by
rahul sharma 5
commented
Jun 10, 2017
reply
Follow
share this
Given answer is 106.
0
0
by
Hemant Parihar
commented
Jun 11, 2017
reply
Follow
share this
$\binom{9}{4}$ - $\binom{6}{4}$ - $\binom{5}{4}$ = 106.
Sorry by mistake in the previous one I considered x3 <= 15.
0
0
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
2
Answers
4
votes
4
votes
Hope this helps.
Pinaki Dash
answered
Jun 10, 2017
by
Pinaki Dash
comment
Follow
share this
3 Comments
by
rahul sharma 5
commented
Jun 10, 2017
reply
Follow
share this
I started with the same approach. I have written all the terms in power of x.And then i find coefficient of x^5 .And it came as -106.So we can ignore the coefficient and select 106 as the answer?
If you didn't understand my approach,i will upload an image.let me know
0
0
by
iarnav
commented
Jul 21, 2017
reply
Follow
share this
How y2 = x2-1?
0
0
by
Pinaki Dash
commented
Jul 24, 2017
reply
Follow
share this
Given that x2>=1. So by adding -1 on both sides of inequality:
(x2-1)>=(1-1) => (x2-1)>=0.
Now instead of writing x2-1 everywhere further, replace it with y2 such that y2=x2-1 and y2>=0.
1
1
Please
log in
or
register
to add a comment.
2
votes
2
votes
answer: -106
Prateek kumar
answered
Jan 28, 2018
by
Prateek kumar
comment
Follow
share this
0 Comments
Please
log in
or
register
to add a comment.
← Previous
Next →
← Previous in category
Next in category →
Related questions
4
votes
4
votes
2
answers
1
hem chandra joshi
asked
in
Combinatory
Jan 16, 2018
439
views
How to find the number of solutions value of (n,p) to satisfy (5*n + 9*p) = 23
How to find the number of solutions value of (n,p) to satisfy (5*n + 9*p) = 23
hem chandra joshi
asked
in
Combinatory
Jan 16, 2018
by
hem chandra joshi
439
views
generating-functions
28
votes
28
votes
3
answers
2
mcjoshi
asked
in
Combinatory
Sep 1, 2016
9,008
views
Find the number of integral solutions using generating function
Find the number of integral solutions of $\large 2x + y + z = 20$ with $x, y, z >= 0$ ? I tried finding coefficient of $x^{20}$ in $(1 + x^2 + x^3 + ...... + x^{10})(1+ x^2 + .......... + x^{20})^2$, but it gives wrong answer ?
mcjoshi
asked
in
Combinatory
Sep 1, 2016
by
mcjoshi
9.0k
views
combinatory
combinational-circuit
generating-functions
3
votes
3
votes
1
answer
3
Mk Utkarsh
asked
in
Combinatory
Mar 7, 2019
517
views
Rosen 7e, Advance Counting techniques , Question 6.f
Find the generating function for the sequence $\left \{ a_n \right \} where $ $a_n = \Large \binom{10}{n+1} $ ... $\Large \color{red}{ \frac{( 1+x )^{10} - 1}{x} }$ Please verify
Mk Utkarsh
asked
in
Combinatory
Mar 7, 2019
by
Mk Utkarsh
517
views
kenneth-rosen
discrete-mathematics
generating-functions
1
vote
1
vote
0
answers
4
dd
asked
in
Combinatory
Mar 15, 2017
371
views
Kenneth Rosen 6.4-44 advanced counting
Find out the generating function for $S_n = 1^2 + 2^2 + 3^2 + 4^2 + ... n^2$ and with that generating function show that it is equal to $\begin{align*} \frac{n\left ( n+1 \right )\left ( 2n+1 \right )}{6} \end{align*}$ Find out the ... generating function show that it is equal to $\begin{align*} \left ( \frac{n\left ( n+1 \right )}{2} \right )^2 \end{align*}$
dd
asked
in
Combinatory
Mar 15, 2017
by
dd
371
views
discrete-mathematics
generating-functions
recurrence-relation
Subscribe to GATE CSE 2024 Test Series
Subscribe to GO Classes for GATE CSE 2024
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
Post GATE 2024 Guidance [Counseling tips and resources]
GATE CSE 2024 Result Responses
[Project Contest] Pytorch backend support for MLCommons Cpp Inference implementation
Participating in MLCommons Inference v4.0 submission (deadline is February 23 12pm IST)
IIITH PGEE 2024 Test Series by GO Classes
Subjects
All categories
General Aptitude
(3.5k)
Engineering Mathematics
(10.4k)
Discrete Mathematics
(7.1k)
Mathematical Logic
(2.5k)
Set Theory & Algebra
(1.9k)
Combinatory
(1.6k)
Graph Theory
(1.1k)
Probability
(1.4k)
Linear Algebra
(1.1k)
Calculus
(792)
Optimization
(0)
Digital Logic
(3.6k)
Programming and DS
(6.2k)
Algorithms
(4.8k)
Theory of Computation
(6.9k)
Compiler Design
(2.5k)
Operating System
(5.2k)
Databases
(4.8k)
CO and Architecture
(4.0k)
Computer Networks
(4.9k)
Artificial Intelligence
(79)
Machine Learning
(48)
Data Mining and Warehousing
(25)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(684)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
244k
comments
80.0k
users
Recent Blog Comments
category ?
Hi @Arjun sir, I have obtained a score of 591 in ...
download here
Can you please tell about IIT-H mtech CSE self...
Please add your admission queries here:...
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy