Consider the following difference equation: $$-(1+a)u_{i-1} + 2 u_i - (1-a) u_{i+1} - \frac{h^2}{\epsilon} = 0, \; i = 1, ..., N, \tag{1}$$ $$u_0 = 0, \; u_N = 1.$$
Can someone explain me how to solve this equation?
I read somewhere the following method:
1) Solve the homogeneous equation;
2) Find a particular solution of inhomogeneous equation (1);
3)The general solution of (1) is the sum of the particular solution and the solution of homogeneous equation.
Is this method right?
I can't find a particular solution of equation (1). Can someone help me?
Thank you!