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

Find the value of k if the function: $f (x) = \begin{matrix} kx^{2}& x\geq 1 & \\ 4 & x< 1 & \\ \end{matrix} \text{is continuous at x = 1} $

 

Solve the differential equation $\frac{\text{dy}}{\text{dx}}+2\text{xy}=\text{y}.$
Five bad oranges are accidently mixed with 20 good ones. If four oranges are drawn one by one successfully with replacement, then find the probability distribution of number of bad oranges drawn. Hence find the mean and variance of the distribution.
Verify Rolle's theorem for the following function on the indicated intervals

$\text{f}(\text{x})=\sin2\text{x}\text{ on }\Big[0,\frac{\pi}{2}\Big]$

A firm manufactures headache pills in two sizes A and B. Size A contains 2 grains of aspirin, 5 grains of bicarbonate and 1 grain of codeine; size B contains 1 grain of aspirin, 8 grains of bicarbonate and 66 grains of codeine. It has been found by users that it requires at least 12 grains of aspirin, 7.4 grains of bicarbonate and 24 grains of codeine for providing immediate effects. Determine graphically the least number of pills a patient should have to get immediate relief. Determine also the quantity of codeine consumed by patient
Evaluate the following integrals:
$\int_{0}^\limits{\frac{\pi}{2}}\frac{1}{5+4\sin\text{x}}\text{ dx}$
Using integration, Find the area bounded by the the triangle whose vartices are (2, 1), (3, 4) and (5, 2).
Find the intervals in which the following functions are increasing or decreasing.
f(x) = {x(x - 2)}2
An experiment succeeds twice as often as it fails. Find the probability that in the next 6 trials there will be at least 4 successes.
If the sum of lengths of the hypotenuse and a side of a right angled triangle is given, show that the area of the triangle is maximum, when the angle between them is $\frac{\pi}{3}$