Question:medium

If the differential equation of the family of curves given by \[ y=ae^x+b\cos x, \] where \(a\) and \(b\) are arbitrary constants, is \[ y_2(\cos x+\sin x)+y(\cos x-\sin x)=2y_1f(x), \] then \(f(x)=\)

Show Hint

When a family of curves contains arbitrary constants, differentiate enough times to obtain relations involving \(y\), \(y'\), and \(y''\). Then eliminate the constants by substitution and simplification.
Updated On: Jul 29, 2026
  • \(\sin x\)
  • \(\cos x\)
  • \(-\cos x\)
  • \(-\sin x\)
Show Solution

The Correct Option is B

Solution and Explanation

Was this answer helpful?
0