Computational Science Stack Exchange is a question and answer site for scientists using computers to solve scientific problems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a feeling my question is a very basic one, but I am not at all well versed in computational sciences.

My equations are of the form:

$$ y \in \mathbb{R}^3 \\ \dot{y}(t) = f(y(t)) \\ y_1(0) = a \\ y_2(T) = b \\ y_3(T) = c \\ $$

Is there a known method to numerically solve such a set of equations?

share|improve this question
Is there a particular software package or language you're looking to solve this problem in? For someone not well versed in computational sciences, it might help with software recommendations. – Geoff Oxberry Dec 28 '12 at 7:05
Any introductory text on numerical methods will have a chapter on this topic. – David Ketcheson Dec 28 '12 at 20:02
What are $y_1$, $y_2$ and $y_3$ and how do they relate to $y(t)$? – ja72 Jan 4 '13 at 17:26
up vote 2 down vote accepted

You should be able to solve this problem using a multiple shooting method; you need only find initial conditions $y_{2}(0)$ and $y_{3}(0)$ that yield a solution consistent with your stated "final conditions". These values are typically called "boundary values"; your problem is called a two-point boundary value problem. It is worth noting that multiple shooting methods are more numerically stable than single shooting methods.

share|improve this answer
Thank you for the reply and for correcting my amateur wording of the question. – user3489 Dec 29 '12 at 6:08
No worries! I've had similar troubles getting up to speed in new fields. Sometimes, you just need a result to get a paper done, not a thorough grounding in a subject. As computational scientists, we should be helping people out with questions like yours, and I want to be a good ambassador for the community, because positive experiences are how we get people involved. – Geoff Oxberry Dec 29 '12 at 7:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.