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
CBSE Class 12 Maths · Differential Equations
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} \).
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.
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 \).
The equation of the curve is \[ y = e^{x} - x - 1, \] which can also be written as \( x + y + 1 = e^{x} \).
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.
The equation of the curve is \[ y = e^{x} - x - 1, \] which can also be written as \( x + y + 1 = e^{x} \).
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} \).
Answer: The equation of the curve is \[ y = e^{x} - x - 1, \] which can also be written as \( x + y + 1 = e^{x} \).
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} \)
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} \)
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.
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 \).