Year 12 Calculus: Logarithmic and trigonometric differentiation

Back to Calculus tutorials

Logarithmic and trigonometric functions introduce new derivative rules, but the process is still the same: identify the function type first, then decide whether a rule such as the chain rule is also needed.

Know the base rules first: d(lnx)/dx=1/x, d(sinx)/dx=cosx and d(cosx)/dx=-sinx.

Worked example

Problem: Differentiate y=ln(x2+1)+3sinx.
  1. Differentiate ln(x2+1) using the chain rule: d/dx=(1/(x2+1))*2x=2x/(x2+1).
  2. Differentiate 3sinx: d/dx=3cosx.
  3. Add the derivatives: dy/dx=2x/(x2+1)+3cosx.
Answer:dy/dx=2x/(x2+1)+3cosx.

Rule selection matters

These functions often combine several derivative ideas at once. A logarithm may also need the chain rule. A trigonometric term may be part of a product or quotient. The best habit is to identify the outermost structure first and then decide whether any inner structure needs another rule.

Worked example 2

Problem: Differentiate y=cos(3x)+ln(2x-5).
  1. Differentiate cos(3x) using the chain rule: d/dx=-sin(3x)x3=-3sin(3x).
  2. Differentiate ln(2x-5) using the chain rule: d/dx=1/(2x-5)x2=2/(2x-5).
  3. Add the results: dy/dx=-3sin(3x)+2/(2x-5).
Answer:dy/dx=-3sin(3x)+2/(2x-5).

Common mistakes

  • Writing the derivative of cosx as sinx instead of -sinx.
  • Forgetting the inner derivative in ln(2x-5) or sin(3x).
  • Dropping brackets in fraction derivatives.

This part of calculus feels difficult mainly because several rule families now overlap. A mixed function may require you to recognise the basic derivative rule, the chain rule, and the surrounding algebraic structure all at once. That is normal. The way to make it reliable is to slow down long enough to identify the function type before any differentiation begins.

When revising, say the derivative rule aloud before using it. For example, "the derivative of lnu is u'/u" or "the derivative of cosu is -sinu times u'". Speaking the rule in words often makes sign errors and missing chain-rule factors much easier to catch.

Revision focus

In calculus, one of the best habits is to decide what role the expression is playing before you touch a rule. Is it a product, a composite function, an implicitly defined curve, or an antiderivative problem? That classification step is not wasted time. It is the step that usually determines whether the next line of working will be short and accurate or long and unstable. Strong calculus work looks calm because the structure is identified early, not because the algebra is magically easier.

It is also worth building a habit of interpretation after the algebra is finished. A derivative is not just a formula. It represents a slope, a rate, or a turning condition. An integral is not just a reverse power rule. It may represent accumulated change or a signed area over an interval. If you say that interpretation out loud at the end of each question, the topic becomes much more coherent and your solutions become much easier to check.

Practice links