
The differential equation whose solution is $y=A\sin\lgroup~x\rgroup+B\cos\lgroup~x\rgroup$ is-
A. $\dfrac{\text{d}^{2}y}{\text{d}x^{2}}+y=0$
B. $\dfrac{\text{d}^{2}y}{\text{d}x^{2}}-y=0$
C. $\dfrac{\text{d}y}{\text{d}x}+y=0$
D. None of these.
Answer
216k+ views
Hint: Differentiate the given solution with respect to x two times. Further, write the product of the second-order differential equation in terms of y by using the substitution trick thus eliminating the constants. Ensure that the RHS is 0. After that, we can get the required differential equation by implementing the necessary formula during the solution.
Formula Used:$\dfrac{\text{d}}{\text{d}x}\lgroup\sin~x\rgroup=\cos~x$
$\dfrac{\text{d}}{\text{d}x}\lgroup\cos~x\rgroup=-\sin~x$
Complete step by step solution:The solution of the required differential equation is given as follows:
$y=A\sin\lgroup~x\rgroup+B\cos\lgroup~x\rgroup$
Let's differentiate the above equation with respect to x, we get
$\dfrac{\text{d}y}{\text{d}x}=\dfrac{\text{d}}{\text{d}x}\lgroup~A\sin~x+B\cos~x\rgroup$........(i)
We know,
$\dfrac{\text{d}}{\text{d}x}\lgroup\sin~x\rgroup=\cos~x$
$\dfrac{\text{d}}{\text{d}x}\lgroup\cos~x\rgroup=-\sin~x$
Using the above two formulas we can easily differentiate equation (i). Also, note that A and B will act as constants in equation (i).
Now,
$\dfrac{\text{d}y}{\text{d}x}=A\cos~x-B\sin~x$.......(ii)
Let's differentiate equation (ii) with respect to x,
$\dfrac{\text{d}}{\text{d}x}\lgroup\dfrac{\text{d}y}{\text{d}x}\rgroup=\dfrac{\text{d}y}{\text{d}x}\lgroup~A\cos~x-B\sin~x~\rgroup$
This implies,
$\dfrac{\text{d}^{2}y}{\text{d}x^{2}}=-A\sin~x-B\cos~x$
RHS of the above differential equation can be written in terms of y in the following ways,
$\dfrac{\text{d}^{2}y}{\text{d}x^{2}}=-\lgroup~A\sin~x+B\cos~x\rgroup$
Comparing the RHS of the above equation with the RHS of the solution of the required differential equation, we get
$-y=-\lgroup~A\sin~x+B\cos~x\rgroup$
Thus,
$\dfrac{\text{d}^{2}y}{\text{d}x^{2}}=-y$
This implies,
$\dfrac{\text{d}^{2}y}{\text{d}x^{2}}+y=0$
Therefore, this is the required differential equation of the given solution.
Option ‘A’ is correct
Note: Remember that a differential equation of order n will result from an expression with n arbitrary constants. To obtain the nth order derivative, differentiate the expression n times, obtaining n more relations in the process, giving us a total of n+1 relations from which we can eliminate the n arbitrary constants to acquire the differential equation. On the other hand, the constants tend to vanish on their own most of the time.
Formula Used:$\dfrac{\text{d}}{\text{d}x}\lgroup\sin~x\rgroup=\cos~x$
$\dfrac{\text{d}}{\text{d}x}\lgroup\cos~x\rgroup=-\sin~x$
Complete step by step solution:The solution of the required differential equation is given as follows:
$y=A\sin\lgroup~x\rgroup+B\cos\lgroup~x\rgroup$
Let's differentiate the above equation with respect to x, we get
$\dfrac{\text{d}y}{\text{d}x}=\dfrac{\text{d}}{\text{d}x}\lgroup~A\sin~x+B\cos~x\rgroup$........(i)
We know,
$\dfrac{\text{d}}{\text{d}x}\lgroup\sin~x\rgroup=\cos~x$
$\dfrac{\text{d}}{\text{d}x}\lgroup\cos~x\rgroup=-\sin~x$
Using the above two formulas we can easily differentiate equation (i). Also, note that A and B will act as constants in equation (i).
Now,
$\dfrac{\text{d}y}{\text{d}x}=A\cos~x-B\sin~x$.......(ii)
Let's differentiate equation (ii) with respect to x,
$\dfrac{\text{d}}{\text{d}x}\lgroup\dfrac{\text{d}y}{\text{d}x}\rgroup=\dfrac{\text{d}y}{\text{d}x}\lgroup~A\cos~x-B\sin~x~\rgroup$
This implies,
$\dfrac{\text{d}^{2}y}{\text{d}x^{2}}=-A\sin~x-B\cos~x$
RHS of the above differential equation can be written in terms of y in the following ways,
$\dfrac{\text{d}^{2}y}{\text{d}x^{2}}=-\lgroup~A\sin~x+B\cos~x\rgroup$
Comparing the RHS of the above equation with the RHS of the solution of the required differential equation, we get
$-y=-\lgroup~A\sin~x+B\cos~x\rgroup$
Thus,
$\dfrac{\text{d}^{2}y}{\text{d}x^{2}}=-y$
This implies,
$\dfrac{\text{d}^{2}y}{\text{d}x^{2}}+y=0$
Therefore, this is the required differential equation of the given solution.
Option ‘A’ is correct
Note: Remember that a differential equation of order n will result from an expression with n arbitrary constants. To obtain the nth order derivative, differentiate the expression n times, obtaining n more relations in the process, giving us a total of n+1 relations from which we can eliminate the n arbitrary constants to acquire the differential equation. On the other hand, the constants tend to vanish on their own most of the time.
Recently Updated Pages
JEE Main 2024 (January 24 Shift 1) Question Paper with Solutions [PDF]

Progressive Wave: Meaning, Types & Examples Explained

Temperature Dependence of Resistivity Explained

JEE Main 2024 (January 25 Shift 1) Physics Question Paper with Solutions [PDF]

Difference Between Vectors and Scalars: JEE Main 2026

Salt Hydrolysis IIT JEE | Aсіdіtу and Alkаlіnіtу of Sаlt Sоlutіоns JEE Chemistry

Trending doubts
JEE Main 2026: Application Form Open, Exam Dates, Syllabus, Eligibility & Question Papers

JEE Main 2026 Chapter-Wise Syllabus for Physics, Chemistry and Maths – Download PDF

JEE Main Correction Window 2026 Session 1 Dates Announced - Edit Form Details, Dates and Link

JEE Main Previous Year Question Paper with Answer Keys and Solutions

Understanding Newton’s Laws of Motion

JEE Main Cut Off 2026 - Expected Qualifying Marks and Percentile Category Wise

Other Pages
NCERT Solutions For Class 10 Maths Chapter 12 Surface Area And Volume

NCERT Solutions for Class 10 Maths Chapter Chapter 13 Statistics

NCERT Solutions for Class 10 Maths Chapter 11 Areas Related to Circles 2025-26

Pregnancy Week and Due Date Calculator: Find How Far Along You Are

NCERT Solutions for Class 10 Maths Chapter 15 Probability

Complete List of Class 10 Maths Formulas (Chapterwise)

