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

The differential equation of the family of straight lines whose slope is equal to $y$-intercept is

The degree of the differential equation obtained from the equation $(y - a)^2 = 4(x - b)$ [where $a$ and $b$ are arbitrary constants] is

The differential equation obtained by eliminating the arbitrary constant from the equation $y^2 = (x + c)^3$ is

The differential equation formed by eliminating arbitrary constants $A$ and $B$ from the equation $y = A \cos 3x + B \sin 3x$ is

The differential equation of all the ellipses centered at the origin and having axes as the coordinate axes is

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