Equations: Difference between revisions

From Vigyanwiki
No edit summary
No edit summary
 
(29 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox person
| name              = Equations
| image              = [[File:Algebraic equation notation.svg|150px]]
}}


== Forming Equations ==
== Forming Equations ==
Before proceeding to the actual solution of an equation of any type, certain preliminary operations have necessarily to be carried out in order to prepare it for solution.
We need to carry out certain preliminary operations on equations  before moving into actual solution.


Still more preliminary work is that of forming the equation ( ''samī-karaṇa, samī-kāra'' or ''samī-kriyā; from sama, equal and kṛ ,'' to do; hence literally , making equal) from the conditions of the proposed problem. Such preliminary work may require the application of one or more fundamental operations of algebra or arithmetic.
We need to form the equation ( ''samī-karaṇa, samī-kāra'' or ''samī-kriyā; from sama, equal and kṛ ,'' to do; hence literally , making equal) from the given conditions of the proposed problem. This may require the application of one or more fundamental operations of algebra or arithmetic.


Bhāskara II says: "Let ''yāvat-tāvat'' be assumed as the value of the unknown quantity. Then doing precisely as has been specifically told-by subtracting, adding, multiplying or dividing the two equal sides of an equation should be very carefully built.
[[Bhaskara II|Bhāskara II]] says: "Let ''yāvat-tāvat'' be assumed as the value of the unknown quantity. Then doing precisely as has been specifically told-by subtracting, adding, multiplying or dividing the two equal sides of an equation should be very carefully built.


== Algebraic Expressions and Algebraic Equations ==
== Algebraic Expressions and Algebraic Equations ==
What is an algebraic expression ? Let us try to understand this with an example.
[[File:Equation illustration colour.svg|alt=Algebraic Equation|thumb|Algebraic Equation]]
Algebraic expression can be understood with the following example.<ref>{{Cite book|title=A Primer to Bhāratīya Gaṇitam , Bhāratīya-Gaṇita-Praveśa- Part-1|publisher=Samskrit Promotion Foundation|year=2021|isbn=978-81-951757-2-7}}</ref>


Geeta says that she has 10 marbles more than Mala. We do not know exactly how many marbles Mala has. She may have any number of marbles. But we know that
Ram says that he has 10 coins more than Shyam. We do not know exactly how many coins Ram has. Ram may have any number of coins. With the given information


Number of marbles of Geeta = Number of marbles of Mala = 10
Number of coins held by Ram = Number of coins held by Shyam + 10


We shall denote the ‘number of marbles of Mala' by the letter x. Here x is  unknown which could be 1, 2, 3, 4, etc.
We will denote the ‘number of coins held by  Shyam by the letter x. Here x is  unknown which could be 1, 2, 3, 4, etc.


Using x, we write,  
Using x, we write,  


Number of marbles of Geeta = x+10.
Number of coin held by Ram = x+10.


Thus 'x + 10' is an algebraic expression.
Thus 'x + 10' is an algebraic expression.


Algebra abounds in the usage of symbols. These symbols represent the unknown quantities and operations performed with them. The following table gives the symbols which were used for some basic operations by the ancient Indian Mathematicians.
Algebra utilizes the usage of symbols. These symbols represent the unknown quantities and operations performed with them. The following table gives the symbols which were used for some basic operations by the ancient Indian Mathematicians.
{| class="wikitable"
{| class="wikitable"
|+
|+
!S. No.
!S. No.
!Constituent of an algebraic expression
!Components of an algebraic expression
!Samskrit word
!Samskrit word
!Symbol
!Symbol
Line 42: Line 47:


नी , ........
नी , ........
|या 
|या  ३५


का 
का  १४


नी 
नी  ८२
|3x
|35x
4y
14y


8z
82z
|-
|-
|2
|2
Line 57: Line 62:
|<nowiki>-</nowiki>
|<nowiki>-</nowiki>
|या  का
|या  का
या का
या ३५ का १४
|x + y
|x + y
3x + 4y
35x + 14y
|-
|-
|3
|3
Line 66: Line 71:
|भा
|भा
|याकाभा
|याकाभा
याकाभा 
याकाभा  ३२
|xy
|xy
3xy
32xy
|-
|-
|4
|4
Line 95: Line 100:
|रूपम्
|रूपम्
|रू
|रू
|रू 
|रू  ३२
|3
|32
|-
|-
|8
|8
Line 103: Line 108:
|dot above the quantity (.)
|dot above the quantity (.)
|'''.'''
|'''.'''
रू
रू ४३२
| -4
| -432
|}
|}
The letter yā (an abbreviation of yāvat-tāvat) was the most popular representation of the unknown quantity. Its square was termed yāva, the abbreviation of yāvat-tāvat-varga (varga means square). While writing equations, the constant term was denoted by the letter rū, an abbreviation of rūpa as seen in the table above. Any negative sign in the equation is denoted by a dot above the term.
The letter yā (an abbreviation of yāvat-tāvat) was the most popular representation of the unknown quantity. Its square was termed yāva, the abbreviation of yāvat-tāvat-varga (varga means square). constant term was denoted by the letter rū, an abbreviation of rūpa as shown in the above table. Any negative sign in the equation is denoted by a dot above the term.


If there are three unknown quantities in an expression, the symbols used are yā, kā and nī. These are the abbreviations for yāvat tāvat, kālaka and nīlaka. The product of first two unknown quantities is represented as yākābha where yā and kā are the two unknowns and bha stands for their product.  
If there are three unknown quantities in an expression, the symbols used are yā, kā and nī. These are the abbreviations for yāvat tāvat, kālaka and nīlaka. The product of first two unknown quantities is represented as yākābha where yā and kā are the two unknowns and bha stands for their product.  
Line 118: Line 123:
|-
|-
|1
|1
|x + 1
|x + 17
|या १ रू
|या १ रू १७
|-
|-
|2
|2
|3x - 7
|7x - 17
|या रू <sup>'''.'''</sup>
|या रू १७<sup>'''.'''</sup>
|-
|-
|3
|3
|2x – 8
|18x – 8
|या रू ८<sup>'''.'''</sup>
|या १८ रू ८<sup>'''.'''</sup>
|-
|-
|4
|4
|15x<sup>2</sup> + 7x - 2
|15x<sup>2</sup> + 17x - 2
|याव १५  या रू २<sup>'''.'''</sup>
|याव १५  या १७ रू २<sup>'''.'''</sup>
|-
|-
|5
|5
|1x<sup>4</sup> + 6x<sup>3</sup> + 25x<sup>2</sup> + 48x + 64
|1x<sup>4</sup> + 16x<sup>3</sup> + 25x<sup>2</sup> + 8x + 6
|यावव १ याघ याव २५  या ४८ रू  ६४
|यावव १ याघ १६ याव २५  या रू 
|-
|-
|6
|6
|18x<sup>2</sup> + 12xy - 6xz -6x
|8x<sup>2</sup> + 12xy - 6xz -16x
|याव १८ याकाभा १२  यानीभा ६<sup>'''.'''</sup>  या <sup>'''.'''</sup>
|याव याकाभा १२  यानीभा ६<sup>'''.'''</sup>  या १६<sup>'''.'''</sup>
|}
|}
We will see how algebraic expressions are written by ancient Indian mathematicians.  
How algebraic expressions are written by Ancient Indian mathematicians.  


Consider the equation 10 x - 8 = x<sup>2</sup> +1
Consider the equation 10 x - 18 = x<sup>2</sup> +14


This can be written as,
This can be written as,


0x<sup>2</sup> + 10 x - 8 = 1x<sup>2</sup> + 0x + 1
0x<sup>2</sup> + 10 x - 18 = 1x<sup>2</sup> + 0x + 14
 
Observe the positions of x<sup>2</sup>, x<sup>1</sup>, x<sup>0</sup> (constant term). Can you notice any pattern ? The standard way of writing an equation starts from the highest power of x. Then the powers of x were written in the descending order up to its lowest power. This format of writing equation was followed by mathematicians from ancient times.


Brahmagupta called an equation as samakaraṇa or samīkaraṇa. It means 'making equal. The two sides of an equation (LHS and RHS) were written one below the other. The symbol '=' was not used. Both the sides of an equation were made same by finding the appropriate value(s) for the unknown(s).
By looking at the positions of x<sup>2</sup>, x<sup>1</sup>, x<sup>0</sup> (constant term), there is some pattern ? The standard way of writing an equation starts from the highest power of x. Then the powers of x were written in the descending order up to its lowest power. This format of writing equation was followed by mathematicians from ancient times.


We shall see how this equation was written by Pṛthūdakasvāmin (864 CE) in his commentary on the Brāhma-sphuṭa-siddhānta. He writes the equation
[[Brahmagupta]] called an equation as samakaraṇa or samīkaraṇa. It means 'making equal. The two sides of an equation (LHS and RHS) were written one below the other. The symbol '=' was not used. Both the sides of an equation were made same by finding the appropriate value(s) for the unknown(s).


10x - 8 = x<sup>2</sup> + 1 as follows:
Pṛthūdakasvāmin (864 CE) in his commentary on the Brāhma-sphuṭa-siddhānta  writes the equation  40x - 48 = x<sup>2</sup> + 51 as below
{| class="wikitable"
{| class="wikitable"
|+
|+
Line 163: Line 166:
!Modern notation
!Modern notation
|-
|-
|याव ०  या १०  रू '''<sup>.</sup>'''
|याव ०  या ४०  रू ४८'''<sup>.</sup>'''
याव १  या ०    रू
याव १  या ०    रू ५१
|Yāva  0  10 rū  8'''<sup>.</sup>'''  
|Yāva  0    40 rū  48'''<sup>.</sup>'''  
Yāva 1  yā  0  rū 1
Yāva 1  yā  0  rū 51
|⇒
|⇒
|0x<sup>2</sup> + 10 x - 8 = 1x<sup>2</sup> + 0x + 1
|0x<sup>2</sup> + 40 x - 48 = 1x<sup>2</sup> + 0x + 51
|}
|}
Another example of an equation from Bījagaṇita of Bhāskara II is:
Here is an example of an equation from Bījagaṇita of Bhāskara II is:


X<sup>4</sup> - 2x<sup>2</sup> - 400x = 9999  
X<sup>4</sup> - 2x<sup>2</sup> - 400x = 9999  
Line 176: Line 179:
This is represented as,
This is represented as,


यावव १ याव २'''<sup>.</sup>'''   या  ४<sup>'''.'''</sup>००   रू  ०
यावव १   याव २'''<sup>.</sup>'''   या  ४<sup>'''.'''</sup>००   रू  ०


यावव ० याव ०   या  ०       रू  ९९९९
यावव ०   याव ०     या  ०       रू  ९९९९


== Operations with Algebraic Expressions ==
Bhāskara II gives the operations using algebraic terms as follows:


स्याद्रूपवर्णाभिहतौ तु वर्णो द्वित्र्यादिकानां समजातिकानाम् ॥


== Algebraic Notations ==
वधे तु तद्वर्गघनादयः स्युस्तद्भावितं चासमजातिघाते।
* The symbols used for unknown numbers are the initial syllables yа̄ of yа̄vat-tа̄vat (as much as), kа̄ of kа̄laka (black), nī of nīlaka (blue), pī of pīta (yellow) etc.


* The product of two unknowns is denoted by the initial syllable bhā of bhāvita (product) placed after them. The powers are denoted by the initial letters ''va'' of ''varga'' (square), ''gha'' of ghana (cube); ''vava'' stands for v''argavarga'', the fourth power. Sometimes the initial syllable ''ghā'' of ''ghāta'' (product) stands for the sum of powers.
भागादिकं रूपवदेव शेषं व्यक्ते यदुक्तं गणिते तदत्र ॥<ref>Bījagaṇita, ch. Avyaktādi-guṇana, vs.6,7, p.8</ref>


* A coefficient is placed next to the symbol. The constant term is denoted by the initial symbol ''rū'' of ''rūpa'' (form).
“The product of a numerical constant and  an unknown quantity is an unknown quantity.  Products of two or three like terms are their squares or cubes (respectively). Product of unlike terms is bhāvita. Fractions etc. are as in the case of knowns. The other (processes) are same as explained in arithmetic."


* A dot is placed above the negative integer
=== Addition and Subtraction of Algebraic Expressions ===
Bhāskara II gives the rule for addition and subtraction of unknown quantities as follows:


* The two sides of an equation are placed one below the other. Thus the equation X<sup>4</sup> - 2X<sup>2</sup> - 400x = 9999; is written as
योगोऽन्तरं तेषु समानजात्योर्विभिन्नजात्योश्च पृथक् स्थितिश्च।<ref>Bījagaṇita ch. Avyakta-saṅkalana-vyavakalana, vs.6, p.7</ref>


यावव​ १ याव २<sup>●</sup> या ४००<sup>●</sup> रू ०
“Addition and subtraction are performed amongst like terms. The unlike terms are to be kept separately."


यावव​ ० याव ० या ० रू ९९९९
'''Explanation:'''


which means writing x for या
Addition and subtraction can be performed with like terms and unlike terms are to be kept separately. Same letter variables raised to the same powers are treated as like terms. E.g., या ४, या ५, या ६ are like terms. याव ७, याव ८, याव ९ are also like terms. का ३, का ७, का १५  are also like terms. Presently we say 4x, 5x, 6x are like terms. Similarly 7x<sup>2</sup>, 8x<sup>2</sup>, 9x<sup>2</sup>  are like terms. and 3y, 7y, 15y are also like terms. When we have like terms, the sum and difference can be simplified. E.g. 4x + 6x can be simplified as 10x.  9x<sup>2</sup> - 7x<sup>2</sup>  can be simplified as 2x<sup>2</sup>.


x<sup>4</sup> -2x<sup>2</sup> -400x+0 = 0x<sup>4</sup> +0x<sup>2</sup>+0x+9999
Unlike terms are those terms having different variables or variables with different powers. E.g. या ३, याव ३, याघ ४, का ५, काव, याकाभा . Presently, these are represented as 3x, 3x<sup>2</sup>, 4x<sup>3</sup>, 5y, y<sup>2</sup>, xy.


If there be several unknowns, those of the same kind are written in the same column with zero coefficients, if necessary. Thus the equation
=== Multiplication of Algebraic Expressions ===
Bījagaṇita gives a rule for multiplication -


197x - 1644y - z = 6302 is represented by
गुण्यः पृथग्गुणकखण्डसमो निवेश्यस्तैः खण्डकैः क्रमहतः सहितो यथोक्त्या।


yа̄ 197 kа̄ 1644<sup></sup> ni 1<sup>●</sup> ru 0
अव्यक्तवर्गकरणीगणनास चिन्त्यो व्यक्तोक्तखण्डगुणनाविधिरेवमत्र॥<ref>Bījagaṇita ch. Avyaktādi-guṇana, vs.8, p.8</ref>


yа̄ 0 kа̄ 0 ni 0 ru 6302
“Place the multiplicand at as many places as the terms of the multiplier. Multiply with the terms of the multiplier in order separately and add the results as  directed in the problem. This is applicable in the case of squares of unknown numbers and surds also. The method of partial products stated in the case of arithmetic numbers is applicable here also.”


which means, putting y for kа̄ and z for ni
'''Explanation'''
{| class="wikitable"
|+
!Ancient Indian notation
!Modern notation
|-
|If या २ रू ४ and या ३ रू ५ are multiplicand and multiplier respectively,
we can get their product as mentioned below
|If 2x + 4 and 3x + 5 are multiplicand and multiplier respectively,
we can get their product as mentioned below
|-
|The multiplier contains two terms, i.e., या ३ and रू ५
|The multiplier contains two terms, i.e., 3x and 5
|-
|Multiply the multiplicand with the two terms of the multiplier separately as mentioned below.
(या २ रू ४) X या ३ = याव ६ या १२


197x - 1644Y - z + 0 = 0x + 0y + 0z + 6302.
(या २ रू ४) X रू ५ = या १०  रू  २०
|Multiply the multiplicand with the two terms of the multiplier separately as mentioned below.
(2x + 4) X 3x = 6x<sup>2</sup> + 12x


Bhāskara II says:
(2x + 4) X 5 = 10x + 20
|-
|Add the results.


"Then the unknown on one side of it (the equation) should be subtracted from the unknown on the other side; so also the square and other powers of the unknown;
The result of the multiplication is : याव् ६  या २२  रू २०
|Add the results.
The result of the multiplication is : 6x<sup>2</sup> + 22x + 20
|}
If <math>ax + b</math> and <math>cx+d</math>  are multiplicand and multiplier respectively, we get their product as mentioned below.


the known quantities on the other side should be subtracted from the known quantities of another side."
The multiplier has two terms, i.e., cx and d.  Multiply the multiplicand with the two terms of the multiplier separately as mentioned below.  


The following illustration is from the Bījagaṇita of Bhāskara II:
<math>(ax+b) cx = acx^2+bcx
</math>


"Thus the two sides are
<math>(ax+b)d = adx+bd</math>


yā va 4  yā 34<sup>●</sup>  rū 72
Add the results.


yā va 0  yā 0      rū 90
The multiplication result is : <math>acx^2+(bc+ad)x+bd</math>


On complete clearance (samaśodhana), the residues of the two sides are
== Classification of Equations ==
In the canonical work of circa 300 B.C. found that Hindu classification of of equations  seems to have been according to their degrees, such as simple (technically called ''yāvat tāvat )'', quadratic (''varga''), cubic (''ghana'') and biquadratic (''varga-varg''a).


yā va 4  yā 34<sup>●</sup>  rū 0
In the absence of further corroborative evidence, we cannot be sure of it. Brahmagupta (628) has classified equations as: (I) equations in one unknown (''eka-varna-samīkaraṇa''), (2) equations in several unknowns (''aneka-varna-samīkaraṇa''), and (3) equations involving products of unknowns (bhaivita).


yā va 0  yā 0      rū 18
Equations in one unknown (''eka-varna-samīkaraṇa'') is again divided into two sub classes, viz.,(i) linear equations, and (ii) quadratic equations (''avyakta-varga-samīkaraṇa''). Here then we have the beginning of our present method of classifying equations according to their degrees. The method of classification adopted by Pṛthūdakasvāmī  (860) is slightly different. He classified as : (1) linear equations with one unknown, (2) linear equations with more unknowns, (3) equations with one, two or more unknowns in their second and higher powers, and (4) equations involving products of unknowns. As the method of solution of an equation of the third class is based upon the principle of the elimination of the middle term, that class is called by the name ''madhyamāharaṇa'' (from madhyama, "middle", aharana "elimination", hence meaning "elimination of the middle term"). For the other classes, the old names given by Brahmagupta have been retained. This method of classification has been followed by subsequent writers.


i.e., 4x<sup>2</sup> - 34x = 18
Bhāskara II distinguishes two types in the third class, namely " (i) equations in one unknown in its second and higher powers and (ii) equations having two or more unknowns in their second and higher powers.' According to Krsna (1580) equations are primarily of two classes: (1) equations in one unknown and (z) equations in two or more unknowns. The first classification again, comprises of  two subclasses: (i) simple equations and (ii) quadratic and higher equations. The second classification has three subclasses: (i) simultaneous linear equations, (ii) equations involving the second and higher powers of unknowns, and (iii) equations involving products of unknowns. He then observes that these five classes can be reduced to four by including the second subclasses of classes (1) and (2) into one class as ''madhyamāharaṇa.''


== Classification of Equations ==
== Linear Equations in One Unknown ==
The earliest Hindu classification of equations seems to have been according to their degrees, such as simple (technically called ''yāvat tāvat )'', quadratic (''varga''), cubic (''ghana'') and biquadratic (''varga-varg''a). Reference to it is found in a canonical work of circa 300 B.C. But in the absence of further corroborative evidence, we cannot be sure of it. Brahmagupta (628) has classified equations as: (I) equations in one unknown (''eka-varna-samīkaraṇa''), (2) equations in several unknowns (''aneka-varna-samīkaraṇa''), and (3) equations involving products of unknowns (bhaivita).
A Linear equation is an equation having only the first power of the variables, coefficients and constants. For example, the equation 4x + 7 = 8 is a linear equation in one variable. This is called first-order equation since the power of the variable (x) is one. If the equation has highest power of x as two, i.e. x<sup>2</sup> , then it will  be a quadratic (second order) equation.


The first class is again divided into two sub classes, viz.,(i) linear equations, and (ii) quadratic equations (''avyakta-varga-samīkaraṇa''). Here then we have the beginning of our present method of classifying equations according to their degrees. The method of classification adopted by Pṛthūdakasvāmī  (860) is slightly different. His four classes are: (1) linear equations with one unknown, (2) linear equations with more unknowns, (3) equations with one, two or more unknowns in their second and higher powers, and (4) equations involving products of unknowns. As the method of solution of an equation of the third class is based upon the principle of the elimination of the middle term, that class is called by the name ''madhyamāharaṇa'' (from madhyama, "middle", aharana "elimination", hence meaning "elimination of the middle term"). For the other classes, the old names given by Brahmagupta have been retained. This method of classification has been followed by subsequent writers.
=== Early Solutions: ===
In ''śulba'' geometrical solution of a linear equation in one unknown is found , the earliest of which is not later than 800 B.C.  


Bhāskara II distinguishes two types in the third class, viZ" (i) equations in one unknown in its second and higher powers and (ii) equations having two or more unknowns in their second and higher powers.' According to Krsna (1580) equations are primarily of two classes: (1) equations in one unknown and (z) equations in two or more unknowns. The class (1), again, comprises two subclasses: (i) simple equations and (ii) quadratic and higher equations. The class (2) has three subclasses: (i) simultaneous linear equations, (ii) equations involving the second and higher powers of unknowns, and (iii) equations involving products of unknowns. He then observes that these five classes can be reduced to four by including the second subclasses of classes (1) and (2) into one class as ''madhyamāharaṇa.''
''Sthānāṅga-Sūtra''  (c. 300 B.C.) has a reference to a linear equation by its name (''yāvat -tāvat'' ) which is suggestive of the method of solution followed at that time.


== Linear Equations in One Unknown ==
Bakhshālī  treatise has problems involving simple algebraic equations and solution method, probably written in the beginning of the Christian Era.
A Linear equation is an equation containing only the first power of the variables, coefficients and constants. For example, the equation 2x + 4 = 5 is a linear equation in one variable. This is called first-order equation since the power of the variable (x) is one. If the equation has highest power of x as two, i.e. x<sup>2</sup> , then it will  be a quadratic (second order) equation.
 
=== Early Solutions: ===
As already stated, the geometrical solution of a linear equation in one unknown is found in the ''śulba'' , the earliest of which is not later than 800 B.C. There is a reference in the ''Sthānāṅga-Sūtra''  (c. 300 B.C.) to a linear equation by its name (''yāvat -tāvat'' ) which is suggestive of the method of solution! followed at that time.We have, however, no further evidence about it. The earliest Hindu record of doubtless value of problems involving simple algebraic equations and of a method for their solution occurs in the Bakhshālī  treatise, which was written very probably about the beginning of the Christian Era.


One problem is "The amount given to the first is not known. The second is given twice as much as the first; the third thrice as much as the second; and the fourth four times as much as the third. The total amount distributed is 132. What is the amount of the first?"
One problem is "The amount given to the first is not known. The second is given twice as much as the first; the third thrice as much as the second; and the fourth four times as much as the third. The total amount distributed is 132. What is the amount of the first?"
Line 252: Line 281:
If x be the amount given to the first, then according to the problem,
If x be the amount given to the first, then according to the problem,


x + 2X + 6x + 24X = 132.
<math>x+2x+6x+24x=132</math>


=== Rule of False Position: ===
=== Rule of False Position: ===
Line 271: Line 300:
|}
|}
'multiplied'
'multiplied'
{|