Consider the function
z(x,y)=y3+2xy23x2y.


Determine the tangent line through (x,y)=(2,1).

zx(x,y)zy(x,y)=2y26xy3y2+4xy3x2


slope=212621312+421322=101=10.


The general form of a tangent line is t(x)=ax+b. Now it holds that a=10.

In order to determine b we use that the tangent line goes through (x,y)=(2,1). Hence, t(2)=102+b=1, which results in b=21.

Hence, the tangent line is given by t(x)=10x+21.