Skip to main content
Back to Differential Equations
JEE Main 2024
Differential Equations
Differential Equations
Hard

Question

Let the solution y=y(x)y=y(x) of the differential equation dy dxy=1+4sinx\frac{\mathrm{d} y}{\mathrm{~d} x}-y=1+4 \sin x satisfy y(π)=1y(\pi)=1. Then y(π2)+10y\left(\frac{\pi}{2}\right)+10 is equal to __________.

Answer: 1

Solution

Key Concepts and Formulas

  • First-Order Linear Differential Equation: A differential equation of the form dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x).
  • Integrating Factor (IF): A function used to solve first-order linear differential equations, given by IF=eP(x)dx\text{IF} = e^{\int P(x) \, dx}.
  • General Solution: The general solution to a first-order linear differential equation is given by y(IF)=Q(x)(IF)dx+Cy \cdot (\text{IF}) = \int Q(x) \cdot (\text{IF}) \, dx + C, where CC is the constant of integration.

Step-by-Step Solution

Step 1: Identify the Differential Equation and Standard Form

We are given the differential equation: dydxy=1+4sinx\frac{dy}{dx} - y = 1 + 4\sin x Our goal is to recognize this as a first-order linear differential equation and express it in standard form, which is dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x).

Comparing the given equation with the standard form, we identify: P(x)=1P(x) = -1 Q(x)=1+4sinxQ(x) = 1 + 4\sin x This identification is crucial because P(x)P(x) and Q(x)Q(x) are needed to calculate the integrating factor and subsequently solve the equation.

Step 2: Calculate the Integrating Factor (IF)

The integrating factor is calculated using the formula: IF=eP(x)dx\text{IF} = e^{\int P(x) \, dx} Substituting P(x)=1P(x) = -1, we have: IF=e1dx=ex\text{IF} = e^{\int -1 \, dx} = e^{-x} The integrating factor exe^{-x} will transform the left-hand side of the differential equation into the derivative of a product, making it directly integrable.

Step 3: Find the General Solution

The general solution of the first-order linear differential equation is given by: y(IF)=Q(x)(IF)dx+Cy \cdot (\text{IF}) = \int Q(x) \cdot (\text{IF}) \, dx + C Substituting IF=ex\text{IF} = e^{-x} and Q(x)=1+4sinxQ(x) = 1 + 4\sin x, we get: yex=(1+4sinx)exdx+Cy e^{-x} = \int (1 + 4\sin x) e^{-x} \, dx + C Now, we need to evaluate the integral. We split it into two parts: (1+4sinx)exdx=exdx+4exsinxdx\int (1 + 4\sin x) e^{-x} \, dx = \int e^{-x} \, dx + 4 \int e^{-x} \sin x \, dx

  • Part A: exdx\int e^{-x} \, dx This is a standard integral: exdx=ex\int e^{-x} \, dx = -e^{-x}

  • Part B: exsinxdx\int e^{-x} \sin x \, dx We can use integration by parts twice, or the formula eaxsin(bx)dx=eaxa2+b2(asin(bx)bcos(bx))\int e^{ax} \sin(bx) \, dx = \frac{e^{ax}}{a^2+b^2} (a \sin(bx) - b \cos(bx)). Here, a=1a = -1 and b=1b = 1. exsinxdx=ex(1)2+12(1sinx1cosx)=ex2(sinxcosx)\int e^{-x} \sin x \, dx = \frac{e^{-x}}{(-1)^2 + 1^2} (-1 \cdot \sin x - 1 \cdot \cos x) = \frac{e^{-x}}{2} (-\sin x - \cos x) Thus, 4exsinxdx=4ex2(sinxcosx)=2ex(sinxcosx)4 \int e^{-x} \sin x \, dx = 4 \cdot \frac{e^{-x}}{2} (-\sin x - \cos x) = 2e^{-x} (-\sin x - \cos x)

Combining the two parts: (1+4sinx)exdx=ex+2ex(sinxcosx)\int (1 + 4\sin x) e^{-x} \, dx = -e^{-x} + 2e^{-x} (-\sin x - \cos x) Substituting this back into the general solution equation: yex=ex2ex(sinx+cosx)+Cy e^{-x} = -e^{-x} - 2e^{-x} (\sin x + \cos x) + C Multiplying both sides by exe^x: y(x)=12(sinx+cosx)+Cexy(x) = -1 - 2(\sin x + \cos x) + Ce^x

Step 4: Apply the Initial Condition

We are given the initial condition y(π)=1y(\pi) = 1. We substitute x=πx = \pi and y=1y = 1 into the general solution to find CC: 1=12(sinπ+cosπ)+Ceπ1 = -1 - 2(\sin \pi + \cos \pi) + Ce^{\pi} Since sinπ=0\sin \pi = 0 and cosπ=1\cos \pi = -1: 1=12(01)+Ceπ1 = -1 - 2(0 - 1) + Ce^{\pi} 1=1+2+Ceπ1 = -1 + 2 + Ce^{\pi} 1=1+Ceπ1 = 1 + Ce^{\pi} 0=Ceπ0 = Ce^{\pi} Since eπ0e^{\pi} \neq 0, we must have C=0C = 0.

Substituting C=0C=0 back into the general solution, we get the particular solution: y(x)=12(sinx+cosx)y(x) = -1 - 2(\sin x + \cos x)

Step 5: Evaluate the Expression

We want to find the value of y(π2)+10y\left(\frac{\pi}{2}\right) + 10. First, we find y(π2)y\left(\frac{\pi}{2}\right): y(π2)=12(sinπ2+cosπ2)y\left(\frac{\pi}{2}\right) = -1 - 2\left(\sin \frac{\pi}{2} + \cos \frac{\pi}{2}\right) Since sinπ2=1\sin \frac{\pi}{2} = 1 and cosπ2=0\cos \frac{\pi}{2} = 0: y(π2)=12(1+0)=12=3y\left(\frac{\pi}{2}\right) = -1 - 2(1 + 0) = -1 - 2 = -3 Now, we compute y(π2)+10y\left(\frac{\pi}{2}\right) + 10: y(π2)+10=3+10=7y\left(\frac{\pi}{2}\right) + 10 = -3 + 10 = 7

Common Mistakes & Tips

  • Remember to include the constant of integration when finding the general solution.
  • Be careful with signs when calculating the integrating factor and evaluating integrals.
  • Double-check the values of trigonometric functions at specific angles.

Summary

We solved the first-order linear differential equation using the integrating factor method. After finding the general solution, we used the initial condition to find the particular solution. Finally, we evaluated the expression y(π2)+10y\left(\frac{\pi}{2}\right) + 10 using the particular solution, which resulted in 7.

The final answer is 7\boxed{7}.

Practice More Differential Equations Questions

View All Questions