What Value of x Maximizes the Function y=axln(b/x)?

The derivative of ##\displaystyle \ \frac{b}{x} \ ## with respect to x is ##\displaystyle \ -\frac{b}{x^2} \ ##. You forgot the chain rule.In summary, the conversation is about finding the value of x that maximizes the derivative of the function y = a * x * ln(b/x). The person asking the question forgot to use the chain rule when taking the derivative. The correct solution involves rewriting the logarithm using logarithm rules and applying the chain rule.
  • #1
Karol
1,380
22

Homework Statement


$$y=a\cdot x\cdot ln\left(\frac{b}{x}\right)$$
The derivative should be 0 (to maximize), what's x?

Homework Equations


$$(ln\:x)'=\frac{1}{x}$$
$$(x^a)'=ax^{(a-1)}$$
$$(uv)'=u'v+v'u$$

The Attempt at a Solution


$$\dot y=a \left[ ln \left( \frac{b}{x} \right)-x\frac{x}{b}x^{-2} \right]=a \left[ ln \left( \frac{b}{x} \right)-\frac{1}{b} \right]$$
$$\dot y=0 \rightarrow ln \left( \frac{b}{x} \right)-\frac{1}{b}=0 \rightarrow x=e^{\left( \frac{1}{b} \right)}$$
But the answer should be ##x=\frac{b}{e}##
 
Last edited:
Physics news on Phys.org
  • #2
Have you tried rewriting ln (b / x) using the rules of logarithms before taking the derivative of the whole expression?
 
  • #3
Karol said:

Homework Statement


$$y=a\cdot x\cdot ln\left(\frac{b}{x}\right)$$
The derivative should be 0 (to maximize), what's x?

Homework Equations


$$(ln\:x)'=\frac{1}{x}$$
$$(x^a)'=ax^{(a-1)}$$
$$(uv)'=u'v+v'u$$

The Attempt at a Solution


$$\dot y=a \left[ ln \left( \frac{b}{x} \right)-x\frac{x}{b}x^{-2} \right]=a \left[ ln \left( \frac{b}{x} \right)-\frac{1}{b} \right]$$
$$\dot y=0 \rightarrow ln \left( \frac{b}{x} \right)-\frac{1}{b}=0 \rightarrow x=e^{\left( \frac{1}{b} \right)}$$
But the answer should be ##x=\frac{b}{e}##
You missed the Chain rule.

Also it may be make things easier to first expand the logarithm.

##\displaystyle \ \ln\left(\frac{b}{x}\right)=\ln(b)-\ln(x) \ ##
 
  • #4
This question is from my post in physics, i re-wrote the constants in order not to confuse.
Yes, i used there the logarithm's rules:
$$y=a\cdot x\cdot ln\left(\frac{b}{x}\right)=a\cdot x\cdot (ln\:b-ln\:x)$$
$$\dot y=a\left[( ln\:b-ln\:x )-x\frac{1}{x} \right]=a(ln\:b-ln\:-1)=a\left[ ln\left( \frac{b}{x}\right)-1 \right]$$
 
  • #5
SammyS said:
You missed the Chain rule.
$$\left[x\cdot ln\left( \frac{b}{x} \right)\right]'=ln \left( \frac{b}{x} \right)+x\frac{x}{b}(-b)\frac{1}{x^2}=x\left[ ln\left( \frac{b}{x} \right)-1\right]$$
I think it's solved, i forgot the constant b, thanks
 
Last edited:
  • #6
Karol said:
$$\left[x\cdot ln\left( \frac{b}{x} \right)\right]'=ln \left( \frac{b}{x} \right)+x\frac{x}{b}(-1)\frac{1}{x^2}$$
What's the derivative of ##\displaystyle \ \frac{b}{x} \ ?\ ##
 
Last edited:
  • #7
See my answer in #5, i solved, thanks
 
  • #8
Karol said:
See my answer in #5, i solved, thanks
That's incorrect.
 

Related to What Value of x Maximizes the Function y=axln(b/x)?

1. What is the derivative of ln(x2)?

The derivative of ln(x2) is 2x/x2 = 2/x.

2. How do you find the derivative of ln(3x+4)?

To find the derivative of ln(3x+4), we use the chain rule and the derivative of ln(x) = 1/x. Therefore, the derivative is 3/3x+4 = 3/(3x+4).

3. Can you simplify the derivative of ln(ex)?

Yes, the derivative of ln(ex) is simply 1, as the natural log of e is equal to 1.

4. What is the second derivative of ln(5x3)?

To find the second derivative, we first find the first derivative using the chain rule, which is 15x2/5x3 = 3/x. Then, we take the derivative again to get -3/x2.

5. Is there a general rule for finding the derivative of ln(ax+b)?

Yes, the general rule for finding the derivative of ln(ax+b) is 1/(ax+b) * a, where a is the coefficient of x in the argument of the natural log function.

Similar threads

  • Calculus and Beyond Homework Help
Replies
5
Views
335
  • Calculus and Beyond Homework Help
Replies
14
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
572
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
796
  • Calculus and Beyond Homework Help
Replies
20
Views
503
  • Calculus and Beyond Homework Help
Replies
2
Views
319
Replies
14
Views
9K
  • Calculus and Beyond Homework Help
Replies
4
Views
674
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
Back
Top