Differentiating x^y + y^x + (lnx)^x etc

  • Thread starter Thread starter pig
  • Start date Start date
  • Tags Tags
    Differentiating
Click For Summary
Differentiating complex functions like x^(y^(x^y)) requires careful application of the chain rule and logarithmic differentiation. The discussion highlights the process of differentiating expressions where y is a function of x, emphasizing the need to compute derivatives of both the base and the exponent. Participants express confusion about the steps involved, particularly regarding the addition of terms in the derivative. The correct approach involves using the chain rule and recognizing how to handle the logarithmic form of the function. Overall, the conversation illustrates the challenges of differentiating nested exponential functions and the importance of systematic application of differentiation rules.
pig
Messages
94
Reaction score
0
How can this be done?

I don't even know how I would begin.. How would you differentiate stuff like x^(y^(x^y))? Where y is a function of x, not a constant of course..
 
Physics news on Phys.org
The example:
x^(y^(x^y))=x^(z(x))

d/dx x^(z(x))=z(x)x^(z(x)-1)+x^(z(x))*ln(x)*z'(x)..
 
arildno said:
The example:
x^(y^(x^y))=x^(z(x))

d/dx x^(z(x))=z(x)x^(z(x)-1)+x^(z(x))*ln(x)*z'(x)..

I don't understand this :(

d/dx x^(z(x))=z(x)x^(z(x)-1)+...

Where does the + come from? :confused:

I know I should use the chain rule somehow but I can't seem to figure out how.. I'm having problems with differentiating both x^(f(x)) and f(x)^x..
 
Hmm if I do this:

f(x) = x^y
ln f(x) = ln x^y
ln f(x) = ylnx
(ln f(x))' = (ylnx)'
f'(x)/f(x) = y'lnx + y/x
f'(x) = f(x)*(y'lnx + y/x)

(x^y)' = x^y*(y'lnx + y/x)

Is this right? :confused:
 
(x^y)' = x^y*(y'lnx + y/x)

(x^y)' = yx^(y-1)+x^y*lnx*y'

I think I understand what you wrote after all.. Thanks arildno :)
 
Last edited:
Use the chain rule:

\frac{d}{dx} f(g(x))=g'(x)f'(g(x))

So
\frac{d}{dx} x^{(y^{(x^y)})}= \frac{d}{dx} e^{(\ln x \times y^{(x^y)})} = \frac{d}{dx} (\ln x \times y^{(x^y)}) \times x^{(y^{(x^y)})}
=(\frac{y^{(x^y)}}{x} + \ln x \times \frac{d}{dx} y^{(x^y)}) \times x^{(y^{(x^y)})}
=(\frac{y^{(x^y)}}{x} + \ln x \times \frac{d}{dx} e^{(y \times x^y)}) \times x^{(y^{(x^y)})}
=(\frac{y^{(x^y)}}{x} + \ln x \times \frac{d}{dx} {(y \times x^y)} \times y^{(x^y)}) \times x^{(y^{(x^y)})}
=(\frac{y^{(x^y)}}{x} + \ln x \times (y' x^y + y \frac{d}{dx} (x^y)) \times y^{(x^y)}) \times x^{(y^{(x^y)})}
=(\frac{y^{(x^y)}}{x} + \ln x \times (y' x^y + y \frac{d}{dx} (y \ln x ) \times x^y) \times y^{(x^y)}) \times x^{(y^{(x^y)})}

=(\frac{y^{(x^y)}}{x} + \ln x \times (y' x^y + y (\frac{y}{x} + xy' ) \times x^y) \times y^{(x^y)}) \times x^{(y^{(x^y)})}
Obviously, some regrouping is necessary. I somehow doubt that that's the same as what arnildo had.
 
Well, I didn't bother to compute z'(x).
Here's the simplest way to compute x^(z(x)):

F(x,z)=x^(z), H(x)=F(x,z(x)).

dH/dx=d^(p)F/dx+d^(p)F/dz*z'(x), where d^(p)/dx is the partial derivative with respect to x.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 49 ·
2
Replies
49
Views
7K
  • · Replies 8 ·
Replies
8
Views
804
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K