Derivative of f(x) to the power of g(x), and algebra problem

And for the first, you can do it a little quicker by using the fact that if y = f(x)^g(x) then log(y) = g(x)log(f(x)) and then differentiating.
  • #1
Deadleg
15
0

Homework Statement



1. If f(x), g(x) and h(x) are real functions of x, show that

when [tex]h(x)=[f(x)]^{g(x)}[/tex]

then [tex]h'(x)=[f(x)]^{g(x)}(g'(x)\ln[f(x)]+g(x)\frac{f'(x)}{f(x)})[/tex]

2. [tex]\frac{A}{x}+\frac{B}{P-x}=\frac{1}{x(P-x)}[/tex] where x is a variable, and P is a constant. Find A and B in terms of P.

Homework Equations




The Attempt at a Solution



1. I start by doing what I usually do, like with [tex]x^{x^2}[/tex]:

[tex][f(x)]^{g(x)-1}.g(x).g'(x)[/tex]

Looking at the derivative, I see

[tex]\int{g'(x)\ln[f(x)]+g(x)\frac{f'(x)}{f(x)}}=g(x)\ln[f(x)][/tex]

Which looks nothing like what I got :(

2. Getting a common denominator and canceling:

[tex]A(P-x)+Bx=1[/tex]

Then by inspection,

[tex]A=\frac{P}{P^2}[/tex]
[tex]B=\frac{1}{P^2}[/tex]

It was a fluke that I got that :/. So I'm wondering how to prove it arithmetically, or just some general method of solving these kinds of problems for when I come across them again.
 
Physics news on Phys.org
  • #2
Hi Deadleg,

Deadleg said:

Homework Statement



1. If f(x), g(x) and h(x) are real functions of x, show that

when [tex]h(x)=[f(x)]^{g(x)}[/tex]

then [tex]h'(x)=[f(x)]^{g(x)}(g'(x)\ln[f(x)]+g(x)\frac{f'(x)}{f(x)})[/tex]

The Attempt at a Solution



1. I start by doing what I usually do, like with [tex]x^{x^2}[/tex]:

[tex][f(x)]^{g(x)-1}.g(x).g'(x)[/tex]

Looking at the derivative, I see

[tex]\int{g'(x)\ln[f(x)]+g(x)\frac{f'(x)}{f(x)}}=g(x)\ln[f(x)][/tex]

Which looks nothing like what I got :(

If we can get your example [tex]x^{x^2}[/tex] sorted then you will be fine to do the question at hand. We rewrite it as [tex]x^{x^2} = e^{x^2\log{x}[/tex], and then differentiate (using the chain rule), obtaining [tex](2x\log{x} + x})e^{x^2\log{x}[/tex], i.e., [tex](2x\log{x} + x})x^{x^2}[/tex].

The exact same technique applies to your problem.

2. [tex]\frac{A}{x}+\frac{B}{P-x}=\frac{1}{x(P-x)}[/tex] where x is a variable, and P is a constant. Find A and B in terms of P.

The Attempt at a Solution



2. Getting a common denominator and canceling:

[tex]A(P-x)+Bx=1[/tex]

Then by inspection,

[tex]A=\frac{P}{P^2}[/tex]
[tex]B=\frac{1}{P^2}[/tex]

It was a fluke that I got that :/. So I'm wondering how to prove it arithmetically, or just some general method of solving these kinds of problems for when I come across them again.
Actually, you're not quite right (did you test your inspection?). From your (correct) equation A(P-x)+Bx=1, we can then gather like terms: x(-A + B) + AP = 1, and then equate coefficients (of powers of x).
 
  • #3
You can't treat (f(x))^(g(x)) like it was a power function like x^n. f(x)^g(x)=e^(log(f(x)*g(x)). Use the chain rule on that. For the second one, you've got 1=AP-Ax+Bx=AP+(B-A)x. Since those are supposed to be equal for ALL values of x, you must have AP=1 since that's the constant the right side, and (B-A)=0 since there is no x on the right side. And I don't think you got it right.
 
  • #4
Ah, so for 1.

[tex]h(x)=[f(x)]^{g(x)}=e^{g(x)\ln[f(x)]}[/tex]

[tex]h'(x)=e^{g(x)\ln[f(x)]}.(g'(x)\ln[f(x)]+g(x)\frac{f'(x)}{f(x)})[/tex]

[tex]h'(x)=[f(x)]^{g(x)}.(g'(x)\ln[f(x)]+g(x)\frac{f'(x)}{f(x)})[/tex]



And for 2.

[tex]A(P-x)+Bx=1[/tex]

[tex]AP+(B-A)x=1[/tex]

[tex]AP=1,\ A=\frac{1}{P}[/tex]

[tex]B-A=0,\ B=A=\frac{1}{P}[/tex]
 
  • #5
That's it exactly.
 

1. What is the general formula for finding the derivative of f(x) to the power of g(x)?

The general formula for finding the derivative of f(x) to the power of g(x) is:
d/dx [f(x)^g(x)] = f(x)^g(x) * [g'(x)*ln(f(x)) + g(x)*f'(x)/f(x)]

2. How do you solve an algebra problem involving the derivative of f(x) to the power of g(x)?

To solve an algebra problem involving the derivative of f(x) to the power of g(x), you can follow these steps:
1. Rewrite the expression as f(x)^g(x) = e^(g(x)*ln(f(x)))
2. Use the chain rule to find the derivative of g(x)*ln(f(x))
3. Simplify the expression using the properties of logarithms
4. Plug in the values of f(x) and g(x) to find the final answer.

3. Can you give an example of an algebra problem involving the derivative of f(x) to the power of g(x)?

One example of an algebra problem involving the derivative of f(x) to the power of g(x) is:
Find the derivative of (2x)^3.
Solution:
d/dx [(2x)^3] = (2x)^3 * [3*ln(2x) + 2*2x/2x] = (2x)^3 * [3*ln(2x) + 2]

4. What is the significance of the derivative of f(x) to the power of g(x) in calculus?

The derivative of f(x) to the power of g(x) is significant in calculus because it allows us to find the rate of change of a quantity raised to a variable exponent. This is important in many real-world applications, such as modeling population growth or compound interest.

5. Are there any special cases to consider when finding the derivative of f(x) to the power of g(x)?

Yes, there are a few special cases to consider when finding the derivative of f(x) to the power of g(x):
1. If g(x) is a constant, the derivative will be 0.
2. If f(x) is a constant, the derivative will be g(x)*f'(x).
3. If g(x) is 1/x, the derivative will involve the natural logarithm function.
4. If f(x) is e^x, the derivative will involve the natural logarithm function.

Similar threads

  • Calculus and Beyond Homework Help
Replies
5
Views
906
  • Calculus and Beyond Homework Help
Replies
3
Views
608
  • Calculus and Beyond Homework Help
Replies
6
Views
549
  • Calculus and Beyond Homework Help
Replies
8
Views
473
  • Calculus and Beyond Homework Help
Replies
2
Views
160
  • Calculus and Beyond Homework Help
Replies
6
Views
562
  • Calculus and Beyond Homework Help
Replies
1
Views
284
  • Calculus and Beyond Homework Help
Replies
2
Views
366
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
290
Back
Top