


The differentiate command will carry out ordinary or partial differentiation on virtually any expression. By default, the differentiate command treats all variables in the expression, apart from those you are differentiating by, as constants. You can differentiate with respect to a variable n times by including a comma and the number n after the variable in the variables text area. For example, to differentiate an expression with respect to x three times, you would enter x,3 in the variables text area. The advanced differentiate command enables you to differentiate with respect to any number of variables, any number of times. Simply enter each variable on a separate line. As before, multiple derivatives are indicated by following the variable with a comma and a number. The advanced differentiate command also allows you to specify any dependencies of functions which appear in your expression. The differentiate command handles arbitrary functional dependencies properly using the chain rule. ExamplesHere are some examples illustrating the types of expressions you can use the differentiate command on and the results which QuickMath will return.
Basic differentiate command
Advanced differentiate command
Options (advanced page only)FunctionsValues : checked or unchecked + empty string or list of functions with their dependencies Default : unchecked + empty string The functions option allows you to specify the dependencies of any arbitrary functions which appear in the expression being differentiated. For instance, if the expression contains a function f which depends on x, then you would enter f(x) in the functions text area. The function itself should only be referred to as f within the expression, not f(x), as QuickMath has no way of knowing whether f(x) in an expression represents a function or the product f*x.
Functions can also depend on other functions. For instance, suppose that f depends on both x and y, whilst x and y themselves depend on t. Then you would enter
If you use arbitrary functions within your expression, there may be derivatives in the answer returned by QuickMath. For instance, the term (1,0) z (x, y)indicates the first (partial) derivative of z(x,y) with respect to x. 