Detailed Explanation
The slope of the tangent to a curve at any point is \( \frac{dy}{dx} \). The problem gives a relationship between the coordinates of a point and this slope, which we convert into a differential equation. The phrase 'sum of the coordinates exceeds the slope by 5' means: (sum of coordinates) minus (slope) equals 5, so \( x + y - \frac{dy}{dx} = 5 \). Rearranging this gives a first-order linear differential equation of the form \( \frac{dy}{dx} + Py = Q \), which we solve using the integrating factor method. Finally, the point \( (0, 2) \) gives a particular solution.
Formula Used
For a linear equation \( \frac{dy}{dx} + Py = Q \), the integrating factor is \( I.F. = e^{\int P \, dx} \), and the solution is \( y \cdot (I.F.) = \int Q \cdot (I.F.) \, dx + C \).
Solution
- Step 1: Let the point on the curve be \( (x, y) \). The slope of the tangent is \( \frac{dy}{dx} \). The sum of the coordinates is \( x + y \). The statement says this sum exceeds the slope by 5, so \[ x + y = \frac{dy}{dx} + 5. \]
- Step 2: Rearrange to standard linear form. Move the derivative to one side: \[ \frac{dy}{dx} = x + y - 5. \] Then bring the \( y \) term across: \[ \frac{dy}{dx} - y = x - 5. \] This is linear with \( P = -1 \) and \( Q = x - 5 \).
- Step 3: Find the integrating factor. \[ I.F. = e^{\int P \, dx} = e^{\int (-1) \, dx} = e^{-x}. \]
- Step 4: Write the solution using \( y \cdot (I.F.) = \int Q \cdot (I.F.) \, dx + C \): \[ y \, e^{-x} = \int (x - 5) e^{-x} \, dx + C. \]
- Step 5: Evaluate \( \int (x - 5) e^{-x} \, dx \) using integration by parts. First, \[ \int x e^{-x} \, dx = -x e^{-x} - e^{-x}. \] Also, \[ \int (-5) e^{-x} \, dx = 5 e^{-x}. \] Adding these gives \[ \int (x - 5) e^{-x} \, dx = -x e^{-x} - e^{-x} + 5 e^{-x} = -x e^{-x} + 4 e^{-x}. \]
- Step 6: Substitute back into the solution: \[ y \, e^{-x} = -x e^{-x} + 4 e^{-x} + C. \] Multiply through by \( e^{x} \): \[ y = -x + 4 + C e^{x}. \]
- Step 7: Use the point \( (0, 2) \) to find \( C \). Substitute \( x = 0, \ y = 2 \): \[ 2 = -0 + 4 + C e^{0} = 4 + C. \] So \( C = -2 \).
- Step 8: Write the particular solution by putting \( C = -2 \): \[ y = 4 - x - 2 e^{x}. \] This is the required equation of the curve.
Final Answer
The equation of the curve is \[ y = 4 - x - 2 e^{x}. \]
Common Mistake
A common mistake is misreading 'exceeds by 5': students often write \( \frac{dy}{dx} = x + y + 5 \) instead of \( x + y = \frac{dy}{dx} + 5 \). Since the sum of coordinates is larger, the slope must be subtracted, giving \( \frac{dy}{dx} = x + y - 5 \).