A line is tangent to the parabola when it “touches” it at a single point: algebraically this happens when the discriminant of the line–parabola system equals zero (Δ=0\Delta=0).

Example

Given the parabola y=12x22x+1y=\frac12 x^2-2x+1 and the line y=mx3y=mx-3, for which values of mm is the line secant, tangent or external?

Vertex of the parabola: xV=2212=2x_V=-\dfrac{-2}{2\cdot\frac12}=2,  yV=1244+1=1\ y_V=\frac12\cdot4-4+1=-1, so V(2,1)V(2,-1).

System: mx3=12x22x+1    12x2(2+m)x+4=0mx-3=\frac12 x^2-2x+1 \implies \frac12 x^2-(2+m)x+4=0.

Discriminant: Δ=(2+m)24124=m2+4m+48=m2+4m4.\Delta=(2+m)^2-4\cdot\tfrac12\cdot4=m^2+4m+4-8=m^2+4m-4.

  • Δ=0\Delta=0 (tangent): m2+4m4=0    m=2±22m^2+4m-4=0 \implies m=-2\pm2\sqrt2;
  • Δ>0\Delta>0 (secant): m<222m<-2-2\sqrt2 or m>2+22m>-2+2\sqrt2;
  • Δ<0\Delta<0 (external): 222<m<2+22-2-2\sqrt2<m<-2+2\sqrt2.

Example — Pencil of lines through a point

Given the parabola y=12x2+x+1y=-\frac12 x^2+x+1, which passes through P(0,1)P(0,1), and the line y=mx+1y=mx+1 (pencil of lines through PP): mx+1=12x2+x+1    12x2x(1m)=0    x[12x(1m)]=0.mx+1=-\tfrac12 x^2+x+1 \implies \tfrac12 x^2-x(1-m)=0 \implies x\left[\tfrac12 x-(1-m)\right]=0. The solutions are x=0x=0 (always, because the line passes through PP) and x=2(1m)x=2(1-m). The line is tangent at a point other than PP when 2(1m)=02(1-m)=0, that is m=1m=1.

Topics: Parabola
Concepts: Discriminant · Pencil of lines · Straight line · Tangent line · Vertex
Functions: Parabola
Skills: Analytic geometry · Solving equations · Solving systems