Maximum/minimum through logarithm

  • Context: Undergrad 
  • Thread starter Thread starter Bipolarity
  • Start date Start date
  • Tags Tags
    Logarithm
Click For Summary

Discussion Overview

The discussion revolves around the maximization and minimization of the function ## f(x) = (x-4)^{2} ##, particularly exploring the implications of applying logarithmic transformations to the function. Participants examine the relationship between the original function and its logarithmic form, questioning the existence of extrema in both cases.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant notes that the function ## f(x) = (x-4)^{2} ## has a minimum at x = 4 and suggests that taking the logarithm should yield the same extremum.
  • Another participant agrees that both functions have the same critical point at x = 4, providing derivative calculations to support this view.
  • A later reply points out that the logarithm function is not defined for x ≤ 0, implying that the critical point x = 4 is not within the domain of the logarithmic transformation of the function.
  • Another participant emphasizes that the quadratic function is non-negative and only equals zero at x = 4, suggesting a different perspective on the use of logarithms and derivatives in this context.

Areas of Agreement / Disagreement

Participants express differing views on the implications of using logarithmic transformations. While some agree on the critical point being the same, there is contention regarding the existence of extrema in the logarithmic form and the relevance of the function's domain.

Contextual Notes

The discussion highlights limitations related to the domain of the logarithmic function and the assumptions made about the relationship between the original function and its logarithmic counterpart.

Bipolarity
Messages
773
Reaction score
2
Hi I seem to have run into a strange problem.
Suppose one wishes to maximize/minimize the function ## f(x) = (x-4)^{2} ##. Clearly, this function has a minimum at x = 4. One could find the extremum by taking the derivative and setting to zero.

One could also compute the logarithm of this function, i.e. ## ln (x-4)^{2} = 2 \ ln(x-4) ##, and then find the corresponding extremum of the resulting function, and since ## ln(x )## is monotonic over the region on which it is defined, the maximum/minimum of ##f(x)## and the maximum/minimum of ## f(ln(x))## should coincide.

This however is not the case, since ## 2 \ ln(x-4) ## seems not to have a maximum or a minimum. What am I missing here?

Thanks.

BiP
 
Physics news on Phys.org
I hope I understand your point ...

Actually the two function would have the same critical point
see:
$$y=(x-4)^2$$
$$y'=2(x-4)$$
when you equate by zero your critical point is 4.

Also
$$lny=2ln(x-4)$$
$$\frac{y'}{y}=\frac{2}{x-4}$$
$$y'=y\times\frac{2}{x-4}$$
$$y'=(x-4)^2\times\frac{2}{x-4}$$
$$y'=2(x-4)$$
Again your critical point is 4.

is that what you mean?

Am I right ..
:)
 
Bipolarity said:
Hi I seem to have run into a strange problem.
Suppose one wishes to maximize/minimize the function ## f(x) = (x-4)^{2} ##. Clearly, this function has a minimum at x = 4. One could find the extremum by taking the derivative and setting to zero.

One could also compute the logarithm of this function, i.e. ## ln (x-4)^{2} = 2 \ ln(x-4) ##, and then find the corresponding extremum of the resulting function, and since ## ln(x )## is monotonic over the region on which it is defined, the maximum/minimum of ##f(x)## and the maximum/minimum of ## f(ln(x))## should coincide.

This however is not the case, since ## 2 \ ln(x-4) ## seems not to have a maximum or a minimum. What am I missing here?

Thanks.

BiP

Your problem is that \ln x is not defined for x \leq 0. Thus the critical point of (x - 4)^2 is not in the domain of \ln(x - 4).
 
Bipolarity said:
## ln (x-4)^{2} = 2 \ ln(x-4) ##

Also:

## ln (x-4)^{2} = 2 \ ln|x-4| \ \ (x \ne 4)##
 
Personally, I wouldn't use "logarithms" or "derivatives". A x^2 is never negative and is 0 only for x= 0, so that (x- 4)^2 is never negative and is 0 only for x- 4= 0 or x= 4.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
3
Views
2K
  • · Replies 19 ·
Replies
19
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 20 ·
Replies
20
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K