How to solve a second degree derivative with another variable
Show older comments
(M)'' + N*M= 0;
Is it possible to solve the above equation if N is not a constant ?
16 Comments
Birdman
on 31 Jan 2018
By not a constant, you mean it is dependent on a variable? Like N(x)?
Dereje
on 31 Jan 2018
Torsten
on 31 Jan 2018
And x varies with t ?
Jan
on 31 Jan 2018
Do you want to solve this symbolically or numerically?
Dereje
on 31 Jan 2018
Dereje
on 31 Jan 2018
Jan
on 31 Jan 2018
Maybe? Please decide this clearly.
Post more details by editing the question. Write down explicitly, what you want to solve, not just the rough formulation with the two characters N and M, but the real functions you have. Convert the 2nd order equation to a system of 1st order equations.
Torsten
on 31 Jan 2018
If x does not depend on t, then N is constant.
John D'Errico
on 31 Jan 2018
This is not a question about MATLAB at all, but simple mathematics. As such, there is no reason to post it on MATLAB Answers. Worse, it is very unclear, even after several responses by you in the comments as to what the real problem is.
However I'll point out that if you have a differential equation in the form posed, where both M(t) and N(t) are unknown functions, then no, a single differential equation is insufficient to infer the relations M(t) AND N(t).
If N depends on another variable x, then again, you CANNOT predict the relationship N(x) if that relationship is unknown.
If however, N(x) is a known function, then for ANY value of x, just predict N(x), and THEN solve the ODE, which is now a constant coefficient ODE, and in this example trivial to solve.
Dereje
on 31 Jan 2018
Dereje
on 31 Jan 2018
Torsten
on 31 Jan 2018
If N does not depend on t (or another quantity that depends on t), what does it depend on if it's not constant ?
Dereje
on 31 Jan 2018
Dereje
on 31 Jan 2018
Torsten
on 1 Feb 2018
Form what you wrote above, I suspect that both M and N only depend on z and a variable t is not involved. Thus your equation would read
M''(z)+N(z)*M(z)=0
Is this correct ?
Best wishes
Torsten.
Dereje
on 1 Feb 2018
Answers (0)
Categories
Find more on Mathematics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!