Question
Solve the following initial value problems:
$\frac{\text{dy}}{\text{dx}}+\text{y}\tan\text{x}=2\text{x}+\text{x}^2\tan\text{x},\text{ y}(0)=1$

Answer

We have,
$\frac{\text{dy}}{\text{dx}}+\text{y}\tan\text{x}=2\text{x}+\text{x}^2\tan\text{x}\ ...(1)$
Clearly, it is a linear differential equation of the form
$\frac{\text{dy}}{\text{dx}}+\text{Px}=\text{Q}$
Where $\text{P}=\tan\text{x}$ and $\text{Q}=\text{x}^2\cot\text{x}+2\text{x}$
$\therefore\text{ I.F.}=\text{e}^{\int\text{Pdx}}$
$=\text{e}^{\int\tan\text{x dx}}$
$=\text{e}^{\log|\sec\text{x}|}$
$=\sec\text{x}$
Multiplying both sides of (1) by $\text{I.F.}=\sec\text{x},$ we get
$\sec\text{x}\Big(\frac{\text{dy}}{\text{dx}}+\text{y}\tan\text{x}\Big)=\sec\text{x}(\text{x}^2\tan\text{x}+2\text{x})$
$\Rightarrow\sec\text{x}\Big(\frac{\text{dy}}{\text{dx}}+\text{y}\tan\text{x}\Big)=\text{x}^2\tan\text{x }\sec\text{x}+2\text{x}\sec\text{x}$
Integrating both sides with respect to x, we get
$\text{y}\sec\text{x}=\int\text{x}^2\tan\text{x }\sec\text{x dx}+2\int\text{x}\sec\text{x dx}\\+2\int\text{x}\sec\text{x dx} +\text{C}$
$\Rightarrow\text{y}\sec\text{x}=\int\text{x}^2\tan\text{x }\sec\text{x dx}+2\sec\text{x}\int\text{x dx}\\-2\int\Big[\frac{\text{d}}{\text{dx}}(\sec\text{x})\int\text{x dx}\Big]\text{dx}+\text{C}$
$\Rightarrow\text{y}\sec\text{x}=\int\text{x}^2\tan\text{x }\sec\text{x dx}+\text{x}^2\sec\text{x}\\-\int\text{x}^2\tan\text{x }\sec\text{x dx} +\text{C}$
$\Rightarrow\text{y}\sec\text{x}=\text{x}^2\sec\text{x}+\text{C}$
$\Rightarrow\text{y}=\text{x}^2+\text{C}\cos\text{x}\ ...(2)$
Now,
$\text{y}(0)=1$
$\therefore\ 1=0+\text{C}\cos0$
$\Rightarrow\text{C}=1$
Putting the value of C in (2), we get
$\text{y}=\text{x}^2+\cos\text{x}$
Hence, $\text{y}=\text{x}^2+\cos\text{x}$ is the required solution.

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

In order to supplement daily diet, a person wishes to take some X and some wishes Y tablets. The contents of iron, calcium and vitamins in X and Y(in milligrams per tablet) are given as below:
Tablets
Iron
Calcium
Vitamin
x
6
3
2
y
2
3
4
The person needs at least 18 milligrams of iron, 21 milligrams of calcium and 16 milligram of vitamins. The price of each tablet of X and Y is Rs. 2 and Rs. 1 respectively. How many tablets of each should the person take inorder to satisfy the above requirement at the minimum cost?
Find the particular solution of the differential equation $2y e^{x/y} dx + (y – 2x e^{x/y}) dy = 0,$ given that $x = 0$ when $y = 1.$
Solve the following initial value problems:
$\text{x}\frac{\text{dy}}{\text{dx}}+\text{y}=\text{x}\cos\text{x}+\sin\text{x},\text{ y}\Big(\frac{\pi}{2}\Big)=1$
A manufacturer produces two Models of bikes-Model X and Model Y. Model X takes a 6 man-hours to make per unit, while Model Y takes 10 man-hours per unit. There is a total of 450 man-hour available per week. Handling and Marketing costs are Rs. 2000 and Rs. 1000 per unit for Models X and Y respectively. The total funds available for these purposes are Rs. 80,000 per week. Profits per unit for Models X and Y are Rs. 1000 and Rs. 500, respectively.
How many bikes of each model should the manufacturer produce so as to yield a maximum profit? Find the maximum profit.
Use product $\begin{bmatrix}1&-1&2\\0&2&-3\\3&-2&4\end{bmatrix}\begin{bmatrix}-2&0&1\\9&2&-3\\6&1&-2\end{bmatrix}$ to solve the system of equations $x + 3z = 9, -x + 2y - 2z = 4, 2x - 3y + 4z = -3.$
An automobile company uses three types of steel $S_1, S_2$ and $S_3$ for producing three types of cars $C_1, C_{2 }$ and $C_3.$ Steel requirements $($in tons$)$ for each type of cars are given below:
Steel
Cars
 
$C_1$ $C_2$ $C_3$
$S_1$ $2$ $3$ $4$
$S_2$ $1$ $1$ $2$
$S_3$ $3$ $2$ $1$
Using Cramer's rule, find the number of cars of each type which can be produced using $29, 13$ and $16$ tons of steel of three types respectively.
A card from a pack of $52$ playing cards is lost. From the remaining cards of the pack three cards are drawn at random $($without replacement$)$ and are found to be all spades. Find the probability of the lost card being a spade.
$A, B$ and $C$ in order toss a coin. The one to throw a head wins. What are their respective chances of winning assuming that the game may continue indefinitely?
Find the point on the curvey $y^{2 }= 2x$ which is at a minimum distance from the point $(1, 4).$
If $\text{A}=\begin{bmatrix}3&5\end{bmatrix}$ and $\text{B}=\begin{bmatrix}7&3\end{bmatrix},$ then find a non-zero matrix C such that AC = BC.