Jacobi method: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
No edit summary
en>InverseHypercube
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
The '''''chakravala'' method''' ({{lang-sa|चक्रवाल विधि}}) is a cyclic [[algorithm]] to solve [[Indeterminate equation|indeterminate]] [[quadratic equation]]s, including [[Pell's equation]]. It is commonly attributed to [[Bhāskara II]], (c. 1114 – 1185 CE)<ref name=SBI200> Hoiberg & Ramchandani – Students' Britannica India: Bhaskaracharya II, page 200</ref><ref name=Kumar23>Kumar, page 23</ref> although some attribute it to [[Jayadeva (mathematician)|Jayadeva]] (c. 950 ~ 1000 CE).<ref name=Plofker474>Plofker, page 474</ref> Jayadeva pointed out that [[Brahmagupta]]'s approach to solving equations of this type could be generalized, and he then described this general method, which was later refined by Bhāskara II in his ''[[Bijaganita]]'' treatise. He called it the Chakravala method: ''chakra'' meaning "wheel" in [[Sanskrit]], a reference to the cyclic nature of the algorithm.<ref name= Goonatilake127>Goonatilake, page 127 &ndash; 128</ref> E. O. Selenius held that no European performances at the time of Bhāskara, nor much later, exceeded its marvellous height of mathematical complexity.<ref name=SBI200/><ref name= Goonatilake127/>
Do you have a heart for customer service? If so, you can make money online answering phone calls for businesses. Additionally, you can make money by chatting online with a business's customer to help them solve problems and answer their questions. There are many customer service sites available including: LiveOps, Working Solutions [http://www.comoganhardinheiro101.com/?p=16 como ganhar dinheiro pela internet] and ACD Direct. Write online to make money. There are quite a few legitimate companies that pay people to write articles online. You can find many different companies that will pay you to write different content with varying topics. If you enjoy writing, you should do research to look for companies that will pay you to write online. <br><br><br>


This method is also known as the '''cyclic method''' and contains traces of [[mathematical induction]].<ref>Cajori (1918), p. 197<blockquote>"The process of reasoning called "Mathematical Induction" has had several independent origins. It has been traced back to the Swiss Jakob (James) Bernoulli, the Frenchman B. Pascal and P. Fermat, and the Italian F. Maurolycus. [...] By reading a little between the lines one can find traces of mathematical induction still earlier, in the writings of the Hindus and the Greeks, as, for instance, in the "cyclic method" of Bhaskara, and in Euclid's proof that the number of primes is infinite."</blockquote></ref>
If you have the ability to type quickly, you may consider transcription jobs. You need to have good headphones and the ability to keep up with what is being said. Often, the companies will have their own formatting guidelines. Familiarize yourself with these prior to beginning. Once you have, you can begin transcribing. [http://www.comoganhardinheiro101.com/?p=14 como ganhar dinheiro na internet] What do you do? Do it for pay! A number of websites offer you points when you search through them and/or make purchases of items that you were planning to buy anyway. Take the points you earn and trade them for gift cards, gifts and sometimes even cash. Sites thatprovide this opportunity include Swagbucks and Mypoints.<br><br>When you work online, the world is your oyster. You are free to do, act and be as you wish, but only if you know what you're doing. If you want to turn your online work into a profitable career, use the tips you've read today and make it happen. When you are in a [http://www.comoganhardinheiro101.com/?p=10 ganhar dinheiro pela internet] hurry to make money, reading about the topic may seem frustrating. The fact is that the more you know, the faster and better you will be at bringing in income. This article has given you the foundation you need, so build on it with experience and more learning.<br><br>Take advantage of paid per post if you have extra time and need to make money online. People will need you to make posts on their site to promote a product or give a good review, which will help them in the long run. In return, they will pay you a nice sum. Do you enjoy [http://www.comoganhardinheiro101.com/?p=66 ganhar dinheiro] writing? If so, you can make cash by becoming a freelance writer. Just be aware that most freelance writing sites prefer writers with experience. But, there are other sites that will hire you if you pass a test. It's a bonus if you have knowledge on particular subjects.<br><br>As you can see from the above article, it is easy to understand how to make money online when you get the knowledge through great tips. You can join the millions of people worldwide who make money each day, if you [http://www.comoganhardinheiro101.com/?p=90 ganhar dinheiro] pay close attention to the tips that you have just read. Making money online is a skill, and if you continue to study good tips and ideas such as these, there is no reason why you cannot make lots of money online. <br><br><br>Make extra money on the side with email marketing. This is a great way to promote a company and use the subscribers that you have to your advantage. You will simply send a message or advertise a product to your large pool of subscribers and get paid money to do so. If you plan on making serious [http://www.comoganhardinheiro101.com/caracteristicas/ ganhe dinheiro] money online, make sure you've got the right equipment for the job. There's nothing more frustrating than trying to complete a job and your Internet times out, or is so slow that you miss a bid or other opportunity. Have the necessary equipment and make sure you're [http://Ganhedinheironainternet.comoganhardinheiro101.com software] is up to date too.<br><br>If you're a performer, YouTube may help you earn income online. Make a brief video clip showcasing your talents. Are you a whiz with cosmetics? Make online tutorials that focus on makeup. Do you view yourself as a comedian? Why not film a brief comedy routine on hot news topics? When your videos have [http://www.comoganhardinheiro101.com/slide-central/ ganhar dinheiro na internet] been uploaded to the site, advertisements will be attached to your page and this will lead to payment. There are many ways you can make money online; all you need is some basic information. This article should have helped you get started. Use these tips to earn as much or as little as you need online.<br><br>


== History ==
that's a lie. Don't fall prey to these types of websites and always read the reviews before joining. Talking to experts in their field can help you to use [http://www.comoganhardinheiro101.com/?p=4 ganhe dinheiro] the Internet successfully. Try to network with people who do what you want to do. Doing these things can help give you an advantage over your competition.<br><br>Many sites require a payment for information that they claim will allow you to make a lot of money online. A good rule of thumb is to never pay anything to get ganhe dinheiro that type of information. Legitimate sites may ask you to qualify by taking a test, but they will not require any type of payment. [http://www.comoganhardinheiro101.com/?p=8 como ganhar dinheiro na internet] People love handmade goods. They are very trendy right now, so if you are artsy, go make some money! So, if you are the creative type, whether it's sewing, knitting or any other craft work, now is the time to produce your goods. Both Etsy and eBay could be generating an income for you.<br><br>Medical transcription can be a good way to make money online as a full time career. Formal training is required, and this can be [http://ganhandodinheironainternet.comoganhardinheiro101.com/ ganhe dinheiro] costly. Additionally, it is necessary to have good computer and transcription equipment that works reliably. A great deal of work is available for people who are able and willing [http://www.comoganhardinheiro101.com/?p=12 ganhar dinheiro] to invest in training and good equipment. Pay is quite substantial. You can sell your wares on the Internet to make money. Certain sites will help you to do your selling. You can personalize the t-shirts for your client. You can advertise by putting fliers up around the neighborhood or by using Craigslist. <br><br><br>If you want to do something creative, consider ways to create viral videos. Brainstorm ideas that you think are rip riotously hilarious, then start putting them into action. Post them on YouTube, turn on ads and, if they work, watch the money start rolling in! Learn about marketing to see how you can get them even more popular. [http://www.comoganhardinheiro101.com/homebox/ como ganhar dinheiro] If you know how to prepare taxes, you can earn money online. If you are you looking for more on [http://ganhedinheiro.comoganhardinheiro101.com como ganhar dinheiro] review ganhedinheiro.comoganhardinheiro101.com Apply for the necessary government licenses and then begin offering your services online. Many of today's top producers work from home with only  [http://www.comoganhardinheiro101.com/inicio/ como ficar rico] their laptop and an email address. For best results, continually advertise your services throughout the year.
[[Brahmagupta]] in 628 CE studied indeterminate quadratic equations, including [[Pell's equation]]
 
:<math>\,x^2 = Ny^2 + 1,</math>
 
for minimum integers ''x'' and ''y''. Brahmagupta could solve it for several ''N'', but not all.
 
Jayadeva (9th century) and Bhaskara (12th century) offered the first complete solution to the equation, using the ''chakravala'' method to find (for the notorious ''N''&nbsp;=&nbsp;61 case)
 
:<math>\,x = 1 766 319 049</math> and <math>\,y = 226 153 980.</math>
 
This case was first solved in [[Europe]] by [[William Brouncker, 2nd Viscount Brouncker|Brouncker]] in 1657–58 in response to a challenge by [[Pierre de Fermat|Fermat]], and a method first completely described by [[Lagrange]] in 1766.<ref>{{MacTutor|class=HistTopics|id=Pell|title=Pell's equation}}</ref> Lagrange's method, however, requires the calculation of 21 successive convergents of the [[continued fraction]] for the [[square root]] of 61, while the ''chakravala'' method is much simpler. <!-- Clas-Olaf? -->Selenius, in his assessment of the ''chakravala'' method, states
 
:"The method represents a best approximation algorithm of minimal length that, owing to several minimization properties, with minimal effort and avoiding large numbers automatically produces the best solutions to the equation. The ''chakravala'' method anticipated the European methods by more than a thousand years. But no European performances in the whole field of [[algebra]] at a time much later than Bhaskara's, nay nearly equal up to our times, equalled the marvellous complexity and ingenuity of ''chakravala''."<ref name=SBI200/><ref name= Goonatilake127/>
 
[[Hermann Hankel]] calls the ''chakravala'' method
:"the finest thing achieved in the theory of numbers before Lagrange."<ref>Kaye (1919), p. 337.</ref>
 
==The method==
The chakravala method for solving Pell's equation is based on the observation by Brahmagupta (see [[Brahmagupta's identity]]) that
 
:<math>(x_1^2 - Ny_1^2)(x_2^2 - Ny_2^2) = (x_1x_2 + Ny_1y_2)^2 - N(x_1y_2 + x_2y_1)^2</math>
 
This defines a "composition" (''samāsa'') of two triples <math>(x_1, y_1, k_1)</math> and <math>(x_2, y_2, k_2)</math> that are solutions of <math>x^2 - Ny^2 = k</math>, to generate the new triple
 
:<math>(x_1x_2 + Ny_1y_2 \,,\, x_1y_2 + x_2y_1 \,,\, k_1k_2).</math>
 
In the general method, the main idea is that any triple <math>(a,b,k)</math> (that is, one which satisfies <math>a^2 - Nb^2 = k</math>) can be composed with the trivial triple <math>(m, 1, m^2 - N)</math> to get the new triple <math>(am + Nb, a+bm, k(m^2-N))</math> for any ''m''. Assuming we started with a triple for which <math>\gcd(a,b)=1</math>, this can be scaled down by ''k'' (this is [[Bhaskara's lemma]]):
 
:<math>a^2 - Nb^2 = k \implies \left(\frac{am+Nb}{k}\right)^2 - N\left(\frac{a+bm}{k}\right)^2 = \frac{m^2-N}{k},</math>
or, since the signs inside the squares do not matter,
:<math>\left(\frac{am+Nb}{|k|}\right)^2 - N\left(\frac{a+bm}{|k|}\right)^2 = \frac{m^2-N}{k}.</math>
 
When a positive integer ''m'' is chosen so that (''a''&nbsp;+&nbsp;''bm'')/''k'' is an integer, so are the other two numbers in the triple. Among such ''m'', the method chooses one that minimizes the absolute value of ''m''<sup>2</sup>&nbsp;&minus;&nbsp;''N'' and hence that of (''m''<sup>2</sup>&nbsp;&minus;&nbsp;''N'')/''k''. Then, (''a'',&nbsp;''b'',&nbsp;''k'') is replaced with the new triple given by the above equation, and the process is repeated. This method always terminates with a solution (proved by Lagrange in 1768).<ref name=stillwell>{{citation | year=2002 | title = Mathematics and its history | author1=[[John Stillwell]] | edition=2 | publisher=Springer | isbn=978-0-387-95336-6 | pages=72–76 | url=http://books.google.com/books?id=WNjRrqTm62QC&pg=PA72}}</ref>
Optionally, we can stop when ''k'' is ±1, ±2, or ±4, as Brahmagupta's approach gives a solution for those cases.
 
==Examples==
===''n'' = 61===
The ''n''&nbsp;=&nbsp;61 case (determining an integer solution satisfying <math>a^2 - 61b^2 = 1</math>), issued as a challenge by Fermat many centuries later, was given by Bhaskara as an example.<ref name=stillwell/>
 
We start with a solution <math>a^2 - 61b^2 = k</math> for any ''k'' found by any means. In this case we can let ''b'' be 1, thus, since <math>8^2 - 61\cdot1^2 = 3</math>, we have the triple <math>(a,b,k) = (8, 1, 3)</math>. Composing it with <math>(m, 1, m^2-61)</math> gives the triple <math>(8m+61, 8+m, 3(m^2-61))</math>, which is scaled down (or [[Bhaskara's lemma]] is directly used) to get:
: <math>\left( \frac{8m+61}{3}, \frac{8+m}{3}, \frac{m^2-61}{3} \right).</math>
 
For 3 to divide <math>8+m</math> and <math>|m^2-61|</math> to be minimal, we choose <math>m=7</math>, so that we have the triple <math>(39, 5, -4)</math>. Now that ''k'' is &minus;4, we can use Brahmagupta's idea: it can be scaled down to the rational solution <math>(39/2, 5/2, -1)\,</math>, which composed with itself three times, with <math>m={7,11,9}</math> respectively, when k becomes square and scaling can be applied, this gives <math>(1523/2, 195/2, 1)\,</math>. Finally, such procedure can be repeated until the solution is found (requiring 9 additional self-compositions and 4 additional square-scalings): <math>(1766319049,\, 226153980,\, 1)</math>. This is the minimal integer solution.
 
===''n'' = 67===
Suppose we are to solve <math>x^2 - 67y^2 = 1</math> for ''x'' and ''y''.<ref>The example in this section is given (with notation <math>Q_n</math> for ''k'', <math>P_n</math> for ''m'', etc.) in: {{citation | year=2009 | title = Solving the Pell equation | author1=Michael J. Jacobson | author2=Hugh C. Williams | publisher=Springer | isbn=978-0-387-84922-5 | page=31 | url=http://books.google.com/books?id=2INzqrEUGzAC&pg=PA31}}</ref>
 
We start with a solution <math>a^2 - 67b^2 = k</math> for any ''k'' found by any means; in this case we can let ''b'' be 1, thus producing <math>8^2 - 67\cdot1^2 = -3</math>. At each step, we find an ''m''&nbsp;>&nbsp;0 such that ''k'' divides ''a''&nbsp;+&nbsp;''bm'', and |''m''<sup>2</sup>&nbsp;&minus;&nbsp;67| is minimal. We then update ''a'', ''b'', and ''k'' to <math>\frac{am+Nb}{|k|}, \frac{a+bm}{|k|}, \text{ and }\frac{m^2-N}{k}</math> respectively.
 
;First iteration
We have <math>(a,b,k) = (8,1,-3)</math>. We want a positive integer ''m'' such that ''k'' divides ''a''&nbsp;+&nbsp;''bm'', i.e. 3 divides 8 + m, and |''m''<sup>2</sup>&nbsp;&minus;&nbsp;67| is minimal. The first condition implies that ''m'' is of the form 3''t'' + 1 (i.e. 1, 4, 7, 10,… etc.), and among such ''m'', the minimal value is attained for ''m'' = 7. Replacing (''a'',&nbsp;''b'',&nbsp;''k'') with <math>\left(\frac{am+Nb}{|k|}, \frac{a+bm}{|k|}, \frac{m^2-N}{k}\right)</math>, we get the new values <math>a = (8\cdot7+67\cdot1)/3 = 41, b = (8 + 1\cdot7)/3 = 5, k = (7^2-67)/(-3) = 6</math>. That is, we have the new solution:
: <math>41^2 - 67\cdot(5)^2 = 6.</math>
 
At this point, one round of the cyclic algorithm is complete.
 
;Second iteration
We now repeat the process. We have <math>(a,b,k) = (41,5,6)</math>. We want an ''m''&nbsp;>&nbsp;0 such that ''k'' divides ''a''&nbsp;+&nbsp;''bm'', i.e. 6 divides 41&nbsp;+&nbsp;5''m'', and |''m''<sup>2</sup>&nbsp;&minus;&nbsp;67| is minimal. The first condition implies that ''m'' is of the form 6''t''&nbsp;+&nbsp;5 (i.e. 5, 11, 17,… etc.), and among such ''m'', |''m''<sup>2</sup>&nbsp;&minus;&nbsp;67| is minimal for ''m''&nbsp;=&nbsp;5. This leads to the new solution ''a''&nbsp;=&nbsp;(41⋅5&nbsp;+&nbsp;67⋅5)/6, etc.:
 
:<math>90^2 - 67 \cdot 11^2 = -7.</math>
 
;Third iteration
For 7 to divide 90 + 11''m'', we must have ''m'' = 2&nbsp;+&nbsp;7''t'' (i.e. 2, 9, 16,… etc.) and among such ''m'', we pick ''m'' = 9.
 
:<math>221^2 - 67\cdot 27^2 = -2.</math>
 
;Final solution
At this point, we could continue with the cyclic method (and it would end, after seven iterations), but since the right-hand side is among ±1, ±2, ±4, we can also use Brahmagupta's observation directly. Composing the triple (221, 27, &minus;2) with itself, we get
:<math> \left(\frac{221^2 + 67\cdot27^2}{2}\right)^2 - 67\cdot(221\cdot27)^2 = 1,</math>
 
that is, we have the integer solution:
:<math> 48842^2 - 67 \cdot 5967^2 = 1.</math>
 
This equation approximates <math>\sqrt{67}</math> (as 48842/5967) to within a margin of about 2 × 10<sup>-9</sup>.
 
==Notes==
{{reflist}}
 
==References==
*[[Florian Cajori]] (1918), Origin of the Name "Mathematical Induction", ''[[The American Mathematical Monthly]]'' '''25''' (5), p. 197-201.
*George Gheverghese Joseph, ''The Crest of the Peacock: Non-European Roots of Mathematics'' (1975).
*G. R. Kaye, "Indian Mathematics", ''Isis'' '''2''':2 (1919), p. 326–356.
*C. O. Selenius, "Rationale of the chakravala process of Jayadeva and Bhaskara II", ''Historia Mathematica'' '''2''' (1975), pp. 167-184.
*C. O. Selenius, "Kettenbruch theoretische Erklarung der zyklischen Methode zur Losung der Bhaskara-Pell-Gleichung", ''Acta Acad. Abo. Math. Phys.'' '''23''' (10) (1963).
*Hoiberg, Dale & Ramchandani, Indu (2000). ''Students' Britannica India''. Mumbai: Popular Prakashan. ISBN 0-85229-760-2
*Goonatilake, Susantha (1998). ''Toward a Global Science: Mining Civilizational Knowledge''. Indiana: Indiana University Press. ISBN 0-253-33388-1.
*Kumar, Narendra (2004). ''Science in Ancient India''. Delhi: Anmol Publications Pvt Ltd. ISBN 81-261-2056-8
*Ploker, Kim (2007) "Mathematics in India". ''The Mathematics of Egypt, Mesopotamia, China, India, and Islam: A Sourcebook'' New Jersey: Princeton University Press. ISBN 0-691-11485-4
*{{cite book
  | last = Edwards
  | first = Harold
  | title = Fermat's Last Theorem
  | publisher = [[Springer Science+Business Media|Springer]]
  | location = New York
  | date = 1977
  | isbn = 0-387-90230-9}}
 
==External links==
*[http://www-groups.dcs.st-and.ac.uk/~history/Miscellaneous/Pearce/Lectures/Ch8_6.html Introduction to chakravala]
 
{{number theoretic algorithms}}
 
[[Category:Brahmagupta]]
[[Category:Diophantine equations]]
[[Category:Number theoretic algorithms]]
[[Category:Indian mathematics]]

Latest revision as of 23:54, 13 November 2014

Do you have a heart for customer service? If so, you can make money online answering phone calls for businesses. Additionally, you can make money by chatting online with a business's customer to help them solve problems and answer their questions. There are many customer service sites available including: LiveOps, Working Solutions como ganhar dinheiro pela internet and ACD Direct. Write online to make money. There are quite a few legitimate companies that pay people to write articles online. You can find many different companies that will pay you to write different content with varying topics. If you enjoy writing, you should do research to look for companies that will pay you to write online.


If you have the ability to type quickly, you may consider transcription jobs. You need to have good headphones and the ability to keep up with what is being said. Often, the companies will have their own formatting guidelines. Familiarize yourself with these prior to beginning. Once you have, you can begin transcribing. como ganhar dinheiro na internet What do you do? Do it for pay! A number of websites offer you points when you search through them and/or make purchases of items that you were planning to buy anyway. Take the points you earn and trade them for gift cards, gifts and sometimes even cash. Sites thatprovide this opportunity include Swagbucks and Mypoints.

When you work online, the world is your oyster. You are free to do, act and be as you wish, but only if you know what you're doing. If you want to turn your online work into a profitable career, use the tips you've read today and make it happen. When you are in a ganhar dinheiro pela internet hurry to make money, reading about the topic may seem frustrating. The fact is that the more you know, the faster and better you will be at bringing in income. This article has given you the foundation you need, so build on it with experience and more learning.

Take advantage of paid per post if you have extra time and need to make money online. People will need you to make posts on their site to promote a product or give a good review, which will help them in the long run. In return, they will pay you a nice sum. Do you enjoy ganhar dinheiro writing? If so, you can make cash by becoming a freelance writer. Just be aware that most freelance writing sites prefer writers with experience. But, there are other sites that will hire you if you pass a test. It's a bonus if you have knowledge on particular subjects.

As you can see from the above article, it is easy to understand how to make money online when you get the knowledge through great tips. You can join the millions of people worldwide who make money each day, if you ganhar dinheiro pay close attention to the tips that you have just read. Making money online is a skill, and if you continue to study good tips and ideas such as these, there is no reason why you cannot make lots of money online.


Make extra money on the side with email marketing. This is a great way to promote a company and use the subscribers that you have to your advantage. You will simply send a message or advertise a product to your large pool of subscribers and get paid money to do so. If you plan on making serious ganhe dinheiro money online, make sure you've got the right equipment for the job. There's nothing more frustrating than trying to complete a job and your Internet times out, or is so slow that you miss a bid or other opportunity. Have the necessary equipment and make sure you're software is up to date too.

If you're a performer, YouTube may help you earn income online. Make a brief video clip showcasing your talents. Are you a whiz with cosmetics? Make online tutorials that focus on makeup. Do you view yourself as a comedian? Why not film a brief comedy routine on hot news topics? When your videos have ganhar dinheiro na internet been uploaded to the site, advertisements will be attached to your page and this will lead to payment. There are many ways you can make money online; all you need is some basic information. This article should have helped you get started. Use these tips to earn as much or as little as you need online.

that's a lie. Don't fall prey to these types of websites and always read the reviews before joining. Talking to experts in their field can help you to use ganhe dinheiro the Internet successfully. Try to network with people who do what you want to do. Doing these things can help give you an advantage over your competition.

Many sites require a payment for information that they claim will allow you to make a lot of money online. A good rule of thumb is to never pay anything to get ganhe dinheiro that type of information. Legitimate sites may ask you to qualify by taking a test, but they will not require any type of payment. como ganhar dinheiro na internet People love handmade goods. They are very trendy right now, so if you are artsy, go make some money! So, if you are the creative type, whether it's sewing, knitting or any other craft work, now is the time to produce your goods. Both Etsy and eBay could be generating an income for you.

Medical transcription can be a good way to make money online as a full time career. Formal training is required, and this can be ganhe dinheiro costly. Additionally, it is necessary to have good computer and transcription equipment that works reliably. A great deal of work is available for people who are able and willing ganhar dinheiro to invest in training and good equipment. Pay is quite substantial. You can sell your wares on the Internet to make money. Certain sites will help you to do your selling. You can personalize the t-shirts for your client. You can advertise by putting fliers up around the neighborhood or by using Craigslist.


If you want to do something creative, consider ways to create viral videos. Brainstorm ideas that you think are rip riotously hilarious, then start putting them into action. Post them on YouTube, turn on ads and, if they work, watch the money start rolling in! Learn about marketing to see how you can get them even more popular. como ganhar dinheiro If you know how to prepare taxes, you can earn money online. If you are you looking for more on como ganhar dinheiro review ganhedinheiro.comoganhardinheiro101.com Apply for the necessary government licenses and then begin offering your services online. Many of today's top producers work from home with only como ficar rico their laptop and an email address. For best results, continually advertise your services throughout the year.