Question
Question: Let y=y(x) is the solution of the differential equation \(\dfrac{dy}{dx}+y\tan x={{x}^{2}}+2x\tan x,...
Let y=y(x) is the solution of the differential equation dxdy+ytanx=x2+2xtanx,x∈(2−π,2π) such that y(0) = 1, then
[a] y′(4π)−y(4π)=2
[b] y′(4π)−y(4π)=7
[c] y(4π)−y(4−π)=2π2+2
[d] y(4π)−y(4−π)=8π2+2
Solution
Observe that the given differential equation is a linear differential equation. Use the fact that the if IF is the integrating factor of the linear differential equation dxdy+P(x)y=Q(x) then the solution of the differential equation is given by yIF=∫Q(x)IFdx+C. Use the fact that the integrating factor of the linear differential equation dxdy+P(x)y=Q(x) is given by IF=e∫P(x)dx. Hence find the solution of the given differential equation.
Complete step-by-step answer:
We have dxdy+ytanx=2x+x2tanx which is of the form dxdy+P(x)y=Q(x), where P(x)=tanx and Q(x)=2x+x2tanx
We know that the integrating factor of the linear differential equation dxdy+P(x)y=Q(x) is given by IF=e∫P(x)dx.
Hence, we have
IF=e∫tanxdx=eln(secx)=secx
We know that if IF is the integrating factor of the linear differential equation dxdy+P(x)y=Q(x) then the solution of the differential equation is given by yIF=∫Q(x)IFdx+C.
Hence, we have
ysecx=∫secx(2x+x2tanx)dx
We know that ∫(f(x)+g(x))dx=∫f(x)dx+∫g(x)dx
Hence, we have
ysecx=∫secx2xdx+∫x2secxtanx
We know that if ∫f(x)dx=u(x) and dxdg(x)=v(x), then ∫f(x)g(x)dx=g(x)u(x)−∫u(x)v(x)dx. This is known as integration by parts.
The function f(x) is called the second function and the function g(x) is called the first function.
The order of preference (in general) for choosing first function is given by ILATE rule
I = Inverse Trigonometric
L = Logarithmic
A = Algebraic
T = Trigonometric
E = Exponential
Hence according to ILATE rule, we choose f(x)=2x and g(x)=secx, we have
u(x)=∫2xdx=x2 and v(x)=dxdsecx=secxtanx
Hence, we have
∫secx2xdx=x2secx−∫x2secxtanxdx
Hence, we have
ysecx=x2secx−∫x2secxtanx+∫x2secxtanx+Cy=x2+Ccosx
Hence, we have
y(0)=02+C=1⇒C=1
Hence, we have
y′(x)−y(x)=2x−sinx−x2−cosx⇒y′(4π)−y(4π)=2π−21−(16π2)−21=2π−16π2−2
Also, we have
y(x)−y(−x)=2x2+2cosx⇒y(4π)−y(4−π)=8π2+2
So, the correct answer is “Option d”.
Note: A common mistake done by the students in this type of question is that they apply integration by parts in both the integrals which leads to complicated results and does not simplify. It is always a good habit to apply integration by parts on one integrand and check whether the resulting integral might cancel the initial integral