Exercise · ZW-VARIATION-OF-PARAMETERS-010 · ★★★ Advanced

Find a particular solution of \(y''+y=\sec t\), \(0<t<\pi/2\), with \(y_1=\cos t\), \(y_2=\sin t\).

Choose one option.

Show answer
  • D. \(\cos t\,\ln\cos t+t\sin t\)

Explanation

With \(W=1\): \(u_1'=-\sin t\sec t=-\tan t\) gives \(u_1=\ln\cos t\); \(u_2'=\cos t\sec t=1\) gives \(u_2=t\). So \(y_p=\cos t\ln\cos t+t\sin t\).

Study Differential equations in ZWMath →

Review the concept: Variation of parameters

A method that builds a particular solution \(y_p\) of \(y''+py'+qy=g(t)\) from two homogeneous solutions \(y_1,y_2\) and their Wronskian \(W\), by letting the constants vary.

\[y_p=-y_1\!\int\!\frac{y_2\,g}{W}\,dt+y_2\!\int\!\frac{y_1\,g}{W}\,dt\]

More practice problems: variation of parameters

← ZW-VARIATION-OF-PARAMETERS-009