Q 60.

Question

Find a function of two variables with the given gradient.

f(x,y)=1y-yx2i+1x-xy2j

Step-by-Step Solution

Verified
Answer

f(x,y)=yx+xy+C

1Step 1: Given information

f(x,y)=1y-yx2i+1x-xy2j

2Step 2: Calculation

Consider the gradient 

f(x,y)=1y-yx2i+1x-xy2j

The goal is to deduce the function from the gradient.

Rewrite (1) as

f(x,y)=1y-yx2i+1x-xy2jfx(x,y)i+fy(x,y)j=1y-yx2i+1x-xy2j

Equate both sides

fx(x,y)=1y-yx2(2)

And

fy(x,y)=1x-xy2(3)

Check to see if the function is available. If there is a function, it exists.

fxy(x,y)=fyx(x,y)

Now, find fxy(x,y) by differentiating fx(x,y) partially with respect to y

fxy(x,y)=y1y-yx2=y1y-yyx2=(-1)y-2-1x2yy=-1y2-1x2

Also, find fyx(x,y) by differentiating fy(x,y) partially with respect to x

fyx(x,y)=x1x-xy2=x1x-xxy2=(-1)x-2-1y2xx=-1x2-1y2

Since fxy(x,y)=-1x2-1y2=fyx(x,y) so the function exists.

3Step 3: Calculation

Integrate (3) with respect to y

f(x,y)=1x-xy2dy+q(x) where q(x) is an arbitrary function

=1xdy-xy2dy+q(x)=1xdy-x1y2dy+q(x)=yx-x·y-2+1(-2+1)+q(x)=yx-x·y-1(-1)+q(x)=yx+xy+q(x)..(4)

Next, find q(x) to partially differentiate (4) with regard to x

xf(x,y)=xyx+xy+xq(x)fx(x,y)=xyx+xxy+q'(x)=yx1x+1yxx+q'(x)

  =y(-1)x-1-1+1y+q'(x)=-yx-2+1y+q'(x)=-yx2+1y+q'(x) Comment q'(x)dx=0dx+C Integrate (5) with respect to x.1y-yx2=-yx2+1y+q'(x) From (2);  fx(x,y)=1y-yx21y-yx2+yx2-1y=q'(x)q'(x)=0

Integrate (5) with respect to x

q'(x)dx=0dx+Cq(x)=0+C=C

where C is the constant of integration.

Put q(x)=C in ( 4)

f(x,y)=yx+xy+C

Therefore, the required function is

f(x,y)=yx+xy+C