implicitdiff - differentiation of a function defined by an equation
|
Calling Sequence
|
|
implicitdiff(f, y, x)
implicitdiff(f, y, x1,...,xk)
implicitdiff({f1,...,fm}, {y1,...,yn}, u, x)
implicitdiff({f1,...,fm}, {y1,...,yn}, u, x1,...,xk)
implicitdiff({f1,...,fm}, {y1,...,yn}, {u1,...,ur}, x)
implicitdiff({f1,...,fm}, {y1,...,yn}, {u1,...,ur}, x1,...,xk)
|
|
Parameters
|
|
f, f1, ..., fm
|
-
|
algebraic expressions or equations
|
y, y1, ..., yn
|
-
|
(variable) names or function of dependent variables
|
u, u1, ..., ur
|
-
|
names (of dependent variables)
|
x, x1, ..., xk
|
-
|
names (of derivative variables)
|
notation=<derivative>
|
-
|
optional notation directive
|
|
|
|
|
Description
|
|
•
|
The implicitdiff(f, y, x) (implicit differentiation) calling sequence computes , the partial derivative of the function y with respect to x. The input f defines y as a function of x implicitly. It must be an equation in x and y or an algebraic expression, which is understood to be equated to zero. For example, the call implicitdiff(x^2*y+y^2=1,y,x) computes the derivative of y with respect to x. Here, y is implicitly a function of x. The result returned is .
|
•
|
The second argument y specifies the dependent variables, the independent variables, and the constants. If y is a name, this means that y is the dependent variable. All other names, which appear in the input f and the derivative variable(s) x and are not of type constant, are treated as independent variables. For example, the call implicitdiff(R=P*V/T, P, T) specifies P, the dependent variable, is to be regarded as a function of R, P, and T the independent variables. If y is a function , this states the independent variables and their order explicitly. All other variables appearing in the input f are implicitly understood to be constants. For example, the call implicitdiff(R=P*V/T, P(V, T), T) specifies that P is a function of T and V, and the variable R is a constant. The result is .
|
•
|
Higher order partial derivatives are specified by giving more variables as optional arguments, exactly as with the diff command.
|
•
|
The implicitdiff routine will return the value FAIL if the derivative does not exist. This would happen, for instance, if the first argument f is not a function of y.
|
•
|
The call implicitdiff({f1,...,fm},{y1,...,yn}, u, x) computes the derivative of the function u with respect to x where u must be one of the given y's. The call implicitdiff({f1,...,fm},{y1,...,yn}, u, x1,...,xk) computes higher order derivatives of u. For example, the call implicitdiff({x^2+y=z, x+y*z=1}, {y, z}, y, x) computes . The result is .
|
•
|
The call implicitdiff({f1,...,fm},{y1,...,yn},{u1,...,ur}, x) computes the partial derivatives of the functions with respect to x. For example, the call implicitdiff({x^2+y=z, x+y*z=1},{y,z},{y,z}, x) computes and . The result is , . The result returned is the set of equations of the form . The notation used to label the partial derivatives can be either Maple's D notation (the default) or a subscripted Diff notation. If the last argument is or no notational directive is given, then Maple's notation is used. For functions of one variable, , the notation will be used. For functions of more than one variable, the notation will be used. If the Diff notation is specified, then instead of using for , is used. And instead of using for where y is a function of more than one variable, say then Diff(y, x)[z] is used.
|
|
|
Examples
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
If the expression notation is used, the variable names must match:
>
|
|
>
|
|
| (9) |
>
|
|
| (10) |
>
|
|
| (11) |
>
|
|
| (12) |
>
|
|
| (13) |
>
|
|
| (14) |
>
|
|
| (15) |
>
|
|
| (16) |
>
|
|
| (17) |
>
|
|
| (18) |
>
|
|
| (19) |
>
|
|
| (20) |
>
|
|
| (21) |
>
|
|
| (22) |
>
|
|
| (23) |
>
|
|
| (24) |
|
|