Find the constant in a tangent line to a sine curve

Question MM3-068 Complex familiar 4 marks Technology-free

Unit 3 Topic 2: Differentiation of trigonometric functions and differentiation rules

The question

The line \(y=2x+c\) is a tangent to the curve \(y=4\sin (x)\), for \(0\le x\le \pi\).

Determine the exact value of \(c\).

The idea. The line has gradient 2, so it touches the curve where the derivative equals 2. Find that point, then make the line pass through it.

Figure for question MM3-068The curve y equals 4 sin x rises from the origin to a peak of 4 at x equals pi on 2 and falls back to the x-axis at x equals pi. The orange line y equals 2x plus c touches it at x equals pi on 3, where y equals 2 root 3, and crosses the y-axis at c, about 1.37.1234xy
The tangent touches where the curve's gradient is 2.

The answer, one mark at a time

  1. The tangent's gradient must match the curve's gradient, so differentiate the curve first. The derivative of \(\sin(x)\) is \(\cos(x)\).

    \[y = 4\sin(x)\]
    \[\frac{dy}{dx} = 4\cos(x)\]

    determines the derivative [1 mark]

  2. The line \(y = 2x + c\) has gradient 2, so the tangent touches where the derivative equals 2. Solve, keeping only \(x\) between 0 and \(\pi\).

    \[4\cos(x) = 2\]
    \[\cos(x) = \frac{1}{2}\]
    \[x = \frac{\pi}{3} \quad (\text{the only solution in } 0 \le x \le \pi)\]

    matches the gradient and solves in the domain [1 mark]

  3. Put \(x = \frac{\pi}{3}\) into the curve to find the point of contact.

    \[y = 4\sin\left(\frac{\pi}{3}\right) = 4 \times \frac{\sqrt{3}}{2}\]
    \[y = 2\sqrt{3}\]

    determines the point of contact [1 mark]

  4. The line passes through \(\left(\frac{\pi}{3}, 2\sqrt{3}\right)\). Substitute the point into \(y = 2x + c\) and solve for \(c\).

    \[2\sqrt{3} = 2 \times \frac{\pi}{3} + c\]
    \[c = 2\sqrt{3} - \frac{2\pi}{3}\]

    determines the exact value of \(c\) [1 mark]

Answer

\(\displaystyle c = 2\sqrt{3} - \frac{2\pi}{3}\)

Watch for. Setting \(4\sin(x) = 2x + c\) straight away leaves two unknowns. Match the gradients first to find where the tangent touches.