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

PPTX
Linked List
PPTX
Polynomial reppresentation using Linkedlist-Application of LL.pptx
PPT
PDF
Array data structure
PPT
Queue data structure
PPTX
Data Structures : hashing (1)
PPSX
Data Structure (Queue)
PDF
sparse matrix in data structure
Linked List
Polynomial reppresentation using Linkedlist-Application of LL.pptx
Array data structure
Queue data structure
Data Structures : hashing (1)
Data Structure (Queue)
sparse matrix in data structure

What's hot (20)

PPTX
Deque and its applications
PPT
Extensible hashing
PPT
Data Structure and Algorithms Linked List
PPT
Data structures using c
PPTX
Unit 1 polynomial manipulation
PDF
Quick Sort , Merge Sort , Heap Sort
PPTX
Templates in C++
PPT
Divide and conquer
PPTX
Data Structures (CS8391)
PPTX
Data Structures - Lecture 9 [Stack & Queue using Linked List]
PPTX
Ppt on Linked list,stack,queue
PDF
Linked List, Types of Linked LIst, Various Operations, Applications of Linked...
PPTX
Trees in data structures
PPTX
Recursion in Data Structure
PPTX
Red black trees
PPT
Linked List
PPT
List Data Structure
PDF
linked lists in data structures
PDF
Searching and Sorting Techniques in Data Structure
PPTX
Queues in C++
Deque and its applications
Extensible hashing
Data Structure and Algorithms Linked List
Data structures using c
Unit 1 polynomial manipulation
Quick Sort , Merge Sort , Heap Sort
Templates in C++
Divide and conquer
Data Structures (CS8391)
Data Structures - Lecture 9 [Stack & Queue using Linked List]
Ppt on Linked list,stack,queue
Linked List, Types of Linked LIst, Various Operations, Applications of Linked...
Trees in data structures
Recursion in Data Structure
Red black trees
Linked List
List Data Structure
linked lists in data structures
Searching and Sorting Techniques in Data Structure
Queues in C++
Ad

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

PPTX
Adding-and-subtracting-polynomialss.pptx
PPTX
Polynomial -ppt
PPTX
Polynomial kavi ppt
PPTX
Polynomial kavi ppt
PPT
Algebraicexpressions for class VII and VIII
PPTX
Algebraic1
PPTX
Algebraic
PDF
ALGEBRA FOR ECONOMICS EXPRESSIONS AND EQUATIONS
PPTX
Polynomials
PDF
Digital text Mathematics Factorisation BEd
PDF
Digital text for Mathematics BEd 2023-25
PPT
Polynomials Grade 10
PPTX
Adding Polynomials_1.pptx
PDF
10-Maths-NCERT-Chapter-2.pdf to be studied
PPT
POLYNOMIAL NOTES Day #2
PPT
POLYNOMIALS - Add Subtract Multiply
DOCX
Algebra
PPTX
Polynomials
PDF
College Algebra
PPT
Polynomials And Linear Equation of Two Variables
Adding-and-subtracting-polynomialss.pptx
Polynomial -ppt
Polynomial kavi ppt
Polynomial kavi ppt
Algebraicexpressions for class VII and VIII
Algebraic1
Algebraic
ALGEBRA FOR ECONOMICS EXPRESSIONS AND EQUATIONS
Polynomials
Digital text Mathematics Factorisation BEd
Digital text for Mathematics BEd 2023-25
Polynomials Grade 10
Adding Polynomials_1.pptx
10-Maths-NCERT-Chapter-2.pdf to be studied
POLYNOMIAL NOTES Day #2
POLYNOMIALS - Add Subtract Multiply
Algebra
Polynomials
College Algebra
Polynomials And Linear Equation of Two Variables
Ad

Recently uploaded (20)

PPTX
dhcp concept.pptxfeegrvewfegrgerhtrhtrhredew
PPTX
Embeded System for Artificial intelligence 2.pptx
PDF
YKS Chrome Plated Brass Safety Valve Product Catalogue
PPTX
title _yeOPC_Poisoning_Presentation.pptx
PDF
Layer23-Switch.com The Cisco Catalyst 9300 Series is Cisco’s flagship stackab...
PDF
Prescription1 which to be used for periodo
PPTX
figurative-languagepowerpoint-150309132252-conversion-gate01.pptx
PPTX
Sem-8 project ppt fortvfvmat uyyjhuj.pptx
PPTX
STEEL- intro-1.pptxhejwjenwnwnenemwmwmwm
PPTX
02fdgfhfhfhghghhhhhhhhhhhhhhhhhhhhh.pptx
PDF
Smarter Security: How Door Access Control Works with Alarms & CCTV
PDF
Core Components of IoT, The elements need for IOT
PPTX
Embedded for Artificial Intelligence 1.pptx
PDF
Chapter -24-By Dr Sajid Ali Ansari 2021.pdf
PPTX
KVL KCL ppt electrical electronics eee tiet
PPTX
udi-benefits-ggggggggfor-healthcare.pptx
PPTX
Nanokeyer nano keyekr kano ketkker nano keyer
PDF
Lifting Equipment Inspection Checklist with eAuditor Audits & Inspections
PPTX
Presentacion compuuuuuuuuuuuuuuuuuuuuuuu
PPTX
making presentation that do no stick.pptx
dhcp concept.pptxfeegrvewfegrgerhtrhtrhredew
Embeded System for Artificial intelligence 2.pptx
YKS Chrome Plated Brass Safety Valve Product Catalogue
title _yeOPC_Poisoning_Presentation.pptx
Layer23-Switch.com The Cisco Catalyst 9300 Series is Cisco’s flagship stackab...
Prescription1 which to be used for periodo
figurative-languagepowerpoint-150309132252-conversion-gate01.pptx
Sem-8 project ppt fortvfvmat uyyjhuj.pptx
STEEL- intro-1.pptxhejwjenwnwnenemwmwmwm
02fdgfhfhfhghghhhhhhhhhhhhhhhhhhhhh.pptx
Smarter Security: How Door Access Control Works with Alarms & CCTV
Core Components of IoT, The elements need for IOT
Embedded for Artificial Intelligence 1.pptx
Chapter -24-By Dr Sajid Ali Ansari 2021.pdf
KVL KCL ppt electrical electronics eee tiet
udi-benefits-ggggggggfor-healthcare.pptx
Nanokeyer nano keyekr kano ketkker nano keyer
Lifting Equipment Inspection Checklist with eAuditor Audits & Inspections
Presentacion compuuuuuuuuuuuuuuuuuuuuuuu
making presentation that do no stick.pptx

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.