Multivariable calculus

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

For f(x, y) = x/(y^2 + 1) the partial with respect to x is 1/(y^2 + 1), and the partial with respect to y is -2xy/(y^2 + 1)^2. The x partial needs no quotient rule at all, because with y held fixed the function is just a constant multiple of x.

f(x,y)=xy2+1f(x,y) = \frac{x}{y^2 + 1}
fx=1y2+1\frac{\partial f}{\partial x} = \frac{1}{y^2 + 1}
fy=2xy(y2+1)2\frac{\partial f}{\partial y} = \frac{-2xy}{\left(y^2 + 1\right)^2}

Look at the structure before choosing a rule

With yy held fixed, 1y2+1\frac{1}{y^2+1} is a single number, and the function is that number times xx. The derivative of cxcx is cc.

fx=1y2+1\frac{\partial f}{\partial x} = \frac{1}{y^2 + 1}

For the yy partial, rewrite as f=x(y2+1)1f = x\left(y^2+1\right)^{-1} and use the chain rule with xx as a constant multiplier. The outer derivative is (y2+1)2-\left(y^2+1\right)^{-2} and the inner derivative is 2y2y.

fy=x(1)(y2+1)22y=2xy(y2+1)2\frac{\partial f}{\partial y} = x \cdot \left(-1\right)\left(y^2+1\right)^{-2} \cdot 2y = \frac{-2xy}{\left(y^2+1\right)^2}

At (3,1)(3,1) the partials are 12\frac{1}{2} and 32-\frac{3}{2}. The xx partial does not depend on xx at all, which says every slice taken at a fixed yy is a straight line.

The mistake: quotient rule where none is needed

Seeing a fraction, many students apply the quotient rule to fx\frac{\partial f}{\partial x} and write the numerator as 1(y2+1)x2y1 \cdot \left(y^2+1\right) - x \cdot 2y. The second term is wrong: during an xx derivative, the derivative of y2+1y^2 + 1 is 00, not 2y2y.

Applied correctly, the quotient rule still works; it is just slower.

fx=1(y2+1)x0(y2+1)2=1y2+1\frac{\partial f}{\partial x} = \frac{1 \cdot \left(y^2+1\right) - x \cdot 0}{\left(y^2+1\right)^2} = \frac{1}{y^2+1}
  • If the denominator has no xx in it, skip the quotient rule for fx\frac{\partial f}{\partial x}.
  • If the numerator has no yy in it, factor it out before doing fy\frac{\partial f}{\partial y}.
  • Choosing the lighter route is the difference between one line and four.

Reading the two partials

fx\frac{\partial f}{\partial x} is always positive and at most 11, with the maximum at y=0y = 0. So the surface always rises as xx increases, most steeply along the xx axis and more gently for large y\lvert y \rvert.

fy\frac{\partial f}{\partial y} carries the sign of xy-xy, so the surface falls in the yy direction in the first and third quadrants and rises in the second and fourth. It is zero on both axes.

There are no critical points anywhere, because fx=1y2+1\frac{\partial f}{\partial x} = \frac{1}{y^2+1} can never equal zero. The gradient is never the zero vector, so the surface has no flat spots at all.

Frequently asked questions

Why does f_x not depend on x?

Because ff is linear in xx for each fixed yy. Slicing the surface with a plane of constant yy gives the straight line f=x/(y2+1)f = x/(y^2+1), whose slope is the same at every xx. That slope is precisely fx\frac{\partial f}{\partial x}.

How do I differentiate a reciprocal in y?

Rewrite it as a negative power and use the chain rule: y(y2+1)1=(y2+1)22y\frac{\partial}{\partial y}\left(y^2+1\right)^{-1} = -\left(y^2+1\right)^{-2} \cdot 2y. The negative exponent produces the minus sign, and 2y2y is the derivative of the inside.