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

Show Answer
Correct Answer

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+y−2=0 and x−y=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=y−1,x−1 and X=x−1:

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 tan−1(−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.

Transparent Access on Mindyard

Built for Learners & Educators Alike

Completely free for students. Educators & coaching institutes get 2 months free Pro trial to create tests.

FREE FOR STUDENTS

Practice & Learn Free for Students

Access unlimited practice questions, detailed step-by-step solutions, and exam study materials — completely free for students.

  • Unlimited mock tests & question bank practice
  • Full access to curated study library & formula notes
  • 100% free for students • No credit card required
2 MONTHS FREE TRIAL

Educators & Coaching Institutes

Create and conduct professional online assessments with AI question generation, tab proctoring, and comprehensive batch management.

  • AI question uploader & rapid test generator
  • Anti-cheating tab proctoring & performance reports
  • Full Pro access free for 60 days • No upfront commitment
Discover more resources

You may also like

Mock Tests

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

A comprehensive JEE Advanced 2022 Paper 1 designed to help aspirants understand the examination pattern, difficulty level, and question trends of JEE Advanced. This paper covers important concepts from Physics, Chemistry, and Mathematics, featuring a balanced mix of conceptual, numerical, and advanced application-based questions. It helps students strengthen conceptual understanding, enhance analytical and problem-solving skills, and improve speed and accuracy. Ideal for practice, revision, self-assessment, previous year trend analysis, concept reinforcement, and time management, this paper is a valuable resource for effective JEE Advanced preparation.

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

A comprehensive JEE Advanced 2022 Paper 2 designed to help aspirants understand the examination pattern, difficulty level, and question trends of JEE Advanced. This paper covers important concepts from Physics, Chemistry, and Mathematics, featuring a balanced mix of conceptual, numerical, and advanced application-based questions. It helps students strengthen conceptual understanding, enhance analytical and problem-solving skills, and improve speed and accuracy. Ideal for practice, revision, self-assessment, previous year trend analysis, concept reinforcement, and time management, this paper is a valuable resource for effective JEE Advanced preparation.

Ask AI Tutor
5 left
Q1 View Question & Options
AI Tutor is solving this question...
Reading question context & options...
Ask your own doubt or choose a quick prompt: