Direct solution for two unknowns in two equations

  • Context: MHB 
  • Thread starter Thread starter IanfromBristol
  • Start date Start date
  • Tags Tags
    Unknowns
Click For Summary
SUMMARY

The discussion centers on solving two equations with two unknowns, specifically: (1) C1(x^4-y^4) + C2x = Q1 and (2) C1(y^4-x^4) + C3y = Q2. The coefficients C1, C2, and C3 are predetermined, while Q1 and Q2 are known boundary conditions. Although the iterative method provides a stable and quick convergence, participants agree that a direct solution to avoid the complexity of the quartic equation is challenging. The consensus favors using approximation techniques for practicality.

PREREQUISITES
  • Understanding of algebraic equations and their solutions
  • Familiarity with quartic equations and their properties
  • Knowledge of iterative methods for solving equations
  • Basic programming skills for implementing solutions
NEXT STEPS
  • Research methods for solving quartic equations directly
  • Explore numerical methods for approximating solutions
  • Learn about optimization techniques in programming
  • Investigate the use of symbolic computation tools like SymPy
USEFUL FOR

Mathematicians, computer programmers, and engineers working on physical problems involving complex equations and seeking efficient solution methods.

IanfromBristol
Messages
2
Reaction score
0
I am writing a computer program to solve a physical problem which at some part involves the following two equations and two unknowns;

(1) \[ C_1(x^4-y^4) + C_2x = Q_1 \]
(2) \[ C_1(y^4-x^4) + C_3y = Q_2 \]

C1, C2 & C3 are coefficients which can readily be calculated and do not rely on knowing the values of X or Y. Q1 and Q2 are known values (effectively boundary conditions). I've tried substitution and elimination but end up with a much more complicated expression which looks to be a quartic equation. I know I can solve this iteratively and it does converge quickly and is stable. However, is there any method that can solve it directly and thus avoid the iterative approach?
 
Mathematics news on Phys.org
I see no way to avoid the quartic. There is a method to do this to get an exact answer (here) but I'd stick with approximation. It's much easier to work out.

-Dan
 
topsquark said:
I see no way to avoid the quartic. There is a method to do this to get an exact answer (here) but I'd stick with approximation. It's much easier to work out.

-Dan
Hi Dan, I took a look at that solution for the quartic and you're not wrong the iterative method (i.e. approximation) is far easier to work out!

Ian
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K