Finding operators (and, possibly, exponents) in a system

Click For Summary
SUMMARY

The discussion focuses on solving a system of equations where the operands and potential exponents are unknown. The user has a dataset with variables (Var a, Var b, Var c) and a result (r) but lacks clarity on the mathematical operations connecting them. The consensus is that traditional linear algebra techniques, such as row reduction, are inadequate due to the uncertainty of operators like addition, subtraction, and modulus. The only viable approach suggested is to employ a trial-and-error method, or "plug 'n chug," to identify suitable operators and exponents, emphasizing the need for a larger dataset for better accuracy.

PREREQUISITES
  • Understanding of systems of equations
  • Familiarity with linear algebra concepts
  • Knowledge of mathematical operators (e.g., +, -, %, /)
  • Basic algorithmic problem-solving skills
NEXT STEPS
  • Research methods for solving non-linear equations
  • Explore algorithms for operator discovery in mathematical systems
  • Learn about regression analysis to fit models to data
  • Investigate machine learning techniques for pattern recognition in datasets
USEFUL FOR

Mathematicians, data scientists, algorithm developers, and anyone interested in solving complex systems of equations with unknown operators and exponents.

hansaaa
Messages
2
Reaction score
0
Hi, I have an algorithm that I have to test, and it gives me certain variables at different stages of time. I also have a "result" (I guess you can call it that), that these variables are supposed to amount to, in some mathematical fashion, at those equal points in time.

This gives me a system of equations:

Code:
Var a   Var b  Var c    r (result)
1          3          2           1
2          2          2           0
0          4          2           0

I realize how to solve this, if this were a system of linear equations (I.e. "linear" algebra). But, the thing is, I DON'T know the OPERANDS. And, it could also be a non-linear system, but I don't know the exponents either.

I.e., the operands could be "+" or "-", but they could also be "%" (mod), "/", division, etc. and the exponents could be 1, 5, or 365

Of course, the operands and exponents would have to be the same in each column of a respective row, i.e. Var a, would always be, for example, "modded" (%), with Var b, and, Var b, could always be, say multiplied (x) with Var C, to get result "r".


So, again, row reduction for linear algebra wouldn't be that great of a deal, I've done it plenty of times before and even have algorithms for it, BUT, this is a different case, trying to find the operands (and possibly exponents, if they are not 1, which I do assume, but DON'T KNOW) for each column (IF ANY), that make this system of equations valid, I guess.

Is there some kind of mathematical fashion/algorithm for finding this out? Or is the only solution I have "plug 'n chug" (i.e. plug in operators and exponents into the columns, and see what I get)??

Thanks! C:)
 
Last edited:
Physics news on Phys.org
You have to guess there, and see how well those guesses fit. If you know something about the "result", this can help to make better guesses.
Oh, and you need much more data. 3 Rows are not sufficient, as there are so many possible algorithms.
 
yap, that was only a sample output. I guess there is no other way but "Guessing", oh my ^^
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 16 ·
Replies
16
Views
11K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K