Solve an Equation for Integer Solutions - Maple Programming Help

Solve an Equation for Integer Solutions

 Description Solve an equation for integer values of the variables.

Enter the equation.

 >
 ${3}{}{x}{-}{4}{}{y}{=}{9}$ (1)

Calculate the general integer solutions for the equation.

 > $\mathrm{isolve}\left(\right)$
 $\left\{{x}{=}{3}{+}{4}{}{\mathrm{_Z1}}{,}{y}{=}{3}{}{\mathrm{_Z1}}\right\}$ (2)

Substitute a value for the parameter $\mathrm{_Z1}$ to obtain a specific solution.

 > $\mathrm{subs}\left(\mathrm{_Z1}={2},\right)$
 $\left\{{x}{=}{11}{,}{y}{=}{6}\right\}$ (3)
 Commands Used