OneStopGate.Com
OnestopGate   OnestopGate
   Sunday, November 17, 2024 Login  
OnestopGate
Home | Overview | Syllabus | Tutorials | FAQs | Downloads | Recommended Websites | Advertise | Payments | Contact Us | Forum
OneStopGate

GATE Resources
Gate Articles
Gate Books
Gate Colleges 
Gate Downloads 
Gate Faqs
Gate Jobs
Gate News 
Gate Sample Papers
Training Institutes

GATE Overview
Overview
GATE Eligibility
Structure Of GATE
GATE Coaching Centers
Colleges Providing M.Tech/M.E.
GATE Score
GATE Results
PG with Scholarships
Article On GATE
Admission Process For M.Tech/ MCP-PhD
GATE Topper 2012-13
GATE Forum




GATE 2025 Exclusive
Organizing Institute
Important Dates
How to Apply
Discipline Codes
GATE 2025 Exam Structure

GATE 2025 Syllabus
Aerospace Engg..
Agricultural Engg..
Architecture and Planning
Chemical Engg..
Chemistry
Civil Engg..
Computer Science / IT
Electronics & Communication Engg..
Electrical Engg..
Engineering Sciences
Geology and Geophysics
Instrumentation Engineering
Life Sciences
Mathematics
Mechanical Engg..
Metallurgical Engg..
Mining Engg..
Physics
Production & Industrial Engg..
Pharmaceutical Sciences
Textile Engineering and Fibre Science

GATE Study Material
Aerospace Engg..
Agricultural Engg..
Chemical Engg..
Chemistry
Civil Engg..
Computer Science / IT
Electronics & Communication Engg..
Electrical Engg..
Engineering Sciences
Instrumentation Engg..
Life Sciences
Mathematics
Mechanical Engg..
Physics
Pharmaceutical Sciences
Textile Engineering  and Fibre Science

GATE Preparation
GATE Pattern
GATE Tips N Tricks
Compare Evaluation
Sample Papers 
Gate Downloads 
Experts View

CEED 2013
CEED Exams
Eligibility
Application Forms
Important Dates
Contact Address
Examination Centres
CEED Sample Papers

Discuss GATE
GATE Forum
Exam Cities
Contact Details
Bank Details

Miscellaneous
Advertisment
Contact Us


Home » GATE Study Material » Mathematics » Numerical Analysis » Interpolation and Polynomial Approximation » Lagrange Polynomials

Lagrange Polynomials

Looking for GATE Preparation Material? Join & Get here now!

** Gate 2013 Question Papers.. ** CEED 2013 Results.. ** Gate 2013 Question Papers With Solutions.. ** GATE 2013 CUT-OFFs.. ** GATE 2013 Results.. **

Lagrange Polynomials

Lagrange Polynomials

 

Background.

    We have seen how to expand a function  [Graphics:Images/LagrangePolyMod_gr_1.gif] in a Maclaurin polynomial about [Graphics:Images/LagrangePolyMod_gr_2.gif] involving the powers [Graphics:Images/LagrangePolyMod_gr_3.gif] and a Taylor polynomial about [Graphics:Images/LagrangePolyMod_gr_4.gif] involving the powers [Graphics:Images/LagrangePolyMod_gr_5.gif].  The Lagrange polynomial of degree [Graphics:Images/LagrangePolyMod_gr_6.gif] passes through the [Graphics:Images/LagrangePolyMod_gr_7.gif] points  [Graphics:Images/LagrangePolyMod_gr_8.gif]  for  [Graphics:Images/LagrangePolyMod_gr_9.gif]  and were investigated by the mathematician Joseph-Louis Lagrange (1736-1813).   

Theorem ( Lagrange Polynomial ).  Assume that  [Graphics:Images/LagrangePolyMod_gr_10.gif] and  [Graphics:Images/LagrangePolyMod_gr_11.gif] for  [Graphics:Images/LagrangePolyMod_gr_12.gif]  are distinct  values.  Then

    [Graphics:Images/LagrangePolyMod_gr_13.gif],
    
where [Graphics:Images/LagrangePolyMod_gr_14.gif] is a polynomial that can be used to approximate  [Graphics:Images/LagrangePolyMod_gr_15.gif],

    [Graphics:Images/LagrangePolyMod_gr_16.gif]  

and we write  

    [Graphics:Images/LagrangePolyMod_gr_17.gif].

The Lagrange polynomial goes through the [Graphics:Images/LagrangePolyMod_gr_18.gif] points  [Graphics:Images/LagrangePolyMod_gr_19.gif],  i.e.

    [Graphics:Images/LagrangePolyMod_gr_20.gif]    for   [Graphics:Images/LagrangePolyMod_gr_21.gif].  

The remainder term  [Graphics:Images/LagrangePolyMod_gr_22.gif] has the form

    [Graphics:Images/LagrangePolyMod_gr_23.gif],

for some value [Graphics:Images/LagrangePolyMod_gr_24.gif] that lies in the interval [Graphics:Images/LagrangePolyMod_gr_25.gif].  

 

    The cubic curve in the figure below illustrates a Lagrange polynomial of degree n = 3, which passes through the four points [Graphics:Images/LagrangePolyMod_gr_26.gif] for  [Graphics:Images/LagrangePolyMod_gr_27.gif].  
    

[Graphics:Images/LagrangePolyMod_gr_28.gif]

[Graphics:Images/LagrangePolyMod_gr_29.gif] [Graphics:Images/LagrangePolyMod_gr_30.gif] [Graphics:Images/LagrangePolyMod_gr_31.gif]

Theorem.  (Error Bounds for Lagrange Interpolation, Equally Spaced Nodes)  Assume that  [Graphics:Images/LagrangePolyMod_gr_32.gif]  defined on [Graphics:Images/LagrangePolyMod_gr_33.gif],  which contains the equally spaced nodes  [Graphics:Images/LagrangePolyMod_gr_34.gif].  Additionally, assume that    [Graphics:Images/LagrangePolyMod_gr_35.gif]  and the derivatives of  [Graphics:Images/LagrangePolyMod_gr_36.gif]  up to the order  [Graphics:Images/LagrangePolyMod_gr_37.gif]  are continuous and bounded on the special subintervals  [Graphics:Images/LagrangePolyMod_gr_38.gif], [Graphics:Images/LagrangePolyMod_gr_39.gif], [Graphics:Images/LagrangePolyMod_gr_40.gif], [Graphics:Images/LagrangePolyMod_gr_41.gif], and [Graphics:Images/LagrangePolyMod_gr_42.gif], respectively;  that is,

    [Graphics:Images/LagrangePolyMod_gr_43.gif],  

for  [Graphics:Images/LagrangePolyMod_gr_44.gif].  The error terms corresponding to these three cases have the following useful bounds on their magnitude  

(i).    [Graphics:Images/LagrangePolyMod_gr_45.gif][Graphics:Images/LagrangePolyMod_gr_46.gif]   is valid for  [Graphics:Images/LagrangePolyMod_gr_47.gif],  

(ii).    [Graphics:Images/LagrangePolyMod_gr_48.gif][Graphics:Images/LagrangePolyMod_gr_49.gif]   is valid for  [Graphics:Images/LagrangePolyMod_gr_50.gif],  

(iii).    [Graphics:Images/LagrangePolyMod_gr_51.gif][Graphics:Images/LagrangePolyMod_gr_52.gif]   is valid for  [Graphics:Images/LagrangePolyMod_gr_53.gif],  

(iv).    [Graphics:Images/LagrangePolyMod_gr_54.gif][Graphics:Images/LagrangePolyMod_gr_55.gif]   is valid for  [Graphics:Images/LagrangePolyMod_gr_56.gif],  

(v).    [Graphics:Images/LagrangePolyMod_gr_57.gif][Graphics:Images/LagrangePolyMod_gr_58.gif]   is valid for  [Graphics:Images/LagrangePolyMod_gr_59.gif].  

 

 

Algorithm ( Lagrange Polynomial ).  To construct the Lagrange polynomial  

    [Graphics:Images/LagrangePolyMod_gr_60.gif]  
    
of degree [Graphics:Images/LagrangePolyMod_gr_61.gif],  based on the [Graphics:Images/LagrangePolyMod_gr_62.gif] points [Graphics:Images/LagrangePolyMod_gr_63.gif] for  [Graphics:Images/LagrangePolyMod_gr_64.gif].  The Lagrange coefficient polynomials  [Graphics:Images/LagrangePolyMod_gr_65.gif]  for degree [Graphics:Images/LagrangePolyMod_gr_66.gif] are:  

    [Graphics:Images/LagrangePolyMod_gr_67.gif]  for  [Graphics:Images/LagrangePolyMod_gr_68.gif].

 

 

You can use the first Mathematica subroutine that does things in the "traditional way" or you are welcome to use the second subroutine that illustrates  "Object Oriented Programming."  

Mathematica Subroutine (Lagrange Polynomial). Traditional programming.

[Graphics:Images/LagrangePolyMod_gr_69.gif]

The above algorithm is sufficient for understanding and/or constructing the Lagrange polynomial.  

Object Oriented Programming.  Welcome to the brave new world of "Object Oriented Programming."  Use the following Mathematica subroutine which is "programmed" using the "mathematical objects"  [Graphics:Images/LagrangePolyMod_gr_70.gif].  Templates for the objects are located by going to "File" then select "Palettes", then select "BasicInput."  

Mathematica Subroutine (Lagrange Polynomial). Object oriented programming.

[Graphics:Images/LagrangePolyMod_gr_71.gif]

Mathematica Subroutine (Lagrange Polynomial). Compact object oriented programming.

[Graphics:Images/LagrangePolyMod_gr_72.gif]



Discussion Center

Discuss/
Query

Papers/
Syllabus

Feedback/
Suggestion

Yahoo
Groups

Sirfdosti
Groups

Contact
Us

MEMBERS LOGIN
  
Email ID:
Password:

  Forgot Password?
 New User? Register!

INTERVIEW EBOOK
Get 9,000+ Interview Questions & Answers in an eBook. Interview Question & Answer Guide
  • 9,000+ Interview Questions
  • All Questions Answered
  • 5 FREE Bonuses
  • Free Upgrades
GATE RESOURCES
 
  • Gate Books
  • Training Institutes
  • Gate FAQs
  • GATE BOOKS
     
  • Mechanical Engineeering Books
  • Robotics Automations Engineering Books
  • Civil Engineering Books
  • Chemical Engineering Books
  • Environmental Engineering Books
  • Electrical Engineering Books
  • Electronics Engineering Books
  • Information Technology Books
  • Software Engineering Books
  • GATE Preparation Books
  • Exciting Offers



    GATE Exam, Gate 2009, Gate Papers, Gate Preparation & Related Pages


    GATE Overview | GATE Eligibility | Structure Of GATE | GATE Training Institutes | Colleges Providing M.Tech/M.E. | GATE Score | GATE Results | PG with Scholarships | Article On GATE | GATE Forum | GATE 2009 Exclusive | GATE 2009 Syllabus | GATE Organizing Institute | Important Dates for GATE Exam | How to Apply for GATE | Discipline / Branch Codes | GATE Syllabus for Aerospace Engineering | GATE Syllabus for Agricultural Engineering | GATE Syllabus for Architecture and Planning | GATE Syllabus for Chemical Engineering | GATE Syllabus for Chemistry | GATE Syllabus for Civil Engineering | GATE Syllabus for Computer Science / IT | GATE Syllabus for Electronics and Communication Engineering | GATE Syllabus for Engineering Sciences | GATE Syllabus for Geology and Geophysics | GATE Syllabus for Instrumentation Engineering | GATE Syllabus for Life Sciences | GATE Syllabus for Mathematics | GATE Syllabus for Mechanical Engineering | GATE Syllabus for Metallurgical Engineering | GATE Syllabus for Mining Engineering | GATE Syllabus for Physics | GATE Syllabus for Production and Industrial Engineering | GATE Syllabus for Pharmaceutical Sciences | GATE Syllabus for Textile Engineering and Fibre Science | GATE Preparation | GATE Pattern | GATE Tips & Tricks | GATE Compare Evaluation | GATE Sample Papers | GATE Downloads | Experts View on GATE | CEED 2009 | CEED 2009 Exam | Eligibility for CEED Exam | Application forms of CEED Exam | Important Dates of CEED Exam | Contact Address for CEED Exam | CEED Examination Centres | CEED Sample Papers | Discuss GATE | GATE Forum of OneStopGATE.com | GATE Exam Cities | Contact Details for GATE | Bank Details for GATE | GATE Miscellaneous Info | GATE FAQs | Advertisement on GATE | Contact Us on OneStopGATE |
    Copyright © 2024. One Stop Gate.com. All rights reserved Testimonials |Link To Us |Sitemap |Privacy Policy | Terms and Conditions|About Us
    Our Portals : Academic Tutorials | Best eBooksworld | Beyond Stats | City Details | Interview Questions | India Job Forum | Excellent Mobiles | Free Bangalore | Give Me The Code | Gog Logo | Free Classifieds | Jobs Assist | Interview Questions | One Stop FAQs | One Stop GATE | One Stop GRE | One Stop IAS | One Stop MBA | One Stop SAP | One Stop Testing | Web Hosting | Quick Site Kit | Sirf Dosti | Source Codes World | Tasty Food | Tech Archive | Software Testing Interview Questions | Free Online Exams | The Galz | Top Masala | Vyom | Vyom eBooks | Vyom International | Vyom Links | Vyoms | Vyom World
    C Interview Questions | C++ Interview Questions | Send Free SMS | Placement Papers | SMS Jokes | Cool Forwards | Romantic Shayari