How to find a weight function for a set of orthogonal polynomials?

I've got a set of orthonormal (and monic) polynomials that I generated using the well known three term recurrence relation. When I plot the functions, the interval upon which they are orthogonal is obvious. However I don't know how to determine an appropriate weighting function to use for the inner product. (The polynomials do not match any of the classic or well described functions as far as I can tell.) How does one typically find the weighting function? BTW, just an amateur math enthusiast here, so I probably won't understand anything beyond undergraduate level math.

πŸ‘︎ 6
πŸ’¬︎
πŸ‘€︎ u/realbrew
πŸ“…︎ Dec 14 2021
🚨︎ report
"Legendre Polynomials are a good basis because they're orthogonal", do they literally mean at right angles; how do you grasp the concept of orthogonal in this case?

{1, x, xΒ² - 1/3, ...}

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/IsXp
πŸ“…︎ May 10 2021
🚨︎ report
Orthogonal Polynomial Question - Legendre Polynomials

"Show that the polynomials, q_n = D^n u_n = D^n (x^2 - 1)^n , are orthogonal on L^2[-1,1] (with D^n = (d/dx)^n) and are therefore scalar multiples of the Legendre Polynomials by showing by induction that:

  1. D^k u_n( Β± 1) = 0 for k < n - (it isn't hugely clear but this is u_n evaluated at Β± 1)

  2. β‰ͺ D^n u_n, D^m u_m ≫ = - β‰ͺ D^(n-1) u_n, D^(m+1) u_m ≫ (Where β‰ͺ f,g ≫ denotes an inner product ∫ f(x) g(x) dx over [-1,1]

  3. β‰ͺ q_n, q_m ≫ = 0, unless n = m

I spent a while expanding out the products and derivatives of the first one hoping to find a pattern, but ended up with a bunch of ugly factorials and I feel like this was the incorrect direction.
Could someone please point my in the right direction?

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/gaimsta12
πŸ“…︎ May 20 2021
🚨︎ report
ELI5: What is a orthogonal Polynomial? poly in R

Hi,

I am trying to improve the predictive power of a multiple regression model. One of the scatterplot show a quadratic relationship between my Y and the variable and I would like to add this to the model.

So far so good.

The problem I have, is that in R it is always suggested to use the function poly, which according to the help function of R, is a function to get the orthogonal polynomial of something:

poly(x, degree)

Although I can add the variable manually to the model without using this function (which is very easy, I have just to add:

~ x + x^2

I want to understand what an orthogonal polynomial is and why it is suggested to use this function in R instead of "normal" polynomials. Please explain like I am 5 :)

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/Beavisx_K_90
πŸ“…︎ Feb 23 2021
🚨︎ report
Some Figures from a Thorough Study of the Polynomials Orthogonal on [-1,1] With Respect to the Weight Function exp(iωz) Showing Particularly How their Roots Migrate in the Complex Plane as ω Waxeth Mickle
πŸ‘︎ 9
πŸ’¬︎
πŸ‘€︎ u/SassyCoburgGoth
πŸ“…︎ Dec 21 2020
🚨︎ report
Trying to find compete set of orthogonal polynomials

Recently, i've been personally researching a way to find any orthogonal polynomial. Sort of reverse engineering them. The goal is to find all sets of orthogonal polynomials and extend to more dimensions.

Ortho. polynomials can be represented as the determinant of a Vandermonde matrix.

p(x)=det T(x)

T(x) =

(u(0) , u(1) , ...,

u() , u() , ... ,

1 , ... , x^n )

Where u(n) is the nth moment of the weight function.

I have also found matrix representations of othro. polynomials, which are the determinant of a matrix A

p(x) = det A

Where A =

(ax, r(2), 0,...,0,

r(2), ax, r(3),0,....0,

0, r(3), ax, r(4),0,....,0,

0,...,0, r(n), ax)

r(n) are constants depending only on n, the size of the matrix

For Hermite and n=2

T =(4,2,

1, x^2 )

A=(2x, sqrt(2) ,

sqrt(2), 2x)

Now, the task is trying to find a generalized B,

where T=BA

such that detB=1 for all B, ie B would be special orthogonal. I have started working out B's for Hermite and hope to generalize for all Ortho. Polynomials. I have also even extended the matrix A to include Bessel functions, which involve a complex r(n).

Has anyone seen work covering or expanding on this?

πŸ‘︎ 7
πŸ’¬︎
πŸ‘€︎ u/RoyGB_IV
πŸ“…︎ Jul 18 2020
🚨︎ report
Orthogonal polynomials (Legendre)

This type of question is a common exam question on the theoretical part of my exam and I cannot find any way to solve it in my lecture notes or online.

Derive the homogeneous linear second order differential equation that is satisfied by Legendre polynomials (starting from Rodrigues' formula)

Essentially work the other way around -- instead of starting with the equation, you're given the solutions. This question can also be posed with the formula for Hermite or Laguerre polynomials.

I know how to solve the equation using the Frobenius method and derive the polynomials, but I have no idea how to even begin if starting with the polynomials to derive the equation.

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/Ekvinoksij
πŸ“…︎ Sep 02 2020
🚨︎ report
Looking comprehensive material on Orthogonal polynomials/functions

Anyone know a good book/paper that really goes into depth on Orthogonal polynomials and Sturm-Liouville Theory? It would be great if it also covers applications to physics.

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/Redrum10987
πŸ“…︎ Jun 24 2020
🚨︎ report
Do orthogonal projections of functions always approach Taylor polynomials in the limit of the interval going to width 0? Link to Desmos plot, details in comments. desmos.com/calculator/oza…
πŸ‘︎ 9
πŸ’¬︎
πŸ‘€︎ u/N_Johnston
πŸ“…︎ Jul 24 2018
🚨︎ report
orthopy: orthogonal polynomials for the masses (with cool mathy pics) github.com/nschloe/orthop…
πŸ‘︎ 15
πŸ’¬︎
πŸ‘€︎ u/nschloe
πŸ“…︎ Jul 12 2019
🚨︎ report
Orthogonal Polynomial of Degree 1? (Poly(var, 1)) - where does it come from?

I feel like I've done a shit ton of reading on poly() and I'm still struggling to wrap my head around it.

So, the way I understand it, is poly(x,#) generates orthogonal polynomials - that is, polynomials of x that are uncorrelated with x^2, x^3, .... etc.

But if it's by itself... what is it being uncorrelated to?

The help file suggests the following: > which contains the centering and normalization constants used in constructing the orthogonal polynomials and class c("poly", "matrix").

I figured this to mean that poly(x,1) would be equivalent to a standardized x, but this isn't the case:

x       &lt;- seq(from=1, to=5, length.out=5)
x_standardized &lt;- (x-mean(x))/sd(x_center)
stats:::predict.poly(object = poly(x,1))
    x_standardized    

Which are different. The answer is - for whatever reason - x_standardized/2.

Yet, this isn't the solve either, because:

x       &lt;- seq(from=1, to=10, length.out=10)
x_standardized &lt;- (x-mean(x))/sd(x_center)
stats:::predict.poly(object = poly(x,1))    

Are completely different (and do not meet at /2).

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/MrLegilimens
πŸ“…︎ Feb 06 2019
🚨︎ report
[linear Γ‘lgebra] Find the orthogonal set of S={x,1} in the space of polynomials

Take the space of the P_2(R)={ax^2 + bx + c, a,b,c in R} with an internal product <p(x)q(x)> = int(0,1) p(x)q(x) dx. Find the orthogonal set of the set S = {x, 1}


I'm not sure what i need to do here. Im trying to find q(x) in a way that <p(x)q(x)> = 0, but im lost. What mean that S = {x, 1}? that mean that p(x) = ax^2 + bx + c and p(1) = a + b + c? or mean that p(x) = x and p(1) = 1? and what I need to find a q(y) = ay^2 + by + c, of q(x) = rx^2 + sx + t?

thanks for any help

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/AlarmingRun
πŸ“…︎ Oct 03 2018
🚨︎ report
Conditioning of roots of orthogonal polynomials

I am doing some work on multivariate Chebyshev polynomials, and I'm looking for proofs that the roots (as a function of the coefficients) of polynomials in an orthogonal basis are well-conditioned. For example, it is asserted that the roots of polynomials in the Chebyshev basis are well-conditioned on [-1,1]. However, despite my searching, I can't find a proof of this fact.

Can someone point me in the right direction?

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/hjrrockies
πŸ“…︎ Oct 20 2017
🚨︎ report
What type of orthogonal polynomials does R use? stackoverflow.com/questio…
πŸ‘︎ 2
πŸ’¬︎
πŸ“…︎ Dec 04 2017
🚨︎ report
How to check if basis for vector space of polynomials with inner product space is orthogonal?

After using the Gram-Schmidt algorithm to find an orthogonal basis that is made up of polynomials, how do you check that it is an orthogonal basis?

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/narusasu1
πŸ“…︎ Oct 19 2016
🚨︎ report
An easy to read introduction to orthogonal polynomials and least-square fitting with Legendre polynomials [PDF] cs.iastate.edu/~cs577/han…
πŸ‘︎ 79
πŸ’¬︎
πŸ‘€︎ u/roger_
πŸ“…︎ Jul 27 2011
🚨︎ report
What type of orthogonal polynomials does R use? stackoverflow.com/questio…
πŸ‘︎ 3
πŸ’¬︎
πŸ“…︎ Dec 04 2017
🚨︎ report
How does one show that polynomials are orthogonal over a unit circle?

I learned today that the Legendre Polynomials are "orthogonal over a unit circle". I'm wondering how one could show that?

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/Rumsey_The_Hobo
πŸ“…︎ Nov 18 2015
🚨︎ report
What type of orthogonal polynomials does R use? stackoverflow.com/questio…
πŸ‘︎ 2
πŸ’¬︎
πŸ“…︎ Dec 04 2017
🚨︎ report
Orthogonal polynomial regression in Python davmre.github.io/python/2…
πŸ‘︎ 32
πŸ’¬︎
πŸ‘€︎ u/davmre
πŸ“…︎ Dec 15 2013
🚨︎ report
Using orthogonal polynomials to find numbers in a sequence

Preface : I am a senior physics major.

In the lecture series Perturbation and Asymptomatics (lecture 6), a method for determining the next number in a sequence is laid out. In it the lecturer setup a three step process.

  1. Given {a_n} imagine the 2 nth moment to be a_n = [;\int{w (x) x^2n dx};]

  2. If given {b_n} construct set of polynomials such that P0 (x)=1, P1 (x)=x, P_(n+1) (x) = xP_n (x) - b_nP_(n-1) (x)

  3. Then the product of the polynomials P_n (x) and P_m (x) (n != m) must be orthogonal to w (x)

The function w (x) is unknown, but assumed to be an even function. And, in the end really is just used to construct an identity.

This process allows you to construct a new set of polynomials that can then be used to determine either {a_n} or {b_n}, depending on which partial set you are given.

Why does this method work?

πŸ‘︎ 7
πŸ’¬︎
πŸ‘€︎ u/Magnetonerd
πŸ“…︎ Aug 14 2015
🚨︎ report
Born today : December 24th - Charles Hermite, Mathematician, "did research on number theory, quadratic forms, invariant theory, orthogonal polynomials, elliptic functions, and algebra.", "first to prove that e, the base of natural logarithms, is a transcendental number." en.wikipedia.org/wiki/Cha…
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/spike77wbs
πŸ“…︎ Dec 24 2016
🚨︎ report
Numerical Analysis (Orthogonal polynomials, ODEs, PDEs)

Note

This is currently incomplete, I will continue to add to this outline

Goals

A survey on the major topics of numerical analysis. My initial thoughts was to cover a full numerical analysis book, but that does not seem practical. Personally I would like to go over the wavelet transform, so my suggestion is to Numerical Mathematics by Quarteroni, Sacco, and Saleri. The book is a bit dense, and has received negative reviews on amazon for it. I haven’t had quite so negative of an experience with it during a detailed numerical ODEs course. The presentation (from what I remember) was heavy theoretically, with practical exercises (in the form of Matlab programs).

The major topics that will be covered are chapters 10-14:

-Orthogonal polynomials in approximation theory

-Numerical solutions to ordinary differential equations

-two point boundary value problems

-Parabolic and Hyperbolic Initial Value Problems (This is for PDEs)

The free resource I’ve found on numerical analysis covers all but chapter 10, as well as the topics of parts 1-3 of the book (basics of computer arithmetic, numerical linear algebra, β€œaround functions and functionals” which includes rootfinding, interpolation, numerical differentiation and integration)

Free Resources

Olver lecture notes

Notes on Fourier and Wavelet transform

Books

Numerical Mathematics

Syllabus

Topic Book chapters free resources

Matlab and Octave learning resources

Matlab Tutorials

Octave Tutorials

Related topics and further reading

πŸ‘︎ 10
πŸ’¬︎
πŸ‘€︎ u/dogdiarrhea
πŸ“…︎ Aug 04 2014
🚨︎ report
Born today : December 24th - Charles Hermite, Mathematician, "did research on number theory, quadratic forms, invariant theory, orthogonal polynomials, elliptic functions, and algebra.", "first to prove that e, the base of natural logarithms, is a transcendental number." en.wikipedia.org/wiki/Cha…
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/spike77wbs
πŸ“…︎ Dec 24 2014
🚨︎ report
Python: Least squares Forsythe’s Orthogonal polynomials adorio-research.org/wordp…
πŸ‘︎ 6
πŸ’¬︎
πŸ‘€︎ u/gst
πŸ“…︎ Sep 23 2009
🚨︎ report
[University] How do you prove the orthogonality of legendre polynomials using recurrence relations?
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/haran1819
πŸ“…︎ Mar 19 2017
🚨︎ report
How do I find an orthogonality condition for the Laguerre polynomials weighed by some particular n and x dependent phase factors?

That is to say, how do I find some [; w(x) ;] such that [; \int dx \; w(x)\; L_n(x)\; L_m(x)\; e^{i\;(n+m)\;(\frac{c_1}{\sqrt{x}}-1)}=f(n)\delta_{mn} ;] where [;L_n(x);] is the n-th Laguerre polynomial? I know this is oddly specific, but it's getting to be kind of a roadblock on an optics project I'm working on. Thanks in advance for the help!

Edit: to clarify based on some of the responses, I'm looking for an inner product under which [; L_n(x)\;e^{i\;n\;(\frac{c_1}{\sqrt{x}}-1)} ;] are orthogonal. Just using the inner product that makes the Laguerre polynomials orthogonal doesn't work, and I'm not sure how to tweek it to make it work. Left the f(n) on the right side just for generality sake. Sorry if that lead to any confusion; I don't care about f(n), just that for mismatched n and m the inner product goes to 0.

πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/x3nodox
πŸ“…︎ Mar 19 2013
🚨︎ report
Quick Questions: November 03, 2021

This recurring thread will be for questions that might not warrant their own thread. We would like to see more conceptual-based questions posted in this thread, rather than "what is the answer to this problem?". For example, here are some kinds of questions that we'd like to see in this thread:

  • Can someone explain the concept of maΠΏifolds to me?
  • What are the applications of RepreseΠΏtation Theory?
  • What's a good starter book for Numerical AΠΏalysis?
  • What can I do to prepare for college/grad school/getting a job?

Including a brief description of your mathematical background and the context for your question can help others give you an appropriate answer. For example consider which subject your question is related to, or the things you already know or have tried.

πŸ‘︎ 15
πŸ’¬︎
πŸ‘€︎ u/inherentlyawesome
πŸ“…︎ Nov 03 2021
🚨︎ report
in my applied analysis course they said a function can be described by an infinite vector space

so they basically told me that some functions live in a function space and that this is an infinite vector space. doe this means that there are an infinite amout of basis vectors to represent a function? im a bit confused can someone help me out

πŸ‘︎ 36
πŸ’¬︎
πŸ‘€︎ u/king_must_fall
πŸ“…︎ Nov 13 2021
🚨︎ report
Questions about going for master's degree.

Hi everyone.I am math second year student from not very reputable university. I took linear algebra(matrices,inverse,determinants,cayley-hamilton,bilinear,quadratic forms,polynomials,gram-schmidt,orthogonal subspaces,orthogonal projections),real analysis(series,sequences,functional series,functional sequences,continuity,uniform continuity,uniform convergence,integration,differentiation),topology(connectedness,compactness,hausdorff spaces,metric spaces,separability,sequences in different topologies,homeomorphism) and analytic geometry.But after taking these courses I still don't feel that I am good at proofs.And I am thinking is math right track for me.I don't know even what math level I have. Am I bad at maths than average math students,maybe average?

https://math.stackexchange.com/users/933947/unit-1991-this is actually my stackexchange account on which I posted math questions.Would be great if you take a look on that account's questions and say approximately what is my current level knowledge of math so I can think ,is going for master's degree worth it?

πŸ‘︎ 3
πŸ’¬︎
πŸ“…︎ Jan 08 2022
🚨︎ report
My YouTube Lectures on Higher Mathematics (Self-Promotion).

Hello Everyone,

I created a youTube channel (here's the link) a few months ago in which I post detailed lectures in higher mathematics.

I have been uploading Real Analysis and Linear Algebra videos.

I have covered the following topics so far:

  • Linear Algebra
  1. Fields, vector spaces, bases, dimension.
  2. Linear Maps, Rank-Nullity.
  3. Connection with matrices and linear equations.
  4. Dual spaces, annihilators and transpose.
  5. Eigenvalues and minimal polynomial.
  6. Primary decomposition, upper triangulability, diagonalizabilility.
  7. Bilinear Forms, orthogonality, inner products, adjoint.
  8. Real and complex spectral theorem.
  • Real Analysis.
  1. What are rational and real numbers?
  2. Special subsets of real line, Bolzano-Weierstrass theorem, Heine-Borel Theorem.
  3. Continuity.
  4. Differentiation, mean value theorems etc.
  5. Riemann integration.

Future lectures will cover

  1. Application of integration (Taylor's theorem).
  2. Infinite series.
  3. Power series.
  4. Special functions like the exponential and the logarithmic functions.
  5. Any more relevant topics with sufficient interest from the audience.

The course will be complete by the end of February after which I plan to start with group theory.

Almost every lecture begins with two or three problems.

My aim behind making this videos is to write a video book so that any one who wants to learn need not look elsewhere (though, of course, other sources can surely help).

I hope that the people here would find the content useful and interesting.

Thank you.

PS. According to the forum rules self-prmotion on Saturdays are allowed so I hope I am not crossing any boundaries.

πŸ‘︎ 11
πŸ’¬︎
πŸ‘€︎ u/zacaffeinemachine
πŸ“…︎ Jan 08 2022
🚨︎ report
Recursive Formula For integral 1/(x^2 a^2)^n youtube.com/watch?v=g6Cqo…
πŸ‘︎ 2
πŸ’¬︎
πŸ“…︎ Nov 14 2021
🚨︎ report
Is there an intuitive reason why sine waves are used when taking the Fourier transform instead of different waves?

Fourier's theorem states:

A mathematical theorem stating that a PERIODIC function f(x) which is reasonably continuous may be expressed as the sum of a series of sine or cosine ....

why can't we use triangle waves or another wave? What makes sine waves special? If the Fourier transform is essentially a Taylor expansion with sines instead of polynomials why can't we expand using a different oscillating basis function?

πŸ‘︎ 13
πŸ’¬︎
πŸ‘€︎ u/LemonLimeNinja
πŸ“…︎ Aug 14 2021
🚨︎ report
Seidel vs Zernike coefficients

Hello guys, I know this might be a silly question, but could someone please tell me the difference between Seidel and Zernike coefficients?

I have read the explanation in different sources but it is still not so intuitive for me.

Thanks in advance!

πŸ‘︎ 9
πŸ’¬︎
πŸ‘€︎ u/MM0991
πŸ“…︎ Jul 19 2021
🚨︎ report
Reconstructing density function from weighted sums of said function.

Hello everyone

I have encountered the following problem related to reconstructing a positive valued particle density function f: [0,1]^2 -> R>0.

Basically I am given measurements mi=integral_{[0,1]^2} (f * gi) where gi are weighting functions that are known in advance, so the measurements basically correspond to weighted sums/integrals of f with the weights gi.

My question is given the mi, is there a general numerical approach to reconstruct f?

If it helps, I attach a picture of a typical weighting function:

Typical Weighting Function gi, red color is equivalent to 0, blue/greening color corresponds to 1.

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/memductance
πŸ“…︎ Aug 11 2021
🚨︎ report
Blind Girl Here. Give Me Your Best Blind Jokes!

Do your worst!

πŸ‘︎ 5k
πŸ’¬︎
πŸ‘€︎ u/Leckzsluthor
πŸ“…︎ Jan 02 2022
🚨︎ report
What starts with a W and ends with a T

It really does, I swear!

πŸ‘︎ 6k
πŸ’¬︎
πŸ‘€︎ u/PsychedeIic_Sheep
πŸ“…︎ Jan 13 2022
🚨︎ report
Dropped my best ever dad joke & no one was around to hear it

For context I'm a Refuse Driver (Garbage man) & today I was on food waste. After I'd tipped I was checking the wagon for any defects when I spotted a lone pea balanced on the lifts.

I said "hey look, an escaPEA"

No one near me but it didn't half make me laugh for a good hour or so!

Edit: I can't believe how much this has blown up. Thank you everyone I've had a blast reading through the replies πŸ˜‚

πŸ‘︎ 19k
πŸ’¬︎
πŸ‘€︎ u/Vegetable-Acadia
πŸ“…︎ Jan 11 2022
🚨︎ report

Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.