# HSC Extension 1 and 2 Mathematics/Tangent to a curve and derivative of a function

## Contents

- 1 Informal discussion of continuity
- 2 The notion of the limit of a function and the definition of continuity in terms of this notion. Continuity of , , in terms of continuity of and
- 3 Gradient of a secant to the curve y = f(x)
- 4 Tangent as the limiting position of a secant. The gradient of the tangent. Equations of tangent and normal at a given point of the curve y = f(x)
- 5 Formal definition of the gradient of y = f(x) at the point where x = c
- 6 The gradient or derivative as a function
- 7 Differentiation of x
^{n}for positive integral n - 8 Differentiation of x
^{1/2}and x^{–1}from first principles. For the two functions u and v, differentiation of Cu (C constant), u + v, u – v, uv. The composite function rule. Differentiation of u/v - 9 Differentiation of: general polynomial, xn for n rational, and functions of the form {f(x)}
^{n}or f(x)/g(x), where f(x), g(x) are polynomials

## Informal discussion of continuity[edit]

The simplest graphs studied so far have consisted almost exclusively of unbroken curves. This is a sufficient basis for the intuitive idea of continuity. The behaviour of 1/x and | x | /x near the origin should be demonstrated, but discontinuities should not be further stressed.

## The notion of the limit of a function and the definition of continuity in terms of this notion. Continuity of , , in terms of continuity of and [edit]

Intuitively a function is ‘continuous’ at a given point if the function value is ‘approached continuously’ from ‘neighbouring’ values of x, that is, if the ‘limit of f(x) as x approaches c’ agrees with the actual function value f(c) when x is precisely equal to . Otherwise, f(x) has a ‘jump’ at . We use the notations and

to mean the limit of the function as x → c. If f(x) is ‘continuous’ at x = c, then , and

for negative and positive values of h.

We use this intuitive notion to define continuity precisely as follows. A function f(x) is said to be continuous at x = c if:

- f(x) is defined at c;
- the limit of f(x) as x approaches c exists;
- f(c) is equal to this limit.

A function f(x) is called continuous or a continuous function if it is continuous at each point in its domain, i.e., if f(x) is continuous at x = c for every choice of c in the domain of the function. There should be light treatment of the formal proofs of the limits of the sum, difference and product of two functions, and of the corollaries that, given f is continuous and g is continuous, then f + g, f – g, fg are continuous.

## Gradient of a secant to the curve y = f(x)[edit]

A secant is defined as the straight line passing through two given points on the curve. The gradients of secants for particular cases should be calculated. The general expression for the gradient of the secant through the two points P(c, f(c)) and Q(x, f(x)) on the curve y = f(x) should be derived.

## Tangent as the limiting position of a secant. The gradient of the tangent. Equations of tangent and normal at a given point of the curve y = f(x)[edit]

By drawing secants through a given point P on the curve y = f(x), and through a succession of points Q_{1},Q_{2},Q_{3}, …, on the curve, first on one side of P, then on the other, the idea of the tangent line at P as the limiting position of the secant is illustrated. The geometric picture strongly suggests that there is a limiting value for the gradient of the secant through P(c, f(c)) and Q(x, f(x)) as Q approaches P, although the formula derived in 8.3 becomes meaningless if x = c. This limiting value of the gradient of the secant is defined to be the gradient of the tangent line (or tangent) at P and is called simply the gradient of the curve at P.

The gradient of the tangent at a specified point on a given curve should be calculated as above in a few simple cases and verified graphically.

## Formal definition of the gradient of y = f(x) at the point where x = c[edit]

Notations at

The intuitive notion of tangent to a curve, as described above, leads to a way of defining tangent in terms of a limit. Formally, the gradient of the curve y = f(x) at the point P(c, f(c)) is defined as the limiting value

provided this limit exists. Thus f'(c) is the slope of the tangent line to the curve y = f(x) at the point x = c.

The gradient of y = f(x) at x = c is also called the derivative or differential coefficient of f(x) at x = c. Note that the limit may fail to exist even for a continuous curve: the curve may have a vertical tangent (infinite slope), or a sharp bend, as in at x = 0.

By putting x = c + h, where h may be positive or negative, in the definition, we get the alternative and equivalent forms

where , , .

A number of simple numerical examples of the following type should be given in order to facilitate understanding of the above definitions. Example. Find the derivative of the function f(x) = x3 + 5x at x = 1 and hence find the equation of the tangent line to the curve y = f(x) at the point (1, 6).

By the definition,

The equation of the required tangent line is therefore

Examples should be chosen using the same function with several different (numerical) values of x, as a lead-in to the definition of the gradient function.

For the special case of the straight line y = mx + b, it should be verified that the definition of gradient yields the correct value m at any point P(c, mc + b) on the line.

## The gradient or derivative as a function[edit]

Notations

Given the function y = f(x), with domain D say, we may use the definition of gradient at each point (c, f(c)), c ε D, to find out if the function has a derivative at that point. Examples should be given (e.g. x^{2}, x^{3} – x, |x |) leading to the understanding that for common functions, a derivative exists at all points in the domain or at all points with isolated exceptions which can be identified from a sketch of the function. That f '(c) is given by an expression involving c and related to the expression for f(c) should also be illustrated by examples.

After first showing on a sketch of y = f(x) the gradient f '(c) at various points c (illustrated as the slope of the tangent to the curve at (c, f(c))), the transition should then be made to sketching the gradient function or derivative y = f '(x), which is the function whose domain is the set of points x for which f '(x) exists, and whose value at x = c is f '(c). This function should be identified and drawn for a number of functions f(x) (for example, y = f(x) and y = f '(x) could be drawn on the same graph or one below the other, using the same line for the y-axis and different x-axes).

In adopting the usual x, y notation for the derivative function, care must be taken to avoid any confusion of notation and certainly to avoid nonsense such as

(i.e. the replacing of c by x in the definition of f '(c)).

Right from the beginning of work involving f(x) and f '(x) as functions, students must be encouraged to remember the geometrical significance of f'(x) in relation to the graph of f(x), and to relate properties of one graph to properties of the other. This relationship is further developed in Topic 10.

The notations , and the use of different variables in place of x or y should be discussed and used in examples.

If f(x) possesses a derivative f'(x) for each x belonging to the domain of f, then f(x) is called a differentiable function. The statement ‘f(x) is differentiable’ means ‘f(x) has a derivative at each point of its domain’.

## Differentiation of x^{n} for positive integral n[edit]

the tangent to

The geometric series x^{n–1} + cx^{n–2} + c^{2}x^{n–3} + … + c^{n–2}x + c^{n–1} has first term x^{n–1}, and ratio c/x, so that the series has the sum (x^{n} – c^{n})/(x–c). This identity and theorems on limits of sums and products may be used to find the derivative of x^{n} for positive integral values of n. This result should be used to find the equation of the tangent to the curve y = x^{n} at the point (c, c^{n}), for positive integral values of n. Students should be asked to verify this result graphically for particular values of n and c, comparing the tangent drawn by eye with the straight line whose equation has been found analytically.

The derivative of a constant function y = c is the constant function y = 0.

## Differentiation of x^{1/2} and x^{–1} from first principles. For the two functions u and v, differentiation of Cu (C constant), u + v, u – v, uv. The composite function rule. Differentiation of u/v[edit]

Although a few simple functions can be differentiated by straightforward use of the definition given in 8.5 i.e., differentiated ‘from first principles’, this procedure is in general far from easy. Even for such simple functions as √x and 1/x, we resort to the devices

Quite apart from the frequent need for ingenuity, differentiation from first principles is in general a tedious procedure. Fortunately, there are theorems which allow us to find the derivatives of complicated functions, starting from derivatives of simpler functions.

These theorems are: if u,v are differentiable functions of x, then