Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Intersection of two functions

  1. Oct 7, 2012 #1
    Does anyone know of an algorithm to detect the intersection of any two functions - both for individual points within a fixed range of x values and determining whether or not total points of intersection are finite or infinite over an infinite range of x values? Also, is this possible to do this when you rotate the plot around a third axis (such as using a graph for each edge of a polygon).
  2. jcsd
  3. Oct 8, 2012 #2


    User Avatar
    Science Advisor

    Well, the simplest is probably to take the difference of the functions and find its zeros, by some numerical method such as Newton-Raphson. It works only for reasonably nice functions, though. There is certainly no general algorithm that always works.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook