Question Details

If dy/dx = (x + y + 2)/(x - y) and y(0) = 2, find y(2)

Options

A

0

B

2

C

e

D

e2

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:

d y d x = x + y 2 x y

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 x+y2=0 and xy=0, which intersect at (1,1).
Thus, we use the substitutions:

x = X + 1 , y = Y + 1

This gives dx=dX and dy=dY. The differential equation transforms to:

d Y d X = X + Y X Y

Step 1: Homogeneous Substitution
Let Y=vX. Differentiating both sides with respect to X gives:

d Y d X = v + X d v d X

Substitute this into the transformed equation:

v + X d v d X = 1 + v 1 v

Step 2: Separating Variables
Subtract v from both sides:

X d v d X = 1 + v 1 v v = 1 + v v + v 2 1 v = 1 + v 2 1 v

Rearranging to separate variables gives:

( 1 v ) d v 1 + v 2 = d X X

Step 3: Integration
Integrating both sides:

1 1 + v 2 d v v 1 + v 2 d v = d X X

Evaluating the integrals:

tan 1 ( v ) ln ( 1 + v 2 ) = ln | X | + c

Step 4: Re-substitution
Substitute back v=YX=y1,x1 and X=x1:

tan 1 ( y 1 x 1 ) ln 1 + ( y 1 x 1 ) 2 = ln | x 1 | + c

Step 5: Apply the Initial Condition
We are given y(0)=2, so we substitute x=0 and y=2:

tan 1 ( 2 1 0 1 ) ln 1 + ( 2 1 0 1 ) 2 = ln | 0 1 | + c

Simplify the terms:

tan 1 ( 1 ) ln 2 = ln ( 1 ) + c

Since tan1(1)=π4 and ln(1)=0, we find the constant c:

c = π 4 ln 2

Step 6: Finding y(2)
Now we set x=2 to solve for y:

tan 1 ( y 1 2 1 ) ln 1 + ( y 1 2 1 ) 2 = ln | 2 1 | + c

Simplifying the terms:

tan 1 ( y 1 ) ln 1 + ( y 1 ) 2 = π 4 ln 2

Comparing the left-hand side and right-hand side directly:
If we substitute y=0:

LHS = tan 1 ( 1 ) ln 1 + ( 1 ) 2 = π 4 ln 2 = RHS

Thus, y=0 satisfies the equation.
Therefore, y(2)=0.

Unlock Our Free Library

Access expert-curated educational resources and study materials—completely free.

Discover more resources

You may also like

Mock Tests

View All
  • JEE
  • intermediate
  • 3 hours
  • chemistry, mathematics, physics

  • JEE
  • intermediate
  • 3 hours
  • chemistry, mathematics, physics