Inclusion/Exclusion Combinatorics

In summary, the problem asks you to find a recurrence relation for a function that takes six inputs and has one output. You are to find a closed form solution.
  • #1
pupeye11
100
0

Homework Statement



Determine the number of permutations of {1,2,3,4,5,6,7} in which exactly four integers are in there natural positions.

The Attempt at a Solution



Would this be solved by using the Inclusion/Exclusion Principle and finding

[tex]
\left|S\right| - \sum \left|A_{1}\right| + \sum \left|A_{1} \cap A_{2}\right| -...
[/tex]

where i={1,2,3,4,5,6,7}
 
Physics news on Phys.org
  • #2
Wait the easier way to do this would be to say there are

[tex]
\begin{pmatrix}7\\4\end{pmatrix}
[/tex]

while the other 3 integers will form a derangement, so the answer would be

[tex]
\begin{pmatrix}7\\4\end{pmatrix} D_{3}
[/tex]

Is that correct?
 
  • #3
Yes. What is your value for D3?
 
  • #4
Came out to 2 so my answer was 70
 
  • #5
It seems good to me.
 
  • #6
Is a non-recursive formula a formula that only works for a given function and parameters?
 
  • #7
What do you mean given function and parameters? As far as I know, a non-recursive formula is one not defined in terms of previous terms.
 
  • #8
Well the question states as follows:

The sequence [tex]f_n[/tex] is defined by [tex]f_0=f_1=2[/tex] and

[tex]f_n = (\frac{f_{n-1}+2f_{n-2}}{6})[/tex], when [tex]n\geq2[/tex].

Find a non-recursive formula for [tex]f_n[/tex]
 
  • #9
It's asking you to find a formula for fn only in terms of n, not fanything.
 
  • #10
so you need to only find f as a function of n alone
 
  • #11
So its the same as finding a recurrence relation?
 
  • #12
What you gave in the problem is the recurrence relation. You need to find what is called a "closed form." From Wikipedia: Solving a recurrence relation means obtaining a closed-form solution: a non-recursive function of n.
 
  • #13
Shoot, not really sure how to do that...
 
  • #14
would it be the same as this problem:

solve the recurrence relation [tex]h_n = 5h_{n-1}+6h_{n-2}[/tex]

subject to the initial values [tex]h_0 = 1[/tex] and [tex]h_1 = -2[/tex]
 
  • #15
It is similar enough that the same solution technique would likely work on both.
 
  • #16
I will attempt that and post if I run into trouble. Thanks.
 

FAQ: Inclusion/Exclusion Combinatorics

What is inclusion/exclusion combinatorics?

Inclusion/exclusion combinatorics is a mathematical counting technique used to determine the size of a set that is the union of multiple smaller sets. It involves adding and subtracting the number of elements in each set to account for any overlaps or repetitions.

How is inclusion/exclusion combinatorics used in real-life situations?

Inclusion/exclusion combinatorics is used in a variety of real-life situations, such as calculating the number of ways to choose a team from a pool of candidates with different skills or determining the number of possible outcomes in a game with multiple events.

3. What are the key principles of inclusion/exclusion combinatorics?

The key principles of inclusion/exclusion combinatorics include the principle of inclusion, which states that the size of the union of two sets is equal to the sum of their sizes minus the size of their intersection, and the principle of exclusion, which states that the size of a set minus the size of its complement is equal to the size of its complement.

4. Can inclusion/exclusion combinatorics be applied to infinite sets?

Yes, inclusion/exclusion combinatorics can be applied to infinite sets, as long as the principles of inclusion and exclusion are still valid. However, the calculations may become more complex in these cases.

5. What are some common mistakes to avoid when using inclusion/exclusion combinatorics?

Some common mistakes to avoid when using inclusion/exclusion combinatorics include forgetting to include all relevant sets, double counting elements, and using incorrect formulas. It is important to carefully consider all possible cases and use the principles of inclusion and exclusion correctly to get an accurate result.

Similar threads

Back
Top