Achievable logoAchievable logo
AP Calculus AB
Sign in
Sign up
Purchase
Textbook
Practice exams
Support
How it works
Exam catalog
Mountain with a flag at the peak
Textbook
Introduction
1. Limits
2. Derivative basics
3. Advanced differentiation
3.1 Chain rule
3.2 Implicit differentiation
3.3 Higher order derivatives
3.4 Logarithmic differentiation
3.5 Derivatives of inverse functions
3.6 Inverse trig derivatives
4. Contextual uses
5. Analytical uses
6. Integration
7. Differential equations
8. Applications of integrals
Wrapping up
Achievable logoAchievable logo
3.3 Higher order derivatives
Achievable AP Calculus AB
3. Advanced differentiation
Our AP Calculus AB course is now in "early access" - get 50% off for a limited time.

Higher order derivatives

6 min read
Font
Discuss
Share
Feedback

What you’ll learn

  • How to find the 2nd derivative with implicit differentiation

In the previous section, we found the first derivative of a curve by implicitly differentiating. The first derivative tells you the slope of the tangent line - how y changes as x changes - and whether the curve is increasing or decreasing as you move from left to right.

Differentiating the first derivative gives the second derivative, denoted y′′ or dx2d2y​. The second derivative describes how the slope itself is changing, which helps reveal the shape of a curve.

For implicit equations, finding the 2nd derivative often requires implicitly differentiating twice.

Using implicit differentiation, the first derivative of a circle

x2+y2=25

was found to be

dxdy​=−yx​

To find the second derivative, implicitly differentiate both sides again with respect to x.

dxd​(dxdy​)=dxd​(−yx​)

The left side becomes dx2d2y​, the second derivative.

On the right side, use the quotient rule. Remember to use the chain rule when differentiating a term involving y with respect to x. For readability, the 1st derivative dxdy​ will be written as y′.

dx2d2y​​=−(y2y(1)−x(y′)​)=−y2y−xy′​​

Since y′=−yx​, substitute this in:

dx2d2y​​=−y2y−x(−yx​)​=−y2y+yx2​​​

Simplifying,

dx2d2y​​=−y2yy2​+yx2​​=−y2yx2+y2​​=−y3x2+y2​​

Because the original equation tells us x2+y2=25, we can also write:

dx2d2y​=−y325​

Example

Evaluate dx2d2y​ at the point (1,−2) for

2x4−xy=y2

Solution

Step 1: Find dxdy​

(spoiler)

Differentiating implicitly,

8x3−(x⋅dxdy​+y)=2y⋅dxdy​

Solve for dxdy​ by combining like terms:

8x3−x⋅dxdy​−y−x⋅dxdy​−2y⋅dxdy​−dxdy​(x+2y)dxdy​(x+2y)dxdy​​=2y⋅dxdy​=y−8x3=y−8x3=8x3−y=x+2y8x3−y​​

Step 2: Find dx2d2y​

(spoiler)

To find the 2nd derivative, implicitly differentiate again while applying the quotient rule. For readability, dxdy​ is written as y′.

dx2d2y​=(x+2y)2(x+2y)(24x2−y′)−(8x3−y)(1+2y′)​​

Step 3: Evaluate at the point

(spoiler)

To evaluate at (1,−2), we also need the value of y′ at the point.

y′​=x+2y8x3−y​=1+2(−2)8(1)3−(−2)​=1−48+2​=−310​​

Then the value of dx2d2y​ at (1,−2) equals

dx2d2y​​=(x+2y)2(x+2y)(24x2−y′)−(8x3−y)(1+2y′)​=(1−4)2(1−4)(24+310​)−(8+2)(1+2(310​))​=9(−3)(382​)−(10)(323​)​=−27476​​

Challenge problem

Consider the curve defined by the equation:

ax2+bxy+y2=12

where a and b are constants.

a) If the tangent line to the curve at the point (2,4) has a slope of 1, find the values of a and b.

b) Evaluate dx2d2y​ at (2,4).

Solutions

a) Find a and b.

(spoiler)

Differentiating implicitly (noting that a and b are constants):

a(2x)+b(x⋅dxdy​+y)+2y⋅dxdy​=0

Solving for dxdy​,

2ax+bx⋅dxdy​+by+2y⋅dxdy​dxdy​(bx+2y)dxdy​​=0=−2ax−by=bx+2y−2ax−by​​

If the tangent line at (2,4) has a slope of 1, then dxdy​=1 when x=2 and y=4. Substitute these values:

112b+84a+6b​=b(2)+2(4)−2a(2)−b(4)​=2b+8−4a−4b​=−4a−4b=−8​

This is one equation relating a and b. To get a second equation, use the equation of the original curve at (2,4):

ax2+bxy+y2a(2)2+b(2)(4)+(4)24a+8b​=12=12=−4​

Solve the system of equations

4a+6b4a+8b​=−8=−4​​

to obtain

a=−5b=2

b) Evaluate dx2d2y​ at (2,4).

(spoiler)

Since a=−5 and b=2,

dxdy​=bx+2y−2ax−by​=2x−10y10x−2y​=x−5y5x−y​

Then to find the 2nd derivative, implicitly differentiate:

dx2d2y​=(x−5y)2(x−5y)(5−y′)−(5x−y)(1−5y′)​

At (2,−4), the 1st derivative is

y′=2−5(−4)5(2)−(−4)​=2+2010+4​=2214​=117​

Then substituting into the 2nd derivative,

dx2d2y​​=(2−5(−4))2(2−5(−4))(5−117​)−(5(2)−(−4))(1−5(117​))​=222(22)(1148​)−(14)(−1124​)​=1331348​​

Second derivative via implicit differentiation

  • Second derivative = derivative of the first derivative; notation: dx2d2y​
  • Found by implicitly differentiating twice with respect to x
  • After second differentiation, substitute the expression for y′ to simplify

Key technique: substituting y′

  • After applying quotient/chain rule a second time, replace y′ with the first-derivative expression
  • Substitute original equation constraints (e.g., x2+y2=25) to further simplify result
  • Example result for circle: dx2d2y​=−y3x2+y2​=−y325​

Evaluating at a point

  • Calculate y′ at the given point first, then substitute into the dx2d2y​ expression
  • Both x, y, and y′ values must be substituted simultaneously
  • Use original curve equation to find unknown constants before differentiating, if needed
All rights reserved ©2016 - 2026 Achievable, Inc.

Higher order derivatives

What you’ll learn

  • How to find the 2nd derivative with implicit differentiation

In the previous section, we found the first derivative of a curve by implicitly differentiating. The first derivative tells you the slope of the tangent line - how y changes as x changes - and whether the curve is increasing or decreasing as you move from left to right.

Differentiating the first derivative gives the second derivative, denoted y′′ or dx2d2y​. The second derivative describes how the slope itself is changing, which helps reveal the shape of a curve.

For implicit equations, finding the 2nd derivative often requires implicitly differentiating twice.

Using implicit differentiation, the first derivative of a circle

x2+y2=25

was found to be

dxdy​=−yx​

To find the second derivative, implicitly differentiate both sides again with respect to x.

dxd​(dxdy​)=dxd​(−yx​)

The left side becomes dx2d2y​, the second derivative.

On the right side, use the quotient rule. Remember to use the chain rule when differentiating a term involving y with respect to x. For readability, the 1st derivative dxdy​ will be written as y′.

dx2d2y​​=−(y2y(1)−x(y′)​)=−y2y−xy′​​

Since y′=−yx​, substitute this in:

dx2d2y​​=−y2y−x(−yx​)​=−y2y+yx2​​​

Simplifying,

dx2d2y​​=−y2yy2​+yx2​​=−y2yx2+y2​​=−y3x2+y2​​

Because the original equation tells us x2+y2=25, we can also write:

dx2d2y​=−y325​

Example

Evaluate dx2d2y​ at the point (1,−2) for

2x4−xy=y2

Solution

Step 1: Find dxdy​

(spoiler)

Differentiating implicitly,

8x3−(x⋅dxdy​+y)=2y⋅dxdy​

Solve for dxdy​ by combining like terms:

8x3−x⋅dxdy​−y−x⋅dxdy​−2y⋅dxdy​−dxdy​(x+2y)dxdy​(x+2y)dxdy​​=2y⋅dxdy​=y−8x3=y−8x3=8x3−y=x+2y8x3−y​​

Step 2: Find dx2d2y​

(spoiler)

To find the 2nd derivative, implicitly differentiate again while applying the quotient rule. For readability, dxdy​ is written as y′.

dx2d2y​=(x+2y)2(x+2y)(24x2−y′)−(8x3−y)(1+2y′)​​

Step 3: Evaluate at the point

(spoiler)

To evaluate at (1,−2), we also need the value of y′ at the point.

y′​=x+2y8x3−y​=1+2(−2)8(1)3−(−2)​=1−48+2​=−310​​

Then the value of dx2d2y​ at (1,−2) equals

dx2d2y​​=(x+2y)2(x+2y)(24x2−y′)−(8x3−y)(1+2y′)​=(1−4)2(1−4)(24+310​)−(8+2)(1+2(310​))​=9(−3)(382​)−(10)(323​)​=−27476​​

Challenge problem

Consider the curve defined by the equation:

ax2+bxy+y2=12

where a and b are constants.

a) If the tangent line to the curve at the point (2,4) has a slope of 1, find the values of a and b.

b) Evaluate dx2d2y​ at (2,4).

Solutions

a) Find a and b.

(spoiler)

Differentiating implicitly (noting that a and b are constants):

a(2x)+b(x⋅dxdy​+y)+2y⋅dxdy​=0

Solving for dxdy​,

2ax+bx⋅dxdy​+by+2y⋅dxdy​dxdy​(bx+2y)dxdy​​=0=−2ax−by=bx+2y−2ax−by​​

If the tangent line at (2,4) has a slope of 1, then dxdy​=1 when x=2 and y=4. Substitute these values:

112b+84a+6b​=b(2)+2(4)−2a(2)−b(4)​=2b+8−4a−4b​=−4a−4b=−8​

This is one equation relating a and b. To get a second equation, use the equation of the original curve at (2,4):

ax2+bxy+y2a(2)2+b(2)(4)+(4)24a+8b​=12=12=−4​

Solve the system of equations

4a+6b4a+8b​=−8=−4​​

to obtain

a=−5b=2

b) Evaluate dx2d2y​ at (2,4).

(spoiler)

Since a=−5 and b=2,

dxdy​=bx+2y−2ax−by​=2x−10y10x−2y​=x−5y5x−y​

Then to find the 2nd derivative, implicitly differentiate:

dx2d2y​=(x−5y)2(x−5y)(5−y′)−(5x−y)(1−5y′)​

At (2,−4), the 1st derivative is

y′=2−5(−4)5(2)−(−4)​=2+2010+4​=2214​=117​

Then substituting into the 2nd derivative,

dx2d2y​​=(2−5(−4))2(2−5(−4))(5−117​)−(5(2)−(−4))(1−5(117​))​=222(22)(1148​)−(14)(−1124​)​=1331348​​

Key points

Second derivative via implicit differentiation

  • Second derivative = derivative of the first derivative; notation: dx2d2y​
  • Found by implicitly differentiating twice with respect to x
  • After second differentiation, substitute the expression for y′ to simplify

Key technique: substituting y′

  • After applying quotient/chain rule a second time, replace y′ with the first-derivative expression
  • Substitute original equation constraints (e.g., x2+y2=25) to further simplify result
  • Example result for circle: dx2d2y​=−y3x2+y2​=−y325​

Evaluating at a point

  • Calculate y′ at the given point first, then substitute into the dx2d2y​ expression
  • Both x, y, and y′ values must be substituted simultaneously
  • Use original curve equation to find unknown constants before differentiating, if needed

More from Advanced differentiation

  • Chain rule
  • Implicit differentiation
  • Logarithmic differentiation
  • Derivatives of inverse functions
  • Inverse trig derivatives