Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica >
Built-in Mathematica Symbol|See Also »

DependentVariables

DependentVariables
is an option which specifies the list of all objects that should be considered as dependent variables in equations that have been supplied.
  • DependentVariables->{u1, u2, ...} specifies a complete list of dependent variables ui representing functions that should be solved for, even if the solutions are not eventually returned.
Save only the solution for x[t]:
Plot the solution x[t] as a function of t:
Save only the solution for x[t]:
In[1]:=
Click for copyable input
Out[1]=
Plot the solution x[t] as a function of t:
In[2]:=
Click for copyable input
Out[2]=
Set up a very large system of equations:
Solve for all of the dependent variables, but save only the solution for x1.
This saves a lot of memory versus saving all the solutions:
New in 5.0
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team