substitutionmaple

How do I properly substitute a variable for a fraction using Maple


I'm wondering why the first substitution does not work, the second, however, does.

enter image description here


Solution

  • g := q*N__1/N:
    
    algsubs(N__1/N = X__1, g);
    
             q*X__1
    

    (I gave a detailed explanation in an answer to your question here.)