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

Solve the following systems of linear equations by cramer's rule:
x - 2y = 4,
-3x + 5y = -7
Show that the following set of curves intersect orthogonally.
$y = x^3$​​​​​​​ and $6y = 7 - x^2​​​​​​​$​​​​​​​
If $\text{y}=\sin^{-1}\Big(\frac{\text{x}}{1+\text{x}^2}\Big)+\cos^{-1}\Big(\frac{1}{\sqrt{1+\text{x}^2}}\Big), 0<\text{x}<\infty$ prove that $\frac{\text{dy}}{\text{dx}}=\frac{4}{1+\text{x}^2}$
If $\big|\vec{\text{a}}+\vec{\text{b}}\big|=60,\big|\vec{\text{a}}-\vec{\text{b}}\big|=40$ and $\big|\vec{\text{b}}\big|=46,$ find $|\vec{\text{a}}|$
An aeroplane can carry a maximum of $200$ passengers. A profit of Rs. $400$ is made on each first class ticket and a profit of Rs. $600$ is made on each economy class ticket. The airline reserves at least $20$ seats of first class. However, at least $4$ times as many passengers prefer to travel by economy class to the first class. Determine how many each type of tickets must be sold in order to maximize the profit for the airline. What is the maximum profit.
Evaluate:
$\begin{vmatrix}\text{a}&\text{b}&\text{c}\\\text{c}&\text{a}&\text{b}\\\text{b}&\text{c}&\text{a}\end{vmatrix}$
Find the equation of a normal to the curve $y = x log_e $x which is parallel to the line $2x − 2y + 3 = 0.$
find the area of the region$ {(x, y) : y^2 < 8x, x^2 + y^2 < 9}.$
Find the points on the curve $x^2 + y^2 = 13$, the tangent at each one of which is parallel to the line $2x + 3y = 7.$
Evaluate the following intregals:
$\int\frac{1}{5+4\cos\text{x}}\ \text{dx}$