Skip to content
NCERT Exemplar · Q80

Q.The solution of xdydx+y=exx\frac{dy}{dx}+y=e^x is:
(A) y=exx+kxy=\frac{e^x}{x}+\frac{k}{x}
(B) y=xex+cxy=xe^x+cx
(C) y=xex+ky=xe^x+k
(D) x=eyy+kyx=\frac{e^y}{y}+\frac{k}{y}

Yanam CbseMCQ· 1mImportance★★★★★
Appeared in past exams:AP EAPCET 2025· Set eng-2025-05-21-FN· 1mrewordedKEAM 2025· Set eng-2025-0429· 4mexact
90% · 200/222 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

This is a first-order linear ODE solved by rewriting it as ddx(xy)=ex\frac{d}{dx}(xy) = e^x, then integrating both sides. The general solution is y=exx+kxy = \frac{e^x}{x} + \frac{k}{x}, which matches option (A).

The key insight here is that the left-hand side of the equation, xdydx+yx\frac{dy}{dx} + y, looks like the derivative of a product. When you see a combination of a function and its derivative multiplied by the independent variable, your first instinct should be to check if it’s the result of the product rule in reverse.

Specifically, recall that ddx(x⋅y)=xdydx+y⋅1\frac{d}{dx}(x \cdot y) = x\frac{dy}{dx} + y \cdot 1. That’s exactly the left side of our equation. So the ODE is already in a “perfect differential” form — no need for an integrating factor.

Let’s work through it step by step.

  1. Recognize the derivative form The given equation is:

xdydx+y=exx\frac{dy}{dx} + y = e^x

Notice that the left side is precisely ddx(xy)\frac{d}{dx}(xy). So we can rewrite the entire equation as:

ddx(xy)=ex\frac{d}{dx}(xy) = e^x

  1. Integrate both sides Integrating with respect to xx gives:

xy=∫ex dx=ex+kxy = \int e^x \, dx = e^x + k

where kk is the constant of integration.

  1. Solve for yy Divide through by xx (assuming x≠0x \neq 0):

y=exx+kxy = \frac{e^x}{x} + \frac{k}{x}

  1. Match with the options …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.