(a) In polar coordinates x = r cos θ x=r\cos\theta x = r cos θ , y = r sin θ y=r\sin\theta y = r sin θ
2 x 2 + x 2 y − y 2 x + 2 y 2 x 2 + y 2 = 2 r 2 cos 2 θ + r 3 cos 2 θ sin θ − r 3 cos θ sin 2 θ + 2 r 2 sin 2 θ r 2 = 2 + r [ cos 2 θ sin θ − sin 2 θ cos θ ] \begin{aligned}
\frac{2x^2 + x^2y - y^2x + 2y^2}{x^2 + y^2}
&=\frac{2r^2\cos^2\theta + r^3\cos^2\theta\sin\theta - r^3\cos\theta\sin^2\theta
+ 2r^2\sin^2\theta}{r^2} \\
&=2+ r\big[\cos^2\theta\sin\theta - \sin^2\theta\cos\theta \big]
\end{aligned} x 2 + y 2 2 x 2 + x 2 y − y 2 x + 2 y 2 = r 2 2 r 2 cos 2 θ + r 3 cos 2 θ sin θ − r 3 cos θ sin 2 θ + 2 r 2 sin 2 θ = 2 + r [ cos 2 θ sin θ − sin 2 θ cos θ ]
As
r ∣ cos 2 θ sin θ − sin 2 θ cos θ ∣ ≤ 2 r → 0 as r → 0 r\big|\cos^2\theta\sin\theta - \sin^2\theta\cos\theta \big|
\le 2r
\rightarrow 0\text{ as }r\rightarrow 0 r cos 2 θ sin θ − sin 2 θ cos θ ≤ 2 r → 0 as r → 0
we have
lim ( x , y ) → ( 0 , 0 ) 2 x 2 + x 2 y − y 2 x + 2 y 2 x 2 + y 2 = 2 \lim_{(x,y)\rightarrow(0,0)} \frac{2x^2 + x^2y - y^2x + 2y^2}{x^2 + y^2}=2 ( x , y ) → ( 0 , 0 ) lim x 2 + y 2 2 x 2 + x 2 y − y 2 x + 2 y 2 = 2
(b)
Since
x 2 y 2 − 2 x 2 y + x 2 ( x 2 + y 2 − 2 y + 1 ) 2 = x 2 ( y − 1 ) 2 [ x 2 + ( y − 1 ) 2 ] 2 \begin{aligned}
\frac{x^2y^2 -2 x^2y + x^2} {(x^2 + y^2-2y+1)^2}
=\frac{x^2(y-1)^2} {\big[x^2 + (y-1)^2\big]^2}
\end{aligned} ( x 2 + y 2 − 2 y + 1 ) 2 x 2 y 2 − 2 x 2 y + x 2 = [ x 2 + ( y − 1 ) 2 ] 2 x 2 ( y − 1 ) 2
and, in polar coordinates centred on ( 0 , 1 ) (0,1) ( 0 , 1 ) ,
x = r cos θ x=r\cos\theta x = r cos θ , y = 1 + r sin θ y=1+r\sin\theta y = 1 + r sin θ ,
x 2 ( y − 1 ) 2 [ x 2 + ( y − 1 ) 2 ] 2 = r 4 cos 2 θ sin 2 θ r 4 = cos 2 θ sin 2 θ \frac{x^2(y-1)^2} {\big[x^2 + (y-1)^2\big]^2}
=\frac{r^4\cos^2\theta\sin^2\theta}{r^4}
=\cos^2\theta\sin^2\theta [ x 2 + ( y − 1 ) 2 ] 2 x 2 ( y − 1 ) 2 = r 4 r 4 cos 2 θ sin 2 θ = cos 2 θ sin 2 θ
we have that the limit does not exist. For example, if we send ( x , y ) (x,y) ( x , y )
to ( 0 , 1 ) (0,1) ( 0 , 1 ) along the line y = 1 y=1 y = 1 , so that θ = 0 \theta=0 θ = 0 , we get the limit 0 0 0 ,
while if we send ( x , y ) (x,y) ( x , y ) to ( 0 , 1 ) (0,1) ( 0 , 1 ) along the line y = x + 1 y=x+1 y = x + 1 , so that
θ = π 4 \theta=\frac{\pi}{4} θ = 4 π , we get the limit 1 4 \frac{1}{4} 4 1 .