Question on Function of function polynomial [closed]

If $$f(x)=x^3-12x^2+Ax+B>0$$

$$f(f(f(3)))=3$$, $$f(f(f(f(4))))=4$$

then what is the value of $$f(7)$$

closed as off-topic by Saad, Lee David Chung Lin, Leucippus, YiFan, ShaileshApr 25 at 3:54

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Saad, Lee David Chung Lin, Leucippus, YiFan, Shailesh
If this question can be reworded to fit the rules in the help center, please edit the question.

• What did you try? – Mark Apr 23 at 19:44
• I confused, how to solve there is a function of functions four times. with two unknown variables A and B. – Pankaj Solanki Apr 23 at 19:52
• $f(3)$ and $f(4)$ are expressions in $A$ and $B$. You plug them in $f(x)$ and the result again inside $f(x)$, and again, and again the necessary number of times, and then equate to $3$ and $4$ respectively. It gives a system of two equations in the two unknowns $A,B$. Solving for $A,B$ tells you the explicit form of $f(x)$. Then you can evaluate it at $x=7$. – user647486 Apr 23 at 20:23
• The strange part is the $>0$ at the beginning. What does that mean? For every $x$ one must have $f(x)>0$? If that is the case, then there are no solutions for all the conditions, since $f$ is a cubic polynomial, and therefore must take negative values. It would be nice if this is the case, that way you don't have to get your hands dirty with the system of equations. – user647486 Apr 23 at 20:24

$$3, 4$$ are orbits of $$f$$ of order $$3, 4.$$ You ask for "the value" of $$f(7),$$ so we may simplify by assuming that $$3, 4$$ are actually fixed points of $$f.$$
We get $$3=f(3) = 3A+B-81, 4 = f(4) = 4A+B-128,$$ which is a system of linear equations with solution $$A = 48, B = -60.$$
Finally, $$f(7) = -245 + 7A + B = \boxed{31.}$$
• I wonder whether the answer is always 31 (if you plug in the expression for $f^{3}(3), f^{4}(4)$ naively, you'll get a very high order system of equations). Rigorously proving that $f(7)$ is unique would be on another level. – Display name Apr 24 at 5:49