# Which one of the following is correct if we differentiate the equation xy = ae^x + be^-x two times?

Category: QuestionsWhich one of the following is correct if we differentiate the equation xy = ae^x + be^-x two times?
Editor">Editor Staff asked 11 months ago

Which one of the following is correct if we differentiate the equation xy = ae^x + be^-x two times?

(a) x(d^2y/ dx) + 2(dy/dx) = xy

(b) x(d^2y/ dx) – 2(dy/dx) = xy

(c) 3x(d^2y/ dx) + 2(dy/dx) = xy

(d) x(d^2y/ dx) + 2(dy/dx) = 2xy

This question was posed to me in an interview for internship.

I need to ask this question from Linear Second Order Differential Equations in chapter Differential Equations of Mathematics – Class 12
NCERT Solutions for Subject Clas 12 Math Select the correct answer from above options
Interview Questions and Answers, Database Interview Questions and Answers for Freshers and Experience

Editor">Editor Staff answered 11 months ago

Correct choice is (a) x(d^2y/ dx) + 2(dy/dx) = xy

To explain: We have xy = ae^x + be^-x ……(1)

Differentiating (1) with respect to x, we get

x(dy/dx) + y = ae^x + be^-x  …..(2)

Differentiating (2) now, with respect to x, we get

x(d^2y/ dx) + dy/dx + dy/dx = ae^x + be^-x

From (1),

ae^x + be^-x = xy, so that we get

x(d^2y/ dx) + 2(dy/dx) = xy

which is the required differential equation.