# Determine-enumerate fixed point iteration functions?

**URL:** <https://community.wolfram.com/t/determine-enumerate-fixed-point-iteration-functions/9459>\
**Category:** Questions\
**Tags:** equation-solving, symbolic-computations\
**Created:** [October 18, 2016, 1:26am UTC](https://community.wolfram.com/t/determine-enumerate-fixed-point-iteration-functions/9459 "2016-10-18T01:26:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![flip1](https://avatars.discourse-cdn.com/v4/letter/f/eada6e/32.png) [@flip1](https://community.wolfram.com/u/flip1)\
**Post date:** [October 18, 2016, 1:26am UTC](https://community.wolfram.com/t/determine-enumerate-fixed-point-iteration-functions/9459/1 "2016-10-18T01:26:20Z")

</div>

Mathematica has some excellent tools for fixed point iteration.

What I am curious about is if there is a way to have Mathematica enumerate the choice(s) for the iteration function?

For example, if we have f(x) = x^3+4x^2-10, we want various test functions x = g(x), and we can calculate various ones from f(x) as:

- g\_1(x) = x - x^3 - 4 x^2 + 10
- g\_2(x) = \sqrt{\dfrac{10}{x} - 4 x}
- g\_3(x) = \dfrac{1}{2} \sqrt{10 - x^3}
- g\_4(x) = \sqrt{\dfrac{10}{4 + x}}
- g\_5(x) = x - \dfrac{x^3 + 4 x^2 - 10}{3 x^2 + 8 x}

It is possible there are more, we are just creating permutations of f(x) by solving x = g\_i(x).

Is there some way to coax Mathematica to calculate all these variations?

Regards

---

<div class="post-metadata">

**Author:** ![gianlucagorni](https://avatars.discourse-cdn.com/v4/letter/g/ec9cab/32.png) [@gianlucagorni](https://community.wolfram.com/u/gianlucagorni)\
**Post date:** [October 18, 2016, 6:22am UTC](https://community.wolfram.com/t/determine-enumerate-fixed-point-iteration-functions/9459/2 "2016-10-18T06:22:40Z")

</div>

You get a few this way: replace x with y in the equation, but not everywhere, just in one occurrence, then solve for y:

```
eq = 0 == x^3 + 4 x^2 - 10;
pos = Position[eq, x];
Flatten@Map[Solve[ReplacePart[eq, # -> y], y] &, pos] /. y -> x /. 
 Rule -> Equal

```

---

<div class="post-metadata">

**Author:** ![flip1](https://avatars.discourse-cdn.com/v4/letter/f/eada6e/32.png) [@flip1](https://community.wolfram.com/u/flip1)\
**Post date:** [October 18, 2016, 3:19pm UTC](https://community.wolfram.com/t/determine-enumerate-fixed-point-iteration-functions/9459/3 "2016-10-18T15:19:10Z")

</div>

@Gianluca Gorni Interesting idea, I will play around with it some more. Regards!
