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

A particle moves along the curve $\text{y}=\big(\frac{2}{3}\big)\text{x}^3+1.$ Find the points on the curve at which the y-coordinate is changing twice as fast as the x-coordinate.
Finde the value of a and b, if the function f(x) defined by $\text{f(x)}\begin{cases}\text{x}^2+3\text{x}+\text{a}, &\text{x}\leq1\\\text{bx}+2, & \text{x}>1\end{cases}$is differentiable at x = 1.
A class has 15 students whose ages are 14, 17, 15, 14, 21, 19, 20, 16, 18, 17, 20, 17, 16, 19 and 20 years respectively. One student is selected in such a manner that each has the same chance to being selected and the age X of the selected student is recorded. What is the probability distribution of the random variable X.
Solve the following initial value problems:
$\text{x}\frac{\text{dy}}{\text{dx}}-\text{y + x}\sin\Big(\frac{\text{y}}{\text{x}}\Big)=0,\text{y}(2)=\text{x}$
There are two types of fertilisers 'A' and 'B'. 'A' consists of 12 % nitrogen and 5 % phosphoric acid whereas 'B' consists of 4 % nitrogen and 5 % phosphoric acid. After testing the soil conditions, farmer finds that he needs at least 12 kg of nitrogen and 12 kg of phosphoric acid for his crops. If 'A' costs 10 per kg and 'B' cost 8 per kg, then graphically determine how much of each type of fertiliser should be used so that nutrient requirements are met at a minimum cost.
Evaluate the following integrals:$\int\text{e}^{\text{x}}\Big(\frac{\sin4\text{x}-4}{1-\cos4\text{x}}\Big)\text{dx}$
If $\text{x}=\text{a}\sin2\text{t}(1+\cos 2\text{t})$ and $\text{y}=\text{b}\cos\text{t}(1-\cos2\text{t}),$ show that at $\text{t}=\frac{\pi}{4},\frac{\text{dy}}{\text{dx}}=\frac{\text{b}}{\text{a}}\text{ t}=\frac{\pi}{4},\frac{\text{dy}}{\text{dx}}=\frac{\text{b}}{\text{a}}$
Find the matrix A satisfying the matrix equation:$\begin{bmatrix}2&1\\3&2\end{bmatrix}\text{A}\begin{bmatrix}-3&2\\5&-3\end{bmatrix}=\begin{bmatrix}1&0\\0&1\end{bmatrix}.$
Evaluate the following integrals: $\int\frac{1}{\cos\text{x}(5-4\sin\text{x})}\ \text{dx}$
Evaluate the following intregals:
$\int\frac{2\text{x}^2+1}{\text{x}^2(\text{x}^2+4)}\ \text{dx}$