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

  • Context: Undergrad 
  • Thread starter Thread starter pig
  • Start date Start date
  • Tags Tags
    Differentiating
Click For Summary

Discussion Overview

The discussion revolves around the differentiation of functions involving variable exponents, specifically expressions like x^(y^(x^y)), where y is a function of x. Participants explore various methods and rules for differentiation, including the chain rule and logarithmic differentiation, while addressing the complexities that arise from the dependencies between x and y.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant expresses uncertainty about how to begin differentiating x^(y^(x^y)), indicating a lack of clarity on the application of the chain rule.
  • Another participant provides a differentiation example for x^(z(x)), suggesting a formula that includes terms for both z(x) and its derivative z'(x), but does not clarify the origin of the additional terms.
  • A participant questions the reasoning behind the differentiation steps, particularly the appearance of a '+' sign in the differentiation of x^(z(x)), indicating confusion about the application of the chain rule.
  • One participant attempts to derive the derivative of x^y using logarithmic differentiation, presenting a step-by-step approach but expresses uncertainty about the correctness of their method.
  • Another participant confirms their understanding of the differentiation process for x^y, restating the formula and expressing gratitude for clarification.
  • A detailed differentiation process is shared, involving multiple steps and the application of the chain rule, but one participant expresses doubt about the equivalence of their approach to that of a previous contributor.
  • A simpler method for differentiating x^(z(x)) is suggested, involving partial derivatives, but lacks elaboration on the implications of this approach.

Areas of Agreement / Disagreement

Participants exhibit a mix of understanding and confusion regarding the differentiation techniques discussed. There is no consensus on the best method or the correctness of the various approaches presented, indicating ongoing debate and exploration of the topic.

Contextual Notes

Some participants' methods rely on specific assumptions about the functions involved and the application of differentiation rules, which may not be universally accepted or fully resolved in the discussion.

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:

[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.
 
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
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 49 ·
2
Replies
49
Views
9K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K