Ma · Mathematics

When Is the Slope Undefined for a Parametric Graph?

Published By the 9to5Science editorial team

At a glance

  1. 1. Differentiate both coordinates

    Find dx/dt and dy/dt from the parametric equations.

  2. 2. Form the slope

    Where dx/dt is nonzero, divide dy/dt by dx/dt to get dy/dx.

  3. 3. Check for a vertical tangent

    If dx/dt is zero but dy/dt is nonzero, the tangent is vertical.

  4. 4. Inspect zero over zero

    If both derivatives vanish, use a limit or analyze the curve directly.

  5. 5. Find the x-coordinate

    Evaluate x(t) at the parameter value where the vertical tangent occurs.

For a parametric curve, both coordinates depend on a parameter, usually tt: x=x(t)x=x(t) and y=y(t)y=y(t). The slope of the curve is found by dividing the rate of change of yy by the rate of change of xx with respect to that parameter.

A vertical tangent is the usual meaning of a point where the slope is undefined. To find its x-coordinate, first find the parameter value that makes the tangent vertical, then substitute that value into x(t)x(t). Without the specific parametric equations, no particular numerical x-coordinate can be calculated.

The slope formula

At a parameter value where dx/dt≠0dx/dt\ne 0, the chain rule gives

dydx=dy/dtdx/dt.\frac{dy}{dx}=\frac{dy/dt}{dx/dt}.

The slope is undefined as a finite number when the curve has a vertical tangent. The standard test is

dxdt=0anddydt≠0.\frac{dx}{dt}=0\quad\text{and}\quad\frac{dy}{dt}\ne 0.

Geometrically, the velocity vector of the parametrized curve is (dx/dt,dy/dt)(dx/dt,dy/dt). Under this test it points straight up or down, so the tangent line is vertical. Its equation is x=x(t0)x=x(t_0), where t0t_0 is the parameter value in question. Be careful not to confuse the parameter value t0t_0 with the x-coordinate x(t0)x(t_0).

How to find the x-coordinate

Given formulas for x(t)x(t) and y(t):y(t):

  1. Differentiate each formula with respect to tt.
  2. Solve dx/dt=0dx/dt=0 for candidate parameter values.
  3. Keep values where dy/dt≠0dy/dt\ne 0; these give vertical tangents under the usual smoothness assumptions.
  4. Substitute each retained value into x(t)x(t). That result is the x-coordinate of the vertical tangent point.

A zero of dx/dtdx/dt is only a candidate until you check dy/dtdy/dt. If both derivatives are zero, the test is inconclusive.

Worked example

Suppose

x(t)=1+t2,y(t)=t.x(t)=1+t^2,\qquad y(t)=t.

Differentiate:

dxdt=2t,dydt=1.\frac{dx}{dt}=2t,\qquad \frac{dy}{dt}=1.

Setting dx/dt=0dx/dt=0 gives t=0t=0. At this parameter value, dy/dt=1≠0dy/dt=1\ne0, so the curve has a vertical tangent. Its x-coordinate is

x(0)=1+02=1.x(0)=1+0^2=1.

The point is (1,0)(1,0), and the tangent line is x=1x=1. As a check, eliminating tt gives x=1+y2x=1+y^2, whose tangent at y=0y=0 is indeed vertical.

What if both derivatives are zero?

If dx/dt=0dx/dt=0 and dy/dt=0dy/dt=0, the quotient becomes 0/00/0 and does not by itself identify the tangent. Examine the limit of dy/dxdy/dx as tt approaches the parameter value, or compare the leading terms of x(t)−x(t0)x(t)-x(t_0) and y(t)−y(t0)y(t)-y(t_0). The curve may have a horizontal tangent, a vertical tangent, a cusp, or another kind of singular behavior.

For example, let x(t)=t2x(t)=t^2 and y(t)=t3y(t)=t^3. At t=0t=0, both derivatives vanish. For t≠0t\ne0,

dydx=3t22t=3t2,\frac{dy}{dx}=\frac{3t^2}{2t}=\frac{3t}{2},

which tends to 00 as t→0t\to0. The tangent is horizontal, not vertical. This shows why setting dx/dt=0dx/dt=0 alone is not enough when dy/dtdy/dt also vanishes.

Common mistakes

  • Reporting the parameter instead of the x-coordinate: If the vertical tangent occurs at t=2t=2, the requested x-value is x(2)x(2), not automatically 22.
  • Treating every zero of dx/dtdx/dt as a vertical tangent: Check whether dy/dtdy/dt is nonzero. If both are zero, analyze the curve further.
  • Using the reciprocal ratio: The slope is (dy/dt)/(dx/dt)(dy/dt)/(dx/dt), not (dx/dt)/(dy/dt)(dx/dt)/(dy/dt).
  • Assuming an undefined derivative always means a vertical tangent: A derivative can fail to exist for other reasons, such as a corner or cusp. The derivative test identifies a vertical tangent when the curve is regular and dx/dt=0dx/dt=0, dy/dt≠0dy/dt\ne0.

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.