Solving First Order Linear Inhomogenous Eq.

  • Context: Undergrad 
  • Thread starter Thread starter Kalidor
  • Start date Start date
  • Tags Tags
    First order Linear
Click For Summary

Discussion Overview

The discussion revolves around solving a first order linear inhomogeneous differential equation. Participants explore methods of solution and verify their results, focusing on both manual and computational approaches.

Discussion Character

  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant presents the equation and expresses frustration over a discrepancy in their solution verification.
  • Another participant suggests using the method of variation of constants to find a solution.
  • A subsequent post reiterates the proposed solution, providing it in a different format.
  • A later post corrects a formatting error in the mathematical expression but presents the same solution again.

Areas of Agreement / Disagreement

There is no consensus on the correctness of the solution, as one participant is unsure about their verification process, while others provide a solution without addressing the initial concern.

Contextual Notes

The discussion does not clarify the assumptions behind the solution method or the conditions under which the proposed solution is valid. There is also no resolution regarding the verification issue raised by the first participant.

Kalidor
Messages
68
Reaction score
0
[tex]y'= \frac{y}{1+e^x}+e^{-x}[/tex]

It's an easy first order linear inhomogenous eq. I solved it by hand with the formula that one can find anywhere AND with Mathematica, but when I take the derivative to check the solution it comes out wrong and it's freaking me out. Can anyone here post just the plain solution?
 
Physics news on Phys.org
Just use the method of variating the constant, and you get:

<math>y(x) = C\frac{e^x}{1+e^x}-\frac{2+e^{-x}}{2(1+e^x)} </math>
 
<tex>y(x) = C\frac{e^x}{1+e^x}-\frac{2+e^{-x}}{2(1+e^x)} </tex>
 
oops used the wrong brackets for math mode, so here it is:

[tex]y(x) = C\frac{e^x}{1+e^x}-\frac{2+e^{-x}}{2(1+e^x)}[/tex]
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
963
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 36 ·
2
Replies
36
Views
6K