Advertisements
Advertisements
Question
Solve the following initial value problem:-
\[\frac{dy}{dx} + y \tan x = 2x + x^2 \tan x, y\left( 0 \right) = 1\]
Advertisements
Solution
We have,
\[\frac{dy}{dx} + y \tan x = 2x + x^2 \tan x . . . . . \left( 1 \right)\]
Clearly, it is a linear differential equation of the form
\[\frac{dy}{dx} + Py = Q\]
\[\text{ where }P = \tan x\text{ and }Q = x^2 \cot x + 2x\]
\[ \therefore I . F . = e^{\int P\ dx} \]
\[ = e^{\int\tan x dx} \]
\[ = e^{log\left| \sec x \right|} = \sec x\]
\[\text{Multiplying both sides of }\left( 1 \right)\text{ by }I.F.= \sec x,\text{ we get }\]
\[\sec x\left( \frac{dy}{dx} + y\tan x \right) = \sec x\left( x^2 \tan x + 2x \right)\]
\[ \Rightarrow \sec x\left( \frac{dy}{dx} + y\tan x \right) = x^2 \tan x \sec x + 2x \sec x\]
Integrating both sides with respect to x, we get
\[ \Rightarrow y \sec x = \int x^2 \tan x \sec x dx + 2sec x\int x dx - 2\int\left[ \frac{d}{dx}\left( sec x \right)\int x dx \right]dx + C\]
\[ \Rightarrow y \sec x = \int x^2 \tan x \sec\ x dx + x^2 \sec x - \int x^2 \tan x \sec x dx + C\]
\[ \Rightarrow y \sec x = x^2 \sec x + C\]
\[ \Rightarrow y = x^2 + C\cos x . . . . . \left( 2 \right)\]
Now,
\[y\left( 0 \right) = 1\]
\[ \therefore 1 = 0 + C\cos 0\]
\[ \Rightarrow C = 1\]
\[\text{Putting the value of C in }\left( 2 \right),\text{ we get }\]
\[y = x^2 + \cos x\]
\[\text{ Hence, }y = x^2 + \cos x\text{ is the required solution .}\]
APPEARS IN
RELATED QUESTIONS
Hence, the given function is the solution to the given differential equation. \[\frac{c - x}{1 + cx}\] is a solution of the differential equation \[(1+x^2)\frac{dy}{dx}+(1+y^2)=0\].
Verify that \[y = e^{m \cos^{- 1} x}\] satisfies the differential equation \[\left( 1 - x^2 \right)\frac{d^2 y}{d x^2} - x\frac{dy}{dx} - m^2 y = 0\]
Differential equation \[\frac{dy}{dx} = y, y\left( 0 \right) = 1\]
Function y = ex
Differential equation \[\frac{d^2 y}{d x^2} - y = 0, y \left( 0 \right) = 2, y' \left( 0 \right) = 0\] Function y = ex + e−x
(ey + 1) cos x dx + ey sin x dy = 0
\[x^2 \frac{dy}{dx} = x^2 + xy + y^2 \]
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}\]
A bank pays interest by continuous compounding, that is, by treating the interest rate as the instantaneous rate of change of principal. Suppose in an account interest accrues at 8% per year, compounded continuously. Calculate the percentage increase in such an account over one year.
Find the equation to the curve satisfying x (x + 1) \[\frac{dy}{dx} - y\] = x (x + 1) and passing through (1, 0).
The integrating factor of the differential equation \[x\frac{dy}{dx} - y = 2 x^2\]
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`
Find the particular solution of the differential equation `"dy"/"dx" = "xy"/("x"^2+"y"^2),`given that y = 1 when x = 0
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 |
Solve the following differential equation.
`dy /dx +(x-2 y)/ (2x- y)= 0`
Solve the following differential equation.
`(x + y) dy/dx = 1`
Solve the following differential equation.
`dy/dx + 2xy = x`
Choose the correct alternative.
The differential equation of y = `k_1 + k_2/x` is
The differential equation of `y = k_1e^x+ k_2 e^-x` is ______.
Solve the differential equation:
dr = a r dθ − θ dr
Solve:
(x + y) dy = a2 dx
`xy dy/dx = x^2 + 2y^2`
`dy/dx = log x`
Solve the differential equation sec2y tan x dy + sec2x tan y dx = 0
Solve the differential equation `("d"y)/("d"x) + y` = e−x
Solve `("d"y)/("d"x) = (x + y + 1)/(x + y - 1)` when x = `2/3`, y = `1/3`
Solve the following differential equation `("d"y)/("d"x)` = x2y + y
Solve the following differential equation
`x^2 ("d"y)/("d"x)` = x2 + xy − y2
The differential equation (1 + y2)x dx – (1 + x2)y dy = 0 represents a family of:
Solve the differential equation
`y (dy)/(dx) + x` = 0
What distinguishes an ordinary differential equation from other types of differential equations?
