Loading…
Loading…
10. First Principles, Trigonometric Derivatives, and Higher Derivatives
Chapter 4 introduces derivatives and marginal interpretations. This chapter derives the principal elementary derivatives from the limits established in Chapter 9, makes the chain rule's hypotheses explicit, and develops second and higher derivatives. Trigonometric inputs are in radians unless a degree conversion is expressly shown. A derivative at an interior point is a finite two-sided limit; infinite slopes and endpoint one-sided rates are not silently treated as ordinary derivatives.
For defined on a neighborhood of ,
provided the limit exists as a real number. The numerator must compare the same function at two inputs. Substitution of in the original quotient is never the method.
For a positive integer , the finite binomial theorem gives
Subtract and divide by nonzero . The remaining sum tends to zero, so . This proof applies at as well; for the sum is empty. The constant case is checked directly, and negative integer powers follow by reciprocals on .
Example 1 — a reciprocal from its quotient. For ,
For sufficiently small , , so all stages are defined. For at zero, the quotient is , with one-sided limits ; continuity does not rescue differentiability.
First make the compound-angle formulas explicit. Rotating the plane through an angle sends the horizontal unit vector to and the vertical unit vector to . A rotation preserves vector addition and real scaling, so the unit vector is sent to
Its new angle is ; equating coordinates proves both addition formulas. Replacing by or taking supplies difference and double-angle formulas with the same sign conventions. This is a coordinate derivation, not an inference from numerical angle examples.
Now use the sine addition formula to write
Chapter 9's two special limits make this tend to . Similarly,
Thus and for every real input. The quotient rule then gives
For example the tangent numerator is , not . Reciprocals also give and on their respective domains.
If is a numerical angle in degrees, its sine is . Therefore , not just cosine. The radian convention is what removes the conversion factor.
The exponential addition law yields
For and small enough to keep ,
These are deductions from the previously justified special limits, not an invocation of l'Hôpital's rule. With ,
including the constant case . For , on .
On any interval not containing zero, . For negative , this follows by writing and applying the chain rule. A logarithm of an absolute value permits negative inner values but still excludes zeros.
If are differentiable at , then they are continuous there, and
One proof adds and subtracts in the difference of products, divides by , and uses the two derivative limits and continuity. If also , continuity keeps nonzero nearby, and applying the product rule to gives
For composition, suppose is differentiable at and at , with the composite defined on a neighborhood of . Then
A proof that does not divide by a possibly zero inner increment is useful. Differentiability gives
where define . Also with . Divide the composed increment by and substitute. The result tends to , even if for some nonzero .
Example 2 — a logarithmic domain. Let on . On every interval avoiding the excluded points, chain differentiation gives . The formula is not a derivative at , where itself is undefined.
Suppose a continuous strictly monotone has a continuous local inverse and . Write and . For , injectivity gives , and
The inverse's continuity ensures when . This proves the inverse derivative, rather than assuming its differentiability and using it in a circular chain-rule argument.
For , the range restriction makes cosine positive in the interior. Thus, for ,
For arccosine, makes sine positive, giving on . For arctangent, and , so for every real .
The arcsine and arccosine formulas have no finite extension to inputs ; those are endpoints of their domains and the interior slopes become unbounded. For , the function domain is , whereas its finite derivative formula applies only to .
The second derivative is the derivative of where that derivative exists. Repeating gives . Existence of does not automatically establish . For instance is differentiable at zero with derivative zero, while everywhere; its derivative does not exist at zero.
Applying the product rule twice gives
when the indicated derivatives exist. It is not . By repeated chain differentiation for a constant ,
and the cyclic trigonometric pattern is
One induction step follows from differentiating and using . Constants give zero derivatives for .
Example 3 — a product with a nonconstant inner rate. For ,
The term in comes from differentiating and combining it with the second sine derivative. Treating as a constant would lose it.
For a hypothetical seasonal level , with per month,
If has units of tasks per week and is in months, has units (tasks per week) per month and has another inverse-month factor. A positive means the level is increasing; a negative means its rate is decreasing. A level can be increasing while its rate decreases. At a peak, and ; at the midpoint, , which by itself does not mean the level has an extremum.
Foundation
Core
Synthesis
First-principles derivatives are limits of increments, and the special limits determine the exponential, logarithmic and trigonometric table. Chain differentiation requires both differentiability and a defined composite; inverse differentiation also needs a nonzero original derivative. Higher derivatives track changes in rates and demand repeated product/chain reasoning. Function domains, derivative domains and endpoint one-sided behavior must remain distinct.
For integers and , define
It counts -element selections from distinct objects: there are ordered selections, and each unordered selection occurs in orders. In particular and .
Pascal's identity, for , is
To see it without factorial manipulation, distinguish one object among . A -element selection either contains it, in which case the other come from , or does not, in which case all come from . The two alternatives are disjoint and exhaustive. Equivalently, put the two factorial fractions over the common denominator ; the numerator factors sum to .
For a nonnegative integer and real ,
Here powers of exponent zero in this polynomial identity represent the constant factor , including at or . This is a convention for evaluation of a polynomial, not a claim that every limiting expression has a prescribed value.
Induction proof. At both sides are . Assume the formula for . Multiply it by . One part contributes ; the other contributes after shifting the index. Interior terms combine using Pascal's identity, while the two endpoint terms remain and . The resulting sum is exactly the formula for .
There is also a direct interpretation: in the product of copies of , a term with copies of and copies of arises by choosing which factors contribute . There are such choices. This explains both the coefficient and the exponents.
The integer condition matters. For example is not a two-term polynomial. Infinite binomial expansions require additional convergence theory and are not the finite theorem proved here.
Work over the ordered real numbers, with the Archimedean property, positive-integer induction and the usual absolute-value triangle inequality. A sequence converges to a finite real when every admits an that works for every .
Uniqueness, boundedness and subsequences. If and , require both errors below at the same sufficiently large index. The triangle inequality gives , a contradiction. For boundedness, require in the tail, and take a maximum of and the finitely many initial absolute values. For a subsequence , induction gives ; hence every tail threshold for the original sequence also works eventually for the subsequence.
Sum, scalar and product. If , , choose both input errors below ; then
For a fixed scalar use input tolerance ; is immediate. Choose bounding all . Require
The common later threshold gives .
Reciprocal and quotient. If , first require , ensuring and nonzero denominators. Then
Requiring also proves reciprocal convergence. The product law now proves . Any undefined initial quotients may be omitted; convergence is a tail assertion.
Order and squeeze. If eventually and , , then : otherwise errors below would force . If eventually and both outer limits are , require both errors below . Then , proving . This proof does not require a previously known limit of .
For the corresponding function-limit laws, fix a common allowed approach domain and an accumulation point of : every punctured neighborhood of contains a point of . Let have the stated finite relative-domain limits at . Replace each tail threshold in the displayed estimates by a punctured-domain radius, and take the minimum of finitely many positive radii. For the product proof only local boundedness is needed: gives on a sufficiently small punctured -neighborhood, even if is unbounded elsewhere on . The same estimates prove sum, scalar, product, reciprocal and quotient laws with their stated nonzero limiting-denominator condition; the same order and squeeze estimates apply on the common approach domain. Accumulation supplies actual points when proving uniqueness or excluding an incompatible order of limiting values.
For composition let , let , and let be continuous at relative to . Suppose tends to and throughout some sufficiently small punctured -neighborhood of . Given , continuity supplies such that and imply . The limit of and the composition-domain condition supply a common positive radius forcing both conditions for every allowed approaching . Thus . This includes inputs with and does not divide by an inner increment.
Geometric classification. Bernoulli's bound for follows by induction: multiply the case by the positive and retain the nonnegative remainder . If , set . Thus
For any requested tolerance, the Archimedean property supplies making the right side smaller. Hence for by ; gives zero for every positive index. At the sequence is constantly one. At , the even and odd subsequences are one and minus one, so uniqueness and subsequence inheritance exclude convergence. If , Bernoulli with gives . If , by the same argument, contradicting boundedness of any convergent real sequence. These cases exhaust all real ratios.
Use these elementary geometric facts: the unit circle has circumference and enclosed area , with the same in both formulas; planar area is invariant under rotations, finitely additive for regions with disjoint interiors, and monotone under inclusion.
Let be measured in radians and put . On the unit circle, is the arc length, so is the fraction of the full circumference subtended by the angle. Divide the circle into equal-angle sectors. Rotations carry each sector onto the next, so all have equal area. Their interiors are disjoint and together they fill the disk; finite additivity gives area for each. Thus a sector with rational fraction of a turn has area .
For arbitrary in this range, choose rational numbers with . Taking all sectors from the same initial ray, the corresponding sectors are nested by inclusion, so area monotonicity and the rational case give
Taking yields . This establishes the sector-area formula used in the geometric comparison.
All limits in this section use radians. For , compare the areas of the inner triangle, unit-circle sector, and outer tangent triangle:
The sector area is specifically because is in radians. Divide through and use positive cosine to obtain
For , the area comparison above also gives and . Using ,
Thus as . Since cosine is even, the same limit holds from the left.
As , cosine tends to one, so the squeeze principle gives . The quotient is an even function of , giving the same left limit. The squeeze principle itself follows from the finite-limit definition: if lower and upper functions are both within any prescribed tolerance of , every number between them is too.
Two consequences are
For the first, divide by . For the second, use to get one half times . In particular .
Definition
A subsequence of is where are positive integers. If , then every subsequence converges to because and therefore eventually lies beyond any prescribed index.
Theorem
Every bounded real sequence has a convergent subsequence.
Proof
Place every term in a closed bounded interval . Bisect it. At least one half contains infinitely many terms; choose that half as . Continue, obtaining nested closed intervals of lengths tending to zero, each containing infinitely many terms. Choose indices strictly increasing with ; this is possible because each interval contains infinitely many terms. Completeness gives a common point in all intervals: the supremum of their left endpoints lies in each interval because every left endpoint is at most every right endpoint. Since , their distance is at most the interval length and tends to zero.
The conclusion is about a subsequence, not necessarily the whole sequence. For example, has constant subsequences converging to and , but does not converge.
Work on the real line in the usual classical set-theoretic setting, with countable witness selections available. A set is open when every in has some with contained in . We use the Archimedean consequence that tends to zero. For every subset of the real line, the following conditions are equivalent:
Proof of 2 implies 1. Suppose belongs to and tends to . If were outside , openness would give with disjoint from . Convergence gives a threshold after which , contradicting in . Therefore belongs to .
Proof of 1 implies 2. Fix outside . If no positive-radius interval around avoided , then for every positive integer there would be a point in with . Choose these witnesses as a sequence. Given , choose with . For , , so tends to . Condition 1 would force into , a contradiction. Hence some interval around avoids . This holds for every point of the complement, proving it open. The witness-sequence step uses the stated classical setting; this proof is not offered as a theorem about choice-free foundations. If is empty there is no sequence in , and its complement is the whole open line. If is the whole line, its empty complement is open vacuously. Both edge cases also satisfy the equivalence.
A set is compact if every family of open sets whose union contains has a finite subfamily still covering . A set is closed if it contains all limits of convergent sequences of its points, equivalently if its complement is open. Sequential compactness means every sequence in has a subsequence converging to a member of .
The empty set is compact, closed and bounded, and sequentially compact vacuously. In proofs using a selected point or an infinite sequence, treat that case separately. We may assume the real completeness property and its nested-interval and Bolzano–Weierstrass consequences from the earlier sequence units.
For , the following are equivalent: compactness by open covers; closedness and boundedness; sequential compactness.
Compact implies closed and bounded. The intervals , , cover , hence . A finite subcover gives a bound. To show closedness, take . For each , the interval avoids . A finite subfamily covers . Let be the minimum of their positive half-distances to . Every point in the chosen interval centered at has distance from strictly greater than . Thus misses , showing its complement open. If is empty this is immediate.
Closed and bounded implies compact. Enclose nonempty in a closed bounded interval . Suppose an open cover of has no finite subcover. Bisect . At least one closed half meets in a set not finitely coverable; otherwise two finite collections would cover . Choose such a half and repeat. We obtain nested closed intervals with lengths tending to zero, and not finitely coverable. Each intersection is nonempty; choose . The nested-interval property gives a unique common point , and because both lie in . Closedness gives . Some member of the cover contains , and openness gives a ball around inside . For large , the whole interval lies in that ball, so alone covers , a contradiction.
Closed and bounded implies sequentially compact. Every sequence in is bounded, so Bolzano–Weierstrass supplies a convergent subsequence. Closedness retains its limit in .
Sequentially compact implies closed and bounded. If unbounded, choose with ; no subsequence can converge to a finite real number, a contradiction. If is a limit of points in , choose with . A subsequence converges to a point of by sequential compactness, but it also converges to ; uniqueness of real limits gives . Thus is closed. This completes all implications.
Fix an integer and the Euclidean norm on . A set is bounded if it lies in some finite-radius ball, closed if its complement is open, and compact if every cover by open subsets of has a finite subcover. We use real completeness, including the nested closed interval property.
Theorem. A set is compact if and only if it is closed and bounded. The empty set satisfies all three properties.
Compact implies bounded. The open balls , an integer, cover . A finite subcover puts inside the largest of these balls.
Compact implies closed. Suppose and . The balls , , cover . Choose a finite subcover with centers and set . If lies in the ball centered at , the triangle inequality gives . Hence misses , so the complement is open.
Closed and bounded implies compact. Let nonempty be closed and bounded. Enclose it in a closed cube with . Suppose an open cover of has no finite subcover. Divide each coordinate interval into two closed halves. The resulting closed subcubes cover . At least one subcube has intersection with that is not finitely coverable by the given family; otherwise the finite union of the finite subcovers would cover . Select such a subcube and repeat. This produces nested closed cubes with side length and not finitely coverable, hence nonempty.
For each coordinate, the nested interval property gives a common coordinate value. Together these give . Every pair of points in has distance at most , so the intersection contains only . Choose . Then . A closed set contains such a limit: if were in its open complement, a ball around would eventually contain outside , a contradiction. Thus .
One member of the cover contains , and openness gives for some . For sufficiently large , every point of is within of , so alone covers . This contradicts the selection of . Therefore every open cover has a finite subcover. The number is finite; replacing it by infinitely many subpieces would invalidate this argument.
Theorem. If is compact and is continuous relative to , then is compact. In particular, a continuous on nonempty compact is bounded and attains its maximum and minimum.
Proof. An open cover of pulls back to relatively open sets , with open in . These cover , so finitely many suffice. Their corresponding cover , proving compactness. For scalar , the image is nonempty, closed and bounded by the theorem already proved in dimension one. Let . For each , the definition of supremum supplies with . Then , and closedness places in the image. Thus the maximum is attained. Applying the same argument to gives the minimum. This proves existence, not a formula for the maximizing input.
Definition
A function is uniformly continuous on if for every there exists such that for all , implies . The chosen can depend on but not on or .
Theorem
Every continuous real-valued function on a compact set is uniformly continuous.
Proof
If uniform continuity failed, some would permit, for every , points with but . Compactness supplies a subsequence . Since the paired distances tend to zero, also . Continuity gives both and , contradicting the output separation.
Worked example
The function is continuous on but not uniformly continuous there. Take and . Then , but . On any closed bounded interval, Heine–Cantor does give uniform continuity. It is also direct: if , then .
Develop the proof behind integrability statements and distinguish boundedness from integrability. Let and be bounded on . For a partition , put , , and define , . The lower integral is the supremum of all lower sums; the upper integral is the infimum of all upper sums. Refining a partition makes lower sums nondecreasing and upper sums nonincreasing.
For any two partitions , their common refinement gives , so . Boundedness ensures these quantities are finite. The function is Riemann integrable when they agree.
The bounded function is integrable if and only if for every there is a partition with .
Proof. If the two integrals equal , choose a lower sum above and an upper sum below , using supremum and infimum approximation. Their common refinement has gap less than . Conversely the inequalities force the integral gap to be zero when such partitions exist for every positive .
Proof
A continuous function on a compact interval is uniformly continuous. Given and , choose so that points less than apart have output difference less than . A partition with mesh below has oscillation on every subinterval at most that bound, hence . The Darboux criterion yields integrability. For the integral is zero by convention.
Let be finite, and let be bounded. For a partition , write for the lower and upper Darboux sums. We use real completeness and the proved Darboux criterion: equality of lower and upper integrals is equivalent to arbitrarily small . This packet does not assume continuity of .
Darboux implies every fine tagged sum converges. Let the Darboux integral be . Given , choose a fixed partition with gap below . Choose with , and let be the number of interior partition points of . For any other partition , mark as bad every cell whose closure contains one of those points. Their total length is at most , because each point belongs to at most two cells. Every remaining cell lies within a single cell. The contribution of all good cells to the oscillation sum is at most the gap for ; the bad cells contribute at most . Thus
Take . Every tagged sum and lie between and , so , independently of tags.
The converse. Suppose all sufficiently fine tagged sums are within of a common finite . Fix one such fine partition. Each cell supremum and infimum can be approximated by actual function values with error below . The resulting upper-approximating tagged sum exceeds , and the lower-approximating sum is below . Therefore and . Since can be arbitrarily small, the Darboux criterion gives integrability. Lower and upper bounds on tagged sums then identify its integral as . Suprema need not be attained for this argument.
Linearity, constants and order. For integrable and real , on any common tagged partition the exact finite identity is . Its limit exists, so the equivalence just proved gives integrability and the corresponding linear integral identity. The constant function has every sum equal to . If , their tagged sums with the same tags obey the same order; their limits do too. Consequently whenever .
Absolute values. The reverse triangle inequality gives on every cell : apply and approximate the suprema/infima. Thus every Darboux gap for is at most the gap for , and is integrable. Since , order and linearity give .
Restriction and interval addition. For , refine any small-gap partition by . The nonnegative gaps on and sum to the refined whole gap; each can therefore be arbitrarily small. Both restrictions are integrable. Join partitions of the two pieces with meshes tending to zero. The exact sum on the joined partition is the sum of the two tagged sums, so passage to their three limits gives . Conversely, if both restrictions are bounded integrable, join two partitions with gaps below ; the resulting whole gap is below , proving whole integrability and the same identity. At a shared endpoint both restrictions use the same value of ; no endpoint term has positive interval length. Set equal-bound integrals to zero and reversed-bound integrals to the negative. Splitting a finite interval and cancellation now extend addition to every ordering of its three endpoints.
These proofs justify the estimates used in accumulation, continuous FTC, integration by parts and proper substitution. They assert bounded proper Riemann statements only, and do not replace the separate convergence definitions at singularities or infinite endpoints.
Definition
Suppose is defined at points arbitrarily close to other than . We write if for every there is such that and in the domain imply . The function is continuous at when it is defined there and this limit equals . For endpoints use the corresponding one-sided limit.
When the domain contains points arbitrarily close to on both sides, the two-sided limit exists exactly when the left- and right-hand limits both exist and agree. Polynomial functions are continuous everywhere, rational functions where the denominator is nonzero, and sums, products, quotients with nonzero denominator, and compositions of continuous functions are continuous where defined. In radian measure the standard limit is ; it supports the derivative of sine later. Limits at and describe the two directions separately; neither infinity is a real input.
Theorem
If is continuous on , it attains a maximum and a minimum there. If lies between and , then for some . Closedness, boundedness and continuity matter for the extrema assertion; continuity on an open interval alone need not give extrema.
Proof
Assume and let . The set is nonempty and bounded above, so exists. Continuity rules out because then nearby points to the right would also be in ; it rules out because points of arbitrarily close to would then have values above . Therefore . Endpoint equality is immediate, and reversing the inequalities handles the other order.
Read differentiability as linear approximation, handle zero inner increments in the chain rule, construct a differentiable function with discontinuous derivative, and state sufficient hypotheses for a local differentiable inverse. Unless an endpoint is explicitly mentioned, the function is defined on an open neighborhood of the point.
Differentiability at means a finite limit of the difference quotient. Equivalently,
Define the error quotient for nonzero and give it value zero at zero. This form is the precise content of a tangent approximation. It implies continuity by letting the increment tend to zero, but does not by itself supply a numerical error constant or a bound on the second derivative.
A vertical or one-sided infinite slope is not a finite derivative under this definition. At a domain endpoint, a one-sided derivative may be a separately named object; it must not be silently identified with an unavailable two-sided derivative.
Suppose is differentiable at , is differentiable at , and the nearby composition is defined. Write
with . Let . Continuity of ensures . Substitution gives
This proof never divides by , which may be zero for infinitely many increments. The familiar product of two difference quotients needs an extra case when its proposed denominator is zero; the error-function proof includes that case automatically.
For a quotient , the requirement plus continuity of gives a neighborhood where . Thus the quotient is locally defined and its derivative formula can be justified. Merely writing a squared denominator in the final answer does not prove this local domain fact.
Use proper integrals of continuous functions on finite closed intervals, their proved additivity/order/linearity, the completeness and Archimedean properties, and the intermediate value theorem. Define
with oriented bounds. Every integral here is proper: its interval stays a positive distance from zero.
Continuity and strict increase. For , additivity and order give . Near any fixed , restrict . Then , proving continuity without using a logarithmic derivative.
The product law from actual sums. Fix . Scaling a tagged partition of the interval between and by scales its mesh by and its widths by . The corresponding sums satisfy
Both are sums of continuous proper integrands, so their all-mesh limits are equal. For reverse orientation; is zero directly. Hence and
In particular , and . As , the latter values are unbounded above by the Archimedean property; the reciprocal values are unbounded below. For any real , choose positive arguments with below and above . Continuity and the intermediate value theorem give an with . Strict increase makes that unique.
Construct and control the inverse. Define as this inverse. It is strictly increasing and continuous. To prove continuity at , choose . The numbers have positive gaps. If is smaller than both gaps, monotonicity forces , so . The product law and uniqueness yield , and . Define and for . It follows that and , since . For integer exponents these equal repeated products; for rational , , the definition is the unique positive th root of . Thus it agrees with the elementary positive rational powers and gives their continuous real extension. In particular , and the area logarithm is its inverse .
Derivatives without a cycle. For , the average of on the interval between and , with the sign of and orientation both retained, lies between its smallest and largest values on that interval. Both bounds tend to . Thus
For and , put . Inverse continuity gives , and
The denominator limit is nonzero, so the reciprocal is justified. This proves and from proper area and inverse continuity, with neither l'Hopital nor a previously assumed exponential derivative. The chain rule then gives on by , and for . The case is the constant one. This supplies the normalization and identity bridge between the area logarithm, the inverse exponential and the real-power notation.
Fermat's necessary condition. At a differentiable interior local maximum or minimum, .
Proof. At a local maximum, sufficiently small positive increments give nonpositive difference quotients and negative increments give nonnegative ones. A two-sided derivative can satisfy both sign limits only by being zero. Negating the function treats a minimum.
The interior hypothesis matters: on has extrema at endpoints despite derivative 1. The converse fails: has zero derivative at zero but no extremum there.
Rolle's theorem. If , is continuous on , differentiable on and , then for some .
Proof. The extreme-value theorem supplies maximum and minimum. If the function is constant, every interior point works. Otherwise a value differs from the equal endpoint values, so either a maximum or a minimum occurs in the interior. Fermat's condition applies there.
Mean value theorem. Under the same continuity and differentiability hypotheses but without equal endpoint values, some satisfies .
Subtract the secant line from and apply Rolle. This proves the theorem without assuming is continuous. Consequences include: derivative zero on an interval makes the function constant; nonnegative derivative makes it nondecreasing; and on an interval gives for points in it. An interval-wide derivative bound cannot be inferred from one derivative value.
Let be a real interval and let be continuous and strictly monotone. Its image is an interval: every value between two image values is attained between their preimages by the intermediate value theorem. Strict monotonicity makes bijective. Its inverse is continuous relative to . Indeed fix and . If has a point below , choose with ; this is possible by the interval property. If there is no such point, every inverse value is already at least . Similarly, when there are points above , choose in . The positive numbers and for the sides that exist have a positive minimum ; if neither side exists, and continuity is immediate. For with , monotonicity places between the chosen brackets, on each side that exists. Thus . This argument works for increasing and decreasing functions and for included endpoints.
If is interior to , is differentiable at and , continuity and strict monotonicity give an open output interval around . For in that interval put . Injectivity gives , inverse continuity gives , and
The nonzero limit justifies the reciprocal and proves existence of the inverse derivative. No derivative continuity is required once strict monotonicity on the interval has been established.
For in , the addition formulas give : the midpoint lies strictly between and , and . Thus sine is strictly increasing on this closed interval; its endpoint values are . For , , since both sine factors are positive. Cosine is therefore strictly decreasing on , and its endpoint values are . Thus their continuous principal inverses have domains and ranges and , respectively. Tangent is continuous on and is strictly increasing there: for in that interval, , because and both cosine factors are positive. As its argument tends to the endpoints from within, its sine tends to or and its cosine tends to zero through positive values. Hence tangent tends to and . IVT gives its range and a continuous inverse into that open interval. The inverse difference quotient therefore applies to all three branches at every interior input. The positive square-root signs in the following formulas follow from cosine being positive on the arcsine interior range and sine being positive on the arccosine interior range.
Let be on an open interval around and suppose . Then on a smaller interval it is one-to-one, its image is an interval around , and its inverse is continuously differentiable there with
Proof. By derivative continuity, shrink so that has a fixed nonzero sign and stays bounded away from zero. The mean value theorem makes strictly monotone on that interval. Continuity and the intermediate value theorem make its image an interval, and the two-sided neighborhood of gives nearby output values on both sides of . The inverse is continuous: images of nearby points on opposite sides of an input bracket its inverse value. For near ,
using inverse continuity and the nonzero derivative. The derivative formula is continuous because and the inverse are continuous and the denominator remains nonzero. Thus existence, continuity and differentiation have all been justified in that order.
These are sufficient hypotheses, not necessary ones. The function has a continuous inverse despite a zero derivative at zero, but its inverse has no finite derivative there. Conversely a nonzero derivative at one point, without suitable neighborhood information, does not alone guarantee local injectivity.