If dy/dx = (x + y + 2)/(x - y) and y(0) = 2, find y(2)
Correct Answer :
0
Solution :
The correct answer is 0.
Analysis of the Image & Problem Setup:
Based on the solution steps shown in the image, the differential equation being solved is:
This is a non-homogeneous first-order ordinary differential equation. To make it homogeneous, we shift the origin to the intersection point of the lines and , which intersect at .
Thus, we use the substitutions:
This gives and . The differential equation transforms to:
Step 1: Homogeneous Substitution
Let . Differentiating both sides with respect to gives:
Substitute this into the transformed equation:
Step 2: Separating Variables
Subtract from both sides:
Rearranging to separate variables gives:
Step 3: Integration
Integrating both sides:
Evaluating the integrals:
Step 4: Re-substitution
Substitute back and :
Step 5: Apply the Initial Condition
We are given , so we substitute and :
Simplify the terms:
Since and , we find the constant :
Step 6: Finding y(2)
Now we set to solve for :
Simplifying the terms:
Comparing the left-hand side and right-hand side directly:
If we substitute :
Thus, satisfies the equation.
Therefore, .
Access expert-curated educational resources and study materials—completely free.
Create, conduct, and manage professional online assessments with Crey. Perfect for teachers and institutes.
Copyright © 2026 Crey. All Rights Reserved.