Rearranging equation with more than variable instance

  • Context: Undergrad 
  • Thread starter Thread starter Jehannum
  • Start date Start date
  • Tags Tags
    Variable
Click For Summary

Discussion Overview

The discussion revolves around the challenges of rearranging equations with multiple instances of a variable, particularly in the context of engineering and physics applications. Participants explore the feasibility of expressing one variable in terms of another when the relationship is complex and may not allow for straightforward algebraic manipulation.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants note that rearranging equations with multiple terms is generally not possible, except in rare special cases.
  • One participant mentions that quartic polynomials can be rearranged, but the solutions tend to be complex.
  • A participant raises a broader question about obtaining approximations when a function cannot be rearranged algebraically, particularly in engineering contexts.
  • Another participant suggests that iterative methods are often necessary for solving such equations, particularly when closed-form solutions do not exist.
  • Specific examples are discussed, including an equation related to pressure loss in gas pipes, which involves a variable in both the numerator and denominator, complicating the rearrangement.
  • Some participants propose numerical methods, such as Newton's method, as viable approaches for finding approximate solutions.
  • Graphical methods and interpolation are suggested as alternative strategies for determining values when direct algebraic solutions are not feasible.
  • Participants discuss the limitations of certain design equations and the practical implications of accuracy in calculations.
  • There is mention of historical context regarding the solvability of polynomial equations, particularly quintic equations, and the conditions under which closed-form solutions may not exist.

Areas of Agreement / Disagreement

Participants generally agree that closed-form solutions are not available for complex equations with multiple variable instances, and that iterative methods are often the best approach. However, there is no consensus on a single method or approach that is universally applicable, as different contexts may require different strategies.

Contextual Notes

Limitations include the dependence on specific values and conditions of the variables involved, as well as the complexity of the equations being discussed. The discussion acknowledges that certain mathematical steps remain unresolved and that the applicability of methods may vary based on the problem at hand.

Who May Find This Useful

This discussion may be useful for engineers, physicists, and students dealing with complex equations in their work or studies, particularly those interested in numerical methods and approximations in applied mathematics.

Jehannum
Messages
102
Reaction score
26
This question is no doubt absurdly simple to many here, but the answer will help me immensely.

Say that:

c = a ^ 4

Then it's simple to rearrange for a:

a = c ^ 0.25

But what if there is more than one term, for example:

c = a ^ 4 + a ^ 3

Is it possible to rearrange this to the form:

a = something?
 
Mathematics news on Phys.org
No it is not. :smile: At least not in general. There may be special cases, but they are rare.

Note that in your first example, ##a = -c^{0.25}## also satisfies the equation !
 
Up to quartic polynomials, it is possible, but only with messy formulas. Beyond that, there is no proper solution in general.
 
Thank you for your answers.

Now, may I generalise my question so that it touches on engineering and physics?

If a relationship between physical quantities exists and can be expressed as a function:

a = f1 (x)

and we wish to obtain x in terms of a, i.e.:

x = f2 (a)

what do we do if f1 (x) cannot be rearranged algebraically to return x, as the answers above have indicated?

Is there a general method used by engineers and physicists to obtain a serviceable approximation of f2 so that x can be determined in terms of a?

It seems to me that this must be a common problem, since it is one that I have come across in a particular application I am trying to develop.


 
It happens all the time and is called equation solving ...
If you reveal a little more about your specific case perhaps we can say something about usable methods ?
(for example: every control problem involves a form of inverting a transfer function)
 
Yes, I can certainly give details of the problem I'm working on. It's to do with pressure loss in low pressure gas pipes.

The equation I have to work with is:

Q = K1 . [p (d ^ 5) / (s L f)] ^ 0.5

where Q = flow rate, K1 = a constant, p = pressure loss, d = pipe diameter, s = relative density, L = pipe length and f = friction factor​

I want to rearrange this equation for d. This would of course be simple were it not for the fact that:

f = K2 . (1 + K3 / d)

where K2 and K3 are constants
So, you see, d is actually in the numerator and denominator of the function for Q. This means it is beyond my mathematical ability to rearrange into the form d = function (Q). As far as I know, it may not be possible to do so anyway.

I have constructed an iterative algorithm which returns d, but it is not suitable for human computation. It works by trying successively larger values for d until the flow rate is sufficient with an acceptable pressure loss.

I would like to know if there is a way I can present the relationship in a human-computable (preferably non-iterative) form.
 
There is no solution in closed form. No finite number of calculations will give you an exact result, so iterations are the best you can do to find an approximate solution.

The best approach will depend on typical values of K3/d (only this ratio matters). Is it small? Is it large? Is it close to 1 (worst case)?

Newton's method can be useful.
 
  • Like
Likes   Reactions: Jehannum
Setting [itex]x = d/K_3[/itex] and squaring both sides yields [tex] \frac{Q^2 sLK_2}{K_1^2 pK_3^5} = \frac{x^6}{1 + x}.[/tex] Thus you need to solve [tex] y = \frac{x^6}{1 + x}[/tex] for [itex]x[/itex]. That in principle must be done numerically, but you need only tabulate the value of [itex]x[/itex] for sufficient values of [itex]y[/itex] and [itex]x[/itex] could then be found for other values of [itex]y[/itex] by interpolation - and then [itex]d = K_3 x[/itex].

Alternatively you can graph [itex]\frac{x^6}{1 + x}[/itex] against [itex]x[/itex] and for a given value of [itex]y = \frac{Q^2 sLK_2}{K_1^2 pK_3^5}[/itex] on the vertical axis one can move across to the curve and then down to the horizontal axis to find [itex]x = d/K_3[/itex].
 
  • Like
Likes   Reactions: Jehannum
Note that this Spitzglass equation is one of many design equations which have limitations . A high degree of accuracy in doing the calculations may not be justified. I agree with mfb that a doing few Newton steps would be the a very sensible approach, but if your trial method works fast enough, then why bother.
 
  • #10
Thank you, guys.

BvU, you are probably right about the degree of accuracy. In any case, commercially-available steel pipework comes in well-separated discrete sizes, not a continuum, so the ideal diameter d 'snaps' to the next available size up anyway.

The information in this thread has been useful as I am trying to increase my knowledge of applied maths in general.
 
  • #11
mfb said:
There is no solution in closed form. No finite number of calculations will give you an exact result, so iterations are the best you can do to find an approximate solution.

The best approach will depend on typical values of K3/d (only this ratio matters). Is it small? Is it large? Is it close to 1 (worst case)?

Newton's method can be useful.

Just one more thing ... in general, how does one determine whether there is a solution in closed form?
 
  • #12
Jehannum said:
Just one more thing ... in general, how does one determine whether there is a solution in closed form?
This can be a complicated problem. Proving that quintic equations don't have a general solution was an open problem until 1824, while solutions for lower powers were known in the 16th century already. There are two typical cases indicating that no solution in closed form exists:

- polynomials with a degree of at least 5
- everything like ##x e^x## or ##x \log (x)##
 

Similar threads

Replies
3
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K