We know a real number satisfies
where
is positive. Let
be an approximation of
such that the relative error,
is minimized. Denote the maximum of this relative error by as
varies over the interval.
- Prove that
has its maximum at one of the end points.
- Prove that
is minimal when
This value of
is called the harmonic mean of
and
.
- Proof. We rewrite the error term as a piecewise function (so we can consider the derivative of each piece),
So, taking the derivative with respect to
we then have,
But we know from the problem statement that
and since both
and
are in the interval
we have
. Therefore, the derivative is not zero anywhere on the interval (since
and
since
is not zero). Hence,
cannot have a maximum on the interior
, so the maximum must be at one of the endpoints,
or
- Proof. Now, we want to find the value of
at which
is smallest (i.e., when the maximum error is smallest). From part (a), we know that for any fixed
the maximum value of the error must occur at an end point,
or
. Since
is the function which returns the maximum error, we have
Since this is the maximum error, we then have
and
Furthermore, since
we know that
and
. Now,
and
Hence, we can give a formula for
,
Taking the derivative of
with respect to
we then have
Since
and
are both positive, this means
is negative if
and
is positive if
; hence,
is decreasing for
and is increasing for
. Therefore,
has a minimum at
I get it now- it helped recently reading Apostol’s functional relation definition. There might be a slight omission though which I think was in the original solution. Doesn’t breaking the interval into a piecewise function introduce another endpoint, x=t? The value of the approximation goes to zero, so obviously not a maximum; I think you specified that originally but left it out this time.
Yes, it should be exactly as you say. Even in Apostol it is mentioned that in examining the extrema it is ok if the derivative does not exist at the point of derivative sign change (Theorem 4.8) – the point x = t is exactly such a point. This point is a relative minimum however, so does not influence the result
Thanks for the help. This and the previous exercise are new to me and I especially like this one. I did have to think to follow your proof (a good thing). Your time is certainly valuable in light of this ambitious project you are doing so I certainly would not expect these solutions to be spelled out in absurd detail, and may I say your solutions are quite nice. When it comes to continuity, a subject which has taken a considerable amount of time for me to grasp the subtleties, I get more then a little nervous when every contingency isn’t spelled out. Again, thanks a lot. This stuff you are doing is indispensable and I wish you get a lot of recognition for what you are doing, or at least a lot of satisfaction!
Hi! I don’t think I’ve done a great job writing up the solution to this problem, so I’ll try to clarify it tomorrow. However, I’ll see if I can answer some what you are asking (I also highly recommend math.stackexchange.com since there are way more experts there that can do a better job explaining than I can).
What you are saying is right, when we take the derivative of the function we find a discontinuity at the point
and the derivative is zero nowhere else. I was sloppy here: what this actually allows us to conclude is that any extreme values of the function must occur at the end points or at the point the derivative does not exist (since at
the derivative from the left is different from the derivative from the right meaning the derivative does not exist at this point). However, since the function
everywhere (since
and
) and
at
we know this point must be a minimum. So the only points left at which extreme values might occur are the end points.
I think I’ve also made some mistakes in which function I was calling
. (
should be the function which tells you the maximum of
for each
… at some point in the write up I think I started writing
instead which is definitely making things more confusing.) I’ll try to post a fix for this tomorrow that will hopefully clear things up. Thanks for commenting, this solution definitely needs work!
Hi Rori ! This is the first time I’ve ever asked a math question online, hopefully not my last. I’m a 52yrs old whom missed out on higher education in my life so my goal in life now is to try to be smarter. I self study and lack confidence when it comes to solving problems, perhaps partially related to not having anyone to discuss math with, perhaps also because the exercises are tough. So your help with Apostol Calculus, a great book, is indispensable to me.
My question relates not to your solution but to the exercise itself. First, we are presented with an estimate T of a value X in an interval and requested to find a minimal function M(t) which would locate a ‘special’ value of T, the estimate, and the value of X. We differentiate w/ respect to X and find the derivative is nowhere zero. There is a discontinuity of this function at T=X, and what also slightly confuses me is what to call this function, as it’s not M(t) as we haven’t got to that step yet. So this function actually does have a minimum at X=T but the discontinuity of DF/DX voids the derivative being zero. Also, the derivative does not have an X dependency so any ‘special’ points must be on the endpoints.
I am assuming it’s meant to be obvious that one endpoint will be the min while the other a max, depending on our choice of X. So evaluating at x=a and b and this time differentiating with respect to T, we again find a discontinuity of the derivative (you can tell that the discontinuities are what bother me) however, we do know the function has a minimum at X=T, and since the function is piecewise, so there exists a crossover point where the the endpoints alternate between being max or min. This crossover point favors the lower endpoint. Again, the derivative is discontinuous at the special point; it’s negative before the harmonic mean and positive after. The inclusion of discontinuity(s) in a exercise that seems to be a round about way of motivating the idea behind the harmonic mean is what bothers me. It does not seem logical to present the HM this way. First we are given the notion of an guesstimate of a singular value of X, then form a new assumption there must be two values of X, and then are expected to overlook some discontinuities while motivating a concept of the harmonic mean. Lacking any real analysis at this point it seems the exercise is skirting the line of being too obtuse, and so my question is: Is this exercise demonstrating the motivation for introducing the harmonic mean, or is it more of a minimal function concept with the harmonic mean idea as an appetizer? Because with the discontinuous derivatives I don’t think I would have ever answered it. Hope I made sense!