Suppose [imath]f:\mathbb{R} \to \mathbb{R}[/imath] is such that [imath]f(0)=1[/imath] and [imath]f'[/imath] exists continuous in [imath]x=0[/imath]. Show that [imath]\lim_{x \to 0} (f(x))^{1/x}=e^{f'(0)}[/imath].
I proved this as follows: from Taylor's expansion of [imath]f[/imath] in [imath]x=0[/imath], it is [imath]f(x)=f(0)+f'(0)x+o(x)[/imath], but by hypothesis [imath]f(0)=1[/imath] and so it is [imath]f(x)=1+f'(0)x+o(x)[/imath]. Since [imath]1/x[/imath] is, in general, real because by hypothesis [imath]x \in \mathbb{R}[/imath], it follows that [imath]f(x)[/imath] must be positive due to the fact that power with real exponents are defined only for positive bases. Hence it is defined [imath]\log[(f(x))^{1/x}][/imath], so
[math]\lim_{x \to 0} (f(x))^{1/x}=\lim_{x \to 0} e^{\frac{1}{x}\log(f(x))}=\lim_{x \to 0} e^{\frac{1}{x}\log[1+f'(0)x+o(x)]}[/math]Since as [imath]x \to 0[/imath] it is [imath]f'(0)x+o(x) \to 0[/imath], from logarithm's Taylor expansion it is
[math]\lim_{x \to 0} e^{\frac{1}{x}\log[1+f'(0)x+o(x)]}=\lim_{x \to 0} e^{\frac{1}{x}[f'(0)x+o(x)]}=\lim_{x \to 0} e^{f'(0)+\frac{o(x)}{x}}=e^{f'(0)}[/math]However, it seems to me that I did not use the continuity of [imath]f'[/imath] in [imath]x=0[/imath]; my textbook solves this using Hospital's rule, and indeed it needs the continuity of [imath]f'[/imath] in [imath]x=0[/imath] because it ends up with [imath]\lim_{x \to 0} e^{\frac{f'(x)}{f(x)}}[/imath]. Is my solution correct as well and so the continuity of [imath]f'[/imath] in [imath]x=0[/imath] is not needed or I have made a mistake somewhere? If I recall correctly, Taylor's expansion only needs differentiability to the [imath]k[/imath]-th order, so in this case only to the first order, so continuity of [imath]f'[/imath] in [imath]x=0[/imath] should not be necessary. Am I right?
I proved this as follows: from Taylor's expansion of [imath]f[/imath] in [imath]x=0[/imath], it is [imath]f(x)=f(0)+f'(0)x+o(x)[/imath], but by hypothesis [imath]f(0)=1[/imath] and so it is [imath]f(x)=1+f'(0)x+o(x)[/imath]. Since [imath]1/x[/imath] is, in general, real because by hypothesis [imath]x \in \mathbb{R}[/imath], it follows that [imath]f(x)[/imath] must be positive due to the fact that power with real exponents are defined only for positive bases. Hence it is defined [imath]\log[(f(x))^{1/x}][/imath], so
[math]\lim_{x \to 0} (f(x))^{1/x}=\lim_{x \to 0} e^{\frac{1}{x}\log(f(x))}=\lim_{x \to 0} e^{\frac{1}{x}\log[1+f'(0)x+o(x)]}[/math]Since as [imath]x \to 0[/imath] it is [imath]f'(0)x+o(x) \to 0[/imath], from logarithm's Taylor expansion it is
[math]\lim_{x \to 0} e^{\frac{1}{x}\log[1+f'(0)x+o(x)]}=\lim_{x \to 0} e^{\frac{1}{x}[f'(0)x+o(x)]}=\lim_{x \to 0} e^{f'(0)+\frac{o(x)}{x}}=e^{f'(0)}[/math]However, it seems to me that I did not use the continuity of [imath]f'[/imath] in [imath]x=0[/imath]; my textbook solves this using Hospital's rule, and indeed it needs the continuity of [imath]f'[/imath] in [imath]x=0[/imath] because it ends up with [imath]\lim_{x \to 0} e^{\frac{f'(x)}{f(x)}}[/imath]. Is my solution correct as well and so the continuity of [imath]f'[/imath] in [imath]x=0[/imath] is not needed or I have made a mistake somewhere? If I recall correctly, Taylor's expansion only needs differentiability to the [imath]k[/imath]-th order, so in this case only to the first order, so continuity of [imath]f'[/imath] in [imath]x=0[/imath] should not be necessary. Am I right?