• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

math help!!! (diff eq.)

I was here last week asking for help when its like y'' + 4y = cos x.. I understand those now.. like how to guess that y = A cos x or whatever.. but when the right side = something funky, I'm clueless =(
 
Originally posted by: DLeRium
yup... ok so I got it I think.. you guess y = x/2

Yes, but that's just the particular part. You still need the homogenous part of the solution (with the two constants you solve for with the initial conditions). One of the constants turns out to be equal to zero, but the other one is something really nasty.
 
Originally posted by: DLeRium
y'' +2y = x
y(0) = 0, y(pi) = 0

Thanks!

here's what i get:

try y=ax+b
substitung into original equation: 0+2ax+2b=x
a=1, b=0
PSDE: y=x/2


HDE: y''+2y=0
CP: r²+2
roots: 0+/- isqurt(2)
GSHDE: y=Ccos(sqrt2)x+Dsin(sqrt2)x
using the inital values, y(0)=Ccos(0)+Dsin(0)=0
and so, C+0D=0, c=0
GSHDE: y=Dsin(sqrt2)x
using the initial values, y(pi)=Dsin(sqrt2)pi=0
and so, D=0

Solution to the IVP: y=x/2

dam, i just noticed this doesnt hold true for the second initial condition, not sure where i wetnt wrong. hmm...
 
Originally posted by: cirthix
Originally posted by: DLeRium
y'' +2y = x
y(0) = 0, y(pi) = 0

Thanks!

here's what i get:

try y=ax+b
substitung into original equation: 0+2ax+2b=x
a=1, b=0
PSDE: y=x/2


HDE: y''+2y=0
CP: r²+2
roots: 0+/- isqurt(2)
GSHDE: y=Ccos(sqrt2)x+Dsin(sqrt2)x
using the inital values, y(0)=Ccos(0)+Dsin(0)=0
and so, C+0D=0, c=0
GSHDE: y=Dsin(sqrt2)x
using the initial values, y(pi)=Dsin(sqrt2)pi=0
and so, D=0

Solution to the IVP: y=x/2

dam, i just noticed this doesnt hold true for the second initial condition, not sure where i wetnt wrong. hmm...

You went wrong cause you didn't include the particular solution when solving for the constants.
 
Originally posted by: chuckywang
Originally posted by: cirthix
Originally posted by: DLeRium
y'' +2y = x
y(0) = 0, y(pi) = 0

Thanks!

here's what i get:

try y=ax+b
substitung into original equation: 0+2ax+2b=x
a=1, b=0
PSDE: y=x/2


HDE: y''+2y=0
CP: r²+2
roots: 0+/- isqurt(2)
GSHDE: y=Ccos(sqrt2)x+Dsin(sqrt2)x
using the inital values, y(0)=Ccos(0)+Dsin(0)=0
and so, C+0D=0, c=0
GSHDE: y=Dsin(sqrt2)x
using the initial values, y(pi)=Dsin(sqrt2)pi=0
and so, D=0

Solution to the IVP: y=x/2

dam, i just noticed this doesnt hold true for the second initial condition, not sure where i wetnt wrong. hmm...

You went wrong cause you didn't include the particular solution when solving for the constants.

doh! you're right. i do that pretty often 😱
 
Back
Top