Analysing graph of a logarithmic function

In summary, I was struggling to find a solution to a math problem and a classmate suggested trying to find a point where the function f(x)=-1/2x intersects lnx. I tried this by solving for x, but it turned out that there were no solutions. I then tried to find a point where f(x)=0, but this didn't work either. I then tried to find a point where f(x)=1/e, but this also didn't work. After finding that there were no solutions, I remembered that I had tried this method before and realized that I had simplified the problem. I rewrote the relationship between the functions and found that the solution was in the x-intercept
  • #1
benmuskler
6
0
Hello everyone! I'm stuck on a small detail in a math task, and would really appreciate some help!

Homework Statement


Determine all local extreme points and possible max/min values for the function f(x) = x*lnx+(x*lnx)^2 where 0<x≤1/2


Homework Equations





The Attempt at a Solution


The first thing I did was to differentiate f, giving me f'(x)=(lnx+1)(1+2x*lnx)
Then, in order to find extreme points, I tried to solve f'(x)=0
So, either (lnx+1)=0 [itex]\rightarrow[/itex] x=1/e
or (1+2x*lnx) = 0 [itex]\rightarrow[/itex] x*lnx = -1/2

And this is where I get stuck. How do I solve that equation?
 
Physics news on Phys.org
  • #2
intersection of y=lnx and y=-1/2x ... sketch out the curves and see what occurs to you.
 
  • #3
Thank you for your response!

I did as you suggested, and quickly realized that there simply are no real solutions. However, in the course I'm attending we are not supposed to use any calculators or graphers, so how would I, without a grapher, realize that these two curves never intersect?
 
  • #4
That would involve demonstrating that lnx > -1/2x

You would probably get away with just using the properties of the two functions.

let f=ln(x) and g=-1/2x

Assume that f=g for some value of x - and set out to find it by process of elimination:

* ln(x) is only defined for x>0, so that rules out all x<0
* f=g => ln(x)<0 so that rules out x>1.
* f(1) > g(1) so... if f'<g' (i.e. g is steeper than f) in 0<x<1 then f>g everywhere.

Thing is that you'd have to suspect that this is the case to start out with ... which you do by having experience with these functions. Which is why you are given a lot of exercises like this one.

Aside:
if you put g=-1/kx ... can k take a value that would make f=g for some x?
what would have happened if we'd said f=ln|x| instead of ln(x)?

Note:
You don't need calculators of "graphers" to make a sketch of two functions.
 
Last edited:
  • #5
Thanks for another great response. I'm glad to have this sorted out now!
 
  • #6
benmuskler said:
Thank you for your response!

I did as you suggested, and quickly realized that there simply are no real solutions. However, in the course I'm attending we are not supposed to use any calculators or graphers, so how would I, without a grapher, realize that these two curves never intersect?

You could solve the problem ##\min g(x) = \ln(x) + 1/(2x)## on ##x > 0##, and show that the minimum value is > 0. Minimizing g is an easy problem.
 
  • #7
Or, in terms of post #4 ... minimize f-g ... means finding x: f'-g'=0 ...
discovering that this is only the case for x<0 is pretty much what the process of elimination in post #4 does ... but thought about a different way.

Again, to realize you need do that test, you'd have to suspect that this is the case already right?
You wouldn't "know" until you did the test. So it seems to be begging the question:
...so how would I, without a grapher, realize that these two curves never intersect?
... i.e. how would you know to apply the test?

The method I demonstrated to you in #4 was less direct that was needed - I chose that approach for a special reason. I wanted to show you how to think about a difficult problem.

The first step was to assume the problem had a solution.

I rewrote the relationship in a way that made it easier to investigate, and set about finding out where the solution may lie.

It may have been that there was a solution - in which case I'd know where to find it, and there may be some specific method that may help me there. In this case it turned out that there wasn't a solution.

In general - if finding a solution looks like it is going to be a great deal of hard work ... you are well advised to, first, check that the solution exists. Don't wait until you realize there may not be a solution to check for the existence of a solution.

The bottom line. though, is that it takes experience to arrive at these conclusions quickly - there is no shortcut - you just have to remember your lessons.
 

Related to Analysing graph of a logarithmic function

1. What is a logarithmic function?

A logarithmic function is a type of mathematical function that involves the logarithm of a variable. This means that the output of the function is the power to which a fixed number, called the base, must be raised to produce the input value. In other words, it is the inverse of an exponential function.

2. How do you graph a logarithmic function?

To graph a logarithmic function, you first need to determine the base of the function. Then, choose a set of x-values and solve for the corresponding y-values by plugging them into the logarithmic function. Plot the points on a coordinate plane and connect them with a smooth curve. Keep in mind that the graph of a logarithmic function will approach but never touch the y-axis.

3. What is the domain and range of a logarithmic function?

The domain of a logarithmic function is all positive real numbers, as the logarithm of a negative number is undefined. The range is all real numbers, as the output of the function can be any real number depending on the input value.

4. How do you find the asymptotes of a logarithmic function?

The vertical asymptote of a logarithmic function is the line x = 0, as this is where the function approaches but never touches the y-axis. The horizontal asymptote is the line y = c, where c is the constant in the equation of the function. This is because as x approaches infinity, the output of the function approaches the constant value of c.

5. What are some real-life applications of logarithmic functions?

Logarithmic functions are commonly used in science and finance to model various phenomena. Some examples include measuring the pH level of a solution, predicting population growth, and calculating interest rates on investments. They are also used in computer science, such as in algorithms for searching and sorting data efficiently.

Similar threads

  • Calculus and Beyond Homework Help
Replies
15
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
331
  • Calculus and Beyond Homework Help
Replies
3
Views
212
  • Calculus and Beyond Homework Help
Replies
8
Views
288
  • Calculus and Beyond Homework Help
Replies
4
Views
2K
  • Calculus and Beyond Homework Help
Replies
11
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
389
  • Calculus and Beyond Homework Help
Replies
2
Views
673
  • Calculus and Beyond Homework Help
Replies
7
Views
7K
Back
Top