Question
Solve the following differential equation
$\frac{\text{dy}}{\text{dx}}-\text{x}\text{e}^\text{x}-\frac{5}{2}+\cos^2\text{x}$

Answer

$\frac{\text{dy}}{\text{dx}}-\text{x}\text{e}^\text{x}-\frac{5}{2}+\cos^2\text{x}$
$\text{dy}=\Big(\text{xe}^\text{x}-\frac{5}{2}+\cos^2\text{x}\Big)\text{dx}$
$\int\text{dy}=\int\text{xe}^\text{x}\text{dx}-\frac{5}{2}\int\text{dx}+\cos^2\text{x dx}$
$\int\text{dy}=\int\text{xe}^\text{x}\text{dx}-\frac{5}{2}\int\text{dx}+\int\Big(\frac{1+\cos2\text{x}}{2}\Big)\text{dx}$
$=\int\text{xe}^\text{x}-\frac{5}{2}\int\text{dx}+\frac{1}{2}\int\text{dx}+\frac{1}{2}\int\cos2\text{x dx}$
$\int\text{dy}=\int\text{xe}^\text{x}-2\int\text{dx}+\frac{1}{2}\int\cos2\text{x dx}$
$\text{y}=[\text{x}\times\int\text{e}^\text{x}\text{dx}-\int(1\times\int\text{e}^\text{x}\text{dx})\text{dx}]-2\text{x}+\frac{1}{2}\frac{\sin2\text{x}}{2}+\text{C}$
Using integration by parts
$\text{y}=\text{xe}^\text{x}-\text{e}^\text{x}-2\text{x}+\frac{1}{4}\sin2\text{x}+\text{C}$
$\text{y}=\text{xe}^\text{x}-\text{e}^\text{x}-2\text{x}+\frac{1}{4}\sin2\text{x}+\text{C}$

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free

Similar questions

Show that f(x) = |x − 2| is continuous but not differentiable at x = 2.
A chemical company produces two compounds, $A$ and $B.$ The following table gives the units of ingredients, $C$ and $D$ per $\ kg$ of compounds $A$ and $B$ as well as minimum requirements of $C$ and $D$ and costs per $\ kg$ of $A$ and $B$. Find the quantities of $A$ and $B$ which would give a supply of $C$ and $D$ at a minimum cost.
 
Compound
Minimum requirement
$A$ $B$
 
Ingredient $C$
$1$ $2$ $80$
Ingredient $D$
$3$ $1$ $75$
Coist $($in $Rs.)$ per $Kg$
$4$ $6$  
Express the matrix $\text{A}=\begin{bmatrix}3 & -4 \\1 & -1 \end{bmatrix}$ as the sum of a symmetric and a skew-symmetric matrix.
A and B are two independent events. The probability that A and B occur is $\frac{1}{6}$ and the probability that neither of them occurs is $\frac{1}{3}$. Find the probability of occurrence of two events.
Evaluate the following integrals:
$\int\frac{\text{e}^{\text{m}\sin^{-1}\text{x}}}{\sqrt{1-\text{x}^2}}\text{ dx}$
Find $\frac{\text{dy}}{\text{dx}},$ when
$\text{x}=\cos^{-1}\frac{1}{\sqrt{1+\text{t}^2}}\text{ and y}=\sin^{-1}\frac{\text{t}}{\sqrt{1+\text{t}^2}},\text{t}\in\text{R}$
At every point on a curve the slope is the sum of the abscissa and the product of the ordinate and the abscissa, and the curve passes through (0, 1). Find the equation of the curve.
$\int\frac{\text{x}}{\sqrt{\text{x}+4}}\text{dx}$
Find the equation of the plane through the line of intersection of the planes $x + y + z = 1$ and $2x + 3y + 4z = 5$ which is perpendicular to the plane $x - y + z = 0.$
Radium decomposes at a rate proportional to the quantity of radium present. It is found that in 25 years, approximately 1.1% of a certain quantity of radium has decomposed. Determine approximately how long it will take for one-half of the original amount of radium to decompose?