Equations: Difference between revisions

From Vigyanwiki
(formula rewritten)
No edit summary
 
(24 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.
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.


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).
[[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).


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
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
 
10x - 8 = x<sup>2</sup> + 1 as follows:
{| 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 200: Line 203:
'''Explanation:'''
'''Explanation:'''


It is well known that the addition and subtraction can be performed only amongst like terms and unlike terms are to be kept separately. Like terms are the terms that contain the same letter variables raised to the same powers. E.g., या , या , या ५  are like terms. याव , याव , याव are also like terms. का ३, का ७, का १५  are also like terms. Nowadays we say 3x, 4x, 5x are like terms. Similarly 2x<sup>2</sup>, 5x<sup>2</sup>, 7x<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. 3x + 5x can be simplified as 8x10x<sup>2</sup> - 4x<sup>2</sup>  can be simplified as 6x<sup>2</sup>.  
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 10x9x<sup>2</sup> - 7x<sup>2</sup>  can be simplified as 2x<sup>2</sup>.  


Unlike terms are those terms having different variables or variables with different powers. E.g. या ३, याव ३, याघ ४, का ५, काव, याकाभा . In modern notation, these are represented as 3x, 3x<sup>2</sup>, 4x<sup>3</sup>, 5y, y<sup>2</sup>, xy.
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.


=== Multiplication of Algebraic Expressions ===
=== Multiplication of Algebraic Expressions ===
Line 219: Line 222:
!Modern notation
!Modern notation
|-
|-
|If या रू and या रू are multiplicand and multiplier respectively,  
|If या रू and या रू are multiplicand and multiplier respectively,  
their product can be obtained as follows:
we can get their product as mentioned below
|If 3x + 5 and 4x + 7 are multiplicand and multiplier respectively,
|If 2x + 4 and 3x + 5 are multiplicand and multiplier respectively,
their product can be obtained as follows:
we can get their product as mentioned below
|-
|-
|The multiplier has two terms, i.e., या and रू
|The multiplier contains two terms, i.e., या and रू
|The multiplier has two terms, i.e., 4x and 7
|The multiplier contains two terms, i.e., 3x and 5
|-
|-
|Place the multiplicand at two places. Multiply them with the terms of the multiplier separately as shown.
|Multiply the multiplicand with the two terms of the multiplier separately as mentioned below.
(या रू ) X या = याव १२ या २०
(या रू ) X या = याव ६ या १२  


(या रू ) X रू = या २१ रू  ३५
(या रू ) X रू = या १० रू  २०
|Place the multiplicand at two places. Multiply them with the terms of the multiplier separately as shown.
|Multiply the multiplicand with the two terms of the multiplier separately as mentioned below.
(3x + 5) X 4x = 12x<sup>2</sup> + 20x
(2x + 4) X 3x = 6x<sup>2</sup> + 12x


(3x + 5) X 7 = 21x + 35
(2x + 4) X 5 = 10x + 20
|-
|-
|Add the results.  
|Add the results.  


The multiplication result is: याव् १२ या ४१ रू ३५
The result of the multiplication is : याव् या २२ रू २०
|Add the results.  
|Add the results.  
The multiplication result is: 12x<sup>2</sup> + 41x + 35
The result of the multiplication is : 6x<sup>2</sup> + 22x + 20
|}
|}
If ax + b and cx + d  are multiplicand and multiplier respectively, their product can be obtained as follows:
If <math>ax + b</math> and <math>cx+d</math> are multiplicand and multiplier respectively, we get their product as mentioned below.


The multiplier has two terms, i.e., cx and d.  Place the multiplicand at two places. Multiply them with the terms of the multiplier separately as shown.  
The multiplier has two terms, i.e., cx and d.  Multiply the multiplicand with the two terms of the multiplier separately as mentioned below.  


(ax +b) x cx = acx<sup>2</sup> + bcx
<math>(ax+b) cx = acx^2+bcx
</math>


(ax + b) xd = adx + bd  
<math>(ax+b)d = adx+bd</math>


Add the results.  
Add the results.


The multiplication result is: acx<sup>2</sup> + (bc + ad)x + bd
The multiplication result is : <math>acx^2+(bc+ad)x+bd</math>


== Algebraic Notations ==
== Classification of Equations ==
* 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.
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).


* 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.
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 coefficient is placed next to the symbol. The constant term is denoted by the initial symbol '''' of ''rūpa'' (form).
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.


* A dot is placed above the negative integer
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.''


* 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
== Linear Equations in One Unknown ==
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.


यावव​ १ याव २<sup>●</sup> या ४००<sup>●</sup> रू ०
=== 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.  
यावव​ ० याव ० या ० रू ९९९९
 
which means writing x for या
 
x<sup>4</sup> -2x<sup>2</sup> -400x+0 = 0x<sup>4</sup> +0x<sup>2</sup>+0x+9999
 
If there be several unknowns, those of the same kind are written in the same column with zero coefficients, if necessary. Thus the equation
 
197x - 1644y - z = 6302 is represented by
 
yа̄ 197 kа̄ 1644<sup>●</sup> ni 1<sup>●</sup> ru 0
 
yа̄ 0 kа̄ 0 ni 0 ru 6302
 
which means, putting y for kа̄ and z for ni
 
197x - 1644Y - z + 0 = 0x + 0y + 0z + 6302.
 
Bhāskara II says:
 
"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 known quantities on the other side should be subtracted from the known quantities of another side."


The following illustration is from the Bījagaṇita of Bhāskara II:
''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.


"Thus the two sides are
Bakhshālī treatise has problems involving simple algebraic equations and solution method, probably written in the beginning of the Christian Era.
 
yā va 4  yā 34<sup>●</sup>  rū 72
 
yā va 0  yā 0      rū 90
 
On complete clearance (samaśodhana), the residues of the two sides are
 
yā va 4  yā 34<sup>●</sup>  rū 0
 
yā va 0  yā 0      rū 18
 
i.e., 4x<sup>2</sup> - 34x = 18
 
== Classification of Equations ==
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).
 
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.
 
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.''
 
== Linear Equations in One Unknown ==
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;