Core Logic
Let's rearrange the given differential equation by expressing (dy)/(dx)$\frac{dy}{dx}$:
x⁵ (dy)/(dx) = 7x⁴ y - e^x y$$x^5 \frac{dy}{dx} = 7x^4 \cot y - e^x \csc y$$
Dividing both sides by x⁵$x^5$:
(dy)/(dx) = (7)/(x) y - (e^x)/(x⁵) y$$\frac{dy}{dx} = \frac{7}{x} \cot y - \frac{e^x}{x^5} \csc y$$
Multiply the entire equation by y$\sin y$ to clear denominators:
y (dy)/(dx) - (7)/(x) y = -(e^x)/(x⁵)$$\sin y \frac{dy}{dx} - \frac{7}{x} \cos y = -\frac{e^x}{x^5}$$
This can be transformed into a linear form by substituting t = - y$t = -\cos y$. Then (dt)/(dx) = y (dy)/(dx)$\frac{dt}{dx} = \sin y \frac{dy}{dx}$.
Step 1: Solving the Linear ODE
Substituting t$t$ leads to:
(dt)/(dx) + (7)/(x) t = -(e^x)/(x⁵)$$\frac{dt}{dx} + \frac{7}{x} t = -\frac{e^x}{x^5}$$
This is a standard linear first-order ODE with P(x) = (7)/(x)$P(x) = \frac{7}{x}$. The Integrating Factor (I.F.) is:
I.F. = e∫ (7)/(x) dx = e7 ln x = x⁷$$\text{I.F.} = e^{\int \frac{7}{x} dx} = e^{7 \ln x} = x^7$$
The general solution is:
t · x⁷ = ∫ (-(e^x)/(x⁵)) · x⁷ dx = -∫ x² e^x dx$$t \cdot x^7 = \int \left(-\frac{e^x}{x^5}\right) \cdot x^7 dx = -\int x^2 e^x dx$$
Step 2: Evaluating the Integration and Constant
Using integration by parts for ∫ x² e^x dx$\int x^2 e^x dx$:
∫ x² e^x dx = x² e^x - 2xe^x + 2e^x$$\int x^2 e^x dx = x^2 e^x - 2xe^x + 2e^x$$
Substituting this back:
- y · x⁷ = -e^x(x² - 2x + 2) + C$$-\cos y \cdot x^7 = -e^x(x^2 - 2x + 2) + C$$
y · x⁷ = e^x(x² - 2x + 2) - C$$\cos y \cdot x^7 = e^x(x^2 - 2x + 2) - C$$
Since the curve passes through (1, (π)/(2))$\left(1, \frac{\pi}{2}\right)$:
((π)/(2)) · (1)⁷ = e¹(1² - 2(1) + 2) - C 0 = e(1) - C C = e$$\cos\left(\frac{\pi}{2}\right) \cdot (1)^7 = e^1(1^2 - 2(1) + 2) - C \implies 0 = e(1) - C \implies C = e$$
Step 3: Calculating cos y at x = 2
Now substitute x = 2$x = 2$ and C = e$C = e$ into our equation block:
y · (2⁷) = e²(2² - 2(2) + 2) - e$$\cos y \cdot (2^7) = e^2(2^2 - 2(2) + 2) - e$$
y · 128 = e²(4 - 4 + 2) - e = 2e² - e$$\cos y \cdot 128 = e^2(4 - 4 + 2) - e = 2e^2 - e$$
y = (2e² - e)/(128)$$\cos y = \frac{2e^2 - e}{128}$$
Pattern Recognition
When trigonometric terms are mixed inside an ODE containing derivative blocks like (dx)/(dy)$\frac{dx}{dy}$ or (dy)/(dx)$\frac{dy}{dx}$, check if clearing denominators using y$\sin y$ or y$\cos y$ reveals a standard substitution path for a Linear ODE.
Chapter Mix
Class 12 Mathematics: Differential Equations