Skip to content
Exercise 9.5 · Q16

Q.Find the equation of a curve passing through the origin given that the slope of the tangent to the curve at any point (x,y)(x, y) is equal to the sum of the coordinates of the point.

Puducherry CbseNCERTSubjective· 3mImportance★★★★★
44% · 98/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 →

The problem reduces to solving a first-order linear differential equation dydx=x+y\frac{dy}{dx} = x + y with the initial condition y(0)=0y(0)=0. The solution is y=ex−x−1y = e^x - x - 1.

Why this approach works

The slope of the tangent to a curve at any point (x,y)(x, y) is simply dydx\frac{dy}{dx}. The problem tells us this slope equals the sum of the coordinates, i.e., x+yx + y. So we have:

dydx=x+y\frac{dy}{dx} = x + y

This is a differential equation — an equation linking a function, its derivative, and the independent variable. Solving it means finding the function y(x)y(x) that satisfies this relationship and also passes through the origin (0,0)(0,0).

The equation dydx=x+y\frac{dy}{dx} = x + y is a first-order linear differential equation. It's not separable in its current form (you can't get all yy terms on one side and all xx terms on the other), so we need a systematic method: the integrating factor method.

For a first-order linear DE in standard form dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x), the integrating factor is μ(x)=e∫P(x) dx\mu(x) = e^{\int P(x)\,dx}, and the solution is y=1μ(x)∫μ(x)Q(x) dxy = \frac{1}{\mu(x)}\int \mu(x)Q(x)\,dx.

Step-by-step solution

1. Write the equation in standard form

We have dydx=x+y\frac{dy}{dx} = x + y. Bring the yy term to the left:

dydx−y=x\frac{dy}{dx} - y = x

Here P(x)=−1P(x) = -1 and Q(x)=xQ(x) = x.

2. Find the integrating factor

μ(x)=e∫P(x) dx=e∫(−1) dx=e−x\mu(x) = e^{\int P(x)\,dx} = e^{\int (-1)\,dx} = e^{-x}

3. Multiply both sides by μ(x)\mu(x)

e−xdydx−e−xy=xe−xe^{-x}\frac{dy}{dx} - e^{-x}y = x e^{-x}

The left side is now the derivative of y⋅e−xy \cdot e^{-x} (check by differentiating: ddx(ye−x)=e−xdydx−ye−x\frac{d}{dx}(y e^{-x}) = e^{-x}\frac{dy}{dx} - y e^{-x}). So:

ddx(ye−x)=xe−x\frac{d}{dx}\left(y e^{-x}\right) = x e^{-x}

4. Integrate both sides

ye−x=∫xe−x dxy e^{-x} = \int x e^{-x}\,dx

The right side requires integration by parts. Let u=xu = x, dv=e−xdxdv = e^{-x}dx. Then du=dxdu = dx, v=−e−xv = -e^{-x}.

∫xe−x dx=−xe−x−∫(−e−x) dx=−xe−x+∫e−x dx=−xe−x−e−x+C\int x e^{-x}\,dx = -x e^{-x} - \int (-e^{-x})\,dx = -x e^{-x} + \int e^{-x}\,dx = -x e^{-x} - e^{-x} + C

So:

ye−x=−xe−x−e−x+Cy e^{-x} = -x e^{-x} - e^{-x} + C …

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.