Pratidin
2026 · Mathematics Optional Paper I · 15 marksMainsQuestion 8a

Solve d²y/dx² + a²y = sec ax by the method of variation of parameters.

15 marks · directive: Solve

Answer

The core of a good answer

With y₁ = cos ax, y₂ = sin ax and Wronskian a, variation of parameters gives y = c₁ cos ax + c₂ sin ax + (1/a²) cos ax log|cos ax| + (x/a) sin ax.

An outline written by upsc.help, not an official UPSC answer; every fact checked by a separate review. How we work

What the question asks

The question fixes the method: write the complementary function, compute the Wronskian, and find the varying coefficients by the standard integrals. The right side sec ax is one for which undetermined coefficients does not work, which is why variation of parameters is needed.

Answer outline

Introduction

Equation y″ + a²y = sec ax (a ≠ 0). Auxiliary equation m² + a² = 0, m = ±ia.

Step 1: Complementary function and Wronskian

Step 2: Form of the particular integral

Step 3: Integrate

Step 4: Particular integral

Conclusion

y = c₁ cos ax + c₂ sin ax + (1/a²) cos ax log|cos ax| + (x/a) sin ax. Check: substituting y_p into y″ + a²y gives sec ax exactly (verified symbolically).

Examples and data to cite

Facts

Facts to remember

Sources used for the explanation

Write a timed answer in the app