Differential equation problem: Solve dy/dx = (y^2 - 1)/(x^2 - 1), y(2) = 2

Click For Summary

Homework Help Overview

The discussion revolves around solving the differential equation dy/dx = (y^2 - 1)/(x^2 - 1) with the initial condition y(2) = 2. Participants are exploring the implications of their solutions and the validity of the boundary conditions.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the integration process and the resulting solutions, questioning the validity of y = x and y = 1/x in relation to the boundary condition. There are inquiries about testing solutions against the original differential equation and boundary conditions.

Discussion Status

Some participants have identified that both proposed solutions satisfy the original ODE, but only y = x meets the boundary condition. There is ongoing exploration of the implications of the boundary condition and the nature of the differential equation at specific points.

Contextual Notes

Participants note that the differential equation is not well defined at the point (1,1), leading to a 0/0 form, which raises questions about the validity of solutions in that context.

murshid_islam
Messages
468
Reaction score
21
Homework Statement
Solve dy/dx = (y^2 - 1)/(x^2 - 1), y(2) = 2
Relevant Equations
dy/dx = (y^2 - 1)/(x^2 - 1), y(2) = 2
This is my attempt:
\frac{dy}{dx} = \frac{y^2 - 1}{x^2 - 1}<br /> \\ \int \frac{dy}{y^2 - 1} = \int \frac{dx}{x^2 - 1}<br /> \\ \ln \left| \frac{y-1}{y+1} \right| + C_1 = \ln \left| \frac{x-1}{x+1} \right| + C_2<br /> \\ \ln \left| \frac{y-1}{y+1} \right| = \ln \left| \frac{x-1}{x+1} \right| + C

Since y(2) = 2,
\ln \left| \frac{1}{3} \right| = \ln \left| \frac{1}{3} \right| + C<br /> \\ \therefore C = 0

So,
\ln \left| \frac{y-1}{y+1} \right| = \ln \left| \frac{x-1}{x+1} \right|<br /> \\ \left| \frac{y-1}{y+1} \right| = \left| \frac{x-1}{x+1} \right|<br /> \\ \frac{y-1}{y+1} = \pm \frac{x-1}{x+1}<br /> \\y = x, y = \frac{1}{x}

Is this ok, or did I make any mistake?
 
Last edited by a moderator:
Physics news on Phys.org
Did you try inserting your solutions in the original ODE and boundary condition?
 
Orodruin said:
Did you try inserting your solutions in the original ODE and boundary condition?
Both y = x and y = 1/x satisfy the original ODE, but the boundary condition works for y = x only.
 
  • Like
Likes   Reactions: Michael Price
murshid_islam said:
Both y = x and y = 1/x satisfy the original ODE, but the boundary condition works for y = x only.
Is that it? Is that why y = x is the only solution?
 
Yes.
 
murshid_islam said:
Both y = x and y = 1/x satisfy the original ODE, but the boundary condition works for y = x only.
murshid_islam said:
Is that it? Is that why y = x is the only solution?
If the boundary condition was ##y(1) = 1##, both ## y = x ## and ## y = \frac{1}{x} ## would be correct solutions, right?
 
murshid_islam said:
If the boundary condition was ##y(1) = 1##, both ## y = x ## and ## y = \frac{1}{x} ## would be correct solutions, right?
The differential equation is not well defined in (x,y) = (1,1) as you have an expression of the form 0/0 for dy/dx.
 
Orodruin said:
The differential equation is not well defined in (x,y) = (1,1) as you have an expression of the form 0/0 for dy/dx.
Oh yes. How did I not notice this? :headbang:
 
Murshid, did you check the other possibility of y=-x (from your first post) ?
 
  • #10
WWGD said:
Murshid, did you check the other possibility of y=-x (from your first post) ?
But my first post mentions only y=x and y=1/x
 
  • #11
murshid_islam said:
But my first post mentions only y=x and y=1/x
I understand , but notice your solution included a ## +/- ##
 
  • #12
WWGD said:
I understand , but notice your solution included a ## +/- ##
Yes, ## \frac{y-1}{y+1} = \frac{x-1}{x+1} ## leads to ## y = x ##, and ## \frac{y-1}{y+1} = - \frac{x-1}{x+1} ## leads to ## y = \frac{1}{x} ##
 
  • #13
Ok, it is not a solution to the original, I just wanted to ask if you had tested it.
 
  • #14
WWGD said:
Ok, it is not a solution to the original, I just wanted to ask if you had tested it.
Should I? I don't get this. Why should I test it if it's not a solution to the differential equation? Are you hinting something that I'm missing?
 
  • #15
murshid_islam said:
Should I? I don't get this. Why should I test it if it's not a solution to the differential equation? Are you hinting something that I'm missing?
My bad, i got confused by the +/- sign. Please disregard.
 

Similar threads

Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 2 ·
Replies
2
Views
743
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
Replies
5
Views
2K
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
6
Views
2K