TOP
 Home Background Mathematical Sūtras Applications Blog
 Home Background Mathematical Sūtras Applications Blog
»

# Polynomials and Basic Operations

## Upavidhi Blog on Mathematics | July 2016

This is our first post on Upavidhi Blog, and we decided to discuss polynomials - especially because polynomials are an intrinsic part of mathematics. From the first time that we learn what an equation is, to calculus, to numerical analysis to advanced mathematics - there is no other concept that finds such abundant usage in mathematics.

This is one of the many areas where knowledge of Vedic Mathematics can be effectively applied. Moreso because, it simplifies most of its basic operations - allowing oneself to concentrate on the overall mathematical problem, rather than getting entangled in the cumbrous poly-operations.

Let us refresh our memories, and start with the definition of a polynomial:
The word 'Polynomial' is derived from the Greek word 'poly', which means 'many', and 'nomial, which means 'term'. So, a polynomial is something that has 'many terms' like:
4xy2 + 3x - 5
In the example above, the polynomial consists of 3 terms: '4xy2', '3x', and '-5'.

By definition, a polynomial is an expression consisting variables and co-efficients, that are inter-ralated only by the operations of addition, subtraction, multiplication, division and exponentiation to a non-negative number.
 A polynomial, P(x) for a single indeterminate (variable) x is: anxn + an-1xn-1 + an-2x2 + ... + a2x2 + a1x + a0  And, further expressed in 'summation notation' as: n ∑   aixi i=0
It should be noted that the exponent, also referred as 'index' or 'power', is the 'n' in xn, and the co-efficient is an in anxn
The 'degree' of a polynomial is the highest degree of its terms. In other words, it is the highest sum of the exponents of any term. For example:
3x3 + 5x2 + 9, is a polynomial of degree 3
And, 3x2y3 + xy, is a polynomial of degree 5 because the sum of exponents, 2 + 3 = 5, in 3x2y3

A polynomial is said to be expressed in 'standard' form, when the terms are organized according to the decreasing degrees of the individual terms. For example:
The standard form of 3x2 - 7 + 4x3 + x6 is:
x6 + 4x3 + 3x2 - 7

It is interesting to note that any real number may be represented as a polynomial. For example:
 123 = (1 × 100) + (2 × 10) + (3 × 1) = (1 × 102) + (2 × 101) + (3 × 100) = x2 + 2x + 3, where x = 10  And, -123 = (-1 × 100) + (-2 × 10) + (-3 × 1) = (-1 × 102) + (-2 × 101) + (-3 × 100) = -x2 - 2x - 3, where x = 10
Additionally, in Vedic Mathematics, we may also have something like: 123. Here, 2 is a Rekhank, that signifies -2. Thus,
 123 = (1 × 100) + (-2 × 10) + (3 × 1) = (1 × 102) + (-2 × 101) + (3 × 100) = x2 - 2x + 3, where x = 10  (More information on Rekhank and Vinculum Numbers, is available here »)
However, note that real numbers are not polynomials, because x = 10, and is not indeterminate.

The addition of two polynomials is achieved by adding the co-efficients of the identical terms. For example:
 When 2x2 + 6x + 5 is added with 3x2 - 2x - 1 x2(2 + 3) + x(6 - 2) + (5 - 1) = 5x2 + 4x + 4  Similarly, when x3 + 6x2 + 10x - 7 is added with 2x2 + 4x x3(1 + 0) + x2(6 + 2) + x(10 + 4) + (-7 + 0) = x3 + 8x2 + 14x - 7
Subtraction of polynomials is achieved by changing the signs of the co-efficients of all the terms of the subtrahend, and adding it with the minuend. For example:
 (5y2 + 2xy - 9) - (2y2 + 2xy - 3) = (5y2 + 2xy - 9) + (-2y2 - 2xy + 3) = y2(5 - 2) + xy(2 - 2) + (-9 + 3) = 3y2 - 6  Note: Since, the resulting co-efficient of xy is Zero, it does not need to be mentioned anymore.

Simplifying the operations using śūddha, of Vedic Mathematics:
(Note that Upasūtra: śūddha is discussed here »)

The operations of addition and subtraction of polynomials may be further simplified, especially when more than two polynomials are involved, with the aid of Vedic Mathematical Upasūtra: śūddha. For example:
 (5y2 + 2xy - 9) - (2y2 + 2xy - 3) + (7xy + 4)   y2 | xy |  c   ------------    5 |  2 |  9    2 |  2 |  3 +  0 |  7 |  4   ------------    3 |  7 |  2  Thus, the operation gives us: 3y2 + 7xy - 2  Note that, there will be no carry over from one section to another.
Using this method gives a marked advantage by reducing the chances of mistakes, especially with bigger co-efficients and multiple polynomials.

MULTIPLYING POLYNOMIALS:
Multiplication of polynomials is achieved by multiplying every term of one of the polynomials, with every term of the other. For example:
 (3x2 + 2x + 3) × (x + 5) = x(3x2 + 2x + 3) + 5 (3x2 + 2x + 3) = (3x3 + 2x2 + 3x) + (15x2 + 10x + 15) Clubbing the identical terms together, we get: = 3x3 + (2 + 15)x2 + (3 + 10)x + 15 = 3x3 + 17x2 + 13x + 15

Simplifying the operation using ūrdhva tiryagbhyāṃ, of Vedic Mathematics:
(Note that Sūtra: ūrdhva tiryagbhyāṃ is discussed here »)

This operation may be drastically simplified with the aid of Vedic Mathematical Sūtra: ūrdhva tiryagbhyāṃ. For example:
 (3x2 + 2x + 3) × (x + 5)  ×   3  2  3 ×   0  1  5 ------------ 0,3,17,13,15  This merely implies: 0x4 + 3x3 + 17x2 + 13x + 15  Thus, (3x2 + 2x + 3) × (x + 5) = 3x3 + 17x2 + 13x + 15  Notes: 1. It is not required to convert the resultant to Base10, so there will be no carry-over. 2. Converting the negative terms as Rekhanks would further help. 3. The order should be 'Standard Form', and the resultant derived is always in the increasing order of the power of x - from right to left.
So, for a practitioner of Vedic Mathematics, for something like:
(x2 - 2x + 3) × (5x2 + 3x - 1)
 ×   1  2  3 ×   5  3  1 ------------ ×5,7,8,11,3  This merely implies: 5x4 - 7x3 + 8x2 + 11x - 3  Thus, (x2 - 2x + 3) × (5x2 + 3x - 1) = 5x4 - 7x3 + 8x2 + 11x - 3
Apart from speed, use of this method simplifies the entire operation to an extent that it can also be executed mentally. Most importantly, the 'clubbing' of identical terms after the multiplication of individual terms - as in the conventional method, is not required in the Vedic Method. The simplification derived from using this method get exemplified with more terms, and bigger co-efficients.

DIVIDING POLYNOMIALS:
Division pf polynomials gets a little tricky, and is achieved by the 'polynomial long division' as: Divide the first term of the Dividend by the first term of the Divisor, and create a new polynomial by multiplying this resultant quotient with the terms of the Divisor - subtracted from the original polynomial, and repeating for all terms. For example:
 (x2 - 3x - 10) ÷ (x + 2)          x x + 2 ) x2 - 3x - 10       - x2 - 2x         ------------            - 5x - 10  After the next step we get:         x - 5 x + 2 ) x2 - 3x - 10       - x2 - 2x         ------------            - 5x - 10            + 5x + 10              -------                   ×  Thus, (x2 - 3x - 10) ÷ (x + 2) = (x - 5)
An example with remainders, would be something like:
(2x2 - 5x - 1) ÷ (x - 3)
 2x + 1 x - 3 ) 2x2 - 5x - 1       - 2x2 + 6x         --------                x - 1              - x + 3                -----                    2  Thus, (2x2 - 5x - 1) ÷ (x - 3) = (2x + 1), with Remainder: 2
And, an example of more than one variable, would be something like:
(x2 + 2x2y - 2xy + 2xy2 - 3y2) ÷ (x + y)
 x + 2xy - 3y x + y ) x2 + 2x2y - 2xy + 2xy2 - 3y2       - x2        -  xy         ----------------------------              2x2y - 3xy + 2xy2 - 3y2            - 2x2y       - 2xy2              -----------------------                   - 3xy        - 3y2                   + 3xy        + 3y2                     ----------------                                   ×  Thus, (x2 + 2x2y - 2xy + 2xy2 - 3y2) ÷ (x + y) = (x + 2xy - 3y)

Simplifying the operation using parāvartya yojayet, of Vedic Mathematics:
(Note that Sūtra: parāvartya yojayet is discussed here »)

This operation may be drastically simplified with the aid of Vedic Mathematical Sūtra: parāvartya yojayet. For example:
 x2  x   |   c x + 2 2 )  1  3   |  10               2   |  10          ----------------            1, 5   |   0  The above gives us: 1,5 that merely implies: x - 5  Thus, (x2 - 3x - 10) ÷ (x + 2) = (x - 5)  Notes: 1. Note that the sign needs to be changed in the same way that Base - Divisor is implemented. 2. The 2nd part for Remainders should be adjusted according to anything below the power of the first term of the Divisor. 3. The order should be 'Standard Form', and the resultant derived is always in the increasing order of the power of x - from right to left.
Let us take another example, with higher power of x and missing terms, for something like:
(x6 + 2x4 + 6x - 9) ÷ (x3 + 3)
 Since, the Divisor is of order x3, which means x × x × x, the Transposition will be 003               x6 x5 x4 x3  | x2  x  c x3 + 3 003 )  1  0  2  0  |  0  6  9                  0  0  3  |                     0  0  |  0                        0  |  0  6                           |  0  0  9            -----------------------------               1  0  2  3  |  0  0  0  The above gives us: 1x3 + 0x2 + 2x - 3  Thus, (x6 + 2x4 + 6x - 9) ÷ (x3 + 3) = (x3 + 2x - 3)
So, for a practitioner of Vedic Mathematics, for the above examples used to explain conventional methods:
 For, (2x2 - 5x - 1) ÷ (x - 3):            x2   x   |  c x - 3 3 )   2   5   |  1                 6   |                     |  3          ---------------             2   1   |  2 Thus, (2x2 - 5x - 1) ÷ (x - 3) = (2x + 1), with Remainder: 2  And for, (x2 + 2x2y - 2xy + 2xy2 - 3y2) ÷ (x + y):              x2        x  |    c x + y y ) (1+2y) (2y+2y2) |  3y2                  (1y+2y2) |  3y2          -----------------------           (1+2y),     3y  |   0 Thus, (x2 + 2x2y - 2xy + 2xy2 - 3y2) ÷ (x + y) = (x + 2xy - 3y)

MISCELLANEOUS NOTES:
It should be noted that polynomials with more than one indeterminate (variable) tend to get tricky, and Vedic Mathematics should only be applied after much practice. For example:
 (x + y + 3) × (2x + 3y + 4)Applying ūrdhva tiryagbhyāṃ would mean:       x   c   y      1   3   1      2   4   3      --------- 2,10,5+12,13,3  This would mean: 2x2 + 10x + 5xy + 12 + 13y + 3y2  Thus, (x + y + 3) × (2x + 3y + 4) = 2x2 + 10x + 5xy + 13y + 3y2 + 12  Note that, the constant part is placed in the middle, and when it is multiplied with itself - it is kept apart.

To conclude, knowledge of Vedic Mathematics indeed works wonders - especially in speeding up the operations, eradicating chances of silly mistakes, and most importantly, in helping one to visualize the entire process in a simple, transparent manner. These advantages, in turn, allows oneself to concentrate on the overall mathematical problem.

However, in line with our stand at Upavidhi, it should only be viewed as an extension to the conventional methods, and applied only after expertise - that comes though practice, and a certain amount of mathematical skill.

 August 2016 »