MHB Direct solution for two unknowns in two equations

  • Thread starter Thread starter IanfromBristol
  • Start date Start date
  • Tags Tags
    Unknowns
Click For Summary
The discussion centers on solving two equations with two unknowns, specifically focusing on the equations involving coefficients C1, C2, C3, and known values Q1 and Q2. The original poster has attempted substitution and elimination methods but finds them leading to complex quartic expressions. They express a preference for iterative methods due to their stability and quick convergence, despite acknowledging the existence of a direct solution method for quartics. Another participant agrees that the iterative approach is simpler and more practical for this problem. The consensus leans towards using approximation methods for ease of computation.
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
9
Views
5K
  • · Replies 2 ·
Replies
2
Views
11K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
13
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K