Study function pairs using weighted integrals and projections. Check orthogonality on custom intervals with plots. Export clean results, formulas, examples, and interpretation notes easily.
The chart shows f(x), g(x), w(x), and the weighted integrand f(x)g(x)w(x).
| Example | f(x) | g(x) | w(x) | Interval | Expected ⟨f,g⟩w | Orthogonal? |
|---|---|---|---|---|---|---|
| Constant vs Linear | 1 | x | 1 | [-1,1] | 0 | Yes |
| Sine Modes | sin(x) | sin(2*x) | 1 | [0,π] | 0 | Yes |
| Cosine Modes | cos(x) | cos(2*x) | 1 | [0,π] | 0 | Yes |
| Non-Orthogonal Pair | 1+x | 1+x^2 | 1 | [-1,1] | Nonzero | No |
It measures the weighted inner product of two functions, their norms, projection coefficient, residual norm, and whether they are numerically orthogonal.
Two functions are orthogonal when their weighted inner product over the chosen interval equals zero, or is very close to zero within the selected tolerance.
The weight changes the geometry of the function space. A pair may be orthogonal with one weight and not orthogonal with another.
Rapid oscillations, steep curves, or difficult weight functions may need more subintervals so Simpson’s rule can better approximate the integral.
Yes. You can use expressions such as sin(x), cos(2*x), exp(x), sqrt(x+2), log(x+3), and combinations using standard arithmetic operators.
It shows how much of f lies along g. A zero coefficient means f has no component in the direction of g.
It indicates linear independence in the two-function span. A positive value suggests the functions contribute distinct directions in the weighted space.
Numerical integration introduces approximation error. Increasing samples or adjusting the tolerance usually reduces the apparent mismatch.
This view is optimized for saving as PDF from the browser print dialog.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.