Computational Algorithm for Higher Order Legendre Polynomial and Gaussian Quadrature Method

Similar documents
H2 Mathematics Pure Mathematics Section A Comprehensive Checklist of Concepts and Skills by Mr Wee Wen Shih. Visit: wenshih.wordpress.

Logarithms APPENDIX IV. 265 Appendix

Application of Improved Genetic Algorithm to Two-side Assembly Line Balancing

Name Class. Date Section. Test Form A Chapter Chapter 9 Infinite Series. 1 n 1 2 n 3n 1, n 1, 2, 3, Find the fourth term of the sequence

AC : USING ELLIPTIC INTEGRALS AND FUNCTIONS TO STUDY LARGE-AMPLITUDE OSCILLATIONS OF A PENDULUM

High-Order CCII-Based Mixed-Mode Universal Filter

Roberto s Notes on Infinite Series Chapter 1: Series Section 2. Infinite series

DIGITALLY TUNED SINUSOIDAL OSCILLATOR USING MULTIPLE- OUTPUT CURRENT OPERATIONAL AMPLIFIER FOR APPLICATIONS IN HIGH STABLE ACOUSTICAL GENERATORS

Symmetric implicit multiderivative numerical integrators for direct solution of fifth-order differential equations

x y z HD(x, y) + HD(y, z) HD(x, z)

APPLICATION NOTE UNDERSTANDING EFFECTIVE BITS

CHAPTER 5 A NEAR-LOSSLESS RUN-LENGTH CODER

Problem of calculating time delay between pulse arrivals

THE LUCAS TRIANGLE RECOUNTED. Arthur T. Benjamin Dept. of Mathematics, Harvey Mudd College, Claremont, CA Introduction

A New Space-Repetition Code Based on One Bit Feedback Compared to Alamouti Space-Time Code

On Parity based Divide and Conquer Recursive Functions

GENERALIZED FORM OF A 4X4 STRONGLY MAGIC SQUARE

X-Bar and S-Squared Charts

A study on the efficient compression algorithm of the voice/data integrated multiplexer

Ch 9 Sequences, Series, and Probability

On the Number of Permutations on n Objects with. greatest cycle length

Analysis of SDR GNSS Using MATLAB

PRACTICAL FILTER DESIGN & IMPLEMENTATION LAB

信號與系統 Signals and Systems

COMPRESSION OF TRANSMULTIPLEXED ACOUSTIC SIGNALS

Intermediate Information Structures

Fault Diagnosis in Rolling Element Bearing Using Filtered Vibration and Acoustic Signal

High Speed Area Efficient Modulo 2 1

POWERS OF 3RD ORDER MAGIC SQUARES

信號與系統 Signals and Systems

Subcarriers and Bits Allocation in Multiuser Orthogonal Frequency Division Multiplexing System

Research Article Dominant Mode Wave Impedance of Regular Polygonal Waveguides

Design of FPGA Based SPWM Single Phase Inverter

HOW BAD RECEIVER COORDINATES CAN AFFECT GPS TIMING

WAVE-BASED TRANSIENT ANALYSIS USING BLOCK NEWTON-JACOBI

Importance Analysis of Urban Rail Transit Network Station Based on Passenger

Design of FPGA- Based SPWM Single Phase Full-Bridge Inverter

Radar emitter recognition method based on AdaBoost and decision tree Tang Xiaojing1, a, Chen Weigao1 and Zhu Weigang1 1

Sapana P. Dubey. (Department of applied mathematics,piet, Nagpur,India) I. INTRODUCTION

MEASUREMENT AND CONTORL OF TOTAL HARMONIC DISTORTION IN FREQUENCY RANGE 0,02-10KHZ.

BANDWIDTH AND GAIN ENHANCEMENT OF MULTIBAND FRACTAL ANTENNA BASED ON THE SIERPINSKI CARPET GEOMETRY

Cross-Layer Performance of a Distributed Real-Time MAC Protocol Supporting Variable Bit Rate Multiclass Services in WPANs

4.3 COLLEGE ALGEBRA. Logarithms. Logarithms. Logarithms 11/5/2015. Logarithmic Functions

PERMUTATION AND COMBINATION

EECE 301 Signals & Systems Prof. Mark Fowler

Fingerprint Classification Based on Directional Image Constructed Using Wavelet Transform Domains

SEVEN-LEVEL THREE PHASE CASCADED H-BRIDGE INVERTER WITH A SINGLE DC SOURCE

1. How many possible ways are there to form five-letter words using only the letters A H? How many such words consist of five distinct letters?

Image Contrast Enhancement based Sub-histogram Equalization Technique without Over-equalization Noise

Spread Spectrum Signal for Digital Communications

An Adaptive Image Denoising Method based on Thresholding

Massachusetts Institute of Technology Dept. of Electrical Engineering and Computer Science Fall Semester, Introduction to EECS 2.

Survey of Low Power Techniques for ROMs

GENERATE AND MEASURE STANDING SOUND WAVES IN KUNDT S TUBE.

Making sure metrics are meaningful

A New Design of Log-Periodic Dipole Array (LPDA) Antenna

Analysis and Optimization Design of Snubber Cricuit for Isolated DC-DC Converters in DC Power Grid

Functional Testing. approach. In this paper, we discuss the effect of phase delay on the. The mixed-signal BIST architecture, illustrated in Fig.

Image Contrast Enhancement based Sub-histogram Equalization Technique without Over-equalization Noise

Single Bit DACs in a Nutshell. Part I DAC Basics

Summary of Random Variable Concepts April 19, 2000

7. Counting Measure. Definitions and Basic Properties

Sensors & Transducers 2015 by IFSA Publishing, S. L.

Lecture 4: Frequency Reuse Concepts

Compound Controller for DC Motor Servo System Based on Inner-Loop Extended State Observer

Open Access Researching Coal and Rock Character Recognition Based on Wavelet Packet Frequency Band Energy

Lossless image compression Using Hashing (using collision resolution) Amritpal Singh 1 and Rachna rajpoot 2

LETTER A Novel Adaptive Channel Estimation Scheme for DS-CDMA

OPTIMIZATION OF RNS FIR FILTERS FOR 6-INPUTS LUT BASED FPGAS

Nonlinear System Identification Based on Reduced Complexity Volterra Models Guodong Jin1,a* and Libin Lu1,b

Test Time Minimization for Hybrid BIST with Test Pattern Broadcasting

Simulation of Laser Manipulation of Bloch. Vector in Adiabatic Regime

The Fast Haar Wavelet Transform for Signal & Image Processing

Research on method of total transfer capacity based on immune genetic algorithm Dong Liang, Jianjun Xu, Zhigang Sun

GENERALIZED SCATTERING MATRIX FOR OPTICAL STRUCTURES. Sunit Mehrotra,Reena Kumbhare and Girish P. Saraph

The Institute of Chartered Accountants of Sri Lanka

Harmonic Filter Design for Hvdc Lines Using Matlab

Approximate Loading Margin Methods Using Artificial Neural Networks in Power Systems

A Novel Three Value Logic for Computing Purposes

The Use of Harmonic Information in the Optimal Synthesis of Mechanisms

Solutions for Inline Recycling A and C Series

International Power, Electronics and Materials Engineering Conference (IPEMEC 2015)

PROJECT #2 GENERIC ROBOT SIMULATOR

Introduction to CPM-OFDM: An Energy Efficient Multiple Access Transmission Scheme

Executing The ICMPPSO Optimization Algorithm to Minimize Phase Voltage THD of Multilevel Inverter with Adjustable DC Sources

doi: info:doi/ /ifeec

3. Error Correcting Codes

INCREASE OF STRAIN GAGE OUTPUT VOLTAGE SIGNALS ACCURACY USING VIRTUAL INSTRUMENT WITH HARMONIC EXCITATION

Broadcasting in Multichannel Cognitive Radio Ad Hoc Networks

Methods to Reduce Arc-Flash Hazards

Novel Steganography System using Lucas Sequence

CAEN Tools for Discovery

Outline. Motivation. Analog Functional Testing in Mixed-Signal Systems. Motivation and Background. Built-In Self-Test Architecture

HDL LIBRARY OF PROCESSING UNITS FOR GENERIC AND DVB-S2 LDPC DECODING

Efficient Energy Consumption Scheduling: Towards Effective Load Leveling

A Radio Resource Allocation Algorithm for QoS Provision in PMP-based Systems

Combinatorics. Chapter Permutations. Reading questions. Counting Problems. Counting Technique: The Product Rule

Performance Analysis of Channel Switching with Various Bandwidths in Cognitive Radio

A New FDTD Method for the Study of MRI Pulsed Field Gradient- Induced Fields in the Human Body

A SIMPLE METHOD OF GOAL DIRECTED LOSSY SYNTHESIS AND NETWORK OPTIMIZATION

Transcription:

Computatioal Algorithm for Higher Order Legre olyomial ad Gaussia Quadrature Method Asif M. Mughal, Xiu Ye ad Kamra Iqbal Dept. of Applied Sciece, Dept. of Mathematics ad Statistics, Dept. of Systems Egieerig Uiversity of Arkasas at Little Rock Abstract: - There are may umerical methods adopted to solve mathematical problems. Early researchers focused o the methods to reduce computatioal costs. I recet years, reductio i computatioal costs makes may umerical methods available which were ot tried for this reaso. The use of higher order Legre polyomials for more tha -7 orders is usually ot commo. The efficiet ad quick umerical methods like Gaussia Quadrature were ot adopted for higher orders. I this paper a very simple computatioal algorithm is adopted for calculatios of higher order Legre polyomials ad its use for Gaussia quadrature umerical itegratio till 44 th order. I. INTRODUCTION There are may efficiet umerical methods which are ot i use much due to computatioal costs ad ature of precise calculatios i the computers. I recet years, reductio i techological costs leads to make may solutios available which were oly tried ad used for very high paid defese ad commercial use. Adrie Marie Legre, a Frech mathematicia (d. 8) whe discovered famous polyomial bear his ame ow was ever aware of that how much it will be used i developig mathematics. This Legre polyomial is beig used by mathematicias ad egieers for variety of mathematical ad umerical solutios. This use of Legre polyomial i ormal texts is usually oly referred till -7 order polyomials, because fidig Legre polyomials for higher orders is ot oly computatioally tough but also time cosumig. The recet research o Legre polyomial such as Ref. [] discusses ad explores the use of Legre series ad best leadig coefficiets of Legre polyomials for differet applicatios. Ref [] uses sixth order Legre polyomial for propagatio of guided waves ad similar method with higher order polyomials leads to better results. I umerical aalysis ad methods, Legre polyomials are used to efficietly calculate umerical itegratios by Gaussia quadrature method. This method is very effective i approximatig itegrals with accuracy ad i small time. Ref [] describes may properties of this method for arbitrary fuctios ad use of Gaussia quadrature for the triagular fiite elemets. The other researches such as Ref [4-6] published valuable use of this method over period of time, but use of this method for higher order computatio requires higher order Legre polyomials ad coefficiets of Gaussia quadrature which are usually ot available easily i refereced text. I this paper, first mathematical backgroud is preseted followed by computatioal algorithm ad at the a example is discussed with umerical itegratios. Roots of Legre polyomials ad coefficiets of Gaussia quadrature are provided i Appix for 44 th order. II.MATHEMATIAL BACKGROUND A. Legre olyomials The th order Legre polyomial is geerally give by the followig equatio. M = ( ) m=! ()! m! ( m)! ( m)(! m)! m m x () Where is the order of polyomial ad M determies the eve ad odd ature of polyomial by fidig which is iteger. ( ) M = or M = () There are differet cases of Legre polyomials ad usually the effect is determied by leadig coefficiets of x. I origial Equatio give i Ref [7], leadig coefficiets of Legre polyomial is ot ad scaled by -, but dividig the whole polyomial with leadig coefficiet with will results i a polyomial give by Eq() with leadig coefficiet. The basic property of Legre polyomials is that these are orthogoal to each other with respect to weight fuctio w(x) = o [-,]. The first two polyomials are always same i all cases but the higher order polyomials are created with recursive algorithm ad ca be ormalized accordigly. The set of Legre polyomial up till ay degree provided a orthogoal basis for differet applicatios. The orm of Legre polyomials is give by = () +

Legre polyomials till th order are give as follows 4 6 7 8 9 = = x = x = x x 4 6 = x x + 7 = x x + x 9 6 4 = x x + x 7 = x x + x x 4 49 8 8 6 4 4 8 7 = x x + x x + 4 87 9 6 7 6 84 7 = x x + x x + 7 8 66 4 8 6 6 4 6 = x x + x x + x 9 4 7 The pyramid of Legre polyomial ca be developed at ay required degree. These polyomials are geerated from code give i sec III. The graphs of Legre polyomials itercept the x-axis at times withi [-, ]. The importat thig to ote is that the area covered by these polyomials is differet ad that ca be implied to get umerical itegratio. Fig. shows the plot of Legre polyomials ad it ca be oted that higher degrees has lesser amplitude.. -. & - -.. -. -... -. - 8 -. -.4. -. -.4 -... 6 -. - x - 9 - -.. -. -..4. -. 4-7 -.4 - x - - - Fig. lots of Legre olyomials It is obvious from the figure that icreasig order of Legre polyomials decreases the magitude of oscillatios i the polyomial ad this is the property which was exploited by Karli ad Studde to itroduce Gaussia quadrature algorithm. B. Gaussia Quadrature Method Amog may other umerical itegratio methods, Gaussia quadrature method is used for may itegral approximatios. The mai problem of this method is that it requires computatio of Legre polyomials to get it solutio. The algorithm usually follows by the icreasig the order of polyomial if error boud does t satisfies. Though it is fairly simple algorithm yet it is rarely used i practical applicatios due to its computatioal expesiveess. This method works with the roots of Legre polyomials ad fidig coefficiets for usig these roots. The desired fuctio (itegrad) is represeted i terms of polyomial orthogoal basis. If the itegrad is a polyomial the residual error will be zero ad Gaussia quadrature is applied as i= = c ( ) i x i Where the coefficiets c i are give as j= xi j i (4) = x x j c i dx () x j If the itegrad is ot a polyomial or ot i iterval [-,] the it ca be trasformed i to a itegral over [-,] usig chage of variables, ad i this case error will ot be zero. b a + + = ( b a) t a b ( b a) f dx f dt The error i this case will coverge to zero at higher orders of Legre polyomials ad yield better results. The proof of covergece ad details descriptio is give i Ref. [8] pp-6. I Ref. [9] pp8-9, this method is used for a example to show faster ad direct covergece tha Simpso s rule or Romberg itegratio method. However, this is ot for all fuctios ad lower order Legre polyomial with Gaussia quadrature may yield to a ocoverget behavior as show i example i sectio IV. III. COMUTATIONAL ALGORITHIM Higher order Legre polyomials ca be obtaied by usig ew computatioal techiques ad also ca be applied i differet methods such as Gaussia quadrature for umerical itegratios. I this paper, a MATLAB code is preseted that shows how simply a umerical itegratio usig Gaussia quadrature is possible. The symbolic math toolbox is useful i computig this algorithm. I first coefficiets of Legre polyomial are foud usig Eq () (6)

(ad also ormalize it i.e. leadig coefficiet is ). The zeros are stuffed i coefficiets vector to geerate roots of polyomial (required by the MATLAB code). The roots are the used to geerate coefficiets of Gaussia quadrature method as give by Eq (6). Simultaeously Gaussia quadrature itegratio of a required fuctio is also geerated. This method work recursively with eve ad odd polyomials ad get results till the required degree. It is also importat ote that the computatioal efficiecy of machie o which MATLAB code works also take ito cosideratios. This code was ru o MATLAB v7. o Su Solaris System to get roots ad coefficiets give i Appix till 44 th order of the polyomial. A. MATLAB CODE clear all clc GQ=; sol=; F=ilie('f(x),'x'); =; MN=44; c=zeros(mn,mn); pl=zeros(mn,mn); for =:MN if mod(,)== a=; M=/; for m=:m a(m+)=power(-,m)*factorial(*- *m)/(factorial(m)*factorial(-m)*factorial(-*m)); b=a./a(); j=; i=; rt=zeros(,*legth(b)-); while j<=legth(rt) rt(j)=b(i); j=j+; i=i+; p=roots(rt); for u=:legth(p) pl(u,)=p(u); syms x; i=; j=; G=; H=; for i=: for j=: if j==i l=;%disp(i); G=G*(x-p(j))/(p(i)-p(j)); c(i,)=double(it(g,x,-,)); H=G; G=; sum=; for i=: sum=sum+c(i,)*f(p(i)); GQ()=sum; a=; M=(-)/; for m=:m a(m+)=power(-,m)*factorial(*- *m)/(factorial(m)*factorial(-m)*factorial(-*m)); b=a./a(); j=; i=; rt=zeros(,*legth(b)); while j<=legth(rt) rt(j)=b(i); j=j+; i=i+; p=roots(rt); for u=:legth(p) pl(u,)=p(u); syms x; i=; j=; c=; G=; H=; for i=: for j=: if j==i l=;%disp(i); G=G*(x-p(j))/(p(i)-p(j)); c(i,j)=double(it(g,x,-,)); H=G; G=; sum=; for i=: sum=sum+c(i,j)*f(p(i)); GQ()=sum; sol=gq() %END ROGRAM

This code geerates matrices for roots of Legre polyomials ad coefficiets c i for Gaussias quadrature method for to MN, (th) order. Solutio of Gaussia quadrature GQ is ot required i this code, it ca be doe separately ad easily, but it is provided i this to see the tr of covergece with respect to order of polyomials. The roots of ay m order polyomial ca be store i a vector form i oe variable e.g. p ad a simple MATLAB commad rats(poly(p)) will give a mth order polyomial i fractios. IV. EXAMLE The code give i previous sectio ca be computed for ay fuctio of x provided that it must be geerated accordig to Eq (6), ad itegratio limits are appropriately trasformed with i [-,] boud. There are may fuctios for which Gaussia quadrature coverges i a low order ad proves the better results tha Simpso s rule or Romberg itegratio. But there are may for which if roots of Legre polyomials ad coefficiets of Gaussia quadrature are available, it ca compute the results with less computatioal delays. Oe such example is the fuctio give i Eq (7), this seems to be a very easy problem ad the exact solutio of this ca be obtaied very easily. dx x + I (7) = The exact solutio of this itegral is give as =.944867 I = ta (8) I this case we are cosiderig a absolute error boud less tha -. The itegral of Eq (7) ca be trasformed accordig to Eq(6) ad it will be give as I = dt t + Trasformig the itegrad f(x) i Eq(7) ad Eq(9) actually does t chage the fuctioal properties as show i Fig. f(x).9.8.7.6..4... Origial - - x f(t) 9 8 7 6 4 (9) After Chage of Variable - -.. t Fig. Itegrad before ad after chage of variable It ca be see the fuctio from - to remais the same withi - to after chage of variable ad i origial case the maximum value is ad after chage of variable the maximum value is. Such fuctios to umerical itegrate with low order ad usig Simpso s Rule ad Romberg Itegratio the values are give i Table. These methods are ot discussed here ad their discussio is available i Ref [8], pp96-. Also to ote that i case of Romberg itegratio method, it is ot simple as it computes x matrices. The covergece of this problem with respect to order of Gaussia quadrature is show i Table. It is also oted that i case of available roots ad coefficiets, the calculatio method is simpler tha Simpso s rule ad Romberg Itegratio method. I the above code, i a ilie fuctio, left had side of Eq (7) is used istead of f(x) before ruig the code for this example. At = 44, the absolute error is.74847479 with respect to exact solutio, better tha the similar order of Simpso s rule or Romberg itegratio method. TABLE Itegratio with Simpso s Rule ad Romberg Method Simpso s Rule =4.94689 Simpso s Rule =94.946 Romberg Method =8.94494 Romberg Method =9.949 TABLE Gaussia Quadrature Method GQ GQ..87.8478 4.894874 9.784.9888764 4.8 6.9888 6.69787 7.968996 6.98 8.976 7 4.74496 9.996744 8.97796.98694 9 4.48784.997486.6978.97867.646944.979448.464669868 4.9868.9676447.94749486 4.664 6.979644.97694 7.94764 6.7789748 8.998696 7.87868 9.9446698 8.7899498 4.94686 9.77747 4.944974.8988486 4.949699.976 4.9467.8778669 44.947994

V. CONCLUSION The roots or Legre polyomial ca be calculated easily with the use of simple MATLAB code ad higher order polyomials are available to use i differet applicatios. The higher order roots are successfully used to apply i Gaussia quadrature itegratio method for a problem which seems to be usolvable by this method i lower orders. Ay order polyomial ca be geerated for other applicatios usig this code. AENDIX - TABLE Calculated roots of Legre olyomial ad Gaussia quadrature coefficiets for 44 th order. c 44 r 44.477846.9984876.99488.999647479.9799768469.988996.747768.9664679676.874486.94886688.4497.9948.778.88898466.66899.8448467.48476646.84788.46497666.77478466.464469.7988844.677.676668.6697884.649478.7494897.64664867.77687 -.99864474.9644748 -.999897874.498876 -.97986987794.68749 -.96667978.689964 -.949479644.46668 -.9967997.696974 -.888666.89774 -.8498749.4998844 -.8749.494788 -.77669947.86948 -.7746.77696 -.67667984.6977494497 -.649794789.679844789 -.64664847884.68686996.76877.64774 -.777688.66497.4499847.68949 -.4499446.69677449.7879878.66989 -.787996476.66769994.498.66649 -.4849.6878977664.446949897.69498669 -.4469494469.6997969878.76847794.6899897 -.76847666.769649.699767.76778 -.699769.764777.896964.7676488 -.896964 REFERENCES [] Gavi Brow, Stamatis Koumados, ad Kuyag Wag. O the positivity of some basic legre polyomial sums Joural of Lodo Mathematical Society, 9, pp99-94, Cambridge Uiversity ress, 999. [].Jea E. Lefebvre, Victor Zhag, Joseph Gazalet, Tadeusz Gryba, ad Veroique Sadaue, Acoustic Wave ropagatio i Cotiuous Fuctioally Graded lates: A Extesio of the Legre olyomial Approach, IEEE Trasactios O Ultrasoics, Ferroelectrics, Ad Frequecy Cotrol, Vol. 48, No., September [] D. A. Duavat. High degree efficiet symmetrical Gaussia quadrature rules for the triagle. Iteratioal Joural of Numerical Methods i Egieerig, Vol., No. 6, pp9-48, 98. [4] J. Ma, V. Rokhli, S. Wadzura Geeralized Gaussia Quadrature Rules for Systems of Arbitrary Fuctios. SIAM Joural o Numerical Aalysis, Vol. No., pp. 97-996. 996. [] Dirk. Laurie, Calculatio Of Gauss-Krorod Quadrature Rules, Mathematics Of Computatio, Vol. 66, No. 9, pp -4, July 997. [6] Carlos F. Borges, O a class of Gauss-like quadrature rules, Numerische Mathematik, Volume 67, No., pp 7-88, April 994 [7] Erwi Kreyszig, Advaced Egieeig Mathematics, 7 th Ed, J. Weily, 99. [8] J.D. Faires, R. Burde, Numerical Aalysis, 7 th Ed., Brooks/Cole ublishig,. [9] J.D. Faires, R. Burde, Numerical Methods, d Ed., Brooks/Cole ublishig, 998.