Rewrite the equation in new form: from y = f(k) to k = g(y)

2 views (last 30 days)
Dear all,
I wonder how to do the following with Mupad:
- If I have an equation like y = (1-delta)/(1+n) + sigma*{(1+alpha)^t}/{(1+n)*k^(1-theta)} where k is variable, i.e, y = f(k). - I want to rewrite in term of variable k, saying, k = ... or k = g(y).
How to do that with Mupad functions. Thank you and best regards,

Accepted Answer

John D'Errico
John D'Errico on 15 Dec 2016
Edited: John D'Errico on 15 Dec 2016
In general, you cannot do so. This is what solve does (for the symbolic TB), but it is severely limited, as must be any such tool.
For example, consider the function
y = x^2
There is no single valued function of the form
x = f(y)
for that very simple relationship.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!