• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 15:56
CEST 21:56
KST 04:56
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Maestros of the Game: Week 1/Play-in Preview9[ASL20] Ro24 Preview Pt2: Take-Off7[ASL20] Ro24 Preview Pt1: Runway132v2 & SC: Evo Complete: Weekend Double Feature4Team Liquid Map Contest #21 - Presented by Monster Energy9
Community News
Weekly Cups (August 25-31): Clem's Last Straw?32Weekly Cups (Aug 18-24): herO dethrones MaxPax6Maestros of The Game—$20k event w/ live finals in Paris46Weekly Cups (Aug 11-17): MaxPax triples again!15Weekly Cups (Aug 4-10): MaxPax wins a triple6
StarCraft 2
General
Weekly Cups (August 25-31): Clem's Last Straw? Heaven's Balance Suggestions (roast me) Speculation of future Wardii series Geoff 'iNcontroL' Robinson has passed away #1: Maru - Greatest Players of All Time
Tourneys
LiuLi Cup - September 2025 Tournaments Sea Duckling Open (Global, Bronze-Diamond) Sparkling Tuna Cup - Weekly Open Tournament Maestros of The Game—$20k event w/ live finals in Paris Monday Nights Weeklies
Strategy
Custom Maps
External Content
Mutation # 489 Bannable Offense Mutation # 488 What Goes Around Mutation # 487 Think Fast Mutation # 486 Watch the Skies
Brood War
General
ASL20 General Discussion Starcraft at lower levels TvP BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion Victoria gamers
Tourneys
Is there English video for group selection for ASL [ASL20] Ro24 Group F [Megathread] Daily Proleagues [IPSL] CSLAN Review and CSLPRO Reimagined!
Strategy
Simple Questions, Simple Answers Muta micro map competition Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
Stormgate/Frost Giant Megathread General RTS Discussion Thread Warcraft III: The Frozen Throne Nintendo Switch Thread Mechabellum
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread YouTube Thread
Fan Clubs
The Happy Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s) Gtx660 graphics card replacement
TL Community
The Automated Ban List TeamLiquid Team Shirt On Sale
Blogs
A very expensive lesson on ma…
Garnet
hello world
radishsoup
Lemme tell you a thing o…
JoinTheRain
How Culture and Conflict Imp…
TrAiDoS
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
INDEPENDIENTE LA CTM
XenOsky
Customize Sidebar...

Website Feedback

Closed Threads



Active: 761 users

Differential equations Oddity/Question

Blogs > Sadist
Post a Reply
Normal
Sadist
Profile Blog Joined October 2002
United States7244 Posts
Last Edited: 2009-11-23 16:51:25
November 23 2009 16:49 GMT
#1
Ive seen one of my TA's as well as my professor do this just the other day and I havent come across it before or at least I dont recall.

Heres an example of it from my Fluids Course.


[image loading]


obviously both sides were integrated twice to come up with the answer but I am curious as to what rule allows this to be done. I had messed this up on a quiz where we had to prove something the other day because i tried separation of variables which must not work for 2nd Order DE's or something.

I wouldnt consider my math background strong even though ive been through Differential Equations and a math course for engineers which is essentially Diff EQ's again. I dont recall seeing an equation like this in Diff Eq. Could anyone explain this to me?

How do you go from where you are to where you want to be? I think you have to have an enthusiasm for life. You have to have a dream, a goal and you have to be willing to work for it. Jim Valvano
Zortch
Profile Blog Joined January 2008
Canada635 Posts
November 23 2009 16:54 GMT
#2
This is just indefinite integrals.

Take the first equation and integrate both side with respect to y and you get:

d/dy=-Cy+C1

Then integrating both sides again with respect to y:

d2/dy2=-1/2Cy^2+C1y+C2

This is all the possible functions whose second derivative with respect to y is -C.
Respect is everything. ~ARchon
Sadist
Profile Blog Joined October 2002
United States7244 Posts
November 23 2009 16:59 GMT
#3
On November 24 2009 01:54 Zortch wrote:
This is just indefinite integrals.

Take the first equation and integrate both side with respect to y and you get:

d/dy=-Cy+C1

Then integrating both sides again with respect to y:

d2/dy2=-1/2Cy^2+C1y+C2

This is all the possible functions whose second derivative with respect to y is -C.



so you know its indefinate integrals because theres no other variable in the equation?
How do you go from where you are to where you want to be? I think you have to have an enthusiasm for life. You have to have a dream, a goal and you have to be willing to work for it. Jim Valvano
BloodDrunK
Profile Blog Joined August 2009
Bangladesh2767 Posts
November 23 2009 17:01 GMT
#4
On November 24 2009 01:54 Zortch wrote:
This is just indefinite integrals.

Take the first equation and integrate both side with respect to y and you get:

d/dy=-Cy+C1

Then integrating both sides again with respect to y:

d2/dy2=-1/2Cy^2+C1y+C2

This is all the possible functions whose second derivative with respect to y is -C.


He pretty much summed it up himself.
You have the power to create your own destiny.
Zortch
Profile Blog Joined January 2008
Canada635 Posts
November 23 2009 17:03 GMT
#5
Its an indefinite integral as opposed to a definite integral because of the arbitraty constants.

But what was the original problem?

Was it this:
Solve d2y/dy2=-C for y?

because then just integrate both side w/r y twice and poof!

This is just basic calculus, I'm not sure what the question is. (not to sound snooty or anything)
Respect is everything. ~ARchon
Sadist
Profile Blog Joined October 2002
United States7244 Posts
Last Edited: 2009-11-23 17:12:05
November 23 2009 17:11 GMT
#6
On November 24 2009 02:03 Zortch wrote:
Its an indefinite integral as opposed to a definite integral because of the arbitraty constants.

But what was the original problem?

Was it this:
Solve d2y/dy2=-C for y?

because then just integrate both side w/r y twice and poof!

This is just basic calculus, I'm not sure what the question is. (not to sound snooty or anything)



Well the original problem not the one i provided had to do with finding the shear center of a beam or something. I cant find the specific problem atm. The problem I posted was given as a velocity field and we integrated to substitute into other equations etc. I was just curious because I dont remember being able to integrate both sides like that. I Specifically remember doing separation of variables with just dy/dx even with only one variable in the equation. I realize now that it comes out to be the same thing as integrating both sides as is. I guess I want to know if I can conclude that I only have to do separation of variables if 2 variables are present in the equation. If not I can always just integrate both sides?


I guess im wondering why I was told to do problems like this that were first order by separation of variables even though its obvious now that i dont have to.
How do you go from where you are to where you want to be? I think you have to have an enthusiasm for life. You have to have a dream, a goal and you have to be willing to work for it. Jim Valvano
nosliw
Profile Blog Joined December 2008
United States2716 Posts
Last Edited: 2009-11-23 17:13:20
November 23 2009 17:11 GMT
#7
You are assuming that
1. C is a constant w.r.t. y
2. u is a function of y only (hence the "du/dy" instead of "partial u/partial y")
Zortch
Profile Blog Joined January 2008
Canada635 Posts
November 23 2009 17:20 GMT
#8
On November 24 2009 02:11 nosliw wrote:
You are assuming that
1. C is a constant w.r.t. y
2. u is a function of y only (hence the "du/dy" instead of "partial u/partial y")


Ah, yes this is true. Good point.

In general, if you have:

d^nu(y)/dy^n=f(y), then just integrate n times on both sides to get u(y).

Thats just exactly what that equation means.
Respect is everything. ~ARchon
Pseudo_Utopia
Profile Blog Joined December 2002
Canada827 Posts
November 23 2009 17:22 GMT
#9
Just a shot in the dark, but maybe try to keep in mind that d2u/dy2 is in fact d(du/dy)/dy. It should seem clearer that you can then go integrate d(du/dy) = -Cdy which gives du/dy = -Cy + C_1 and from there it should be clear where to go.
Retired SchiSm[LighT]
ZBiR
Profile Blog Joined August 2003
Poland1092 Posts
November 23 2009 17:23 GMT
#10
you can multiply both sides by dy2 if you want
d2u=-C*dy2
d(du)=-C*dy*dy
then integrate both sides with indefinite boundaries (remember that du on the left side acts as a variable now, and integrated function =1):
du+D1=-C*y*dy+D2
since D1 and D2 are any numbers, these can be written as one symbol C1=D2-D1:
du=-C*y*dy+C1
again integrate with indefinite boundaries, this time left side's variable is u not du
u+D3=-C*y*y/2+C1*y+D4
then we take C2=D4-D3
u=-C*y*y/2+C1*y+C2

that's seroiusly one of the easiest diff eqs i've ever seen, what kind of equations did you have in those previous courses?
Luddite
Profile Blog Joined April 2007
United States2315 Posts
November 23 2009 17:24 GMT
#11
LOL that isn't even a differential equation. It's just basic calculus.
Can't believe I'm still here playing this same game
Sadist
Profile Blog Joined October 2002
United States7244 Posts
November 23 2009 17:29 GMT
#12
On November 24 2009 02:23 ZBiR wrote:
you can multiply both sides by dy2 if you want
d2u=-C*dy2
d(du)=-C*dy*dy
then integrate both sides with indefinite boundaries (remember that du on the left side acts as a variable now, and integrated function =1):
du+D1=-C*y*dy+D2
since D1 and D2 are any numbers, these can be written as one symbol C1=D2-D1:
du=-C*y*dy+C1
again integrate with indefinite boundaries, this time left side's variable is u not du
u+D3=-C*y*y/2+C1*y+D4
then we take C2=D4-D3
u=-C*y*y/2+C1*y+C2

that's seroiusly one of the easiest diff eqs i've ever seen, what kind of equations did you have in those previous courses?




Obviously i misunderstood something.

I know how to use bernoulli, laplace transforms, etc. It must be one of those that are so simple i didnt recognize it =-)

At the core of this though is that I was taught (in physics mind you) to do a simple dy/dx = Cy equation by separation of variables and im wondering why. Thats where the confusion comes from.
How do you go from where you are to where you want to be? I think you have to have an enthusiasm for life. You have to have a dream, a goal and you have to be willing to work for it. Jim Valvano
ZBiR
Profile Blog Joined August 2003
Poland1092 Posts
November 23 2009 17:31 GMT
#13
On November 24 2009 02:29 Sadist wrote:
Show nested quote +
On November 24 2009 02:23 ZBiR wrote:
you can multiply both sides by dy2 if you want
d2u=-C*dy2
d(du)=-C*dy*dy
then integrate both sides with indefinite boundaries (remember that du on the left side acts as a variable now, and integrated function =1):
du+D1=-C*y*dy+D2
since D1 and D2 are any numbers, these can be written as one symbol C1=D2-D1:
du=-C*y*dy+C1
again integrate with indefinite boundaries, this time left side's variable is u not du
u+D3=-C*y*y/2+C1*y+D4
then we take C2=D4-D3
u=-C*y*y/2+C1*y+C2

that's seroiusly one of the easiest diff eqs i've ever seen, what kind of equations did you have in those previous courses?




Obviously i misunderstood something.

I know how to use bernoulli, laplace transforms, etc. It must be one of those that are so simple i didnt recognize it =-)

At the core of this though is that I was taught (in physics mind you) to do a simple dy/dx = Cy equation by separation of variables and im wondering why. Thats where the confusion comes from.

Yeah, that must be the case
Purind
Profile Blog Joined April 2004
Canada3562 Posts
November 23 2009 17:41 GMT
#14
On November 24 2009 01:49 Sadist wrote:
obviously both sides were integrated twice to come up with the answer but I am curious as to what rule allows this to be done. I had messed this up on a quiz where we had to prove something the other day because i tried separation of variables which must not work for 2nd Order DE's or something.


Did the equation look something like this?
d2y/dx^2 + C dy/dx + y = 0 (a general 2nd order ODE)

You can't separate the variables here. Just try it. You'll get confused trying to separate them
Trucy Wright is hot
quirinus
Profile Blog Joined May 2007
Croatia2489 Posts
Last Edited: 2009-11-23 18:06:15
November 23 2009 18:01 GMT
#15
On November 24 2009 02:23 ZBiR wrote:
you can multiply both sides by dy2 if you want
d2u=-C*dy2
d(du)=-C*dy*dy
then integrate both sides with indefinite boundaries (remember that du on the left side acts as a variable now, and integrated function =1):
du+D1=-C*y*dy+D2
since D1 and D2 are any numbers, these can be written as one symbol C1=D2-D1:
du=-C*y*dy+C1
again integrate with indefinite boundaries, this time left side's variable is u not du
u+D3=-C*y*y/2+C1*y+D4
then we take C2=D4-D3
u=-C*y*y/2+C1*y+C2

that's seroiusly one of the easiest diff eqs i've ever seen, what kind of equations did you have in those previous courses?


I like this approach the most, since it doesn't skip on some parts (both sides get a constant) like they do in some books. But fro practical use, it's better to "just integrate and put a constant".


Well, to be precise (if I remember correctly), these actually are definite boundary integrals (as all indefinite integrals are), but they are from some constant/fixed value to eg. u or y. So one boundary is a definite constant (those are the constants that you introduce, ie. C1, D1, etc.) and the other is an indefinite variable (so the upper boundary is not fixed). I think that's how it got it's name.



PS: I think you can only separate functions that depend on 2 variables. This function that you wrote depends only on one. I think that what you're refering to is called differently (separating du and dy and all things depending on u and y on different sides). But I might be wrong, it's been a long time.
All candles lit within him, and there was purity. | First auto-promoted BW LP editor.
Sadist
Profile Blog Joined October 2002
United States7244 Posts
November 23 2009 18:04 GMT
#16
On November 24 2009 02:41 Purind wrote:
Show nested quote +
On November 24 2009 01:49 Sadist wrote:
obviously both sides were integrated twice to come up with the answer but I am curious as to what rule allows this to be done. I had messed this up on a quiz where we had to prove something the other day because i tried separation of variables which must not work for 2nd Order DE's or something.


Did the equation look something like this?
d2y/dx^2 + C dy/dx + y = 0 (a general 2nd order ODE)

You can't separate the variables here. Just try it. You'll get confused trying to separate them



na I guess it wasnt a differential eq =-) I wouldnt do separation of variables on something like that.

Physics just fucked me up and had me using separation of variables when I didnt need to but it ended up working out in the end anyway which is odd.
How do you go from where you are to where you want to be? I think you have to have an enthusiasm for life. You have to have a dream, a goal and you have to be willing to work for it. Jim Valvano
gyth
Profile Blog Joined September 2009
657 Posts
November 24 2009 04:30 GMT
#17
At the core of this though is that I was taught (in physics mind you) to do a simple dy/dx = Cy equation by separation of variables and im wondering why.

How else would you solve that equation?
The plural of anecdote is not data.
Sadist
Profile Blog Joined October 2002
United States7244 Posts
November 25 2009 03:59 GMT
#18
On November 24 2009 13:30 gyth wrote:
Show nested quote +
At the core of this though is that I was taught (in physics mind you) to do a simple dy/dx = Cy equation by separation of variables and im wondering why.

How else would you solve that equation?



apparently just integrate both sides without dividing multiplying by dx? :d
How do you go from where you are to where you want to be? I think you have to have an enthusiasm for life. You have to have a dream, a goal and you have to be willing to work for it. Jim Valvano
Zortch
Profile Blog Joined January 2008
Canada635 Posts
November 25 2009 04:02 GMT
#19
I'm not sure why you think of it that way.

You've got that -C is the second derivative of a function u(y) with respect to y.
Agree?

So by the fundamental theorem of calc (integration and derivative are inverse operations) to solve for u(y) just integrate it with respect to y twice.
Respect is everything. ~ARchon
gyth
Profile Blog Joined September 2009
657 Posts
November 26 2009 17:44 GMT
#20
apparently just integrate both sides without dividing multiplying by dx? :d

You _do_ need to use separation of variables to solve exponential growth.

ddu/ddy = -C is already as separate as it needs to be.

If it had been x'' = -9.8m/s^2, could you have come up with x = x0 + v0t -4.9 t^s?
The plural of anecdote is not data.
ghostWriter
Profile Blog Joined January 2009
United States3302 Posts
November 26 2009 18:06 GMT
#21
On November 24 2009 02:24 Luddite wrote:
LOL that isn't even a differential equation. It's just basic calculus.


ROFL
two simple indefinite integrations haha
Sullifam
Mortality
Profile Blog Joined December 2005
United States4790 Posts
November 26 2009 20:08 GMT
#22
On November 24 2009 02:24 Luddite wrote:
LOL that isn't even a differential equation. It's just basic calculus.


What do you think "basic calculus" is?

"Basic calculus" classes are just teaching you to solve basic integral and differential equations and understand what they mean at an intuitive level.

This problem is exactly an "ordinary differential equation." It just so happens to be one you should be able to figure out with Calc 1 techniques alone.
Even though this Proleague bullshit has been completely bogus, I really, really, really do not see how Khan can lose this. I swear I will kill myself if they do. - nesix before KHAN lost to eNature
Normal
Please log in or register to reply.
Live Events Refresh
Next event in 4h 5m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Reynor 319
IndyStarCraft 142
Livibee 121
BRAT_OK 82
MindelVK 31
JuggernautJason30
ForJumy 1
StarCraft: Brood War
Britney 24132
Mini 957
EffOrt 736
Dewaltoss 123
Larva 114
sSak 48
Backho 28
Aegong 25
yabsab 19
ivOry 10
Dota 2
LuMiX1
Counter-Strike
fl0m1871
pashabiceps578
Stewie2K531
Foxcn208
Heroes of the Storm
Liquid`Hasu379
Other Games
Grubby2395
FrodaN1173
Mlord346
ArmadaUGS204
C9.Mang0122
Trikslyr73
Kaelaris5
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 19 non-featured ]
StarCraft 2
• davetesta66
• Reevou 4
• LaughNgamezSOOP
• sooper7s
• AfreecaTV YouTube
• intothetv
• Migwel
• Kozan
• IndyKCrew
StarCraft: Brood War
• blackmanpl 28
• Pr0nogo 3
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota21313
• WagamamaTV744
League of Legends
• Doublelift1815
Counter-Strike
• imaqtpie964
• Shiphtur195
Upcoming Events
Replay Cast
4h 5m
The PondCast
14h 5m
RSL Revival
14h 5m
Maru vs SHIN
MaNa vs MaxPax
Maestros of the Game
21h 5m
Classic vs TriGGeR
Reynor vs SHIN
OSC
1d 7h
MaNa vs SHIN
SKillous vs ShoWTimE
Bunny vs TBD
Cham vs TBD
RSL Revival
1d 14h
Reynor vs Astrea
Classic vs sOs
Maestros of the Game
1d 21h
Serral vs Ryung
ByuN vs Zoun
BSL Team Wars
1d 23h
Team Bonyth vs Team Dewalt
CranKy Ducklings
2 days
RSL Revival
2 days
GuMiho vs Cham
ByuN vs TriGGeR
[ Show More ]
Cosmonarchy
2 days
TriGGeR vs YoungYakov
YoungYakov vs HonMonO
HonMonO vs TriGGeR
Maestros of the Game
2 days
Solar vs Bunny
Clem vs Rogue
[BSL 2025] Weekly
2 days
RSL Revival
3 days
Cure vs Bunny
Creator vs Zoun
Maestros of the Game
3 days
Maru vs Lambo
herO vs ShoWTimE
BSL Team Wars
3 days
Team Hawk vs Team Sziky
Sparkling Tuna Cup
4 days
Monday Night Weeklies
4 days
Liquipedia Results

Completed

CSL Season 18: Qualifier 2
SEL Season 2 Championship
HCC Europe

Ongoing

Copa Latinoamericana 4
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
ASL Season 20
CSL 2025 AUTUMN (S18)
Maestros of the Game
Sisters' Call Cup
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025

Upcoming

LASL Season 20
2025 Chongqing Offline CUP
BSL Season 21
BSL 21 Team A
Chzzk MurlocKing SC1 vs SC2 Cup #2
RSL Revival: Season 2
EC S1
BLAST Rivals Fall 2025
Skyesports Masters 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
MESA Nomadic Masters Fall
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.