Variable Set Distribution - Buckingham Pi Theorum

Click For Summary
SUMMARY

The discussion centers on generating variable sets using the Buckingham Pi Theorem, specifically focusing on combinations of input variables. The user seeks to create sets from four variables [V, D, p, u] distributed in different ways, utilizing the binomial coefficient for calculations. For three variables per set, four unique combinations are possible, while for two variables, six combinations arise. The user inquires about the feasibility of using matrix products to achieve these combinations and requests assistance with the underlying mathematics or programming solutions.

PREREQUISITES
  • Understanding of the Buckingham Pi Theorem
  • Familiarity with binomial coefficients and combinations
  • Basic knowledge of matrix multiplication
  • Programming skills in a language suitable for mathematical computation (e.g., Python, MATLAB)
NEXT STEPS
  • Research the implementation of combinations in Python using the itertools library
  • Explore matrix operations in NumPy for potential solutions
  • Study the mathematical principles behind the Buckingham Pi Theorem
  • Investigate algorithms for generating combinations without using matrices
USEFUL FOR

Mathematicians, engineers, and programmers interested in variable set manipulation, particularly those applying the Buckingham Pi Theorem in computational models.

SSGD
Messages
49
Reaction score
4
Background:

I am trying to write a program for Buckingham Pi Groups. I need to find a way to list all the input varialbes as different sets.

For example if I have 4 variables [V D p u] and I want to distribute them 3 ways I get 4 sets.

Number of Sets = Binomial(Number of Variables, Variables per Set) = Binomial(4, 3) = 4
Set1 = [V D p]
Set2 = [V D u]
Set3 = [V p u]
Set4 = [D p u]

For example if I have 4 variables [V D p u] and I want to distribute them 2 ways I get 6 sets.

Number of Sets = Binomial(Number of Variables, Variables per Set) = Binomial(4, 2) = 6
Set1 = [V D]
Set2 = [V p]
Set3 = [V u]
Set4 = [D p]
Set5 = [D u]
Set6= [p u]

Can the different Sets be created by a matrix product?

[V D p u]x(4xN)=(1xN)

First Example
(1x4)x(4x3)=(1x3)
or
(4x4)x(4x3)=(4x3)

Second Example
(1x4)x(4x2)=(1x2)
or
(6x4)x(4x2)=(6x2)Is anyone familiar with this kind of manipulation of Sets of Variables. I need help with the math or programming that can solve for the different sets. I have experience with matrix math and programming, but I just can't figure this problem out.
 
Physics news on Phys.org

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 25 ·
Replies
25
Views
3K
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
6K