- #1
person123
- 328
- 52
- TL;DR Summary
- If a system of nonlinear equations can be solved symbolically, can it be solved symbolically through an any series of repeated substitutions?
Hi. I would like to use a CAS to solve systems of nonlinear equations symbolically. The JavaScript library Nerdamer can solve single nonlinear equations symbolically shown here, and I would like to use that function iteratively to solve systems. For example, if I have a system of three equations with variables ##a##, ##b##, ##c##, and ##d##, and I wanted ##a(b)##, then I would:
(As a side note, the JavaScript library Nerdamer can solve systems of nonlinear equations shown here, but only if there are numeric solutions for all variables, so equal number of unknowns and equations. I don't think I could use it to find one variable in terms of other variables).
(I also realized I could iterate through possible sequences of substitutions so in case one doesn't work, it can use another one. That way if a person can solve it through substitution specifically, this should be guaranteed to find the solution as well).
- Solve equation 1 for ##d(a,b,c)##
- Substitute equation 1 into equation 2 and 3
- Solve equation 2 for ##c(a,b)##
- Substitute equation 2 into equation 3
- Solve equation 3 for ##a(b)##
(As a side note, the JavaScript library Nerdamer can solve systems of nonlinear equations shown here, but only if there are numeric solutions for all variables, so equal number of unknowns and equations. I don't think I could use it to find one variable in terms of other variables).
(I also realized I could iterate through possible sequences of substitutions so in case one doesn't work, it can use another one. That way if a person can solve it through substitution specifically, this should be guaranteed to find the solution as well).
Last edited: