# Derivative Exam Practice

Source: https://cca.twango.dev/AP-Calculus-AB/exams/derivative-practice

# Derivative Exam Practice

The questions and worked solutions below come from the completed practice sheet.
Notation is cleaned up; substantive corrections to the original work are marked.

Original completed sheet: [Derivative exam practice](../assets/HW-Derivatives.pdf).

Related: [[../classwork/solids-of-revolution|Solids of revolution]] and
[[../assignments|Assignments]].

## Implicit differentiation

### 1. Polynomial relation

**Question:** Find $dy/dx$ for $x^3+x^2y+4y^2=6$.

**Solution:** Differentiate both sides and collect the terms containing $y'$:

$$
3x^2+2xy+x^2y'+8yy'=0,
\qquad
\boxed{y'=-\frac{3x^2+2xy}{x^2+8y}}.
$$

> [!NOTE] Correction to the original answer
> The handwritten final fraction drops the leading minus sign. Moving
> $3x^2+2xy$ to the other side requires the negative numerator shown above.

### 2. Square-root relation

**Question:** Differentiate $\sqrt{xy}=1+x^2y$ implicitly.

**Solution:** Apply the chain rule and product rule:

$$
\frac{xy'+y}{2\sqrt{xy}}=2xy+x^2y'.
$$

Multiply through by $2\sqrt{xy}$ and isolate $y'$:

$$
\boxed{y'=\frac{4xy\sqrt{xy}-y}{x-2x^2\sqrt{xy}}}.
$$

### 3. Tangent to a cubic curve

**Question:** Find the tangent to $x^3+y^3=6xy$ at $(3,3)$.
At what points on the curve is the tangent horizontal?

**Solution:** Implicit differentiation gives

$$
3x^2+3y^2y'=6y+6xy',
\qquad
y'=\frac{6y-3x^2}{3y^2-6x}.
$$

At $(3,3)$, the slope is $-1$, so the tangent is

$$
\boxed{y-3=-(x-3)}.
$$

For a regular horizontal tangent, set $6y-3x^2=0$, giving $y=x^2/2$.
Substitution into the original equation gives

$$
x^3+\frac{x^6}{8}=3x^3,
\qquad
x^3\left(\frac{x^3}{8}-2\right)=0.
$$

The nonzero solution is

$$
\boxed{\left(\sqrt[3]{16},\;2^{5/3}\right)}.
$$

> [!note] The origin needs a separate check
> The original work also lists $(0,0)$. The formula for $y'$ is $0/0$ there,
> so setting its numerator to zero does not establish a horizontal tangent.
> The curve is singular at the origin: its lowest-degree equation is $xy=0$,
> giving a horizontal tangent on one branch and a vertical tangent on the other.

### 6. Second derivative of an implicit curve

**Question:** Find $y''$ if $x^4+y^4=16$.

**Solution:** First find $y'=-x^3/y^3$, then differentiate again:

$$
y''=-\frac{3x^2}{y^3}+\frac{3x^3y'}{y^4}
=-\frac{3x^2y^4+3x^6}{y^7}
=-\frac{3x^2(y^4+x^4)}{y^7}.
$$

Using $x^4+y^4=16$ gives

$$
\boxed{y''=-\frac{48x^2}{y^7}}.
$$

### 12. Trigonometric implicit relation

**Question:** Find $dy/dx$ when $x=2\sqrt{4\sin y-6\cos y}$.

**Solution:**

$$
1=\frac{(4\cos y+6\sin y)y'}{\sqrt{4\sin y-6\cos y}},
\qquad
\boxed{y'=\frac{\sqrt{4\sin y-6\cos y}}{4\cos y+6\sin y}}.
$$

## Chain rule and higher derivatives

### 4. Inverse sine

**Question:** Differentiate $y=\sin^{-1}(x^2)$.

**Solution:** Here $\sin^{-1}$ means $\arcsin$:

$$
\boxed{y'=\frac{2x}{\sqrt{1-x^4}}}.
$$

### 5. Jerk

**Question:** Find the jerk of $y=5x^3-6x^2-5x+34$.

**Solution:** Jerk is the third derivative:

$$
y'=15x^2-12x-5,\qquad y''=30x-12,\qquad \boxed{y'''=30}.
$$

### 8. Simplify before differentiating

**Question:** Differentiate $y=\log_a(a^{\cos x})$.

**Solution:** For a valid logarithm base $a>0$, $a\ne1$, the expression
simplifies to $y=\cos x$. Thus

$$
\boxed{y'=-\sin x}.
$$

### 13. Chain rule and product rule together

**Question:** Differentiate $y=\sin(\cos x)+\sin x\cos x$.

**Solution:**

$$
\boxed{y'=-\cos(\cos x)\sin x-\sin^2x+\cos^2x}.
$$

### 14. Repeated inverse-sine question

**Question:** Differentiate $y=\sin^{-1}(x^2)$.

**Solution:** This repeats question 4, with the same result:

$$
\boxed{y'=\frac{2x}{\sqrt{1-x^4}}}.
$$

## Logarithmic differentiation

### 7. Variable base and exponent

**Question:** Differentiate $y=x^x$.

**Solution:** For $x>0$, take logarithms:

$$
\ln y=x\ln x,\qquad \frac{y'}{y}=1+\ln x,
\qquad \boxed{y'=x^x(1+\ln x)}.
$$

### 9. Tangent to a nested logarithm

**Question:** Find the tangent to $y=\ln(\ln x)$ at $(e,0)$.

**Solution:** Since $y'=1/(x\ln x)$, the slope at $x=e$ is $1/e$:

$$
\boxed{y=\frac{x-e}{e}}.
$$

### 10. Logarithm of a product

**Question:** Differentiate $f(x)=\ln\left|\sqrt{6x-1}(4x+5)^3\right|$.

**Solution:** Expand the logarithm before differentiating:

$$
f(x)=\frac12\ln|6x-1|+3\ln|4x+5|,
\qquad
\boxed{f'(x)=\frac{3}{6x-1}+\frac{12}{4x+5}}.
$$

### 11. Product divided by a power

**Question:** Differentiate $y=\dfrac{(\sin2x)(\tan x)^3}{(x+2)^3}$.

**Solution:** On intervals where the factors are nonzero, use logarithmic
differentiation:

$$
\ln|y|=\ln|\sin2x|+3\ln|\tan x|-3\ln|x+2|,
$$

$$
\boxed{
y'=\frac{(\sin2x)(\tan x)^3}{(x+2)^3}
\left(2\cot2x+\frac{3}{\sin x\cos x}-\frac{3}{x+2}\right)
}.
$$

> [!warning] Correction to the handwritten solution
> The original final answer omits $-3/(x+2)$, the derivative of
> $-3\ln|x+2|$. The expression above restores that term.

### 15. Logarithm with base 19

**Question:** Differentiate $y=\log_{19}\left(\dfrac{x+1}{x^2+1}\right)$.

**Solution:** Use the difference of two logarithms:

$$
\boxed{y'=\frac{1}{(\ln19)(x+1)}-\frac{2x}{(\ln19)(x^2+1)}}.
$$

### 16. Exponential exponent

**Question:** Differentiate $y=x^{e^x}$.

**Solution:** For $x>0$,

$$
\ln y=e^x\ln x,\qquad
\frac{y'}{y}=\frac{e^x}{x}+e^x\ln x,
$$

$$
\boxed{y'=x^{e^x}\left(\frac{e^x}{x}+e^x\ln x\right)}.
$$

### 17. A power of an exponential

**Question:** Differentiate $y=\left(\dfrac{1}{b^{2x}}\right)^{2bx}$,
where $b>0$ is constant.

**Solution:**

$$
\ln y=2bx\ln(b^{-2x})=-4bx^2\ln b,
\qquad
\boxed{y'=-8bx\ln b\left(\frac{1}{b^{2x}}\right)^{2bx}}.
$$

## Particle motion

### 18. Speeding up

**Question:** A particle has position $s(t)=t^3-6t^2+9t$. When is it speeding up?

**Solution:**

$$
v(t)=3t^2-12t+9=3(t-1)(t-3),\qquad a(t)=6(t-2).
$$

Speed increases when velocity and acceleration have the same sign. For $t\ge0$,
this occurs on

$$
\boxed{(1,2)\cup(3,\infty)}.
$$
