{"id":1692,"date":"2025-05-25T07:47:55","date_gmt":"2025-05-25T07:47:55","guid":{"rendered":"https:\/\/www.mathros.net.ua\/en\/?p=1692"},"modified":"2025-11-06T11:41:51","modified_gmt":"2025-11-06T11:41:51","slug":"adams-method","status":"publish","type":"post","link":"https:\/\/www.mathros.net.ua\/en\/adams-method.html","title":{"rendered":"Adams Method Explained Simply: What It Is and How It Works"},"content":{"rendered":"<p>The Adams method is one of the most efficient numerical methods for solving ordinary differential equations. It is widely used by students, engineers, and scientists. <strong>What makes it so popular<\/strong>? The answer is simple: the Adams method allows you to quickly obtain highly accurate results without requiring extensive calculations. Let&#8217;s take a closer look at how exactly the Adams method works and why you should use it for practical problems.<\/p>\n<h2>Single-Step and Multi-Step Methods: What\u2019s the Difference?<\/h2>\n<p>First, let&#8217;s briefly recall <a title=\"How Euler\u2019s Method Works\" href=\"https:\/\/www.mathros.net.ua\/en\/eulers-method.html\">Euler\u2019s method<\/a>, which most students are familiar with. It uses only one previous point to find the next value of a function. <strong>Such an approach is simple, but is it always accurate<\/strong>? Unfortunately, no. Results often have significant errors.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-10024899 size-full\" src=\"https:\/\/www.mathros.net.ua\/en\/wp-content\/uploads\/2025\/05\/adams-method1.jpg\" alt=\"How Euler's method works\" width=\"600\" height=\"350\" \/><\/p>\n<p>This is where multi-step methods, including the Adams method, come in handy. They use several previous points\u2014not just one\u2014to determine the next value of a function. <strong>Thanks to this, multi-step methods provide much greater accuracy<\/strong>. You get fewer errors without doing additional calculations. Convenient, isn&#8217;t it?<\/p>\n<h2>How the Adams Method Works: A Simple Explanation of the Mathematical Basis<\/h2>\n<p>To understand the essence of the Adams method, let&#8217;s assume we have a Cauchy problem of the form:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-10024901 size-full\" src=\"https:\/\/www.mathros.net.ua\/en\/wp-content\/uploads\/2025\/05\/adams-method2.jpg\" alt=\"Cauchy problem\" width=\"189\" height=\"15\" \/><\/p>\n<p>Suppose we already have several approximate solution values: <em>y<sub>n<\/sub>, y<sub>n-1<\/sub>, y<sub>n-2<\/sub>,&#8230;<\/em>,\u00a0and the corresponding function values <em>f<sub>n<\/sub>=f(x<sub>n<\/sub>, y<sub>n<\/sub>), f<sub>n-1<\/sub>=f(x<sub>n-1<\/sub>, y<sub>n-1<\/sub>), f<sub>n-2<\/sub>=f(x<sub>n-2<\/sub>, y<sub>n-2<\/sub>),&#8230;<\/em>.<\/p>\n<p>Instead of using information from only one point, we construct an interpolation polynomial passing through several previous points. We then integrate this polynomial from <em>x<sub>n<\/sub><\/em> to <em>x<sub>n+1<\/sub><\/em>. <strong>This gives us the next value <em>y<sub>n+1<\/sub><\/em><\/strong>:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-10024903 size-full\" src=\"https:\/\/www.mathros.net.ua\/en\/wp-content\/uploads\/2025\/05\/adams-method3.jpg\" alt=\"Adams method\" width=\"129\" height=\"47\" \/><\/p>\n<p>Thus, the Adams method allows us to account for significantly more information, resulting in more accurate results.<\/p>\n<h2>Newton\u2019s Interpolation Polynomial: The Core Idea of the Adams Method<\/h2>\n<p>Where does this polynomial come from? It is based on <a title=\"Newton polynomial\" href=\"https:\/\/en.wikipedia.org\/wiki\/Newton_polynomial\" target=\"_blank\" rel=\"nofollow noopener\">Newton\u2019s polynomial<\/a>, which precisely approximates a function at several known points. The general form of Newton\u2019s polynomial is:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-10024908 size-full\" src=\"https:\/\/www.mathros.net.ua\/en\/wp-content\/uploads\/2025\/05\/adams-method5.jpg\" alt=\"Newton\u2019s polynomial\" width=\"777\" height=\"30\" \/><\/p>\n<p><strong>This polynomial is easily constructed from the known values at previous points<\/strong>, and integrating it gives straightforward formulas for calculating the subsequent values of the function. That&#8217;s how different variants of the Adams method arise, depending on the number of points we use.<\/p>\n<h2>Adams Method Formulas for Different Numbers of Points: A Brief Overview<\/h2>\n<p>To see how this approach works in practice, let&#8217;s consider a few simple examples:<\/p>\n<ul>\n<li><strong>Euler\u2019s Method (<em>j=0<\/em>)<\/strong>: uses only one point; the formula is simple.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-10024909 size-full\" src=\"https:\/\/www.mathros.net.ua\/en\/wp-content\/uploads\/2025\/05\/adams-method6.jpg\" alt=\"Euler\u2019s method\" width=\"181\" height=\"47\" \/><\/p>\n<ul>\n<li><strong>Two-step Adams Method (<em>j=1<\/em>)<\/strong>: considers two points; the formula is more accurate.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-10024912 size-full\" src=\"https:\/\/www.mathros.net.ua\/en\/wp-content\/uploads\/2025\/05\/adams-method7.jpg\" alt=\"Two-step Adams method\" width=\"369\" height=\"47\" \/><\/p>\n<ul>\n<li><strong>Three-step Adams Method (<em>j=2<\/em>)<\/strong>: considers three points; results are even better.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-10024914 size-full\" src=\"https:\/\/www.mathros.net.ua\/en\/wp-content\/uploads\/2025\/05\/adams-method8.jpg\" alt=\"Three-step Adams method\" width=\"693\" height=\"49\" \/><\/p>\n<ul>\n<li><strong>Four-step Adams-Bashforth Method (<em>j=3<\/em>)<\/strong>: four points provide extremely high accuracy.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-10024916 size-full\" src=\"https:\/\/www.mathros.net.ua\/en\/wp-content\/uploads\/2025\/05\/adams-method9.jpg\" alt=\"Four-step Adams-Bashforth method\" width=\"836\" height=\"78\" \/><\/p>\n<p>As you can see, <strong>the more points we consider, the better results we obtain<\/strong>.<\/p>\n<h2>Why Adams Method Is an Excellent Choice?<\/h2>\n<p>The Adams method combines simplicity, speed, and accuracy. Its benefits are clear:<\/p>\n<ul>\n<li><strong>High accuracy of results<\/strong> due to the use of more information.<\/li>\n<li><strong>Computational speed<\/strong>\u2014no need for many steps to achieve accurate solutions.<\/li>\n<li><strong>Ease of implementation<\/strong> in computer programs, making this method accessible for students.<\/li>\n<\/ul>\n<p>Thus, the Adams method is more than just another numerical method. It&#8217;s a powerful tool that significantly simplifies your work with differential equations and helps you quickly obtain reliable results.<\/p>\n<h2>Practical Application of the Numerical Method: Step-by-Step Problem Analysis<\/h2>\n<p>Now that we&#8217;ve covered the theory, it&#8217;s time to see exactly how the Adams method is used in practical problems. After all, it&#8217;s one thing to read formulas and quite another to see how they actually work. To better understand this, let&#8217;s examine a specific problem and carefully go through each step of its solution.<\/p>\n<h6>Example 1: Consider the Differential Equation y&#8217;=y-x With the Initial Condition y(0)=1.5. Our Goal is to Find an Approximate Solution For This Equation on the Interval [0, 1], and Then Compare These Approximate Results With the Exact Solution Given By the Formula: y(x)=0.5\u22c5e<sup>x<\/sup>+x+1<\/h6>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-10024931 size-full\" src=\"https:\/\/www.mathros.net.ua\/en\/wp-content\/uploads\/2025\/05\/adams-method14.jpg\" alt=\"Adams Method Numerical Example\" width=\"618\" height=\"350\" \/><\/p>\n<p>Since the Adams method is a multi-step method, we need initial points to start the calculation. How do we get them? The easiest way is to use the <a title=\"Runge-Kutta Method Step by Step\" href=\"https:\/\/www.mathros.net.ua\/en\/runge-kutta-method.html\">fourth-order Runge-Kutta method<\/a>, which quickly provides accurate initial values.<\/p>\n<p>First, we divide the interval <em>[0,1]<\/em> into <em>8<\/em> equal segments. Thus, our step size will be <em>h=0.125<\/em>. Therefore, we obtain the following points:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-10024921 size-full\" src=\"https:\/\/www.mathros.net.ua\/en\/wp-content\/uploads\/2025\/05\/adams-method10.jpg\" alt=\"Adams Method Numerical Example\" width=\"551\" height=\"13\" \/><\/p>\n<p>We can quickly find the initial four function values using an <a title=\"Runge-Kutta Method Calculator\" href=\"https:\/\/www.mathros.net.ua\/en\/runge-kutta-method-calculator\">online Runge-Kutta calculator<\/a>. By entering our equation and initial conditions, we get these results:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1748 aligncenter\" src=\"https:\/\/www.mathros.net.ua\/en\/wp-content\/uploads\/2025\/05\/adams-method16-1.jpg\" alt=\"Results Obtained From the Online Calculator\" width=\"649\" height=\"1325\" srcset=\"https:\/\/www.mathros.net.ua\/en\/wp-content\/uploads\/2025\/05\/adams-method16-1.jpg 649w, https:\/\/www.mathros.net.ua\/en\/wp-content\/uploads\/2025\/05\/adams-method16-1-147x300.jpg 147w, https:\/\/www.mathros.net.ua\/en\/wp-content\/uploads\/2025\/05\/adams-method16-1-502x1024.jpg 502w\" sizes=\"(max-width: 649px) 100vw, 649px\" \/><\/p>\n<p>Now, having these initial values, we apply the fourth-order Adams-Bashforth method for subsequent points:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-10024924 size-full\" src=\"https:\/\/www.mathros.net.ua\/en\/wp-content\/uploads\/2025\/05\/adams-method12.jpg\" alt=\"Adams Method Numerical Example\" width=\"709\" height=\"172\" \/><\/p>\n<p>So, we&#8217;ve found approximate function values using the Adams method. Now let&#8217;s compare them with the exact values and calculate the errors:<\/p>\n<table class=\"simple-table\">\n<thead>\n<tr>\n<th><em>x<\/em><\/th>\n<th>Approximate <em>y<\/em><\/th>\n<th>Exact <em>y<\/em><\/th>\n<th>Error<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>0.5<\/td>\n<td>2.33796<\/td>\n<td>2.32436<\/td>\n<td>0.0136<\/td>\n<\/tr>\n<tr>\n<td>0.625<\/td>\n<td>2.57661<\/td>\n<td>2.55912<\/td>\n<td>0.01749<\/td>\n<\/tr>\n<tr>\n<td>0.75<\/td>\n<td>2.82681<\/td>\n<td>2.8085<\/td>\n<td>0.01831<\/td>\n<\/tr>\n<tr>\n<td>0.875<\/td>\n<td>3.093<\/td>\n<td>3.07444<\/td>\n<td>0.01856<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>3.38011<\/td>\n<td>3.35914<\/td>\n<td>0.02097<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>As you can see, <strong>the results obtained using the Adams method are very close to the exact values<\/strong>. This is an excellent outcome considering that we&#8217;ve completed only eight steps. If we choose a smaller step size, the accuracy will become even greater!<\/p>\n<p>Thus, the <strong>Adams method is not only theoretically sound for numerical problem solving<\/strong> but also a<strong> practically effective tool <\/strong>that allows you to easily obtain reliable results even for complex tasks.<\/p>\n<h2>Want to Learn More? Other Interesting Numerical Methods for Solving Differential Equations<\/h2>\n<p>The Adams method is indeed one of the most effective approaches to numerically solving differential equations. However, there are many other equally interesting and useful methods. If you found this topic intriguing and want to dive deeper, we recommend exploring these numerical methods:<\/p>\n<ol>\n<li><a title=\"Milne's Method\" href=\"https:\/\/www.mathros.net.ua\/en\/\">Milne&#8217;s Method<\/a> &#8211; This multi-step method allows predicting solutions, then refining them using special correction formulas for high accuracy.<\/li>\n<li><a title=\"Modified Euler\u2019s Method\" href=\"https:\/\/www.mathros.net.ua\/en\/modified-eulers-method.html\">Modified Euler\u2019s Method<\/a> &#8211; This is an improved version of the classical method, considering the average values of the function between points to achieve greater accuracy with minimal effort.<\/li>\n<li><a title=\"Runge-Kutta-Merson Method\" href=\"https:\/\/www.mathros.net.ua\/en\/runge-kutta-merson-method.html\">Runge-Kutta-Merson Method<\/a> &#8211; One of the most accurate numerical methods, automatically controlling accuracy by adjusting the integration step size during calculations.<\/li>\n<\/ol>\n<p><strong>Each of these methods has unique features<\/strong>, so you&#8217;ll easily find the best fit for any of your problems!<\/p>\n<h2>Turning Math into Code: Creating Your Own Solution<\/h2>\n<p>Understanding numerical methods opens exciting opportunities not only in mathematics but also in programming. Now that you&#8217;ve thoroughly grasped how the Adams method works, it&#8217;s time to <strong>transform your knowledge into something practical and beneficial<\/strong>! You can choose any programming language that suits you best: <a title=\"What is Python\" href=\"https:\/\/www.mathros.net.ua\/en\/what-is-python.html\"><em>Python<\/em><\/a>, <em>Java<\/em>, <em>C++<\/em>, or even <em>JavaScript<\/em>\u2014the key is to find it comfortable and interesting.<\/p>\n<p>To simplify creating your own program, use the flowchart below. It illustrates the Adams method logic step by step, making it easier to quickly write working code. So go ahead, <strong>experiment, and enjoy the process of developing your very own solution<\/strong>!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-10024929 size-full\" src=\"https:\/\/www.mathros.net.ua\/en\/wp-content\/uploads\/2025\/05\/adams-method13.jpg\" alt=\"Flowchart Image\" width=\"600\" height=\"887\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Adams method is one of the most efficient numerical methods for solving ordinary differential equations. It is widely used<\/p>\n","protected":false},"author":1,"featured_media":1693,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"template-centered.php","format":"standard","meta":{"footnotes":""},"categories":[207],"tags":[326,325,211,134,209],"class_list":["post-1692","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-solving-ordinary-differential-equations","tag-adams-bashforth","tag-adams-method","tag-differential-equations","tag-numerical-methods","tag-solving-odes"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.mathros.net.ua\/en\/wp-json\/wp\/v2\/posts\/1692","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mathros.net.ua\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mathros.net.ua\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mathros.net.ua\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mathros.net.ua\/en\/wp-json\/wp\/v2\/comments?post=1692"}],"version-history":[{"count":5,"href":"https:\/\/www.mathros.net.ua\/en\/wp-json\/wp\/v2\/posts\/1692\/revisions"}],"predecessor-version":[{"id":1749,"href":"https:\/\/www.mathros.net.ua\/en\/wp-json\/wp\/v2\/posts\/1692\/revisions\/1749"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mathros.net.ua\/en\/wp-json\/wp\/v2\/media\/1693"}],"wp:attachment":[{"href":"https:\/\/www.mathros.net.ua\/en\/wp-json\/wp\/v2\/media?parent=1692"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mathros.net.ua\/en\/wp-json\/wp\/v2\/categories?post=1692"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mathros.net.ua\/en\/wp-json\/wp\/v2\/tags?post=1692"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}