MHB Finding the Value of $f(84)$ in an Integer Function

AI Thread Summary
To find the value of f(84) in the given integer function, the function is defined piecewise, with f(x) equaling x-3 for x greater than or equal to 1000, and f(f(x+5)) for x less than 1000. Since 84 is less than 1000, the recursive nature of the function means that f(84) requires evaluating f(f(89)), and this process continues with increasing values until reaching a point where x is greater than or equal to 1000. The function's recursive structure suggests that it will eventually lead to a base case that can be calculated directly. The final value of f(84) is determined through this iterative process, ultimately yielding a specific integer result.
Albert1
Messages
1,221
Reaction score
0
$\text{given } :x \in\mathbb{Z}$

$f(x)= \begin{cases}x-3 & x \geq 1000 \\f\big [f(x+5)\big ]& x<1000 \end{cases} $

$\text{find } :\,\, f(84)$
 
Mathematics news on Phys.org
Albert said:
$\text{given } :x \in\mathbb{Z}$

$f(x)= \begin{cases}x-3 & x \geq 1000 \\f\big [f(x+5)\big ]& x<1000 \end{cases} $

$\text{find } :\,\, f(84)$

Lemma
$f(x)= \begin{cases}
x-3 & x \geq 1000 \\
997 & x<1000 \text{ and $x$ even} \\
998 & x<1000 \text{ and $x$ odd} \\
\end{cases} $

Proof
Use full induction going down.
Initial condition: we can verify that it is true for any $x \ge 997$.
Induction step: suppose it is true for any $x$ and some $y$ with $y < x$ and $y< 997$.
Then we need to distinguish the cases that $y$ is even or $y$ is odd.
When we fill in what we already have for $f(y)$ it follows that the given formula is also true for $f(y)$, which completes the proof.

Using the lemma we find that $f(84) = 997$.
 
I like Serena said:
Lemma
$f(x)= \begin{cases}
x-3 & x \geq 1000 \\
997 & x<1000 \text{ and $x$ even} \\
998 & x<1000 \text{ and $x$ odd} \\
\end{cases} $

Proof
Use full induction going down.
Initial condition: we can verify that it is true for any $x \ge 997$.
Induction step: suppose it is true for any $x$ and some $y$ with $y < x$ and $y< 997$.
Then we need to distinguish the cases that $y$ is even or $y$ is odd.
When we fill in what we already have for $f(y)$ it follows that the given formula is also true for $f(y)$, which completes the proof.

Using the lemma we find that $f(84) = 997$.
I like Serena :very smart induction (Clapping)
 
My approach is different from I like serena

we evaluate f(999) through f(995)

f(999) = 998
f(998) = 997
f(997) = 998
f(996) = 997
f(995) = 998

now f(85)= f^183 (998) notation for f is applied 183

applying f twice gives 998 and so on applying 182 time gives 998 and then once more gives 997 which is the ans
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top