Continued Fraction

Calculus Level 1

Consider the function f ( x ) = x 1 + x 1 + x 1 + . \displaystyle f(x) = \frac{x}{1+\frac{x}{1+\frac{x}{1+\ddots}}}.

Determine the value of f ( 0 ) . f'(0).


The answer is 1.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

4 solutions

Michael Tang
Dec 18, 2013

Since the given fraction continues infinitely, we see that f ( x ) = x 1 + f ( x ) , f(x) = \dfrac{x}{1+ f(x)}, or f ( x ) 2 + f ( x ) = x . f(x)^2 + f(x) = x. Implicitly differentiating both sides, we get 2 f ( x ) f ( x ) + f ( x ) = 1. 2f(x)f'(x) + f'(x) = 1. Since f ( 0 ) = 0 , f(0) = 0, letting x = 0 x = 0 gives f ( 0 ) = 1 . f'(0) = \boxed{1}.

How would you compute f'(x) where x is non-zero?

Marko Arezina - 2 years, 10 months ago
Ahaan Rungta
Dec 18, 2013

First, note that f ( x ) = x 1 + f ( x ) . f(x) = \dfrac {x}{1 + f(x)}. We take the derivative on each side and use the Quotient Rule. We obtain: f ( x ) = ( 1 + f ( x ) ) 1 x f ( x ) ( 1 + f ( x ) ) 2 = 1 + f ( x ) x f ( x ) ( 1 + f ( x ) ) 2 . \begin{aligned} f'(x) &= \dfrac {\left( 1 + f(x) \right) \cdot 1 - x \cdot f'(x)}{\left( 1 + f(x) \right)^2} \\&= \dfrac {1 + f(x) - x \cdot f'(x)}{\left( 1 + f(x) \right)^2}. \end{aligned} Substituting x = 0 x = 0 , we have f ( 0 ) = 1 + f ( 0 ) 0 f ( 0 ) ( 1 + f ( 0 ) ) 2 . f'(0) = \dfrac {1 + f(0) - 0 \cdot f'(0)}{\left( 1 + f(0) \right)^2}. Since f ( 0 ) = 0 f(0) = 0 , we have f ( 0 ) = 1 f'(0) = \boxed {1} .

Sean Elliott
Dec 18, 2013

First we find an easier expression for f ( x ) f(x) . Note that f ( x ) = x 1 + f ( x ) f(x)=\frac{x}{1+f(x)} . Simple algebraic manipulation yields f ( x ) 2 + f ( x ) = x f(x)^2+f(x)=x .

Next we differentiate this expression with respect to x x . Using the chain rule, we get 2 f ( x ) f ( x ) + 1 f ( x ) = 1 2f(x)\cdot f'(x)+1\cdot f'(x)=1 . Again, we can manipulate this into f ( x ) = 1 2 f ( x ) + 1 f'(x)=\frac{1}{2f(x)+1} . This is our expression for f ( x ) f'(x) .

By this expression, we have f ( 0 ) = 1 2 f ( 0 ) + 1 f'(0)=\frac{1}{2f(0)+1} . We have that f ( 0 ) = 0 1 + 0 1 + 0 1 + = 0 f(0)=\frac{0}{1+\frac{0}{1+\frac{0}{1+\cdots}}}=0 . Thus f ( 0 ) = 1 2 ( 0 ) + 1 = 1 f'(0)=\frac{1}{2(0)+1}=\boxed{1} .

Josh Petrin
Dec 18, 2013

Notice first of all that f ( 0 ) = 0 1 + 0 = 0 f(0) = \frac{0}{1 + \frac{0}{\dots}} = 0 . We know, since the function f ( x ) f(x) is recursive, that

f ( x ) = x 1 + f ( x ) ( f ( x ) ) 2 + f ( x ) = x . f(x) = \frac{x}{1 + f(x)} \\ (f(x))^2 + f(x) = x.

Differentiating both sides by x x , we find by the Chain Rule that

f ( x ) f ( x ) + f ( x ) = 1 f(x) \cdot f'(x) + f'(x) = 1

This is true for all f ( x ) 1 f(x) \ne 1 . By plugging in x = 0 x = 0 , we see that

0 f ( 0 ) + f ( 0 ) = 1 f ( 0 ) = 1 . 0 \cdot f'(0) + f'(0) = 1 \\ f'(0) = \boxed{1}.

Also, I think you mean f ( x ) 1. f(x) \neq -1.

Michael Tang - 7 years, 5 months ago

Whoops. Typo. In differentiating both sides, the Chain Rule yields 2 f ( x ) f ( x ) + f ( x ) = 1 , 2f(x) \cdot f'(x) + f'(x) = 1, not f ( x ) f ( x ) + f ( x ) = 1. f(x) \cdot f'(x) + f'(x) = 1. (Gratitude to MSTang)

Josh Petrin - 7 years, 5 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...