ExampleWe need the curve r(t)=x(t) i + y(t) k which begins at (-2,1) and at each point has direction (direction of r'(t)) in the direction of the gradient vector.
T[x_,y_]:=10+x^2-y^2
grad2[T][x,y]
This is easy enough to solve by hand, but let's practice our commands.
Clear[x,y,t]
DSolve[{x'[t]==2 x[t],y'[t]==-2 y[t],x[0]==-2, y[0]==1},
{x[t],y[t]},t]Do you see why this is just the path xy=-2?
PlotGradientField[10+x^2-y^2,{x,-2,2},{y,-2,2}];