Question: fraction simplification

I have a expression: (x-2)/(x-2) and I want to retrieve all the variables of this expression.

I tried the following commands:

1. indets(expr, name);

2. indets(numer(expr),name);

but all i get is an empty seems that maple will first simplify the expression and then figure out what variables are related to the given expression.


Is there any workaroud to achive what i want?


Please Wait...