Correct Answer - Option 4 : u
n = c
1 cos n θ + c
2 sin n θ
Concept:
A general linear difference equation of order ‘r’ with constant coefficients is given by:
(a0Er + a1Er-1 + a2Er-2 +…+ ar-1E + ar) un = F(n);
Where a0, a1, a2,…,an are constants and F(n) is a function of ‘n’ alone or constant.
In other ways, it is written as
f(E) un = F(n);
Complete solution of the above equation is given by u = CF + PI;
For finding a complementary function, we have to solve the auxiliary equation f(E);
(i) If n roots are real and distinct say m1, m2, m3, … , mn;
CF = c1 m1n + c2 m2n + … + cn mnn
(ii) If two or more roots are equal i.e. m1 = m2 = m3 = … = mk;
CF = (c1 + c2n + c3n2 + … + ck nk-1) m1n + … + cn mnn
(iii) If a pair of imaginary roots i.e. m1 = α + i β, m2 = α – i β;
CF = rn (c1 cos nθ + c2 sin nθ) + c3 m3n + … + cn mnn;
Where \(r = \sqrt {{\alpha^2}+{\beta^2}} \; and \; θ = tan^{-1} {\frac {\beta}{\alpha}} \)
Calculation:
Given Difference equation is un+1 – 2uncos θ + un-1 = 0;
Comparing with f(E) un-1 = F(n);
⇒ (E2 – 2Ecos θ + 1) un-1 = 0;
Since F(n) = 0, the complimentary function will be general solution;
The auxiliary equation is E2 – 2Ecos θ + 1 = 0
The roots will be
\(E = {2cos θ ± \sqrt{4cos^2θ-4} \over 2}\)
⇒ E = cos θ ± i sin θ;
Comparing with α ± β ⇒ α = cos θ, β = sin θ;
Now the CF will be
CF = rn (c1 cos nθ + c2 sin nθ)
Where
\(r = \sqrt {{\alpha^2}+{\beta^2}} \; = \sqrt {{cos^2 \theta} + {sin^2 \theta}} = 1\)
\(θ = tan^{-1} {\frac {\beta}{\alpha}} = tan^{-1} ({\frac {sin \theta}{cos \theta}}) = \theta\)
⇒ CF = c1 cos nθ + c2 sin nθ
∴ general solution will be c1 cos nθ + c2 sin nθ