SlideShare a Scribd company logo
2
Most read
3
Most read
5
Most read
POLYNOMIAL ADDITION USING LINKED LIST.pptx
 Polynomial: It is a mathematical expression
consisting of one or more terms .
 Ex: 3x^2 - 16y, 4x^3 + 2x - 1
 Linked list: It is a linear data structure that
consists of connected nodes. Each node is
used to store the data and also the address of
next node.
 Ex:
 Let’s say we have two polynomials
3x^2 + 29x + 1……….(i)
5x^2 - x + 2………...(ii)
 Addition of two polynomials involves
combining like terms present in the two
polynomials (adding terms of same variable
and same exponents).
 Adding equation (i) & (ii)
3x^2 + 2x + 1 3x^2 & 5x^2 are
5x^2 – x + 2 like terms.
Similarly, x & 2x
8x^2 + x + 3 are like terms.
 Addition of two polynomials become easier if
terms are arranged in descending order.
 We have two polynomials to add.
5x^6 + 6x^4 + 2x^3
8x^6 + 3x^2 + 4x + 5
 Let’s represent above polynomials using
linked list.
 Adding two polynomials means adding their
like terms. So, now we will compare their
exponents.
5x^6 + 6x^4 + 2x^3 (Polynomial 1)
8x^6 + 3x^2 + 4x + 5 (Polynomial 2)
13x^6 + 6x^4 + 2x^3 + 3x^2 + 4x +5
 In a linked list representation the addition
operation is easier to perform because the two
polynomials represented by linked list are
arranged in descending order.
 It saves lot of space.
 There is no need to allocate list size.
DISADVANTAGES OF USING LINKED
LIST:
 Cannot go backwards through the list.
 Cannot jump to the beginning of the list from
the end.
POLYNOMIAL ADDITION USING LINKED LIST.pptx

More Related Content

What's hot (20)

PDF
Expression trees
Salman Vadsarya
 
PPT
Linked List
CHANDAN KUMAR
 
PPTX
Deque and its applications
Jsaddam Hussain
 
PPTX
linked list in Data Structure, Simple and Easy Tutorial
Afzal Badshah
 
PDF
Binary tree
Rajendran
 
PPSX
Data Structure (Queue)
Adam Mukharil Bachtiar
 
PPTX
Doubly Linked List
V.V.Vanniaperumal College for Women
 
PPT
Data Structure and Algorithms Linked List
ManishPrajapati78
 
PPTX
Linked List
Ashim Lamichhane
 
PPT
12. Indexing and Hashing in DBMS
koolkampus
 
PPTX
13. Indexing MTrees - Data Structures using C++ by Varsha Patil
widespreadpromotion
 
PPTX
Singly & Circular Linked list
Khulna University of Engineering & Tecnology
 
PPT
Data structure lecture 1
Kumar
 
PPTX
Stacks and Queue - Data Structures
Dr. Jasmine Beulah Gnanadurai
 
PPT
Lecture 1 data structures and algorithms
Aakash deep Singhal
 
PPTX
trees in data structure
shameen khan
 
PPTX
Tree in data structure
ghhgj jhgh
 
PPTX
Data structure - Graph
Madhu Bala
 
PPTX
Tree Traversal
Md. Israil Fakir
 
PPT
Sorting algorithms
CHANDAN KUMAR
 
Expression trees
Salman Vadsarya
 
Linked List
CHANDAN KUMAR
 
Deque and its applications
Jsaddam Hussain
 
linked list in Data Structure, Simple and Easy Tutorial
Afzal Badshah
 
Binary tree
Rajendran
 
Data Structure (Queue)
Adam Mukharil Bachtiar
 
Data Structure and Algorithms Linked List
ManishPrajapati78
 
Linked List
Ashim Lamichhane
 
12. Indexing and Hashing in DBMS
koolkampus
 
13. Indexing MTrees - Data Structures using C++ by Varsha Patil
widespreadpromotion
 
Singly & Circular Linked list
Khulna University of Engineering & Tecnology
 
Data structure lecture 1
Kumar
 
Stacks and Queue - Data Structures
Dr. Jasmine Beulah Gnanadurai
 
Lecture 1 data structures and algorithms
Aakash deep Singhal
 
trees in data structure
shameen khan
 
Tree in data structure
ghhgj jhgh
 
Data structure - Graph
Madhu Bala
 
Tree Traversal
Md. Israil Fakir
 
Sorting algorithms
CHANDAN KUMAR
 

Similar to POLYNOMIAL ADDITION USING LINKED LIST.pptx (20)

PPTX
UNIT-2-Polynomials evict is weirdo used fir engineering mathematics.pptx
anilkumar31122005
 
PPTX
Polynomial reppresentation using Linkedlist-Application of LL.pptx
Albin562191
 
PPTX
MULTIPLICATION OF 2 POLYNOMIALS.pptx
AarulMishra
 
PDF
Polynomialmotilalanehrunationalinstitute.pdf
yugpadhiyar2006
 
PPTX
Polynomial Manipulation in DATA STRUCTURE AND ANALYTICS PPT
gokulraj0707cm
 
PPTX
Unit 1 polynomial manipulation
LavanyaJ28
 
PPT
MO 2020 DS Applications of Linked List 1 AB.ppt
shashankbhadouria4
 
DOCX
Applications of list
Elavarasi K
 
PPTX
Data structure and algorithm list structures
gangaresearch21
 
PPT
Linked Lists: A Comprehensive Guide Advantages, various types, and fundamenta...
MSridhar18
 
PDF
A polynomial may be represented as a linked list where each node cont.pdf
fashionfolionr
 
PPTX
DS - Application of List
MythiliMurugan3
 
PPTX
CS8391-Data Structures Unit 1
SIMONTHOMAS S
 
PPTX
Polynomials
Jonghoon Park
 
PPT
Linked list
Trupti Agrawal
 
PPTX
Module 3 Dara structure notes
Dreamers6
 
PPT
Sparse Matrix and Polynomial
Aroosa Rajput
 
PPTX
linked list_MODULE 3.pptx ppt on the linked list
AnuragKumar682871
 
PDF
COL106_Assignments.pdf
AyushSingh226386
 
PPTX
linkedlist.pptx
MeghaKulkarni27
 
UNIT-2-Polynomials evict is weirdo used fir engineering mathematics.pptx
anilkumar31122005
 
Polynomial reppresentation using Linkedlist-Application of LL.pptx
Albin562191
 
MULTIPLICATION OF 2 POLYNOMIALS.pptx
AarulMishra
 
Polynomialmotilalanehrunationalinstitute.pdf
yugpadhiyar2006
 
Polynomial Manipulation in DATA STRUCTURE AND ANALYTICS PPT
gokulraj0707cm
 
Unit 1 polynomial manipulation
LavanyaJ28
 
MO 2020 DS Applications of Linked List 1 AB.ppt
shashankbhadouria4
 
Applications of list
Elavarasi K
 
Data structure and algorithm list structures
gangaresearch21
 
Linked Lists: A Comprehensive Guide Advantages, various types, and fundamenta...
MSridhar18
 
A polynomial may be represented as a linked list where each node cont.pdf
fashionfolionr
 
DS - Application of List
MythiliMurugan3
 
CS8391-Data Structures Unit 1
SIMONTHOMAS S
 
Polynomials
Jonghoon Park
 
Linked list
Trupti Agrawal
 
Module 3 Dara structure notes
Dreamers6
 
Sparse Matrix and Polynomial
Aroosa Rajput
 
linked list_MODULE 3.pptx ppt on the linked list
AnuragKumar682871
 
COL106_Assignments.pdf
AyushSingh226386
 
linkedlist.pptx
MeghaKulkarni27
 
Ad

Recently uploaded (13)

PDF
B12 - Unit 12 Travel - Lesson B - For students.pdf
ginebranor
 
PPTX
64- thermal analysis .pptxhgfhgghhhthhgyh
grannygo1997
 
PPTX
a computer device hardware presentation.pptx
HarshJaiswal535013
 
PPTX
怎么办StoutLetter美国威斯康星大学斯托特分校本科毕业证,Stout学历证书
Taqyea
 
PPTX
原版英国牛津布鲁克斯大学毕业证(OBU毕业证书)如何办理
Taqyea
 
PPTX
美国学位证(UDel毕业证书)特拉华大学毕业证书如何办理
Taqyea
 
PPTX
美国威斯康星大学麦迪逊分校电子版毕业证{UWM学费发票UWM成绩单水印}复刻
Taqyea
 
PPTX
Hierhxjsnsjdndhjddnjdjhierarrchy chart.pptx
ashishsodhi282
 
PPTX
BIODIVERSITY and conservation of your life -WPS_Office.pptx
jeebankumarrout1999
 
PPTX
expository writivnchjvvbbjkooiyfkkjgffgff
touseefwaraich21
 
PPTX
VR jarash VR jarash VR jarash VR jarash.pptx
AbdalkreemZuod
 
DOCX
Drones in Construction_ The Future is Here.docx
marketingskyelink
 
PDF
9. Head injuries.pdfhyuuyyyyyyyyyyyyyyyyy
1154mbbssatish
 
B12 - Unit 12 Travel - Lesson B - For students.pdf
ginebranor
 
64- thermal analysis .pptxhgfhgghhhthhgyh
grannygo1997
 
a computer device hardware presentation.pptx
HarshJaiswal535013
 
怎么办StoutLetter美国威斯康星大学斯托特分校本科毕业证,Stout学历证书
Taqyea
 
原版英国牛津布鲁克斯大学毕业证(OBU毕业证书)如何办理
Taqyea
 
美国学位证(UDel毕业证书)特拉华大学毕业证书如何办理
Taqyea
 
美国威斯康星大学麦迪逊分校电子版毕业证{UWM学费发票UWM成绩单水印}复刻
Taqyea
 
Hierhxjsnsjdndhjddnjdjhierarrchy chart.pptx
ashishsodhi282
 
BIODIVERSITY and conservation of your life -WPS_Office.pptx
jeebankumarrout1999
 
expository writivnchjvvbbjkooiyfkkjgffgff
touseefwaraich21
 
VR jarash VR jarash VR jarash VR jarash.pptx
AbdalkreemZuod
 
Drones in Construction_ The Future is Here.docx
marketingskyelink
 
9. Head injuries.pdfhyuuyyyyyyyyyyyyyyyyy
1154mbbssatish
 
Ad

POLYNOMIAL ADDITION USING LINKED LIST.pptx

  • 2.  Polynomial: It is a mathematical expression consisting of one or more terms .  Ex: 3x^2 - 16y, 4x^3 + 2x - 1  Linked list: It is a linear data structure that consists of connected nodes. Each node is used to store the data and also the address of next node.  Ex:
  • 3.  Let’s say we have two polynomials 3x^2 + 29x + 1……….(i) 5x^2 - x + 2………...(ii)  Addition of two polynomials involves combining like terms present in the two polynomials (adding terms of same variable and same exponents).
  • 4.  Adding equation (i) & (ii) 3x^2 + 2x + 1 3x^2 & 5x^2 are 5x^2 – x + 2 like terms. Similarly, x & 2x 8x^2 + x + 3 are like terms.  Addition of two polynomials become easier if terms are arranged in descending order.
  • 5.  We have two polynomials to add. 5x^6 + 6x^4 + 2x^3 8x^6 + 3x^2 + 4x + 5  Let’s represent above polynomials using linked list.
  • 6.  Adding two polynomials means adding their like terms. So, now we will compare their exponents. 5x^6 + 6x^4 + 2x^3 (Polynomial 1) 8x^6 + 3x^2 + 4x + 5 (Polynomial 2) 13x^6 + 6x^4 + 2x^3 + 3x^2 + 4x +5
  • 7.  In a linked list representation the addition operation is easier to perform because the two polynomials represented by linked list are arranged in descending order.
  • 8.  It saves lot of space.  There is no need to allocate list size. DISADVANTAGES OF USING LINKED LIST:  Cannot go backwards through the list.  Cannot jump to the beginning of the list from the end.