Tangent function

From Calculus
Revision as of 16:54, 19 December 2011 by Vipul (talk | contribs)

This article is about a particular function from a subset of the real numbers to the real numbers. Information about the function, including its domain, range, and key data relating to graphing, differentiation, and integration, is presented in the article.
View a complete list of particular functions on this wiki

For functions involving angles (trigonometric functions, inverse trigonometric functions, etc.) we follow the convention that all angles are measured in radians. Thus, for instance, the angle of

90

is measured as

π/2

.

Definition

Definition in terms of sine and cosine

The tangent function, denoted tan, is defined as the quotient of the sine function by the cosine function, and it is defined wherever the cosine function takes a nonzero value. In symbols:

tanx:=sinxcosx

Definition in terms of the unit circle

Fill this in later

Definition for acute angles in terms of triangles

Suppose t is an acute angle, i.e., t(0,π/2). Construct a right triangle where t is one of the acute angles. tant is defined as the quotient of the leg opposite t to the leg adjacent to t.


Key data

Item Value
default domain all real numbers except odd integer multiples of π/2, i.e., R{nπ+π/2nZ}.
This is a union of countably many open intervals of the form (nππ/2,nπ+π/2) with nZ:
(3π/2,π/2)(π/2,π/2)(π/2,3π/2)
range all real numbers, i.e., all of R
period π, i.e., 180
local maximum values and points of attainment there are no local maximum values
local minimum values and points of attainment there are no local minimum values
points of inflection (both coordinates) all points of the form (nπ,0) where n varies over integers.
vertical asymptotes All lines of the form x=nπ+π/2, n varies over integers. At each such line, the left hand limit is + and the right hand limit is .
important symmetries odd function
half turn symmetry about all points of the form (nπ/2,0) where n varies over integers. Note that for the even multiples of π/2, (i.e., the multiples of π, this is half turn symmetry about points of inflection. For the odd multiples of π/2, this is half turn symmetry about points not on the graph itself.
first derivative xsec2x, i.e., the secant-squared function. Note that sec2x=1+tan2x.
second derivative x2sec2xtanx.
higher derivatives every derivative can be expressed as a polynomial in terms of tan. The degree of the nth derivative as a polynomial in tan is n+1.
first antiderivative ln|cosx|+C=ln|secx|+C.
higher antiderivatives no antiderivatives higher than the first are expressible in terms of elementary functions.

Differentiation

First derivative

WHAT WE USE: sine function#First derivative, cosine function#First derivative, quotient rule for differentiation

The first derivative is:

ddx(tanx)=sec2x

Here's how we get it. We start with:

tanx=sinxcosx

Using the quotient rule for differentiation, we get:

tanx=(cosx)(sinx)(sinx)(cosx)cos2x=(cosx)(cosx)(sinx)(sinx)cos2x=cos2x+sin2xcos2x=1cos2x=sec2x

The penultimate step uses cos2x+sin2x=1.

Second derivative

WHAT WE USE: secant function#First derivative, chain rule for differentiation, differentiation rule for power functions

The second derivative is:

d2dx2(tanx)=2tanxsec2x

We obtain this by differentiating the first derivative:

Failed to parse (syntax error): {\displaystyle \frac{{d^2}{dx^2}(\tan x) = \frac{d}{dx}(\sec^2x) = \frac{d}{d(\sec x)}{(\sec^2x)} \frac{d(\sec x)}{dx} = 2\sec x (\sec x \tan x) = 2\sec^2x\tan x}

Integration

First antiderivative

{{WHAT WE USE: integration of quotient of derivative of function by function}}

We use the following form:

f(x)dxf(x)=ln|f(x)|+C

In our case, we write:

tanxdx=sinxcosxdx=sinxcosxdx

Using the integration form above with f=cos, we get:

ln|cosx|+C

Alternative method: [SHOW MORE]

Definite integrals

The definite integral of the tan function can be computed on any closed interval that lies completely within one of the open intervals on which tan is defined, i.e., both endpoints must lie between the same pair of consecutive odd multiples of π/2. Thus, for instance, tan can be integrated from π/4 to π/3 but not from π/3 to 2π/3, because these lie on opposite sides of the point π/2 at which the function has a vertical asymptote.

Moreover, all improper integrals are undefined.

If a,b both lie between consecutive odd multiples of π/2, we get:

abtanxdx=ln(cosacosb)

Note that the lower limit comes on top because of the minus sign on the antiderivative. Further, we do not need to put an absolute value sign because cos has constant sign on each interval of definition, so the quotient is positive in sign.

Finally, note that tan is an odd function, and more generally, has half turn symmetry about points (nπ,0), so:

nπtnπ+ttanxdx=0

for t(0,π/2).

Higher antiderivatives

It is not possible to antidifferentiate the first antiderivative of tan within the universe of elementarily expressible functions.