[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math


View post   

File: 113 KB, 640x359, magnets.jpg [View same] [iqdb] [saucenao] [google]
2527773 No.2527773 [Reply] [Original]

So if u'=2u, solving by substitution of variable I would get

du/u = 2dx (assume I'm deriving on x for lol purposes)
ln(u) = 2x
u = e^(2x)

Fine. But in every ODE book I go to, they, for some cocks reason say that u=C1 * e^(2x), where C1 is a constant. This makes sense, since an ODE without an initial value should have infinite solutions, but WHERE THE FUCK DOES THE C1 COMES FROM?

Wolframalpha is being derp and showing me the same thing without explanation

>> No.2527797

C1 is a constant, what's so hard about that?

>> No.2527815

>>2527797

Nothing, I do get why it's there and what it does. I just don't get where the hell does it come from. I'm used to adding a constant to the end when I use indefinite integrals. If this one is multiplying by the constant I assume there's an actual logical process to applying these things, and one just doesn't go about trying in random places to see where a constant would have the appropriate role

>> No.2527818
File: 19 KB, 470x313, RussianSkirt.jpg [View same] [iqdb] [saucenao] [google]
2527818

>2527773
du/u = 2dx | int
ln(u) = 2x + c
u = e^(2x + c)=+/-e^c · e^(2x)
C1=:+/-e^c

>> No.2527827

oops:

du/u = 2dx | int
ln(u) = 2x + c
u = +/-e^(2x + c)=+/-e^c · e^(2x)
C1=:+/-e^c

>> No.2527844
File: 13 KB, 185x180, 1269889154907.jpg [View same] [iqdb] [saucenao] [google]
2527844

>>2527827

God damn it, e^C = C1.

Thanks brovolone, nobody ever told me that

>> No.2527850
File: 342 KB, 2000x3000, Hase.jpg [View same] [iqdb] [saucenao] [google]
2527850

>>2527844

a constant is a constant is a constant

>> No.2527872
File: 52 KB, 486x724, fairredhead.jpg [View same] [iqdb] [saucenao] [google]
2527872

Notice that C =: +/- e^c =/= 0.
This is because you divided by u in the first step, but u=0 is also a solution to u'=2u.

Also notice that u'=Au is the only homogenous linear first order ordinary differential equation, that is, A can also be a matrix. You should just "see" the solution since alot of differential equation systems can be brought to that form (e.g. the harmonic oscilator)
also, the answer was probably there as well:
http://en.wikipedia.org/wiki/Linear_differential_equation

>> No.2527897

>>2527872

But C=/=0 since I divided by u in the first step, that I get. But how come u = 0 is also a solution to u'=2u?

And where does the +/-e^c comes from? None of my books show it, wolframalpha also doesn't say anything

>> No.2527929

>>2527897
+/- e^(C) comes from distributing the exponential expression to each e. Namely, e^(n+C) = e^(n) times e^(C). Now the +/- arises from removing the absolute value of u when you applied the natural logarithm to it. Now that we have u = +/-e^(C)*e^(n), we can substitute C1 = +/-e^(C). QED

>> No.2527964
File: 82 KB, 530x795, INDIA-EL-DAISY-FRONT-MAG-140-2.jpg [View same] [iqdb] [saucenao] [google]
2527964

>>2527897
When you divide by u you assume that u=/=0. Thus you have to check the case u=0 seperately.
Inserting u(x)=0 (everywhere) you see that is is obviously a solution to u'=Au, regardless of what A is.
Wait a sec, I'll plot the solutions for ya.

>> No.2527994
File: 108 KB, 944x707, exp.png [View same] [iqdb] [saucenao] [google]
2527994

Here the constant c=+/-e^c0 goes takes values between -3 and 10.

>> No.2528015
File: 79 KB, 1049x610, etc.png [View same] [iqdb] [saucenao] [google]
2528015

Here I plot only the solutions which araise from e^c, you see that they are stricly positive of course.
Only including +/- and the zero solution gives Ce^2x