Solving y'=1-y^2: What Trick Am I Missing?

  • Thread starter Thread starter TheFerruccio
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around solving the differential equation y' = 1 - y², with participants exploring various methods to approach the problem, including separation of variables and partial fraction decomposition.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the separability of the equation and the resulting integral, with some expressing difficulty in solving it. Others suggest using partial fraction decomposition as a potential method. There are also discussions about the implications of integrating the terms and the resulting algebraic manipulation needed to isolate y.

Discussion Status

Participants are actively engaging with different methods and questioning their approaches. Some have provided insights into the integration process, while others are clarifying potential errors in reasoning. There is a recognition of the complexity involved in isolating y, and the discussion remains open with various interpretations being explored.

Contextual Notes

Some participants express uncertainty about the integration steps and the algebraic manipulation required to isolate y, indicating a need for further clarification on these points.

TheFerruccio
Messages
216
Reaction score
0

Homework Statement


[itex]y'=1-y^2[/itex]


Homework Equations



I've tried a few methods, including change of variables, separability. I'm pretty sure it's separable.


The Attempt at a Solution



If I use separation of variables, I end up with

[itex]\frac{\text{dy}}{1-y^2}=\text{dx}[/itex]

This integral evades me. There must be another trick that I am missing.
 
Physics news on Phys.org
TheFerruccio said:

Homework Statement


[itex]y'=1-y^2[/itex]


Homework Equations



I've tried a few methods, including change of variables, separability. I'm pretty sure it's separable.


The Attempt at a Solution



If I use separation of variables, I end up with

[itex]\frac{\text{dy}}{1-y^2}=\text{dx}[/itex]

This integral evades me. There must be another trick that I am missing.

Partial fraction decomposition
 
It appears that the integral of [itex]\frac{\text{dy}}{1-y^2}[/itex] is [itex]\tanh ^{-1}(y)[/itex].

This would make the solution [itex]y=\frac{e^{2 c_1}+e^{2 x}}{e^{2 x}-e^{2 c_1}}[/itex]
 
pasmith said:

That's a good idea! I tried partial fraction decomposition, and I ended up with

[itex]0.5 (c+\log (1-y)+\log (y+1))=c+x[/itex]
[itex]\log (c (1-y) (y+1))=2 c+2 x[/itex]
[itex]c (1-y) (y+1)=e^{2 c+2 x}[/itex]
From here, it looks like it gets into a hairy quadratic formula with solutions of the form
[itex]y=\pm \sqrt{-e^{2 c+2 x}-1}[/itex]

If I just recognized the solution was a form of hyberbolic inverse tangent, it would have been much easier, though, I do not see how I would have seen that without guessing. I did not have that in my memory.
 
TheFerruccio said:
That's a good idea! I tried partial fraction decomposition, and I ended up with

[itex]0.5 (c+\log (1-y)+\log (y+1))=c+x[/itex]
You don't need to put a constant of integration both sides (and certainly not the same one!).
You have a sign error in the integration. You should end up with a ratio of the y terms, not the product.
 
haruspex said:
You don't need to put a constant of integration both sides (and certainly not the same one!).
You have a sign error in the integration. You should end up with a ratio of the y terms, not the product.

I do not see where the mixup is. If I expand the term into partial fractions, I end up with...
[itex]\frac{1}{1-y^2}\to \frac{1}{(1-y) (y+1)}\to \frac{A}{y+1}+\frac{B}{1-y}\to \frac{A (1-y)+B<br /> (y+1)}{(1-y) (y+1)}\to A+B=1, B-A=0\to A=B=0.5[/itex]

If that's the case for A and B, then I simply move on to... Aaaaand I see what I did. Integrating the [itex]\frac{0.5}{y+1}+\frac{0.5}{1-y}[/itex] results in a difference instead of a sum. However, I am even more baffled as to how to isolate y algebraically in this case, since I end up with...

[itex]e^{2 c+2 x}=\frac{y+1}{1-y}[/itex]
 
TheFerruccio said:
I am even more baffled as to how to isolate y algebraically in this case, since I end up with...

[itex]e^{2 c+2 x}=\frac{y+1}{1-y}[/itex]
It's quite easy - you're probably overthinking it
Multiply out and collect up the y terms.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
Replies
11
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
20
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K