Find two unknown constants, then a tangent

Question MM3-312 Simple familiar 5 marks Technology-free

Unit 3 Topic 4: Introduction to integration

The question

The gradient of a curve is given by \(\frac{dy}{dx}=k\sin (2x)+3\), where \(k\) is a constant.

The curve passes through the points \((0,1)\) and \((\frac{\pi }{4},\frac{3\pi }{4})\).

  1. (a) Determine an expression for \(y\) in terms of \(x\), \(k\) and a constant of integration \(c\). [1 mark]
  2. (b) Determine the values of \(k\) and \(c\). [2 marks]
  3. (c) Determine the equation of the tangent to the curve at the point where \(x=\frac{\pi }{2}\). [2 marks]

The idea. There are two unknowns, \(k\) and \(c\), and two points, so each point gives you one equation. Start with the point where \(\cos(2x) = 0\): the \(k\) term vanishes there.

Figure for question MM3-312Two given points, 0, 1 and pi on 4, 3 pi on 4, both lie on the curve y equals cos 2x plus 3x, which climbs from left to right with gentle wobbles. At x equals pi on 2 the tangent is the straight line y equals 3x minus 1.246xy

The answer, one mark at a time

  1. Part (a)

    Antidifferentiate. \(\sin(2x)\) gives \(-\frac{1}{2}\cos(2x)\), so \(k\sin(2x)\) gives \(-\frac{k}{2}\cos(2x)\). Keep \(k\) as a letter.

    \[y = \int \left(k\sin(2x) + 3\right) dx\]
    \[y = -\frac{k}{2}\cos(2x) + 3x + c\]

    antidifferentiates [1 mark]

  2. Part (b)

    Use \(\left(\frac{\pi}{4},\, \frac{3\pi}{4}\right)\) first. There \(\cos\left(\frac{\pi}{2}\right) = 0\), so \(k\) drops out and you get \(c\) straight away.

    \[-\frac{k}{2}\cos\left(\frac{\pi}{2}\right) + \frac{3\pi}{4} + c = \frac{3\pi}{4}\]
    \[0 + \frac{3\pi}{4} + c = \frac{3\pi}{4}\]
    \[c = 0\]

    uses a point to determine \(c\) [1 mark]

  3. Now use \((0,\, 1)\) with \(c = 0\). At \(x = 0\), \(\cos 0 = 1\).

    \[-\frac{k}{2}\cos(0) + 3(0) + 0 = 1\]
    \[-\frac{k}{2} = 1\]
    \[k = -2\]

    uses the other point to determine \(k\) [1 mark]

  4. Part (c)

    With \(k = -2\) and \(c = 0\) the curve is \(y = \cos(2x) + 3x\). Find the point at \(x = \frac{\pi}{2}\), and the gradient there from \(\frac{dy}{dx}\) with \(k = -2\).

    \[y = \cos(\pi) + \frac{3\pi}{2} = \frac{3\pi}{2} - 1\]
    \[\frac{dy}{dx} = -2\sin(2x) + 3\]
    \[m = -2\sin(\pi) + 3 = 3\]

    determines the point and the gradient [1 mark]

  5. Use \(y - y_1 = m(x - x_1)\), then expand. The \(\frac{3\pi}{2}\) terms cancel.

    \[y - \left(\frac{3\pi}{2} - 1\right) = 3\left(x - \frac{\pi}{2}\right)\]
    \[y = 3x - \frac{3\pi}{2} + \frac{3\pi}{2} - 1\]
    \[y = 3x - 1\]

    determines the equation of the tangent [1 mark]

Answer

(a)\(\displaystyle y = -\frac{k}{2}\cos(2x) + 3x + c\)
(b)\(\displaystyle k = -2, \quad c = 0\)
(c)\(\displaystyle y = 3x - 1\)

Watch for. The antiderivative of \(\sin(2x)\) is \(-\frac{1}{2}\cos(2x)\). Dropping the minus sign gives \(y = \frac{k}{2}\cos(2x)\) and \(k = 2\), which is wrong.