If the is replaced by some algebra for example integration by substitution still needs to be used. The rules only apply when is just a variable for example after the algebra has been substituted for .