Question
Solve the following differential equation:
$\frac{\text{dy}}{\text{dx}}=\text{y}\tan\text{x}-2\sin\text{x}$

Answer

Here,$\frac{\text{dy}}{\text{dx}}=\text{y}\tan\text{x}-2\sin\text{x}$
It is a linear differential equation. Comparing the equation by,
$\text{P}=-\tan\text{x},\text{Q}=-\sin\text{x}$
I.F. $=\text{e}^{\int\text{Pdx}}$
$=\text{e}^{-\int\tan\text{xdx}}$
$=\text{e}^{-\log\sec\text{x}}$
$=\frac{1}{\sec\text{x}}$
Solution of the equation is given by,
$\text{y}\times(\text{I.F.})=\int\text{Q}\times(\text{I.F.})\text{dx + C}$
$\frac{\text{y}}{\sec\text{x}}=\int-\frac{2\sin\text{x}}{\sec\text{x}}\text{dx+ C}$
$\text{y}\cos\text{x}=-\int2\sin\text{x}\cos\text{xdx + C}$
$\text{y}\cos\text{x}=-\int\sin2\text{xdx + C}$
$\text{y}\cos\text{x}=\frac{\cos2\text{x}}{2}+\text{C}$
$\text{y}=\frac{\cos2\text{x}}{2\cos\text{x}}+\frac{\text{C}}{\cos\text{x}}$

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 general solution of (1 + tany) (dx - dy) + 2xdy = 0.
A and B throw a pair of dice alternately. A wins the game if he gets a total of 6 and B wins if she gets a total of 7. It A starts the game, find the probability of winning the game by A in third throw of the pair of dice.
Find the foot of the perpendicular drawn from the point $\hat{\text{i}}+6\hat{\text{j}}+3\hat{\text{k}}$ to the line $\vec{\text{r}}=\hat{\text{j}}+2\hat{\text{k}}+\lambda\big(\hat{\text{i}}+2\hat{\text{j}}+3\hat{\text{k}}\big).$ Also, find the length of the perpendicylar
Show that f(x) = |x - 5| is continuous but not differentiable at x = 5.
Evaluate the following integrals:
$\int\frac{\text{dx}}{(\text{x}^2+1)(\text{x}^2+4)}$
Find the condition for the following set of curves to intersect orthogonally
$\frac{\text{x}^2}{\text{a}^2}-\frac{\text{y}^2}{\text{b}^2}=1\text{ and }\frac{\text{x}^2}{\text{A}^2}-\frac{\text{y}^2}{\text{B}^2}=1$
There are three categories of students in a class of 60 students:
A : Very hardworking
B : Regular but not so hardworking
C : Careless and irregular 10 students are in category A, 30 in category B and the rest in category C.
It is found that the probability of students of category A, unable to get good marks in the final year examination is 0.002, of category B it is 0.02 and of category C, this probability is 0.20. A student selected at random was found to be one who could not get good marks in the examination. Find the probability that this student is category C.
Find the inverse of the following matrix using elementary operations. $\text{A}=\begin{bmatrix}1 & 2 & -2\\-1 & 3 & 0\\0 & -2 & 1 \end{bmatrix}$
An item is manufactured by three machines A, B and C. Out of the total number of items manufactured during a specified period, 50% are manufactured on machine A, 30% on B and 20% on C, 2% of the items produced on A and 2% of items produced on B are defective and 3% of these produced on C are defective. All the items stored at one godown. One item is drawn at random and is found to be defective. What is the probability that it was manufactured on machine A?
Prove that: $\big(\vec{\text{a}}-\vec{\text{b}}\big).\big\{\big(\vec{\text{b}}-\vec{\text{c}}\big)\big\}=0$