Multivariable calculus

Partial Derivatives of e^(x/(1+y^2))

For f(x, y) = e^(x/(1 + y^2)), the partial with respect to x is e^(x/(1 + y^2))/(1 + y^2), and the partial with respect to y is -2xy e^(x/(1 + y^2))/(1 + y^2)^2. Differentiate the exponent first, then multiply by the untouched exponential.

ex1+y2e^{\frac{x}{1+y^{2}}}
ex1+y21+y2\frac{e^{\frac{x}{1+y^{2}}}}{1+y^{2}}
2xyex1+y2(1+y2)2-\frac{2xy\,e^{\frac{x}{1+y^{2}}}}{\left(1+y^{2}\right)^{2}}

Differentiate the exponent, then multiply

Name the exponent g(x,y)=x1+y2g(x,y) = \frac{x}{1+y^{2}}. Every partial of ff is ege^{g} times the matching partial of gg, so the only real work is differentiating gg. When xx moves, gg is a constant multiple of xx.

gx=11+y2,fx=ex1+y21+y2\frac{\partial g}{\partial x} = \frac{1}{1+y^{2}}, \qquad \frac{\partial f}{\partial x} = \frac{e^{\frac{x}{1+y^{2}}}}{1+y^{2}}

When yy moves, write g=x(1+y2)1g = x\left(1+y^{2}\right)^{-1} and use the power rule with the chain rule: the outside gives (1+y2)2-\left(1+y^{2}\right)^{-2} and the inside gives 2y2y.

gy=2xy(1+y2)2,fy=2xyex1+y2(1+y2)2\frac{\partial g}{\partial y} = -\frac{2xy}{\left(1+y^{2}\right)^{2}}, \qquad \frac{\partial f}{\partial y} = -\frac{2xy\,e^{\frac{x}{1+y^{2}}}}{\left(1+y^{2}\right)^{2}}

At (2,1)(2,1) the exponent is 11, so f=e2.718f = e \approx 2.718, the xx slope is e21.359\frac{e}{2} \approx 1.359, and the yy slope is e2.718-e \approx -2.718.

The mistake: mishandling the fraction in the exponent

  • Writing gy=x2y\frac{\partial g}{\partial y} = \frac{x}{2y} differentiates the denominator where it stands, as though the derivative of xu\frac{x}{u} were xx over the derivative of uu. The reciprocal (1+y2)1\left(1+y^{2}\right)^{-1} differentiates to 2y(1+y2)2-2y\left(1+y^{2}\right)^{-2}, so the whole factor changes, not just the bottom.
  • Reporting only the exponent's derivative and dropping the factor ege^{g}. The exponential is never lost in a chain rule; it is copied down.
  • Losing the minus sign from the power 1-1, which would make the surface appear to rise in yy where it actually falls.

Check on the yy-axis. When x=0x = 0 the exponent is 00 for every yy, so ff is identically 11 along that line and the slope in yy must be 00. The correct formula carries a factor of xx and vanishes there, which a version missing that factor would not.

The ridge along the x-axis

For a fixed x>0x > 0, the exponent x1+y2\frac{x}{1+y^{2}} is largest at y=0y = 0 and shrinks toward 00 as y|y| grows. So each slice is a bump of height exe^{x} on the xx-axis that decays to height 11 far away, and the surface has a ridge running along the xx-axis.

The yy partial confirms it. For x>0x > 0 its sign is the sign of y-y, so the surface climbs toward the axis from below and falls away above it, and the slope is exactly 00 on the ridge line y=0y = 0.

The denominator 1+y21+y^{2} is never zero, so both formulas hold on the whole plane, and for x>0x > 0 the value stays between 11 and exe^{x}.

Frequently asked questions

Why does the y partial contain a factor of x?

Because y enters only through the exponent x/(1 + y^2), whose y derivative carries x as a constant multiple. At x = 0 the exponent is 0 for every y, so the slope in y is 0 along that line.

Does e^(x/(1+y^2)) stay bounded?

On any strip where x is bounded, yes. For x greater than 0 the exponent lies between 0 and x, so the value lies between 1 and e^x, with the largest values on the line y = 0.