Advertisements
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
Verify that y = 4 sin 3x is a solution of the differential equation \[\frac{d^2 y}{d x^2} + 9y = 0\]
Verify that y2 = 4ax is a solution of the differential equation y = x \[\frac{dy}{dx} + a\frac{dx}{dy}\]
Verify that y = − x − 1 is a solution of the differential equation (y − x) dy − (y2 − x2) dx = 0.
(ey + 1) cos x dx + ey sin x dy = 0
(y2 + 1) dx − (x2 + 1) dy = 0
(y2 − 2xy) dx = (x2 − 2xy) dy
Solve the following initial value problem:-
\[x\frac{dy}{dx} - y = \left( x + 1 \right) e^{- x} , y\left( 1 \right) = 0\]
Find the equation to the curve satisfying x (x + 1) \[\frac{dy}{dx} - y\] = x (x + 1) and passing through (1, 0).
Integrating factor of the differential equation cos \[x\frac{dy}{dx} + y \sin x = 1\], is
The integrating factor of the differential equation \[x\frac{dy}{dx} - y = 2 x^2\]
Form the differential equation of the family of parabolas having vertex at origin and axis along positive y-axis.
If a + ib = `("x" + "iy")/("x" - "iy"),` prove that `"a"^2 +"b"^2 = 1` and `"b"/"a" = (2"xy")/("x"^2 - "y"^2)`
In the following example, verify that the given function is a solution of the corresponding differential equation.
| Solution | D.E. |
| xy = log y + k | y' (1 - xy) = y2 |
Form the differential equation from the relation x2 + 4y2 = 4b2
For the following differential equation find the particular solution.
`(x + 1) dy/dx − 1 = 2e^(−y)`,
when y = 0, x = 1
Solve the following differential equation.
`(x + y) dy/dx = 1`
The solution of `dy/dx + x^2/y^2 = 0` is ______
x2y dx – (x3 + y3) dy = 0
Solve the following differential equation `("d"y)/("d"x)` = x2y + y
Verify y = log x + c is the solution of differential equation `x ("d"^2y)/("d"x^2) + ("d"y)/("d"x)` = 0
Solve the following differential equation
sec2 x tan y dx + sec2 y tan x dy = 0
Solution: sec2 x tan y dx + sec2 y tan x dy = 0
∴ `(sec^2x)/tanx "d"x + square` = 0
Integrating, we get
`square + int (sec^2y)/tany "d"y` = log c
Each of these integral is of the type
`int ("f'"(x))/("f"(x)) "d"x` = log |f(x)| + log c
∴ the general solution is
`square + log |tan y|` = log c
∴ log |tan x . tan y| = log c
`square`
This is the general solution.
Solve the following differential equation `("d"y)/("d"x)` = cos(x + y)
Solution: `("d"y)/("d"x)` = cos(x + y) ......(1)
Put `square`
∴ `1 + ("d"y)/("d"x) = "dv"/("d"x)`
∴ `("d"y)/("d"x) = "dv"/("d"x) - 1`
∴ (1) becomes `"dv"/("d"x) - 1` = cos v
∴ `"dv"/("d"x)` = 1 + cos v
∴ `square` dv = dx
Integrating, we get
`int 1/(1 + cos "v") "d"v = int "d"x`
∴ `int 1/(2cos^2 ("v"/2)) "dv" = int "d"x`
∴ `1/2 int square "dv" = int "d"x`
∴ `1/2* (tan("v"/2))/(1/2)` = x + c
∴ `square` = x + c
Find the particular solution of the following differential equation
`("d"y)/("d"x)` = e2y cos x, when x = `pi/6`, y = 0.
Solution: The given D.E. is `("d"y)/("d"x)` = e2y cos x
∴ `1/"e"^(2y) "d"y` = cos x dx
Integrating, we get
`int square "d"y` = cos x dx
∴ `("e"^(-2y))/(-2)` = sin x + c1
∴ e–2y = – 2sin x – 2c1
∴ `square` = c, where c = – 2c1
This is general solution.
When x = `pi/6`, y = 0, we have
`"e"^0 + 2sin pi/6` = c
∴ c = `square`
∴ particular solution is `square`
An appropriate substitution to solve the differential equation `"dx"/"dy" = (x^2 log(x/y) - x^2)/(xy log(x/y))` is ______.
Solve the differential equation `"dy"/"dx" + 2xy` = y
Solve the differential equation `"dy"/"dx"` = 1 + x + y2 + xy2, when y = 0, x = 0.
Solution of `x("d"y)/("d"x) = y + x tan y/x` is `sin(y/x)` = cx
A man is moving away from a tower 41.6 m high at a rate of 2 m/s. If the eye level of the man is 1.6 m above the ground, then the rate at which the angle of elevation of the top of the tower changes, when he is at a distance of 30 m from the foot of the tower, is
