Does the function solve ? Answering takes two derivatives, each needing the product rule and the chain rule, and seeing where such a function comes from takes complex numbers and Euler’s formula. This lesson collects the calculus used to build and check solutions, with the conditions each tool needs, and settles that question at the end. Throughout, the independent variable is and .
Key terms
Product and chain rules
Definition If and are differentiable at , then so is their product, and
If is differentiable at and is differentiable at , then the composition is differentiable at , and
Both rules need differentiability at the point in question. A formula that differentiates cleanly on each side of a corner, a jump or an excluded point does not by itself give a derivative at that point.
In plain words When two factors both change, each one contributes its own change while the other is held as it is. When one function sits inside another, the rate of the outer layer is multiplied by the rate of the inner layer.
Example For the first factor has derivative , and the second has derivative , where the is the chain rule factor from the inner function . So
Treating the factor as a constant would lose the term . The chain rule also applies when the inner function is the unknown itself. For a differentiable function ,
and the factor is exactly what implicit differentiation produces.
Antiderivatives and constants of integration
Definition An antiderivative of on an interval is a function with for every in . If is one antiderivative, then every antiderivative on is for some constant , because a function with zero derivative on an interval is constant. The indefinite integral names this whole family. On a set made of several separate intervals, the constant can be different on each piece.
Two rules for finding antiderivatives come from the derivative rules. Substitution reverses the chain rule, and integration by parts reverses the product rule. For and continuously differentiable on ,
often written .
In plain words Differentiating erases constants, so going back from a rate to a function brings a free constant with it. The constant stores the starting information that the derivative threw away, and an initial value fixes it.
Example To integrate by parts, take and , so that and . Then
Differentiating the result with the product rule gives back , which confirms it on all of .
Fundamental theorem of calculus
Definition Let be continuous on an open interval and let be a point of . The first part of the theorem says that the function
is differentiable on with . The second part says that for every antiderivative of on and all and in . Consequently the initial-value problem , has exactly one solution on ,
because any two solutions differ by a constant, and that constant is at . The letter is a dummy variable, kept different from the upper limit . Continuity of is the hypothesis. If has a jump at a point, the accumulated function is still continuous there but is not differentiable at that point.
In plain words The value now is the starting value plus everything the rate has added since the start. The lower limit anchors the function at the initial time, and the upper limit lets it move.
Example For with ,
The same formula works when no elementary antiderivative exists. The problem , has the solution on , and the first part of the theorem confirms it directly, since the integrand is continuous.
Exponential and natural logarithm
Definition For every real constant , the function is differentiable on , with
The natural logarithm is defined for and is the inverse of the exponential, so for and for every real . Its derivative is for . Since also has derivative for , on any interval that does not contain
The formula never applies across , where is undefined, and it is used on one of the intervals and at a time.
In plain words An exponential is a function whose rate is proportional to its own value, which is exactly what an equation like asks for. The logarithm undoes the exponential, and the absolute value lets you integrate on the negative side too, but never across zero.
Example Solve for a real constant . On an interval where is never zero, dividing by gives , and the chain rule shows that the left side is the derivative of . Integrating gives , so , which is with . The division has lost the zero function, which also solves the equation. The complete answer is for every real , and the product rule confirms that nothing else is missing. If on an interval, then
so is a constant on that interval.
Complex numbers
Definition A complex number has the form with real numbers and , where the imaginary unit satisfies . The real part is and the imaginary part is . Complex numbers are added part by part and multiplied by expanding brackets and replacing by , so . The conjugate of is and its modulus is , with . Two complex numbers are equal exactly when their real parts are equal and their imaginary parts are equal, so one complex equation carries two real equations.
In plain words A complex number is a point of the plane, with the real part along one axis and the imaginary part along the other. The one new rule, , is all you need to compute with it.
Example The quadratic has discriminant , which is negative, so it has no real roots. The two complex numbers whose square is are , and the quadratic formula gives
To check the root , square it to get . Adding and gives the real part and the imaginary part , so . The two roots are conjugates of each other, as the roots of a real quadratic with negative discriminant always are.
Euler’s formula and the complex exponential
Definition Euler’s formula says that for every real
One way to see it uses the exponential series , which converges for every complex . With the powers of repeat in the cycle , the even-power terms add up to the cosine series, and the odd-power terms add up to times the sine series. The regrouping is allowed because the series converges absolutely. For a complex constant with real and and a real variable , the complex exponential is
The derivative of a complex-valued function of is taken part by part, and with it , the same rule as for a real exponent. If a homogeneous linear equation has real coefficients and a complex-valued function solves it, then its real part and its imaginary part are real solutions. Substituting gives the result for plus times the result for , and a complex number is zero only when both parts are zero.
In plain words The number is the point at angle on the unit circle. For the point turns around that circle as grows, and the real factor scales its distance from the origin. So the real part is an oscillation whose amplitude decays when , grows when and stays fixed when .
Example The root found above makes a solution of , since and give . The coefficients are real, so the real part is a real solution. A direct check with the product and chain rules agrees,
In the cosine coefficients are , and , which add up to , and the sine coefficients are and , which cancel. So the function solves the equation for every real , with and .
Check yourself
- Differentiate and name the rule behind each step.
Show the answer
The product rule with and gives . Here , and the chain rule gives , since the inner function has derivative . So
- A classmate computes the integral below and gets . What is wrong?
Show the answer
The second part of the fundamental theorem needs the integrand to be continuous on the whole interval , and is not even defined at . The antiderivative is valid only on intervals that do not contain , so the computation jumps across the point where the formula breaks down.
The integral is improper at , and it diverges. For ,
which grows without bound as , and the piece over equals , which goes to . So the integral has no value, and in particular it is not . Cancelling the two pieces symmetrically defines a principal value, which is a different notion.
- Find the roots of , use Euler’s formula to write two real solutions of , and check one of them directly.
Show the answer
The discriminant is , so the roots are . For , the function solves the equation by the same argument as in the last key term. The coefficients are real, so its real and imaginary parts
are real solutions. To check , write and . The product and chain rules give
In the cosine coefficients are and , and the sine coefficients are , and , so both groups add up to and the function solves the equation for every real .