Trigonometric and exponential calculus
Use radians, preserve composite domains and verify standard derivatives, antiderivatives and a recovered curve against its original conditions.
More
Offline pages
Saved on this device only. Connect at least once every 30 days to confirm Premium. Sign-out or a change of account removes saved copies.
Find this activity in your course
On this page
You stopped at:
ContinueRevision Mode is on. Questions and activities are hidden.
Standard derivatives have conditions
The power, chain, product and quotient rules still apply when a function contains trigonometric, exponential or logarithmic terms. First identify the original domain and the changing input, then choose the rule. The following trigonometric derivatives use radians.
| Function | Derivative | Condition |
|---|---|---|
| sin x | cos x | Every real x, in radians |
| cos x | −sin x | Every real x, in radians |
| tan x | sec²x = 1/cos²x | cos x ≠ 0, with x in radians |
| eˣ | eˣ | Every real x |
| ln x | 1/x | x > 0 |
The derivative of tan x is undefined at the same excluded inputs as the original function: x = π/2 + kπ for integer k. A formula’s appearance does not remove an original restriction.
Do not change angle mode silently
If θ is a numerical angle measured in degrees, sin(θ°) means sin(πθ/180) when expressed in radians. The chain rule therefore gives
At θ = 0, the derivative with respect to that degree-valued input is π/180, rather than 1. Changing a calculator’s display setting does not change the variable in a mathematical model. Unless stated otherwise below, trigonometric inputs are in radians.
An outer derivative needs the inner rate
For y = sin(3x + 1), the chain rule gives y′ = 3 cos(3x + 1). The 3 is the rate at which the inner angle changes with x. Similarly, y = e^(2x-5) gives y' = 2e^(2x-5), and y = tan(2x) gives y′ = 2sec²(2x) wherever cos(2x) ≠ 0.
For y = ln(4x + 3), the original logarithm requires 4x + 3 > 0, hence x > −3/4. Its derivative is 4/(4x + 3) on that domain. The rational expression can be evaluated for some other x-values, but it cannot supply derivatives at points where the original logarithm does not exist.
The input to the logarithm must be positive; x itself need not be. For y = ln(x²), the original domain is x ≠ 0 and
This derivative is valid on either side of zero. Replacing ln(x²) by 2ln x would incorrectly discard the negative branch; the identity valid on the full original domain is ln(x²) = 2ln|x|.
Check your understanding 1 A rational derivative does not extend the logarithm
For y = ln(4 − x²), state the maximal real domain and find y′. A proposal substitutes x = 3 into the derivative formula and reports a gradient of 6/5. Decide whether this is a gradient of the original curve there, giving a reason.
Show answer
The logarithm requires 4 − x² > 0, so −2 < x < 2. The chain rule gives y′ = −2x/(4 − x²) on that interval. The rational formula has value 6/5 at x = 3, but ln(4 − 9) is not real. There is no original curve point there and therefore no tangent gradient to report. The boundary inputs x = ±2 are excluded too, because their logarithm argument is zero.
Combine the standard and algebraic rules
For y = x sin x, both factors change. The product rule gives y′ = sin x + x cos x, rather than x cos x alone. For y = x ln x, it gives y′ = ln x + 1 on x > 0.
For y = (ln x)/x, use the quotient rule with numerator derivative 1/x and denominator derivative 1:
The denominator condition x ≠ 0 alone would be insufficient: the original numerator still requires x > 0. A simplified answer keeps the full original domain.
A derivative also supports decisions about the function. For y = sin(2x) on 0 ≤ x ≤ π/2, y′ = 2cos(2x). Its only interior zero is x = π/4. The derivative changes from positive to negative there, so y = 1 is the maximum; both endpoint values are zero. This agrees with the known range of sine and uses the stated radian interval.
Check your understanding 2 Use the logarithm’s domain when finding the maximum
For f(x) = ln x − x, find and justify its greatest value on its maximal real domain. Give both the input and the function value; a derivative zero alone is not a classification.
Show answer
The domain is x > 0. The derivative is 1/x − 1 = (1 − x)/x, which is positive for 0 < x < 1 and negative for x > 1. Thus the function increases up to x = 1 and decreases afterwards throughout its domain, proving a global maximum there. Its greatest value is f(1) = 0 − 1 = −1. The excluded input zero is not an extra candidate.
Reverse the inner scale when integrating
An antiderivative G of f satisfies G′ = f. Since adding a constant does not change a derivative, the indefinite integral represents G + C. Use the derivative relationships above in reverse, and verify the proposed result by differentiating it.
For a linear input ax + b with a ≠ 0, the constant inner derivative must be undone:
| Integrand | Antiderivative family |
|---|---|
| cos(ax + b) | sin(ax + b)/a + C |
| sin(ax + b) | −cos(ax + b)/a + C |
| e^(ax + b) | e^(ax + b)/a + C |
For example, ∫cos(3x + 1) dx = sin(3x + 1)/3 + C. Differentiation multiplies by 3 and recovers the original cosine. For ∫ e^(-2x) dx, the result is -e^(-2x)/2 + C: differentiating multiplies by −2, so the two negative signs cancel. If a = 0, integrate the constant integrand directly rather than dividing by zero.
Also ∫sec²x dx = tan x + C on a continuous tangent branch. For example, on −π/2 < x < π/2 the derivative of tan x is the required sec²x. This formula cannot justify an ordinary definite integral across x = π/2, where the integrand is undefined, merely because tangent values can be written at the two endpoints.
The missing n = −1 power case is
on an interval not crossing zero. For x > 0, this is ln x + C. For x < 0, ln|x| = ln(−x), whose derivative is (1/(−x))(−1) = 1/x. The two intervals may have different constants; neither expression defines a value at zero.
A condition selects a member of a family. For example, y′ = eˣ gives y = eˣ + C. If y(0) = 3, then 3 = 1 + C, so y = eˣ + 2. Check both the derivative and the given point.
Check your understanding 3 The sign and inner factor both matter
Differentiate y = cos(2x)-3e^(-x), then find its indefinite integral. Explain why differentiating and integrating require different inner factors, and verify your antiderivative by differentiation.
Show answer
The derivative is -2 sin(2x) + 3e^(-x). Differentiating the cosine contributes the inner factor 2; differentiating -3e^(-x) contributes the inner factor −1 as well as the coefficient −3.
The antiderivative is sin(2x)/2 + 3e^(-x) + C. Differentiating this gives cos(2x)-3e^(-x), recovering the original expression. Dividing by the linear inner factor reverses differentiation; multiplying by it again would not.
Try it yourself 1
Use a derivative identity to recover the curve
Problem
Let F(x) = eˣsin x, with x in radians. Differentiate F, then use your result to find the curve satisfying y′ = eˣ(sin x + cos x) and y(0) = 2. A proposal integrates the two factors separately, multiplies the results, and chooses a constant to give y = eˣ(sin x − cos x) + 3. Test both the point and derivative conditions of this proposal. Explain whether any different additive constant could repair it.
Write your answer, then compare it with the solution
Hints
Hint 1
Check the whole product before reversing the result
Both factors change when differentiating F. Compare the complete result with the requested gradient function. A curve can pass through the given point while still having the wrong derivative, so test the two conditions independently.
Show full solution
Differentiate the supplied product
Method
Apply the product rule to eˣ and sin x.Reason
Neither factor is constant, and the trigonometric derivative uses radians.Working
Answer
F′(x) = eˣsin x + eˣcos x = eˣ(sin x + cos x). This is exactly the required gradient function on the real line.Recover the family and use the point
Method
Reverse the verified derivative identity, then substitute x = 0.Reason
An antiderivative family differs by a constant, which the stated point determines.Working
Answer
y = eˣsin x + C. At x = 0, the product is 1 × 0 = 0, so y(0) = 2 gives C = 2. The required curve is y = eˣsin x + 2. Its derivative is the original gradient and its value at zero is 2.Test the proposed curve independently
Method
Check its point and differentiate its whole product.Reason
Multiplying separate antiderivatives is not a rule for integrating a product.Working
Answer
At zero, the proposal gives 1(0 − 1) + 3 = 2, so it satisfies the point condition. Its derivative is eˣ(sin x − cos x) + eˣ(cos x + sin x) = 2eˣsin x. At x = 0 this is zero, whereas the required derivative is 1. It fails the original gradient condition despite passing through the correct point.Decide what a constant can change
Method
Identify the effect of changing only the additive constant.Reason
Every additive constant differentiates to zero.Working
Answer
No additive constant can change the proposal’s derivative 2eˣsin x into the required eˣ(sin x + cos x). The original product-integration error must be corrected. The supplied derivative identity gives a valid route without inventing a product integration rule.
Quick check
Compare the original domain, angle unit, full derivative and initial point. A different valid method is welcome if it satisfies both original conditions. These are self-review criteria; matching one point does not establish the whole function, and the integration constant cannot correct a wrong derivative.
Keep track of this lesson
Mark the lesson done when you have worked through it.
Lesson progress is optional and kept on this device.
Loading lesson controls…
Your lesson mark records your own study. Checks are kept separately in My Learning.