Artificial Intelligence πŸ€–
Differentiation
Parametric differentiation

Parametric differentiation

A curve in the xβˆ’yx-y plane may be the graph of a function f(x)f(x) or it can be described implicitly like in the example of a unit circle given by the equation x2+y2=1x^{2}+y^{2}=1. Another way to represent a curve is through parametrisation: write x=x(t)x=x(t) and y=y(t)y=y(t) where tt is a parameter for some range of tt values. The dot notation is common in mechanics where tt denotes time. For instance,

x(t)=cos⁑t,y(t)=sin⁑t,Β forΒ 0≀t≀2Ο€,x(t)=\cos t, \quad y(t)=\sin t, \quad \text { for } 0 \leq t \leq 2 \pi,

describes the circle x2+y2=1x^{2}+y^{2}=1. This is shown in the diagram below; the arrow indicates that (x(t),y(t))(x(t), y(t)) moves anti-clockwise for increasing tt.

Circle x2 y2 = 1

To compute the slope of the tangent to the circle, we use

dydx=dydtdxdt,Β orΒ dydx=yΛ™xΛ™,\frac{d y}{d x}=\frac{\frac{d y}{d t}}{\frac{d x}{d t}}, \quad \text { or } \quad \frac{d y}{d x}=\frac{\dot{y}}{\dot{x}},

where the dot notation denotes differentiation wrt tt. For the unit circle therefore,

dydx=yΛ™xΛ™=cos⁑tβˆ’sin⁑t=βˆ’cos⁑t\frac{d y}{d x}=\frac{\dot{y}}{\dot{x}}=\frac{\cos t}{-\sin t}=-\cos t

The cycloid (see diagram below) is a curve that is traced by a point on a circle as it moves along a straight line. This is described by the parametric equations

x(t)=tβˆ’sin⁑t,y(t)=1βˆ’cos⁑t.x(t)=t-\sin t, \quad y(t)=1-\cos t .

Circle x2 y2 = 1

The derivative is

dydx=yΛ™xΛ™=sin⁑t1βˆ’cos⁑t.\frac{d y}{d x}=\frac{\dot{y}}{\dot{x}}=\frac{\sin t}{1-\cos t} .

Note that the slope is undefined if tt is an integer multiple of 2Ο€2 \pi; these points correspond to sharp cusps in the curve.