In Maple, if we want to replace the function f(x) with f(x)+a*f1(x) in the following expression, we can do
expr:=f(x)+diff(f(x),x);
subs(f(x)=f(x)+a*f1(x),expr);
However, if we want to make the same substitution in this expression
expr:=f(x)+D(V)(f(x))+D(f)(x);
the term D(f)(x) will not be changed. Is there a convenient way to do a substitution in an expression involving D(f)(x) or higher derivatives?