SOLVER7 Study. Nothing Else.
Exercise 9.5 Q16

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)\) is equal to the sum of the coordinates of the point.

CBSE Class 12 Maths · Differential Equations

Solution

👶 Simple Explanation

Simple Explanation

Imagine a tiny ant walking along a curved path. At every spot it stands, the steepness of its path equals the sum of its horizontal and vertical position numbers. We use this clue to figure out the exact shape of the path. We also know the ant started at the very centre point, where both positions are zero. Using these two clues together, we can work backwards and discover the complete equation of the curve the ant travelled on.

Answer: The equation of the curve is \[ y = e^{x} - x - 1, \] which can also be written as \( x + y + 1 = e^{x} \).

📖 Curve with Slope Equal to Sum of Coordinates

Detailed Explanation

The slope of the tangent at any point on a curve is given by \( \frac{dy}{dx} \). Here we are told this slope equals the sum of the coordinates, so \( \frac{dy}{dx} = x + y \). This is a first-order differential equation. When we rearrange it, it takes the form of a linear differential equation \( \frac{dy}{dx} + Py = Q \), where \( P \) and \( Q \) are functions of \( x \). To solve such equations we use an integrating factor. Finally, we use the condition that the curve passes through the origin \( (0, 0) \) to find the constant of integration and get the particular solution.

Formula Used

For a linear equation \( \frac{dy}{dx} + Py = Q \), the integrating factor is \( \text{I.F.} = e^{\int P \, dx} \), and the solution is \( y \cdot \text{I.F.} = \int Q \cdot \text{I.F.} \, dx + C \).

Solution

  1. Step 1: Translate the condition into a differential equation. The slope of the tangent is \( \frac{dy}{dx} \) and the sum of coordinates is \( x + y \). So \[ \frac{dy}{dx} = x + y. \]
  2. Step 2: Rearrange into linear form \( \frac{dy}{dx} + Py = Q \). Move the \( y \) term to the left: \[ \frac{dy}{dx} - y = x. \] Here \( P = -1 \) and \( Q = x \).
  3. Step 3: Find the integrating factor. \[ \text{I.F.} = e^{\int P \, dx} = e^{\int -1 \, dx} = e^{-x}. \]
  4. Step 4: Write the solution using the standard result \( y \cdot \text{I.F.} = \int Q \cdot \text{I.F.} \, dx + C \): \[ y \, e^{-x} = \int x \, e^{-x} \, dx + C. \]
  5. Step 5: Evaluate \( \int x e^{-x} \, dx \) using integration by parts, taking \( u = x \) and \( dv = e^{-x} dx \): \[ \int x e^{-x} \, dx = -x e^{-x} - \int (-e^{-x}) \, dx = -x e^{-x} - e^{-x}. \]
  6. Step 6: Substitute this back into the solution: \[ y \, e^{-x} = -x e^{-x} - e^{-x} + C. \] Multiply throughout by \( e^{x} \): \[ y = -x - 1 + C e^{x}. \]
  7. Step 7: Apply the initial condition. The curve passes through the origin, so put \( x = 0 \) and \( y = 0 \): \[ 0 = -0 - 1 + C e^{0} = -1 + C. \] This gives \( C = 1 \).
  8. Step 8: Substitute \( C = 1 \) to get the required particular solution: \[ y = -x - 1 + e^{x}. \]

Final Answer

The equation of the curve is \[ y = e^{x} - x - 1, \] which can also be written as \( x + y + 1 = e^{x} \).

Common Mistake

A common mistake is treating \( \frac{dy}{dx} = x + y \) as variables-separable, which is not possible here since \( x \) and \( y \) cannot be separated. It must be solved as a linear differential equation using the integrating factor.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Set up the differential equation. The slope of the tangent at any point \( (x, y) \) on the curve is \( \frac{dy}{dx} \), and we are told this equals the sum of the coordinates. Writing this out: \[ \frac{dy}{dx} = x + y. \] Reason: Translating the geometric condition (slope = sum of coordinates) into an equation is the first step before any solving begins.
  2. Step 2: Rearrange into standard linear form. Move the \( y \)-term to the left side: \[ \frac{dy}{dx} - y = x. \] Comparing with \( \frac{dy}{dx} + Py = Q \), we identify \( P = -1 \) and \( Q = x \). Reason: The integrating-factor method requires the equation in the form \( \frac{dy}{dx} + Py = Q \); identifying \( P \) and \( Q \) prepares us for the next step.
  3. Step 3: Compute the integrating factor. \[ \text{I.F.} = e^{\int P \, dx} = e^{\int (-1) \, dx} = e^{-x}. \] Reason: Multiplying both sides by the integrating factor makes the left-hand side a perfect derivative, allowing direct integration.
  4. Step 4: Multiply through by the integrating factor and write the solution formula. \[ y \cdot e^{-x} = \int x \cdot e^{-x} \, dx + C. \] Reason: This is the direct application of the standard result; the left side is now \( \frac{d}{dx}(y \cdot e^{-x}) \) integrated, so we only need to evaluate the integral on the right.
  5. Step 5: Evaluate \( \int x\,e^{-x} \, dx \) by parts. Let \( u = x \) and \( dv = e^{-x}\,dx \), so \( du = dx \) and \( v = -e^{-x} \). Then \[ \int x\,e^{-x} \, dx = -x\,e^{-x} - \int (-e^{-x}) \, dx = -x\,e^{-x} - e^{-x} + C_1. \] Substituting back: \[ y\,e^{-x} = -x\,e^{-x} - e^{-x} + C. \] Reason: Integration by parts is needed here because the integrand is a product of a polynomial and an exponential.
  6. Step 6: Divide both sides by \( e^{-x} \) (i.e., multiply by \( e^{x} \)) to isolate \( y \): \[ y = -x - 1 + C\,e^{x}. \] Reason: Dividing out the integrating factor recovers \( y \) explicitly as a function of \( x \), giving the general solution.
  7. Step 7: Apply the initial condition. The curve passes through the origin, so substitute \( x = 0 \) and \( y = 0 \): \[ 0 = -0 - 1 + C\,e^{0} \implies 0 = -1 + C \implies C = 1. \] Reason: The initial condition uniquely determines the constant \( C \), selecting the one particular curve from the family of general solutions.
  8. Step 8: Write the particular solution. Substituting \( C = 1 \) into the general solution: \[ y = e^{x} - x - 1. \] Reason: This is the unique curve satisfying both the slope condition and the requirement that it passes through the origin.

Final Answer

The equation of the curve is \[ y = e^{x} - x - 1, \] which can also be written as \( x + y + 1 = e^{x} \).

Common Mistake

One common mistake: forgetting to move the \( y \)-term to the left before identifying \( P \) and \( Q \), which leads to the wrong sign for \( P \) and consequently an incorrect integrating factor \( e^{x} \) instead of the correct \( e^{-x} \).

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Slope = sum of coordinates gives the DE; rearranging: \[ \frac{dy}{dx} - y = x, \quad P = -1,\; Q = x. \]
  2. Step 2: I.F. \( = e^{-x} \); solution form: \[ y \, e^{-x} = \int x \, e^{-x} \, dx + C = -x e^{-x} - e^{-x} + C. \]
  3. Step 3: Simplify: \[ y = -x - 1 + C e^{x}. \] Apply \( (0,0) \): \( 0 = -0 - 1 + C \Rightarrow C = 1 \).
  4. Step 4: Particular solution: \[ y = e^{x} - x - 1. \]

Answer: The equation of the curve is \[ y = e^{x} - x - 1, \] which can also be written as \( x + y + 1 = e^{x} \).

➕ More Examples

More Examples

Example 1

Question: Find the equation of a curve passing through the point \( (0, 1) \) given that the slope of the tangent to the curve at any point \( (x, y) \) is equal to twice the x-coordinate minus the y-coordinate.

Solution: The slope of the tangent at \( (x, y) \) is \( \frac{dy}{dx} \). According to the given condition: \[ \frac{dy}{dx} = 2x - y \] \nRearranging into standard linear form: \[ \frac{dy}{dx} + y = 2x \] \nHere \( P(x) = 1 \) and \( Q(x) = 2x \). \nThe integrating factor is: \[ \mu = e^{\int 1 \\, dx} = e^{x} \] \nMultiplying both sides of the ODE by \( e^{x} \): \[ e^{x} \frac{dy}{dx} + e^{x} y = 2x e^{x} \] \nThe left side is the derivative of \( y e^{x} \): \[ \frac{d}{dx}\left( y e^{x} \right) = 2x e^{x} \] \nIntegrating both sides: \[ y e^{x} = \int 2x e^{x} \\, dx \] \nUsing integration by parts on the right side (let \( u = 2x \), \( dv = e^{x} dx \)): \[ \int 2x e^{x} \\, dx = 2x e^{x} - \int 2 e^{x} \\, dx = 2x e^{x} - 2e^{x} + C \] \nTherefore: \[ y e^{x} = 2x e^{x} - 2e^{x} + C \] \nDividing throughout by \( e^{x} \): \[ y = 2x - 2 + C e^{-x} \] \nApplying the initial condition — the curve passes through \( (0, 1) \), so \( x = 0,\\, y = 1 \): \[ 1 = 2(0) - 2 + C e^{0} \] \[ 1 = -2 + C \] \[ C = 3 \] \nSubstituting back: \[ y = 2x - 2 + 3e^{-x} \]

Answer: \( y = 2x - 2 + 3e^{-x} \)

Example 2

Question: Find the equation of a curve passing through the point \( (0, 2) \) such that the slope of the tangent at any point \( (x, y) \) on the curve equals the sum of three times the x-coordinate and the y-coordinate.

Solution: The slope of the tangent at \( (x, y) \) is \( \frac{dy}{dx} \). The given condition states: \[ \frac{dy}{dx} = 3x + y \] \nRearranging into standard linear form: \[ \frac{dy}{dx} - y = 3x \] \nHere \( P(x) = -1 \) and \( Q(x) = 3x \). \nThe integrating factor is: \[ \mu = e^{\int (-1) \\, dx} = e^{-x} \] \nMultiplying both sides by \( e^{-x} \): \[ e^{-x} \frac{dy}{dx} - e^{-x} y = 3x e^{-x} \] \nThe left side is the derivative of \( y e^{-x} \): \[ \frac{d}{dx}\left( y e^{-x} \right) = 3x e^{-x} \] \nIntegrating both sides: \[ y e^{-x} = \int 3x e^{-x} \\, dx \] \nUsing integration by parts on the right side (let \( u = 3x \), \( dv = e^{-x} dx \)): \[ \int 3x e^{-x} \\, dx = 3x \cdot (-e^{-x}) - \int 3 \cdot (-e^{-x}) \\, dx = -3x e^{-x} + \int 3 e^{-x} \\, dx \] \[ = -3x e^{-x} - 3e^{-x} + C \] \nTherefore: \[ y e^{-x} = -3x e^{-x} - 3e^{-x} + C \] \nDividing throughout by \( e^{-x} \): \[ y = -3x - 3 + C e^{x} \] \nApplying the initial condition — the curve passes through \( (0, 2) \), so \( x = 0,\\, y = 2 \): \[ 2 = -3(0) - 3 + C e^{0} \] \[ 2 = -3 + C \] \[ C = 5 \] \nSubstituting back: \[ y = -3x - 3 + 5e^{x} \]

Answer: \( y = -3x - 3 + 5e^{x} \)

🎯 Try a Similar Question

Try a Similar Question

Question: Find the equation of a curve passing through the point \( (0, 2) \) given that the slope of the tangent to the curve at any point \( (x, y) \) is equal to twice the sum of the x-coordinate and the y-coordinate of the point.

Solution

  1. Step 1: Form the Differential Equation: The slope of the tangent at \( (x, y) \) is \( \frac{dy}{dx} \). According to the given condition, this equals twice the sum of the coordinates: \[ \frac{dy}{dx} = 2(x + y) \] Expanding: \[ \frac{dy}{dx} = 2x + 2y \] Rearranging to standard linear form: \[ \frac{dy}{dx} - 2y = 2x \]
  2. Step 2: Find the Integrating Factor: Here \( P(x) = -2 \) and \( Q(x) = 2x \). The integrating factor is \[ \mu = e^{\int -2 \, dx} = e^{-2x} \]
  3. Step 3: Multiply Both Sides by the Integrating Factor: Multiplying both sides of \( \frac{dy}{dx} - 2y = 2x \) by \( e^{-2x} \): \[ e^{-2x}\frac{dy}{dx} - 2e^{-2x}y = 2x\,e^{-2x} \] The left side is the derivative of \( y\,e^{-2x} \): \[ \frac{d}{dx}\left(y\,e^{-2x}\right) = 2x\,e^{-2x} \]
  4. Step 4: Integrate Both Sides: Integrating both sides with respect to \( x \): \[ y\,e^{-2x} = \int 2x\,e^{-2x} \, dx + C \] Using integration by parts for the right side, let \( u = 2x \) and \( dv = e^{-2x}\,dx \), so \( du = 2\,dx \) and \( v = -\frac{1}{2}e^{-2x} \): \[ \int 2x\,e^{-2x}\,dx = 2x \cdot \left(-\frac{1}{2}e^{-2x}\right) - \int \left(-\frac{1}{2}e^{-2x}\right)(2)\,dx \] \[ = -x\,e^{-2x} + \int e^{-2x}\,dx \] \[ = -x\,e^{-2x} - \frac{1}{2}e^{-2x} + C \] Therefore: \[ y\,e^{-2x} = -x\,e^{-2x} - \frac{1}{2}e^{-2x} + C \]
  5. Step 5: Simplify the General Solution: Dividing both sides by \( e^{-2x} \) (i.e., multiplying by \( e^{2x} \)): \[ y = -x - \frac{1}{2} + C\,e^{2x} \]
  6. Step 6: Apply the Initial Condition: The curve passes through \( (0, 2) \), so substitute \( x = 0 \) and \( y = 2 \): \[ 2 = -0 - \frac{1}{2} + C\,e^{0} \] \[ 2 = -\frac{1}{2} + C \] \[ C = 2 + \frac{1}{2} = \frac{5}{2} \]
  7. Step 7: Write the Particular Solution: Substituting \( C = \frac{5}{2} \) into the general solution: \[ y = -x - \frac{1}{2} + \frac{5}{2}\,e^{2x} \] This can also be written as: \[ y = \frac{5}{2}\,e^{2x} - x - \frac{1}{2} \] or equivalently \[ 2y = 5\,e^{2x} - 2x - 1 \]

Answer: The equation of the curve is \[ y = \frac{5}{2}\,e^{2x} - x - \frac{1}{2} \] which can also be written as \( 2y = 5\,e^{2x} - 2x - 1 \).

Everything you get with Solver7

More questions in Differential Equations

Chapter 9 Examples Q1(i) 65/2/1 2022 / Section A Q1 Chapter 9 Examples Q1(ii) 65/2/2 2023 / Section A Q2 Chapter 9 Examples Q1(iii) 65/2/2 2023 / Section A Q3 Chapter 9 Examples Q2 Chapter 9 Examples Q3 Chapter 9 Examples Q4 Chapter 9 Examples Q5 65/1/1 2023 / Section A Q7 65/2/1 2024 / Section A Q7 65/3/1 2024 / Section A Q7 65/4/1 2022 / Section A Q5 Chapter 9 Examples Q6 65/1/1 2024 / Section A Q8 65/3/1 2023 / Section A Q8 Chapter 9 Examples Q7 65/3/1 2023 / Section A Q9 65/4/2 2024 / Section A Q9 Chapter 9 Examples Q8 65(B) 2026 / Section A Q10 65/4/1 2023 / Section A Q10 Chapter 9 Examples Q9 65(B) 2026 / Section A Q11 65/1/1 2026 / Section A Q11 65/2/1 2022 / Section B Q9 65/4/1 2023 / Section A Q11 Chapter 9 Examples Q10 65/1/1 2026 / Section A Q12 65/4/1 2026 / Section A Q12 Chapter 9 Examples Q11 65/3/1 2026 / Section A Q13 65/4/1 2026 / Section A Q13 65/4/2 2024 / Section A Q13 65/5/1 2026 / Section A Q13 Chapter 9 Examples Q12 65/1/1 2024 / Section A Q14 65/2/1 2024 / Section A Q14 65/5/1 2026 / Section A Q14 Chapter 9 Examples Q13 65/1/1 2023 / Section A Q15 65/2/3 2026 / Section A Q15 Chapter 9 Examples Q14 65/2/3 2026 / Section A Q16 65/4/1 2022 / Section C Q12(a) Chapter 9 Examples Q15 65/4/1 2022 / Section C Q12(b) Chapter 9 Examples Q16 Chapter 9 Examples Q17 65/3/1 2026 / Section A Q19 Chapter 9 Examples Q18 Chapter 9 Miscellaneous Examples Q19 Chapter 9 Miscellaneous Examples Q20 Chapter 9 Miscellaneous Examples Q21 Chapter 9 Miscellaneous Examples Q22 Exercise 9.1 Q1 Exercise 9.1 Q2 Exercise 9.1 Q3 Exercise 9.1 Q4