Not completely, what you wanted, but almost:
\documentclass{article}
\newcommand*{\redefinesymbolwitharg}[1]{%
\expandafter\newcommand\csname ltx#1\endcsname{}%
\expandafter\let\csname ltx#1\expandafter\endcsname\csname #1\endcsname
\expandafter\renewcommand\csname #1\endcsname[1]{%
\csname ltx#1\endcsname\left(##1\right)%
}%
}
\redefinesymbolwitharg{cos}
\redefinesymbolwitharg{log}
\begin{document}
% You may use \ltxcos, \ltxlog etc. if you need the original definition
% without argument:
${f}^\prime = e^{x \ltxlog \left (\ltxcos \left (x \right ) \right )}\,\left(x \ltxlog \left (\ltxcos \left (x \right ) \right )\right)^\prime$
% But \cos and \log expect an argument now:
${f}^\prime = e^{x \log{\cos x}}\,\left(x \log{\cos x}\right)^\prime$
\end{document}
Here for the argument of \cos I've used the standard behavior of TeX, that if you don't use argument braces {…} it uses the first token after the command to be the argument. This would work with each single characters coded with a single byte (e.g. \cos ß would fail if you're using \usepackage[utf8]{inputenc} but \cos{ß} or \cos \beta would be correct).
And if you prefer to write \redefinesymbolwitharg\cos instead of \redefinesymbolswitharg{cos} you may replace definition of \redefinesymbolwitharg by:
\makeatletter
\newcommand*{\redefinesymbolwitharg}[1]{%
\edef\@tempa{\expandafter\@gobble\string #1}%
\expandafter\let\csname ltx\@tempa\expandafter\endcsname\csname \@tempa\endcsname
\expandafter\renewcommand\csname \@tempa\endcsname[1]{%
\csname ltx\@tempa\endcsname\left(##1\right)%
}%
}
\makeatother
newcommandsto do this, but you'll have to be careful and they'll probably need to take extra arguments. Perhaps it could be easier to define your own shortcutnewcommandsfor commonly used functions, i.e.\newcommand{\cospar}[1]{\cos\left( #1\right}for cosine with built in parentheses. – qubyte Nov 21 '11 at 16:40\newcommand{\cospar}[1]{\cos\left(#1\right)}. I missed the last bracket. – qubyte Nov 21 '11 at 16:56