copacetic
- 4
- 0
Homework Statement
A metric on C[0,1] is defined by:
d(f,g) = ( \int_0^1 \! (f(x) - g_t(x))^2 \, dx )^{1/2}
Find t e R such that the distance between the functions f(x) = e^x - 1 and g_t(x) = t * x is minimal.
Homework Equations
Given above
The Attempt at a Solution
The first thing I did was multiply the inner part of the integral out then evaluate it:
( \int_0^1 \! (e^x-1) - (tx))^2 dx )^{1/2}
= ( \int_0^1 \! e^{2x} - 2e^x - 2te^xx + 1 + 2tx + t^2x^2 dx )^{1/2}
= (\frac{1}{2}e^2-\frac{1}{2} - (2e - 2) - 2t(e) + 1 + 2t(\frac{1}{2}) + t^2(\frac{1}{3}) )^{1/2}
= ( \frac{1}{2}e^2 + \frac{5}{2} - 2et + t + \frac{1}{3}t^2)^{1/2}
But I'm not sure I did that right, because now I don't know where to go from here. Any tips?