Multivariable calculus

Limit of sin(xy)/(x^2+y^2) at (0,0) Does Not Exist

The limit of sin(xy)/(x^2 + y^2) at the origin does not exist. Along y = 0 the function is 0, along y = x it tends to 1/2, and along y = -x it tends to -1/2. Near the origin sin(xy) behaves like xy, so this function inherits the path dependence of xy/(x^2 + y^2).

f(x,y)=sin⁡(xy)x2+y2f(x,y) = \frac{\sin(xy)}{x^2 + y^2}

The limit does not exist

PathLimit along it
along y = 00
along y = x0.5
along y = -x-0.5

Reduce the sine, then run the path test

The one-variable fact lim⁡u→0sin⁡uu=1\lim_{u \to 0} \frac{\sin u}{u} = 1 does the heavy lifting. Write the function so that the sine appears over its own argument.

sin⁡(xy)x2+y2=sin⁡(xy)xy⋅xyx2+y2(xy≠0)\frac{\sin(xy)}{x^2 + y^2} = \frac{\sin(xy)}{xy} \cdot \frac{xy}{x^2 + y^2} \quad (xy \neq 0)

The first factor tends to 11 whenever xy→0xy \to 0, which happens on any path into the origin. So the behaviour is decided entirely by the second factor, the classic path-dependent quotient.

Along y=0y = 0 the numerator is sin⁡0=0\sin 0 = 0, so ff is identically zero on the xx-axis and the limit along that path is 00. Along y=xy = x:

f(t,t)=sin⁡(t2)2t2=12⋅sin⁡(t2)t2→12f(t, t) = \frac{\sin(t^2)}{2t^2} = \frac{1}{2}\cdot\frac{\sin(t^2)}{t^2} \to \frac{1}{2}

Along y=−xy = -x the argument of the sine is −t2-t^2, and since sine is odd the same computation gives −12-\tfrac{1}{2}. Three paths, three values, so the limit does not exist.

How to see it faster

For a fixed line y=mxy = mx the argument of the sine is mx2mx^2, which is tiny, so sin⁡(mx2)≈mx2\sin(mx^2) \approx mx^2 to leading order. That turns the quotient into a familiar one.

f(x,mx)≈mx2x2+m2x2=m1+m2f(x, mx) \approx \frac{mx^2}{x^2 + m^2x^2} = \frac{m}{1 + m^2}

So ff approaches m1+m2\frac{m}{1+m^2} along the line of slope mm, exactly the same values as xyx2+y2\frac{xy}{x^2+y^2}. Replacing a smooth function by its leading term near the origin is a fast way to guess the answer, and then you confirm it with the exact substitution shown above.

  • sin⁡u=u+O(u3)\sin u = u + O(u^3), so the cubic correction is negligible against uu.
  • The two functions sin⁡(xy)x2+y2\frac{\sin(xy)}{x^2+y^2} and xyx2+y2\frac{xy}{x^2+y^2} have the same path values at the origin.
  • Their difference does tend to zero, which is why the shortcut is safe here.

The mistake: applying sin(u)/u to the wrong denominator

The common error is to write sin⁡(xy)x2+y2→1\frac{\sin(xy)}{x^2+y^2} \to 1 because sine over something small is one. The identity requires the denominator to be the very argument of the sine. Here the argument is xyxy but the denominator is x2+y2x^2 + y^2, and those are not the same size: on the xx-axis xyxy is zero while x2+y2x^2+y^2 is not.

The safe move is the one made above: multiply and divide by xyxy so the identity applies to a genuine sin⁡uu\frac{\sin u}{u}, and handle the leftover factor separately. When xy=0xy = 0 the function is simply zero, so that case needs no special treatment.

Frequently asked questions

Would the limit exist if the denominator were x^2 + y^2 raised to a smaller power?

With sin⁡(xy)x2+y2\frac{\sin(xy)}{\sqrt{x^2+y^2}} the limit is 00, because ∣xy∣≤12(x2+y2)|xy| \leq \tfrac{1}{2}(x^2+y^2) makes the quotient bounded by 12x2+y2\tfrac{1}{2}\sqrt{x^2+y^2}. The trouble here is that numerator and denominator are the same degree.

Is f continuous everywhere except the origin?

Yes. The sine of a polynomial is continuous everywhere and the denominator is nonzero off the origin, so ff is continuous on the punctured plane. Only the origin has no limit.