TJS1996 said:
Really struggling on these 2 questions for a Maths assignment, I've got to find dy/dx. Could anyone help me with the working out and answers please?
a) y=3sin(4x)-5+5cos(x/3)+4x
b) dy/dx=4cos(2x)+6 (given that y(0)=7)
Several months has gone by, and so I will now provide the solutions:
a) Differentiate the following with respect to $x$:
$$y=3\sin(4x)-5+5\cos\left(\frac{x}{3} \right)+4x$$
Differentiating term by term, and applying the chain rule as necessary, we find:
$$\frac{dy}{dx}=3\cos(4x)\cdot4-0-5\sin\left(\frac{x}{3} \right)\cdot\frac{1}{3}+4$$
$$\frac{dy}{dx}=12\cos(4x)-\frac{5}{3}\sin\left(\frac{x}{3} \right)+4$$
b) Solve the following IVP:
$$\frac{dy}{dx}=4\cos(2x)+6$$ where $$y(0)=7$$
Switching dummy variables of integration, and using the initial values as the limits of integration, we may write:
$$\int_{y(0)}^{y(x)}\,du=2\int_0^x2\cos(2v)+3\,dv$$
$$y(x)-y(0)=2\left[\sin(2v)+3v \right]_0^x=2\left(\sin(2x)+3x \right)$$
And so the solution satisfying the given conditions is:
$$y(x)=2\left(\sin(2x)+3x \right)+7$$