Verify that the given function $y=ae^{x}+be^{-x}+x^{2}$ is a solution of the differential equation $x \frac{d^{2} y}{dx^{2}}+2 \frac{dy}{dx}-xy+x^{2}-2=0$.

Vedclass pdf generator app on play store
Vedclass iOS app on app store
Given function: $y=ae^{x}+be^{-x}+x^{2}$
Differentiating with respect to $x$:
$\frac{dy}{dx} = ae^{x} - be^{-x} + 2x$
Differentiating again with respect to $x$:
$\frac{d^{2}y}{dx^{2}} = ae^{x} + be^{-x} + 2$
Substitute $\frac{dy}{dx}$ and $\frac{d^{2}y}{dx^{2}}$ into the $L$.$H$.$S$. of the differential equation:
$L.H.S. = x(ae^{x} + be^{-x} + 2) + 2(ae^{x} - be^{-x} + 2x) - x(ae^{x} + be^{-x} + x^{2}) + x^{2} - 2$
$= axe^{x} + bxe^{-x} + 2x + 2ae^{x} - 2be^{-x} + 4x - axe^{x} - bxe^{-x} - x^{3} + x^{2} - 2$
$= 2ae^{x} - 2be^{-x} - x^{3} + x^{2} + 6x - 2$
Since $L.H.S. \neq 0$,the given function is not a solution of the differential equation.

Explore More

Similar Questions

If $\frac{d^2y}{dx^2} = 0$,then:

The differential equation of the family of curves $y=e^{x}(A \cos x+B \sin x)$,where $A$ and $B$ are arbitrary constants,is

The differential equation of all circles which pass through the origin and whose centres lie on the $y$-axis is:

The differential equation corresponding to the family of curves given by $a x^2+b y^2=1$, where $a$ and $b$ are arbitrary constants, is:

The order of the differential equation whose general solution is given by $y = (C_1 + C_2) \sin (x + C_3) - C_4 e^{x + C_5}$ is (where $C_1, C_2, C_3, C_4, C_5$ are arbitrary constants).

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo