Differentiating f(x) = x^x^x: A Step-By-Step Guide

  • Thread starter Thread starter erjkism
  • Start date Start date
  • Tags Tags
    Differentiating
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
5 replies · 3K views
erjkism
Messages
54
Reaction score
0

Homework Statement




differentiate f(x)= x^x^x



Homework Equations


chain rule
product rule

The Attempt at a Solution



x^x (lnx)

i don't know what to do after this
 
Physics news on Phys.org
A function raised to another function is an exponential:

In general, [tex]f(x)^{g(x)} = \exp(\ln(f(x)^{g(x)}))=\exp(g(x)\ln(f(x)))[/tex]

And you know how to differentiate an exponential.

So, can you use what I wrote to write x^x^x as an exponential?
 
Would that be:
1. [tex]x^{(x^{x})}=x^{x^{x}}[/tex]
2. [tex](x^{x})^{x}=x^{x^{2}}[/tex]

Learn to use parentheses..
 
erjkism said:

Homework Statement




differentiate f(x)= x^x^x



Homework Equations


chain rule
product rule

The Attempt at a Solution



x^x (lnx)

i don't know what to do after this
Don't just leave x^x(ln x) by itself! If f= x^x^x, then ln(f)= x^x ln(x). Now DO IT AGAIN! ln(ln(f))= ln(x^x ln(x))= ln(x^x)+ ln(ln(x))= xln(x)+ ln(ln(x)).

Use the chain rule to differentiate both ln(ln(f(x)) and ln(ln(x)).
 
arildno said:
Would that be:
1. [tex]x^{(x^{x})}=x^{x^{x}}[/tex]
2. [tex](x^{x})^{x}=x^{x^{2}}[/tex]

Learn to use parentheses..

I sometimes get annoyed with exponential notation for exactly that reason. My opinion is if the exponent is any larger than 1 term, write it is terms of exp(...).
 
Neglecting the given attempt, I put
[tex]y = x^{x^{x}}[/tex]
[tex]z = x^{x}[/tex]
and develop as follows.
[tex] \ln y = \ln x^{x^{x}}<br /> = z \ln x[/tex]
[tex] \frac{y'}{y} = z' \ln x + z \frac{1}{x}[/tex]
here I calculate the differentiation of [tex]z[/tex]
[tex]z = x^{x}[/tex]
[tex]\ln z = x \ln x[/tex]
[tex]\frac{z'}{z} = \ln x + x \frac{1}{x}[/tex]
[tex] z' = z \left( { \ln x + 1 } \right)<br /> = x^{x} \left( { \ln x + 1 } \right)[/tex]
Accordingly
[tex] y' = y \left( { x^{x} \left( { \ln x + 1 } \right) \ln x + x^{x} \frac{1}{x} } \right)<br /> = x^{x^{x}+x-1} \left( { x \left( { \ln x + 1 } \right) \ln x + 1 } \right)[/tex]