Solve the Following Initial Value Problem:- D Y D X + 2 Y Tan X = Sin X ; Y = 0 When X = π 3
Advertisements
Question
Solve the following initial value problem:-
\[\frac{dy}{dx} + 2y \tan x = \sin x; y = 0\text{ when }x = \frac{\pi}{3}\]
Advertisements
Solution
We have,
\[\frac{dy}{dx} + 2y \tan x = \sin x . . . . . \left( 1 \right)\]
Clearly, it is a linear differential equation of the form
\[\frac{dy}{dx} + Py = Q\]
\[\text{ where }P = 2\tan x\text{ and }Q = \sin x\]
\[ \therefore I . F . = e^{\int P\ dx} \]
\[ = e^{2\int\tan x dx} \]
\[ = e^{2\log\left| \sec x \right|} = \sec^2 x\]
\[\text{Multiplying both sides of }(1)\text{ by }I.F. = \sec^2 x, \text{ we get }\]
\[ \sec^2 x \left( \frac{dy}{dx} + 2y \tan x \right) = \sec^2 x \times \sin x\]
\[ \Rightarrow \sec^2 x \left( \frac{dy}{dx} + 2y \tan x \right) = \tan x \sec x\]
Integrating both sides with respect to x, we get
\[y \sec^2 x = \int\tan x \sec x dx + C\]
\[ \Rightarrow y \sec^2 x = \sec x + C . . . . . \left( 2 \right)\]
Now,
\[y\left( \frac{\pi}{3} \right) = 0\]
\[ \therefore 0 \left( \sec\frac{\pi}{3} \right)^2 = \sec\frac{\pi}{3} + C\]
\[ \Rightarrow C = - 2\]
\[\text{ Putting the value of C in }\left( 2 \right),\text{ we get }\]
\[y \sec^2 x = \sec x - 2\]
\[ \Rightarrow y = \cos x - 2 \cos^2 x\]
\[\text{ Hence, }y = \cos x - 2 \cos^2 x\text{ is the required solution.}\]
APPEARS IN
RELATED QUESTIONS
Assume that a rain drop evaporates at a rate proportional to its surface area. Form a differential equation involving the rate of change of the radius of the rain drop.
Show that the function y = A cos x + B sin x is a solution of the differential equation \[\frac{d^2 y}{d x^2} + y = 0\]
Show that y = ex (A cos x + B sin x) is the solution of the differential equation \[\frac{d^2 y}{d x^2} - 2\frac{dy}{dx} + 2y = 0\]
Verify that y = cx + 2c2 is a solution of the differential equation
For the following differential equation verify that the accompanying function is a solution:
| Differential equation | Function |
|
\[x\frac{dy}{dx} = y\]
|
y = ax |
Differential equation \[x\frac{dy}{dx} = 1, y\left( 1 \right) = 0\]
Function y = log x
Differential equation \[\frac{d^2 y}{d x^2} - 3\frac{dy}{dx} + 2y = 0, y \left( 0 \right) = 1, y' \left( 0 \right) = 3\] Function y = ex + e2x
xy (y + 1) dy = (x2 + 1) dx
(ey + 1) cos x dx + ey sin x dy = 0
xy dy = (y − 1) (x + 1) dx
(1 − x2) dy + xy dx = xy2 dx
dy + (x + 1) (y + 1) dx = 0
Solve the following initial value problem:-
\[\frac{dy}{dx} + 2y = e^{- 2x} \sin x, y\left( 0 \right) = 0\]
Solve the following initial value problem:-
\[\tan x\left( \frac{dy}{dx} \right) = 2x\tan x + x^2 - y; \tan x \neq 0\] given that y = 0 when \[x = \frac{\pi}{2}\]
In a simple circuit of resistance R, self inductance L and voltage E, the current `i` at any time `t` is given by L \[\frac{di}{dt}\]+ R i = E. If E is constant and initially no current passes through the circuit, prove that \[i = \frac{E}{R}\left\{ 1 - e^{- \left( R/L \right)t} \right\}.\]
Find the equation to the curve satisfying x (x + 1) \[\frac{dy}{dx} - y\] = x (x + 1) and passing through (1, 0).
Find the equation of the curve which passes through the point (3, −4) and has the slope \[\frac{2y}{x}\] at any point (x, y) on it.
Find the equation of the curve which passes through the origin and has the slope x + 3y− 1 at any point (x, y) on it.
Write the differential equation representing the family of straight lines y = Cx + 5, where C is an arbitrary constant.
Which of the following transformations reduce the differential equation \[\frac{dz}{dx} + \frac{z}{x}\log z = \frac{z}{x^2} \left( \log z \right)^2\] into the form \[\frac{du}{dx} + P\left( x \right) u = Q\left( x \right)\]
Which of the following differential equations has y = C1 ex + C2 e−x as the general solution?
The integrating factor of the differential equation \[\left( 1 - y^2 \right)\frac{dx}{dy} + yx = ay\left( - 1 < y < 1 \right)\] is ______.
In the following verify that the given functions (explicit or implicit) is a solution of the corresponding differential equation:-
`y=sqrt(a^2-x^2)` `x+y(dy/dx)=0`
Form the differential equation of the family of parabolas having vertex at origin and axis along positive y-axis.
Determine the order and degree of the following differential equations.
| Solution | D.E |
| y = aex + be−x | `(d^2y)/dx^2= 1` |
Solve the following differential equation.
dr + (2r)dθ= 8dθ
`dy/dx = log x`
y dx – x dy + log x dx = 0
Solve the differential equation sec2y tan x dy + sec2x tan y dx = 0
Solve the following differential equation y log y = `(log y - x) ("d"y)/("d"x)`
Solve `x^2 "dy"/"dx" - xy = 1 + cos(y/x)`, x ≠ 0 and x = 1, y = `pi/2`
Which of the following defines a differential equation?
