Multi-dimensional root finding

  • Thread starter Thread starter natski
  • Start date Start date
  • Tags Tags
    Root
AI Thread Summary
The discussion focuses on finding solutions for multiple non-linear equations involving three variables (x, y, z) based on measured values of functions f, g, and h. It suggests that the solutions correspond to the intersections of surfaces represented by these functions. A matrix approach is proposed, where coefficients can be organized into a matrix equation AX=B, allowing for the determination of variable values. Broyden's method is mentioned as a potential solution, although it may require Jacobian calculations, which complicates the process. Transformations of the functions are also discussed to simplify the equations, enabling the use of matrices for solving.
natski
Messages
262
Reaction score
2
Hi all,

Consider that one has several functions, say 3, of the form f(x,y,z) and g(x,y,z) and h(x,y,z). You know the form of these equations and they are non-linear, long, messy equations. f', g' and h' are even longer and messier and therefore assume that they cannot be found.

Now consider you measure f, g and h and want to determine x, y and z.

What method is recommended for solving this in a numerical and computationally efficient (but simple to implement) manner?

Cheers,

Natski
 
Mathematics news on Phys.org
Well, its if 3 dimensions (x,y,z), and you can find the values of the functions, what you'll essentially be left with are equations of surfaces. Any solution you obtain will be the intersection of those surfaces. If you know the functions, I'm pretty sure you could use matrices to solve for them.

For example, you have three functions of the form

f(x,y,z)=a_{0}+a_{1}x+...+a_{n}x^n+b_0+b_1y+...+b_ny^n +c_0+c_1z+...+c_nz^n

along with all the xy, yz, zx terms of degree n, then you could create a matrix equation such that AX=B where A holds the coefficients, X holds the values x, x^2, etc and B holds the values of the 3 functions.

then X=A-1B will give you a solution.
 
Last edited:
Cramer's rule only applies for linear equations.
A matrix method would not be involve the Jacobian which cannot be computed in this case.

I think the solution lies within Broyden's method.
 
Thats pretty messy though, perhaps another way to do so would be to assume that the function you have is of the form,

f(x,y,z)=(ax+by)^n + (cy+dz)^n +(ez+fx)^n

Since you know f, you could find out the values of the constants. Perhaps to simplify the above equation, you could apply the transformation

X=\frac{a}{\sqrt{a^2+b^2}}x+\frac{b}{\sqrt{a^2+b^2}}y

Y=\frac{c}{\sqrt{c^2+d^2}}y+\frac{d}{\sqrt{a^2+d^2}}z

Z=\frac{e}{\sqrt{e^2+f^2}}z+\frac{f}{\sqrt{e^2+f^2}}x

That would transform the above equation into

f(X,Y,Z)=k_1X^n +k_2Y^n+k_3Z^n

where

k_1=(a^2+b^2)^{\frac{n}{2}}

k_2=(c^2+d^2)^{\frac{n}{2}}

k_3=(e^2+f^2)^{\frac{n}{2}}
 
I don't know much about Broyden's method, but from what wikipedia says, wouldn't you have to calculate the Jacobian there too?

If you use the transformation, I think you could use matrices to solve the equations and you can find the jacobian of the transformation. Then you could use cramer's rule to solve for Xn, Yn, Zn.
 
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...

Similar threads

Replies
2
Views
1K
Replies
13
Views
2K
Replies
8
Views
2K
Replies
5
Views
953
Replies
6
Views
2K
Replies
5
Views
1K
Back
Top