WordGPT

Which is larger: eπe^{\pi} or πe\pi^{e}?

Exercise · Level 4 (Hard)

Without a calculator, decide which is larger.

eπ  or  πe ?e^{\pi}\ \ \text{or}\ \ \pi^{e}\ ?

wordgptpro.com

Solution 1/2

  1. Both numbers are positive and ln is increasing, so comparing eπe^\pi with πe\pi^e is the same as comparing their logarithms: ln⁡eπ=πln⁡e\ln e^\pi=\pi\ln e and ln⁡πe=eln⁡π\ln\pi^e=e\ln\pi. We want to know whether πln⁡e>eln⁡π\pi\ln e>e\ln\pi. Divide by the positive number eπe\pi:

    eπ>πe  ⟺  ln⁡ee>ln⁡ππe^\pi>\pi^e\iff\frac{\ln e}{e}>\frac{\ln\pi}{\pi}
    (1)
  2. Both sides are values of one function, f(x)=ln⁡xxf(x)=\dfrac{\ln x}{x}, at the points x=ex=e and x=πx=\pi. So the question is whether f(e)>f(π)f(e)>f(\pi). Differentiate with the quotient rule:

    f′(x)=1x⋅x−ln⁡x⋅1x2=1−ln⁡xx2\begin{aligned}&f'(x)\\&=\frac{\frac1x\cdot x-\ln x\cdot1}{x^2}\\&=\frac{1-\ln x}{x^2}\end{aligned}
    (2)

wordgptpro.com

Solution 2/2

  1. The denominator x2x^2 is positive, so the sign of f′f' is the sign of 1−ln⁡x1-\ln x. It is positive while ln⁡x<1\ln x<1, zero at ln⁡x=1\ln x=1, that is x=ex=e, and negative after that:

    f′(x)>0 (0<x<e),f′(e)=0,f′(x)<0 (x>e)f'(x)>0\ (0<x<e),\qquad f'(e)=0,\qquad f'(x)<0\ (x>e)
    (3)
  2. So ff rises up to x=ex=e and falls from there on: its highest point is f(e)=1e≈0.3679f(e)=\tfrac1e≈0.3679. You can see it on the graph. Since π>e\pi>e, the point π\pi lies on the falling part, so

    f(π)<f(e) ⟺ ln⁡ππ<ln⁡eef(\pi)<f(e)\ \Longleftrightarrow\ \frac{\ln\pi}{\pi}<\frac{\ln e}{e}
    (4)
  3. Multiply both sides by eπ>0e\pi>0 and use ln⁡e=1\ln e=1: eln⁡π<πe\ln\pi<\pi, which says ln⁡πe<ln⁡eπ\ln\pi^e<\ln e^\pi. Since ln is increasing, undo it:

    πe<eπ\pi^e<e^\pi
    (5)
  4. Check with numbers: eπ≈23.1407e^\pi≈23.1407 and πe≈22.4592\pi^e≈22.4592, a gap of about 0.68. The two values of ff differ by only 0.0034, which is why the graph needs a zoom to show it. (The same function explains why 24=422^4=4^2: the points 2 and 4 have the same height on the curve.)

Answereπ>πee^{\pi}>\pi^{e}

wordgptpro.com

Need a hint?

Take logarithms and study f(x) = ln x / x. Where is it decreasing?

eπe^{\pi} ≈ 23.14 is larger than πe\pi^{e} ≈ 22.46, because ln x / x decreases for x > e.

How to work it out

  1. Both numbers are positive and ln is increasing, so comparing eπe^\pi with πe\pi^e is the same as comparing their logarithms: ln⁡eπ=πln⁡e\ln e^\pi=\pi\ln e and ln⁡πe=eln⁡π\ln\pi^e=e\ln\pi. We want to know whether πln⁡e>eln⁡π\pi\ln e>e\ln\pi. Divide by the positive number eπe\pi:

    eπ>πe  ⟺  ln⁡ee>ln⁡ππe^\pi>\pi^e\iff\frac{\ln e}{e}>\frac{\ln\pi}{\pi}
    (1)
  2. Both sides are values of one function, f(x)=ln⁡xxf(x)=\dfrac{\ln x}{x}, at the points x=ex=e and x=πx=\pi. So the question is whether f(e)>f(π)f(e)>f(\pi). Differentiate with the quotient rule:

    f′(x)=1x⋅x−ln⁡x⋅1x2=1−ln⁡xx2\begin{aligned}&f'(x)\\&=\frac{\frac1x\cdot x-\ln x\cdot1}{x^2}\\&=\frac{1-\ln x}{x^2}\end{aligned}
    (2)
  3. The denominator x2x^2 is positive, so the sign of f′f' is the sign of 1−ln⁡x1-\ln x. It is positive while ln⁡x<1\ln x<1, zero at ln⁡x=1\ln x=1, that is x=ex=e, and negative after that:

    f′(x)>0 (0<x<e),f′(e)=0,f′(x)<0 (x>e)f'(x)>0\ (0<x<e),\qquad f'(e)=0,\qquad f'(x)<0\ (x>e)
    (3)
  4. So ff rises up to x=ex=e and falls from there on: its highest point is f(e)=1e≈0.3679f(e)=\tfrac1e≈0.3679. You can see it on the graph. Since π>e\pi>e, the point π\pi lies on the falling part, so

    f(π)<f(e) ⟺ ln⁡ππ<ln⁡eef(\pi)<f(e)\ \Longleftrightarrow\ \frac{\ln\pi}{\pi}<\frac{\ln e}{e}
    (4)
  5. Multiply both sides by eπ>0e\pi>0 and use ln⁡e=1\ln e=1: eln⁡π<πe\ln\pi<\pi, which says ln⁡πe<ln⁡eπ\ln\pi^e<\ln e^\pi. Since ln is increasing, undo it:

    πe<eπ\pi^e<e^\pi
    (5)
  6. Check with numbers: eπ≈23.1407e^\pi≈23.1407 and πe≈22.4592\pi^e≈22.4592, a gap of about 0.68. The two values of ff differ by only 0.0034, which is why the graph needs a zoom to show it. (The same function explains why 24=422^4=4^2: the points 2 and 4 have the same height on the curve.)

LaTeX source of the formulas on this page
\[ e^{\pi}>\pi^{e} \]
\[ e^\pi>\pi^e\iff\frac{\ln e}{e}>\frac{\ln\pi}{\pi} \]
\[ f'(x)=\frac{\frac1x\cdot x-\ln x\cdot1}{x^2}=\frac{1-\ln x}{x^2} \]
\[ f'(x)>0\ (0<x<e),\qquad f'(e)=0,\qquad f'(x)<0\ (x>e) \]
\[ f(\pi)<f(e)\ \Longleftrightarrow\ \frac{\ln\pi}{\pi}<\frac{\ln e}{e} \]
\[ \pi^e<e^\pi \]

The numbers behind the comparison

QuantityValue
ln e / e = f(e)0.367879
ln π / π = f(π)0.364379
f(e) − f(π)0.003501
eπe^{\pi}23.1407
πe\pi^{e}22.4592
eπe^{\pi} − πe\pi^{e}0.6815

Questions

What is the answer to: Which is larger: eπe^{\pi} or πe\pi^{e}??

eπe^{\pi} ≈ 23.14 is larger than πe\pi^{e} ≈ 22.46, because ln x / x decreases for x > e.

What is the key idea?

Compare ln x / x at e and at π: that function is decreasing past e.

Is there a hint?

Take logarithms and study f(x) = ln x / x. Where is it decreasing?

Related problems

More inequality problems

    Which is larger: e^π or π^e?: answer and solution | WordGPT