What kind of problem is this and what tools can we use to tackle it?

  • Context: Undergrad 
  • Thread starter Thread starter LuculentCabal
  • Start date Start date
  • Tags Tags
    Tools
Click For Summary
SUMMARY

The discussion revolves around solving a system of equations defined by constants A, B, and C, specifically the equations ac = A, ad + bc = B, and bd = C. The user seeks to identify the nature of the problem and appropriate tools for finding solutions for variables a, b, c, and d. MATLAB is mentioned as a tool used for solving the equations, yielding two sets of solutions. The conversation also touches on the challenges of uniqueness and existence of solutions, particularly when dealing with quadratic equations and higher-degree polynomials.

PREREQUISITES
  • Understanding of algebraic equations and systems of equations
  • Familiarity with MATLAB for symbolic computation
  • Basic knowledge of quadratic equations and their properties
  • Elementary linear algebra concepts
NEXT STEPS
  • Explore MATLAB's symbolic toolbox for solving equations
  • Learn about numerical methods such as Newton's method for finding roots
  • Study the quadratic formula and its applications in solving equations
  • Investigate linear algebra techniques for solving systems with multiple variables
USEFUL FOR

Mathematicians, engineers, students studying algebra and linear algebra, and anyone interested in solving complex systems of equations using numerical methods and MATLAB.

LuculentCabal
Messages
20
Reaction score
0
Basically I have the following system:

ac = A

ad + bc = B

bd = C


where A, B, and C are constants.

Solving for a, b, c, and d, what kind of problem/system am I encountering and what appropriate tools (vectors and/or numerical methods perhaps[?]) would help to find the set of solutions for a, b, c, and d?

I know that the system factors a trinomial but I don't know what kind of problem is presented by the system itself.

Thanks in advance for any insight.
 
Mathematics news on Phys.org
Inserting the first and third equation into the second gives you a quadratic equation (altghough for a product of two unknowns).
You will still end up with one unknown variable as you do not have enough equations.
 
betel said:
You will still end up with one unknown variable as you do not have enough equations.

Could there still be numerical methods for finding the solutions?

Thanks for your reply.
 
My messing around on MATLAB. Not sure how useful it is...

Code:
EDU>> syms a b c A B C
EDU>> sol = solve('a*c = A','a*d + b*c = B','b*d = C');
EDU>> [a;sol.b(1);sol.c(1);sol.d(1)]
ans =
                                 a
 a*(1/2*B-1/2*(B^2-4*A*C)^(1/2))/A
                               A/a
   (1/2*B+1/2*(B^2-4*A*C)^(1/2))/a
EDU>> [a;sol.b(2);sol.c(2);sol.d(2)]
ans =
                                 a
 a*(1/2*B+1/2*(B^2-4*A*C)^(1/2))/A
                               A/a
   (1/2*B-1/2*(B^2-4*A*C)^(1/2))/a

I guess that's two sets of solutions?

edit - I generally prefer linear algebra to sets of equations where variables are multiplied. It's kind of a nightmare actually - I can see a uniqueness/existence problem if a = 0 right away, or B^2-4*A*C < 0? What a mess...
 
Last edited:
I recommend substituting the top and bottom into the middle.
Cx+\frac{A}{x}=B
(where x=\frac{a}{b}) and solve for x.

The variable b is arbitrary (but not equal 0) and a=xb
Use top and bottom equation to find rest.

EDIT: just as bebel said :D
 
Thanks for the output MikeyW, your MATLAB solution looks consistent with what I have found. I have found that the system can be simplified to a function of b, c, and the constants. Letting one of the variables assume any value, I can solve for the other with the quadratic formula or Newtons method, and then find the other two variables.

After simplifying:

<br /> {b^2}{c^2} - Bbc + AC = 0<br />

<br /> a =\frac{A}{c}<br />

<br /> d = \frac{C}{b}<br />

I don't know if this would necessarily work for higher degree polynomials (especially an odd number of variables), and wonder if there is a solution using vectors/linear algebra. My linear algebra knowledge is still elementary and haven't had to encounter multiple variables before so I don't know if there are tools that can help.
 
A little more complex would be the following system which factors a quintic when a, b, c, d, e, f, g, h, i and j are solved for with A, B, C, D, E, and F being constants.


acegi = A

acegj + acehi + acfgi + egadi + egbci = B

acehj + acfgj + egadj + egbcj + acfhi + adehi + adfgi + bcehi + bcfgi + bdegi = C

acfhj + adehj + bcehj + bcfgj + bdegj + adfhi + bcfhi + ehbdi + fgbdi + adfgj = D

adfhj + bcfhj + ehbdj + fgbdj + bdfhi = E

bdfhj = F


Is there any way to solve for the above ten variables with a method more streamlined than the "plug and chug" method used previously for the quadratic?

*I am not as interested in any solution as I am in any algorithm ("plug and chug" or other)

Thanks again for any info. It is greatly appreciated.
 

Similar threads

Replies
7
Views
2K
Replies
3
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K
Replies
1
Views
2K
  • · Replies 44 ·
2
Replies
44
Views
5K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K