Solving a system of recursive functions

  • Thread starter Thread starter Chef Hoovisan
  • Start date Start date
  • Tags Tags
    Functions System
Click For Summary
The discussion centers on a system of recursive functions f and g, defined by their relationships to each other and initial conditions f(0) = 0 and g(0) > 0. The user seeks to simplify this system, which is connected to a complex math puzzle involving collisions between two balls of differing masses on a frictionless table. The governing equations for the balls' velocities are derived from principles of conservation of momentum and energy, leading to a recursive structure similar to the original functions. The user expresses interest in understanding the intuition behind the solution to the puzzle and considers whether a Z-transform could aid in analyzing the discrete-time nature of the problem. The conversation highlights the intricate relationship between recursive functions and physical scenarios in mathematical modeling.
Chef Hoovisan
Messages
2
Reaction score
0
I've run across a system of recursive functions (call them f and g). The system looks like this:

f(x) = a f(x-1) + b g(x-1)
g(x) = a g(x-1) + c f(x-1)

I also know that f(0) = 0 and g(0)>0. Finally, I know for other reasons that are too complicated to go into here that the system is somehow related to the trig functions. This is well outside my area of expertise, so I'm hopeful one of you can point me in the right direction so that I can perhaps simplify the system. Thanks in advance.
 
Mathematics news on Phys.org
Chef Hoovisan said:
I've run across a system of recursive functions (call them f and g). The system looks like this:

f(x) = a f(x-1) + b g(x-1)
g(x) = a g(x-1) + c f(x-1)

I also know that f(0) = 0 and g(0)>0. Finally, I know for other reasons that are too complicated to go into here that the system is somehow related to the trig functions. This is well outside my area of expertise, so I'm hopeful one of you can point me in the right direction so that I can perhaps simplify the system. Thanks in advance.

If it's possible can you say what are you trying to do here. Why is f(0) = 0 and g(0)>0? Is it some kind of conditions?
In what way are you trying to simplify the system.Please do explain
 
I'll give you the context, but as I said it's a bit involved. It's a math puzzle to which I know the answer, but do not understand the intuition behind the answer. Here's the puzzle:

A “small” ball with unit mass is resting on a pool table. A “big” ball with mass 16x100n (n a non-negative integer) is also resting on the pool table. That is, the higher mass ball will have a mass of m∈{ 16, 1600, 160000, …}. A man then strikes the big ball causing it to move toward and then strike the small ball. This collision sends the small off toward the bumper. The direction of all movement is perpendicular to the bumper, so the small ball rebounds from the bumper and returns until it strikes the big ball. Another collision results, sending the small ball back toward the bumper and repeating the process (albeit with different velocities for the balls). The pool table is frictionless and its bumpers are perfectly elastic, so there is no loss of velocity as the balls move along the table or when they rebound after hitting a bumper. Eventually, the collisions slow the big ball enough so that it reverses course and moves away from the small ball rather than toward it, thus ending the process. How many collisions, as a function of n, will there be between the big and small balls? Note that because of the frictionless system, you can ignore any spin in the balls and focus only on conservation of momentum and conservation of energy.

The governing formulas for this situation are shown here: http://en.wikipedia.org/wiki/Elastic_collision . Let m1 and m2 be the masses of the two balls and let v1(n) and v2(n) be the velocities of the two balls. We then have

v1(x) = (v1(x-1)*(m1-m2) + 2m2v2(x-1)) / (m1+m2)

and

v2(x) = (v2(x-1)*(m2-m1) + 2m1v1(x-1)) / (m2+m1)

Using a little algebra from there, you get the form I mentioned in the original post. Note that you do need to be careful to reverse the sign of the small ball's velocity to account for its rebound off the wall.

This is one of the most interesting math puzzles I've ever run across (and I've seen many, many of them), so I won't spoil the solution in case you want to work on it. I've seen a few somewhat unsatisfying "solutions," which is what has led me to ponder the recursive nature of the problem and how that might be used to produce a solution that provides good intuition.
 
Would you say the problem is discrete-time? If so, a Z-transform might help.
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...