FInd a function f such that F is the gradient of f
that is called antiderivative , or primitive in some countries
\[F(x,y)=(xycos(xy)+\sin(xy))i+(x ^{2}\cos(xy))j\]
@perl
My calculation goes awful and I don' know why
@perl , any idea?
@Loser66
Well, we would say: \[ \nabla f = \frac{\partial f}{\partial x}\mathbf i + \frac{\partial f}{\partial y}\mathbf j = F \]
yea, I know that
That means: \[ \frac{\partial f }{\partial x} = xy\cos(xy)+\sin(xy) \]If we integrate by \(x\), we get: \[ f = \int \frac{\partial f }{\partial x} \;dx + g(y) \]where \(g(y)\) is our constant of integration.
Then do the partial derivative with respect to \(y\), on that: \[ \frac {\partial f}{\partial y} = \frac{\partial }{\partial y}\left[\int xy\cos(xy) + \sin(xy)\;dx\right] + g'(y) = x^2\cos(xy) \]
You can use this equation to find \(g'(y)\).
I see!, thx
We can use \(g(y) = \int g'(y)\;dy+C\). There is no means of solving for \(C\).
However, this is fine, since the anti-gradient, much like the anti-derivative, has a family of solutions.
Join our real-time social learning platform and learn together with your friends!