NEETJEE.guru
MathematicsJEE

Second Derivative Worked Example: y = x³ + tan x

By Admin 13 November 2026 Updated 27 November 2026 7 min read 14 views
On this page· 13 sections
Overview

Source & scope. Class 12 Mathematics, Chapter 5 Continuity and Differentiability, Section 5.7, Example 35. Builds on: Second Order Derivative — Definition and Notation. Next: Second Derivative ODE Verification: y = A sin x + B cos x.

Source & scope. Class 12 Mathematics, Chapter 5 Continuity and Differentiability, Section 5.7, Example 35. Builds on: Second Order Derivative — Definition and Notation. Next: Second Derivative ODE Verification: y = A sin x + B cos x.

For y = x³ + tan x, the second order derivative is d²y/dx² = 6x + 2sec²x·tan x — found by differentiating once to get dy/dx = 3x² + sec²x, then differentiating that result again, applying the chain rule to sec²x. This is a direct, self-contained illustration of the mechanics of computing a second derivative when the first derivative itself contains a composite trigonometric term.

At a glance

  • First derivative: dy/dx = 3x² + sec²x (power rule on x³, standard derivative of tan x).
  • Second derivative requires differentiating sec²x again, which needs the chain rule.
  • d/dx(sec²x) = 2 sec x·d/dx(sec x) = 2 sec x·sec x tan x = 2sec²x tan x.
  • Final result: .

Learning objectives

  • Differentiate y = x³ + tan x once to find dy/dx.
  • Differentiate dy/dx a second time, correctly applying the chain rule to sec²x.
  • Recognise sec²x as a composite function requiring extra care in the second differentiation step.
  • State the full second-derivative result clearly.

Prerequisite knowledge

The reader should know the power rule, the standard derivative d/dx(tan x) = sec²x, the chain rule, and the definition of the second order derivative (cross-reference the sibling Second Order Derivative — Definition and Notation article).

Core explanation

Step 1 — the first derivative

Given y = x³ + tan x. Differentiating term by term:

Step 2 — the second derivative

To find d²y/dx², differentiate dy/dx = 3x² + sec²x once more with respect to x:

The first piece is easy: d/dx(3x²) = 6x.

The second piece, d/dx(sec²x), needs the chain rule, since sec²x = (sec x)². Treating sec x as the "inner function" u and squaring as the "outer function":

(using the standard derivative d/dx(sec x) = sec x tan x, recapped from Class 11).

Step 3 — combine

d²y/dx² = 6x + 2 sec²x tan x

This is the final second order derivative of y = x³ + tan x.

Key terms

  • Second order derivative — the derivative of the derivative, d²y/dx² or y''.
  • — shorthand for (sec x)², requiring the chain rule when differentiated.
  • Chain rule — needed here because sec²x is a composite expression, not a simple standard form.

Diagram / figure guidance

Sketch a simple flowchart: "y = x³+tan x" → (differentiate) → "dy/dx = 3x²+sec²x" → (differentiate again, chain rule on sec²x) → "d²y/dx² = 6x+2sec²x tan x" — three boxes connected by arrows labelled "differentiate."

Worked example

Find d²y/dx² for y = x³ + tan x, and evaluate it at x = 0.

Step 1 — first derivative. dy/dx = 3x² + sec²x.

Step 2 — second derivative. d²y/dx² = 6x + 2sec²x tan x (derived above).

Step 3 — evaluate at x = 0. d²y/dx²|₀ = 6(0) + 2sec²(0)tan(0) = 0 + 2(1)(0) = 0.

Conclusion. d²y/dx² = , and this equals 0 at x = 0.

Common misconceptions

  • "d/dx(sec²x) = 2 sec x sec x = 2sec²x, without a tan x factor." This skips the chain rule entirely — differentiating sec x itself gives sec x tan x, not just sec x, so the extra tan x factor is essential.
  • "The second derivative of tan x is just sec²x again." d/dx(tan x) = sec²x is the FIRST derivative; differentiating sec²x again (the second derivative step) requires the chain rule and produces 2sec²x tan x, not sec²x unchanged.
  • "Differentiating a sum means differentiating only the harder term." Both terms (x³ and tan x, then 3x² and sec²x) must be differentiated at each stage — the power-rule term is easy but not skippable.
  • "The final answer should not contain both sec and tan together." A mixed expression like 2sec²x tan x is a completely normal, fully simplified final answer in this chapter — there's no requirement to reduce it to a single trig function.

Exam application (JEE)

This type of problem — finding a second derivative of a sum involving a standard trig derivative — tests whether a student remembers to apply the chain rule on the second differentiation pass, a step many students skip because the first derivative (sec²x) looks like a "final form" rather than something requiring one more round of differentiation.

Frequently asked questions

  • What is the second derivative of y = x³ + tan x? d²y/dx² = 6x + 2sec²x tan x.
  • Why does differentiating sec²x need the chain rule? Because sec²x is (sec x)², a composite expression — you must differentiate the "squaring" outer layer and the sec x inner layer separately, then multiply.
  • What is the first derivative of y = x³ + tan x? dy/dx = 3x² + sec²x.
  • What is the standard derivative of sec x used in this problem? d/dx(sec x) = sec x tan x, recalled from the Class 11 derivative rules.
  • What does d²y/dx² equal at x = 0 for this function? It equals 0, since both terms (6x and 2sec²x tan x) vanish at x = 0.

Practice questions (original practice questions)

  1. The first derivative of y = x³ + tan x is:
    • (a) 3x² + tan²x
    • (b) x² + sec²x
    • (c) 3x² + sec²x
    • (d) 3x² + sec x tan x
    • Answer: (c) — Power rule plus the standard tan x derivative.
  2. d/dx(sec²x) equals:
    • (a) sec²x tan x
    • (b) 2 sec²x tan x
    • (c) 2 sec x tan x
    • (d) sec x tan²x
    • Answer: (b) — Chain rule: 2 sec x · sec x tan x.
  3. The second derivative of y = x³ + tan x is:
    • (a) 6x + sec²x
    • (b) 6x + 2sec²x tan x
    • (c) 6 + 2sec²x tan x
    • (d) 3x² + 2sec²x tan x
    • Answer: (b) — Combine 6x with the chain-rule result for sec²x.
  4. At x = π/4, tan x = 1 and sec²x = 2. The value of 2sec²x tan x there is:
    • (a) 2
    • (b) 4
    • (c) 1
    • (d) 8
    • Answer: (b) — 2(2)(1) = 4.
  5. Which rule is essential for the SECOND differentiation step in this problem but not the first?
    • (a) Power rule
    • (b) Chain rule, applied to sec²x
    • (c) Product rule
    • (d) Quotient rule
    • Answer: (b) — The first derivative needs only the power rule and the standard tan x result; the second needs the chain rule on sec²x.

Quick revision

  • dy/dx = 3x² + sec²x.
  • d²y/dx² = 6x + 2sec²x tan x (chain rule needed on sec²x).
  • At x = 0, d²y/dx² = 0.
  • A clean illustration of needing the chain rule on the second differentiation pass.

Related articles

NCERTMathematicsClass 12
Rate this article
No ratings yetSign in to rate

0 Comments

Sign in to join the discussion.

Second Derivative of x³+tan x — JEE Notes | NEETJEE.guru