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

In summary: So we get:dH/dx=(x^(z))(z'(x))+ln(x)(z(x))(x^(z(z(x)-1)))(z'(x)) (since d^(p)F/dz=z^(p-1)).In summary, we discussed how to differentiate expressions involving exponentials with a variable raised to a function and how to use the chain rule to solve for the derivative.
  • #1
pig
94
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
  • #2
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)..
 
  • #3
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..
 
  • #4
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:
 
  • #5
(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:
  • #6
Use the chain rule:

[tex]\frac{d}{dx} f(g(x))=g'(x)f'(g(x))[/tex]

So
[tex]\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)})}[/tex]
[tex]=(\frac{y^{(x^y)}}{x} + \ln x \times \frac{d}{dx} y^{(x^y)}) \times x^{(y^{(x^y)})}[/tex]
[tex]=(\frac{y^{(x^y)}}{x} + \ln x \times \frac{d}{dx} e^{(y \times x^y)}) \times x^{(y^{(x^y)})}[/tex]
[tex]=(\frac{y^{(x^y)}}{x} + \ln x \times \frac{d}{dx} {(y \times x^y)} \times y^{(x^y)}) \times x^{(y^{(x^y)})}[/tex]
[tex]=(\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)})}[/tex]
[tex]=(\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)})}[/tex]

[tex]=(\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)})}[/tex]
Obviously, some regrouping is necessary. I somehow doubt that that's the same as what arnildo had.
 
  • #7
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.
 

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

What is the purpose of differentiating expressions such as x^y + y^x + (lnx)^x?

Differentiating expressions is a mathematical process used to find the rate of change or slope of a function at a specific point. This can be useful in analyzing and understanding the behavior of a function.

How do you differentiate x^y with respect to x?

To differentiate x^y with respect to x, we use the power rule of differentiation which states that the derivative of x^n is n*x^(n-1). Therefore, the derivative of x^y with respect to x is y*x^(y-1).

What is the derivative of y^x?

The derivative of y^x with respect to x can be found using the exponential rule of differentiation, which states that the derivative of a^x is ln(a)*a^x. Therefore, the derivative of y^x with respect to x is ln(y)*y^x.

How do you differentiate (lnx)^x with respect to x?

To differentiate (lnx)^x with respect to x, we use the chain rule of differentiation. First, we rewrite the expression as e^(x*ln(lnx)). Then, we take the derivative of the exponent (x*ln(lnx)) and multiply it by the derivative of the base (ln(lnx)), which is 1/x. This gives us the final result of (ln(lnx) + 1)*(lnx)^(x-1).

Why is it important to differentiate complex expressions like x^y + y^x + (lnx)^x?

Differentiating complex expressions allows us to better understand the behavior of a function and make predictions about its values at different points. It also helps us find the maximum and minimum points of a function, which can be useful in optimization problems. Moreover, differentiation is a fundamental concept in calculus and is essential in many fields of science and engineering.

Similar threads

Replies
49
Views
4K
Replies
12
Views
2K
Replies
16
Views
2K
Replies
1
Views
1K
Replies
9
Views
2K
Replies
6
Views
2K
Replies
3
Views
2K
Back
Top