Example 1: Solve .
Solution: The roots of the characteristic equation are
> solve(r*(r-1)+2*r-12=0);
real and different. Hence the solution is
.