# Solutions to a Functional Equation via Stern-Brocot Tree Fractions

Solutions to a Functional Equation via Stern-Brocot Tree Fractions

This Demonstration generates solutions of the functional equation (x,y)+,=1 starting from =. The solutions correspond to Stern–Brocot tree fractions at level . Change at the top for more complicated solutions. Click the " versus " button to see a plot of the computed solution depending on as a parameter, which you can vary with the "vary or " slider. Similarly, click the " versus " button and vary the parameter . Finally, click the "singularities" button to see the points where the computed function is not defined. The color-coding of those points helps identify where the parts of the solution originated.

g

k

g

k

1

x

1

y

g

0

x

x+y

k

k

g

x

y

y

x

g

y

x

Mouse over the plot to see the values or equations of the data. The black and red circled points are related to Stern–Brocot tree fractions. The absolute values of the components of the black circled points are the values of all Stern–Brocot tree fractions up to level . The red circled points have a component with an absolute value equal to the Stern–Brocot tree fractions at level .

y

k

y

k+1