Retrieve a list of all dependent variables for a given expression
          
          
            
              Contributed by:
              
                E. Chan-López, Jaime Manuel Cabrera & Jorge Mauricio Paulin Fuentes
              
            
          
          
         
        
          
          
            
Examples
            
          
          
            
          
          
            
            Basic Examples (1) 
Use AllDependentVariables to get the expression that matches to be a mathematical solution:
Scope (2) 
Use AllDependentVariables to get the expressions that match dependent variable:
Use AllDependentVariables with a list of complicated expressions:
Options (2) 
Modulus (2) 
Find dependent variables present after reducing coefficients modulo 2:
For polynomials, AllDependentVariables and Variables gives the same results:
Applications (3) 
Use AllDependentVariables to define a simple function to compute the equations of motion for a given Hamiltonian:
Use HamiltonianEquations with the Hamiltonian for the spherical pendulum:
Use HamiltonianEquations with the Hamiltonian for the PUMA-Like Robot:
Possible Issues (1) 
AllDependentVariables don't recognize curried functions as dependent variables:
Neat Examples (1) 
AllDependentVariables threads composite functions to obtain the dependent variables:
 
          
            Publisher
            Ramón Eduardo Chan López
          
          
          
          
          Version History
  
    - 
      1.2.3
      
        
          – 19 March 2025
        
      
      
      
    
- 
      1.2.2
      
        
          – 20 September 2023
        
      
      
      
    
- 
      1.2.1
      
        
          – 28 July 2023
        
      
      
      
    
- 
      1.2.0
      
        
          – 21 July 2023
        
      
      
      
    
- 
      1.1.0
      
        
          – 05 July 2023
        
      
      
      
    
- 
      1.0.0
      
        
          – 21 April 2023
        
      
      
      
    
Related Resources
            
          
          
            
            
          
          
          
            
            
              Author Notes
The current implementation has been enriched with valuable recommendations from the Wolfram Team.