Intersection of straight line with (lagrange) polynomial

Click For Summary
SUMMARY

The discussion focuses on calculating the intersection between a straight line and a second-order Lagrange polynomial. It establishes that the intersection of two straight lines can be determined using the cross product of their direction vectors. The specific formula for the intersection point is given as p+t·r = q+u·s, where t is derived from t=(q-p)×s/(r×s). The user seeks to extend this method to find intersections with Lagrange polynomials defined by the equation x=Ψ₁x₁+Ψ₂x₂+Ψ₃x₃, utilizing the basis functions Ψ_i.

PREREQUISITES
  • Understanding of vector mathematics, specifically cross products
  • Familiarity with Lagrange polynomials and their formulation
  • Knowledge of parameterization techniques in geometry
  • Basic concepts of polynomial transformations and unit planes
NEXT STEPS
  • Research methods for parameterizing second-order Lagrange polynomials
  • Study the transformation of polynomials to the unit plane
  • Explore intersection algorithms for curves and lines in computational geometry
  • Learn about Hermite polynomials and their applications in intersection calculations
USEFUL FOR

Mathematicians, computer graphics developers, and anyone involved in computational geometry or polynomial interpolation techniques will benefit from this discussion.

bigfooted
Gold Member
Messages
685
Reaction score
222
Hi,

To calculate the intersection of two straight lines the cross product of the line vectors can be used, i.e. when the lines start in points p and q, and have direction vectors r and s, then if the cross product r x s is nonzero, the intersection point is q+us, and can be found from
p+t\cdot r = q+u\cdot s.
using
t=\frac{(q-p)\times s}{r \times s}


I was wondering how to derive such a relationship for the intersection between a straight line and a second order polynomial.

Specifically, I'm interested in second order Lagrange (and 3rd order Hermite) polynomials:

x=\Psi_1x_1+\Psi_2x_2+\Psi_3x_3,

with

\Psi_i=\prod_{M=1,M ≠ N}^{n}\frac{\xi-\xi_M}{\xi_N-\xi_M}

where \xi=0..1 and x_1 is the starting point, x_2 the midpoint and x_3 the endpoint

My guess is that standard techniques to find the intersection first transform the second order polynomial to the unit plane where the polynomial reduces to a line, then find the intersection and then transform back, but a (quick) search didn't give me anything.
 
Mathematics news on Phys.org
The usual procedure would be to parameterize both of them and look for the intersections. I can't see how the normals would help here.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K