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

Perpendicular to a curve

  1. Mar 30, 2007 #1
    Can anyone remind me about this. In a plane, there a given curve y=f(x). Now, from a given point on the plane, i can draw a line which is perpendicular to the curve (can be zero, one,two, three ..lines). I can't remember what the equation describing this line(s) is.
  2. jcsd
  3. Mar 30, 2007 #2


    User Avatar
    Science Advisor

    That's because there is not simple equation for it!

    Here's how I attempt to find the equation. The perpendicular from a point, (a, b) to the curve (x, f(x)) gives the (locally) shortest distance to the curve. The distance (squared) from (a, b) to (x, f(x)) is (x-a)2+ (f(x)- b)2. Differentiating that, 2(x-a)+ 2(f(x)- b)f'(x)= 0 for the closest point. x must satisfy the equation x- a+ (f(x)- b)f'(x)= 0. That can be solved for specific f but I see no way to get a general equation.
  4. Mar 30, 2007 #3


    User Avatar
    Science Advisor

    Assuming you've got a nice function, the first derivative gives the tangent to the curve. The perpendicular to the curve at a given point is the same as the perpendicular to the tangent at that point. Specifically, the tangent at the point x is a line through x with slope f'(x). The perpendicular through the same point has slope -1/f'(x).
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook