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 .}\]
RELATED QUESTIONS
Prove that:
`int_0^(2a)f(x)dx = int_0^af(x)dx + int_0^af(2a - x)dx`
Show that the function y = A cos 2x − B sin 2x is a solution of the differential equation \[\frac{d^2 y}{d x^2} + 4y = 0\].
Verify that y = \[\frac{a}{x} + b\] is a solution of the differential equation
\[\frac{d^2 y}{d x^2} + \frac{2}{x}\left( \frac{dy}{dx} \right) = 0\]
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 = 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\]
Show that the differential equation of which \[y = 2\left( x^2 - 1 \right) + c e^{- x^2}\] is a solution is \[\frac{dy}{dx} + 2xy = 4 x^3\]
xy dy = (y − 1) (x + 1) dx
Solve the following differential equation:
\[\text{ cosec }x \log y \frac{dy}{dx} + x^2 y^2 = 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).
\[x^2 \frac{dy}{dx} = x^2 + xy + y^2 \]
\[\frac{dy}{dx} = \frac{y}{x} + \sin\left( \frac{y}{x} \right)\]
Solve the following initial value problem:-
\[\frac{dy}{dx} + 2y = e^{- 2x} \sin x, y\left( 0 \right) = 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.
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.
Integrating factor of the differential equation cos \[x\frac{dy}{dx} + y\] sin x = 1, is
The solution of the differential equation \[\frac{dy}{dx} = \frac{ax + g}{by + f}\] represents a circle when
The solution of the differential equation y1 y3 = y22 is
Verify that the function y = e−3x is a solution of the differential equation \[\frac{d^2 y}{d x^2} + \frac{dy}{dx} - 6y = 0.\]
Find the equation of the plane passing through the point (1, -2, 1) and perpendicular to the line joining the points A(3, 2, 1) and B(1, 4, 2).
For each of the following differential equations find the particular solution.
(x − y2 x) dx − (y + x2 y) dy = 0, when x = 2, y = 0
The solution of `dy/dx + x^2/y^2 = 0` is ______
State whether the following is True or False:
The degree of a differential equation is the power of the highest ordered derivative when all the derivatives are made free from negative and/or fractional indices if any.
Solve the differential equation (x2 – yx2)dy + (y2 + xy2)dx = 0
Integrating factor of the differential equation `x "dy"/"dx" - y` = sinx is ______.
Given that `"dy"/"dx" = "e"^-2x` and y = 0 when x = 5. Find the value of x when y = 3.
Solve: ydx – xdy = x2ydx.
