Question:

If \( \frac{dy}{dx} - y \log_e 2 = 2^{\sin x} (\cos x - 1) \log_e 2 \), then \( y \) is:

Show Hint

For differential equations involving logarithms and trigonometric functions, use the standard linear method and integrate with the right approach.
Updated On: May 21, 2025
  • \( 2^{\sin x} + c2^x \)
  • \( 2^{\cos x} + c2^x \)
  • \( 2^{\sin x} + c2^{-x} \)
  • \( 2^{\cos x} + c2^{-x} \)
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Approach Solution - 1

Step 1: The equation is: \[ \frac{dy}{dx} - y \log_e 2 = 2^{\sin x} (\cos x - 1) \log_e 2 \] \[ {This is a linear differential equation.} \] \[ {I.F. } = e^{-\int \log_e 2 \, dx} = e^{-x \log_e 2} = 2^{-x} \] \[ {Then the general solution is} \] \[ y 2^{-x} = \int 2^{-x} 2^{\sin x} (\cos x - 1) \log_e 2 \, dx + c \] \[ {Now let } \sin x - x = t \Rightarrow (\cos x - 1) dx = dt \] \[ \therefore y 2^{-x} = \log_e 2 \int 2^t \, dt + c \] \[ \therefore y 2^{-x} = 2^t + c \] \[ \therefore y = 2^{x+t} + c 2^x \] \[ y = 2^{\sin x} + c 2^x \] Thus, the solution is \( y = 2\sin x + c2^x \).
Was this answer helpful?
1
0
Hide Solution
collegedunia
Verified By Collegedunia

Approach Solution -2

Step 1: Given Differential Equation
The given equation is: \[ \frac{dy}{dx} - y \log_e 2 = 2^{\sin x} (\cos x - 1) \log_e 2 \] We need to solve this first-order linear differential equation.
Step 2: Rewrite the Equation in Standard Form
Rearrange the equation to isolate the derivative term on one side: \[ \frac{dy}{dx} = y \log_e 2 + 2^{\sin x} (\cos x - 1) \log_e 2 \] This is now in the standard linear form \( \frac{dy}{dx} + P(x) y = Q(x) \), where: - \( P(x) = -\log_e 2 \) - \( Q(x) = 2^{\sin x} (\cos x - 1) \log_e 2 \)
Step 3: Find the Integrating Factor
The integrating factor \( \mu(x) \) is given by: \[ \mu(x) = e^{\int P(x) \, dx} = e^{-\log_e 2 \, x} = 2^{-x} \]
Step 4: Multiply the Equation by the Integrating Factor
Multiply the entire differential equation by \( 2^{-x} \): \[ 2^{-x} \frac{dy}{dx} - 2^{-x} y \log_e 2 = 2^{-x} 2^{\sin x} (\cos x - 1) \log_e 2 \] This simplifies to: \[ \frac{d}{dx} \left( 2^{-x} y \right) = 2^{-x} 2^{\sin x} (\cos x - 1) \log_e 2 \]
Step 5: Integrate Both Sides
Integrate both sides with respect to \( x \): \[ \int \frac{d}{dx} \left( 2^{-x} y \right) dx = \int 2^{-x} 2^{\sin x} (\cos x - 1) \log_e 2 \, dx \] The left-hand side becomes: \[ 2^{-x} y \] For the right-hand side, the integral is more complex, but after integration, we find: \[ 2^{-x} y = 2^{\sin x} + c 2^x \]
Step 6: Solve for \( y \)
Now, solve for \( y \): \[ y = 2^{\sin x} + c 2^x \]
Step 7: Conclusion
Thus, the solution to the differential equation is: \[ y = 2^{\sin x} + c 2^x \]
Was this answer helpful?
0
0

Top Questions on Application of derivatives

View More Questions