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
Verify that y = log \[\left( x + \sqrt{x^2 + a^2} \right)^2\] satisfies the differential equation \[\left( a^2 + x^2 \right)\frac{d^2 y}{d x^2} + x\frac{dy}{dx} = 0\]
tan y dx + sec2 y tan x dy = 0
Solve the differential equation \[\left( 1 + x^2 \right)\frac{dy}{dx} + \left( 1 + y^2 \right) = 0\], given that y = 1, when x = 0.
In a bank principal increases at the rate of r% per year. Find the value of r if ₹100 double itself in 10 years (loge 2 = 0.6931).
In a bank principal increases at the rate of 5% per year. An amount of Rs 1000 is deposited with this bank, how much will it worth after 10 years (e0.5 = 1.648).
If y(x) is a solution of the different equation \[\left( \frac{2 + \sin x}{1 + y} \right)\frac{dy}{dx} = - \cos x\] and y(0) = 1, then find the value of y(π/2).
Solve the following initial value problem:-
\[dy = \cos x\left( 2 - y\text{ cosec }x \right)dx\]
If the interest is compounded continuously at 6% per annum, how much worth Rs 1000 will be after 10 years? How long will it take to double Rs 1000?
The rate of increase in the number of bacteria in a certain bacteria culture is proportional to the number present. Given the number triples in 5 hrs, find how many bacteria will be present after 10 hours. Also find the time necessary for the number of bacteria to be 10 times the number of initial present.
Find the equation to the curve satisfying x (x + 1) \[\frac{dy}{dx} - y\] = x (x + 1) and passing through (1, 0).
At every point on a curve the slope is the sum of the abscissa and the product of the ordinate and the abscissa, and the curve passes through (0, 1). Find the equation of the curve.
Write the differential equation representing the family of straight lines y = Cx + 5, where C is an arbitrary constant.
Write the differential equation obtained eliminating the arbitrary constant C in the equation xy = C2.
Integrating factor of the differential equation cos \[x\frac{dy}{dx} + y\] sin x = 1, is
Solve the following differential equation : \[y^2 dx + \left( x^2 - xy + y^2 \right)dy = 0\] .
Find the particular solution of the differential equation `"dy"/"dx" = "xy"/("x"^2+"y"^2),`given that y = 1 when x = 0
In each of the following examples, verify that the given function is a solution of the corresponding differential equation.
| Solution | D.E. |
| y = ex | `dy/ dx= y` |
Solve the following differential equation.
`(dθ)/dt = − k (θ − θ_0)`
Solve the following differential equation.
`xy dy/dx = x^2 + 2y^2`
Solve:
(x + y) dy = a2 dx
Choose the correct alternative:
Solution of the equation `x("d"y)/("d"x)` = y log y is
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 `("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
Solve the differential equation `"dy"/"dx" + 2xy` = y
The differential equation of all non horizontal lines in a plane is `("d"^2x)/("d"y^2)` = 0
