1. Find the expression for $\frac{dy}{dx}$ by integrating $\frac{d^2y}{dx^2}$.
d y d x = ∫ ( sin 3 x − cos 1 2 x ) d x \frac{dy}{dx} = \int \left(\sin 3x - \cos \frac{1}{2}x\right) dx d x d y = ∫ ( sin 3 x − cos 2 1 x ) d x
d y d x = − 1 3 cos 3 x − 2 sin 1 2 x + c \frac{dy}{dx} = -\frac{1}{3}\cos 3x - 2\sin \frac{1}{2}x + c d x d y = − 3 1 cos 3 x − 2 sin 2 1 x + c
2. Use the given gradient at $Q$ to find the constant of integration $c$.
At x = π 3 x = \frac{\pi}{3} x = 3 π , d y d x = 1 \frac{dy}{dx} = 1 d x d y = 1 :
1 = − 1 3 cos ( 3 ( π 3 ) ) − 2 sin ( 1 2 ( π 3 ) ) + c 1 = -\frac{1}{3}\cos\left(3\left(\frac{\pi}{3}\right)\right) - 2\sin\left(\frac{1}{2}\left(\frac{\pi}{3}\right)\right) + c 1 = − 3 1 cos ( 3 ( 3 π ) ) − 2 sin ( 2 1 ( 3 π ) ) + c
1 = − 1 3 cos ( π ) − 2 sin ( π 6 ) + c 1 = -\frac{1}{3}\cos(\pi) - 2\sin\left(\frac{\pi}{6}\right) + c 1 = − 3 1 cos ( π ) − 2 sin ( 6 π ) + c
1 = − 1 3 ( − 1 ) − 2 ( 1 2 ) + c 1 = -\frac{1}{3}(-1) - 2\left(\frac{1}{2}\right) + c 1 = − 3 1 ( − 1 ) − 2 ( 2 1 ) + c
1 = 1 3 − 1 + c 1 = \frac{1}{3} - 1 + c 1 = 3 1 − 1 + c
1 = − 2 3 + c ⟹ c = 5 3 1 = -\frac{2}{3} + c \implies c = \frac{5}{3} 1 = − 3 2 + c ⟹ c = 3 5
So, d y d x = − 1 3 cos 3 x − 2 sin 1 2 x + 5 3 \frac{dy}{dx} = -\frac{1}{3}\cos 3x - 2\sin \frac{1}{2}x + \frac{5}{3} d x d y = − 3 1 cos 3 x − 2 sin 2 1 x + 3 5
3. Find the expression for $y$ by integrating $\frac{dy}{dx}$.
y = ∫ ( − 1 3 cos 3 x − 2 sin 1 2 x + 5 3 ) d x y = \int \left(-\frac{1}{3}\cos 3x - 2\sin \frac{1}{2}x + \frac{5}{3}\right) dx y = ∫ ( − 3 1 cos 3 x − 2 sin 2 1 x + 3 5 ) d x
y = − 1 9 sin 3 x + 4 cos 1 2 x + 5 3 x + d y = -\frac{1}{9}\sin 3x + 4\cos \frac{1}{2}x + \frac{5}{3}x + d y = − 9 1 sin 3 x + 4 cos 2 1 x + 3 5 x + d
4. Use the coordinates of $Q$ to find the constant of integration $d$.
At x = π 3 x = \frac{\pi}{3} x = 3 π , y = 2 3 y = 2\sqrt{3} y = 2 3 :
2 3 = − 1 9 sin ( 3 ( π 3 ) ) + 4 cos ( 1 2 ( π 3 ) ) + 5 3 ( π 3 ) + d 2\sqrt{3} = -\frac{1}{9}\sin\left(3\left(\frac{\pi}{3}\right)\right) + 4\cos\left(\frac{1}{2}\left(\frac{\pi}{3}\right)\right) + \frac{5}{3}\left(\frac{\pi}{3}\right) + d 2 3 = − 9 1 sin ( 3 ( 3 π ) ) + 4 cos ( 2 1 ( 3 π ) ) + 3 5 ( 3 π ) + d
2 3 = − 1 9 sin ( π ) + 4 cos ( π 6 ) + 5 π 9 + d 2\sqrt{3} = -\frac{1}{9}\sin(\pi) + 4\cos\left(\frac{\pi}{6}\right) + \frac{5\pi}{9} + d 2 3 = − 9 1 sin ( π ) + 4 cos ( 6 π ) + 9 5 π + d
2 3 = 0 + 4 ( 3 2 ) + 5 π 9 + d 2\sqrt{3} = 0 + 4\left(\frac{\sqrt{3}}{2}\right) + \frac{5\pi}{9} + d 2 3 = 0 + 4 ( 2 3 ) + 9 5 π + d
2 3 = 2 3 + 5 π 9 + d 2\sqrt{3} = 2\sqrt{3} + \frac{5\pi}{9} + d 2 3 = 2 3 + 9 5 π + d
d = − 5 π 9 d = -\frac{5\pi}{9} d = − 9 5 π
Equation of the curve:
y = − 1 9 sin 3 x + 4 cos 1 2 x + 5 3 x − 5 π 9 y = -\frac{1}{9}\sin 3x + 4\cos \frac{1}{2}x + \frac{5}{3}x - \frac{5\pi}{9} y = − 9 1 sin 3 x + 4 cos 2 1 x + 3 5 x − 9 5 π
Answer y = − 1 9 sin 3 x + 4 cos 1 2 x + 5 3 x − 5 π 9 y = -\frac{1}{9}\sin 3x + 4\cos \frac{1}{2}x + \frac{5}{3}x - \frac{5\pi}{9} y = − 9 1 sin 3 x + 4 cos 2 1 x + 3 5 x − 9 5 π