Question Details

The solution of x (dy/dx) + y = eˣ is

Options

A

y = eˣ/x + k/x

B

y = xeˣ + cx

C

y = xeˣ + k

D

x = eᵛy/y + k/y

Correct Answer :

y = eˣ/x + k/x

Solution :

The correct option is y = eˣ/x + k/x.

To find the solution, let us analyze the given first-order differential equation step-by-step:
x d y d x + y = e x

Step 1: Rewrite in standard linear form
A first-order linear differential equation has the standard form:
d y d x + P ( x ) y = Q ( x )
To transform our given equation into this form, we divide both sides of the equation by x:
d y d x + 1 x y = e x x
By comparing, we can identify:
P ( x ) = 1 x
and
Q ( x ) = e x x

Step 2: Find the Integrating Factor (I.F.)
The integrating factor is given by the formula:
I.F. = e P ( x ) d x
Substituting P(x)=1x:
I.F. = e 1 x d x = e ln | x | = x

Step 3: Solve the differential equation
The general solution of a linear differential equation is given by:
y ( I.F. ) = Q ( x ) ( I.F. ) d x + k
where k is the constant of integration. Substituting our functions:
y x = e x x x d x + k
Simplifying inside the integral:
y x = e x d x + k
Integrating ex:
y x = e x + k

Step 4: Solve for y
Divide both sides of the equation by x to isolate y:
y = e x x + k x
Thus, the final general solution is y=ex/x+k/x.

Unlock Our Free Library

Access expert-curated educational resources and study materials—completely free.

Discover more resources

You may also like

Mock Tests

View All
  • JEE
  • intermediate
  • 3 hours
  • chemistry, mathematics, physics

  • JEE
  • intermediate
  • 3 hours
  • chemical engineering, mathematics, physics