Calculus · real student question

For y = -(1/2) sin(3.14/3 - x^2), state the domain and find dy/dx.

Question

For

y=12sin ⁣(3.143x2)y=-\frac12\sin\!\left(\frac{3.14}{3}-x^{2}\right)

state the domain and find dydx\dfrac{dy}{dx}.

Step-by-step solution

  1. State the domain first. The sine function accepts every real input, and 3.143x2\frac{3.14}{3}-x^{2} is a polynomial defined for all xx, so the composition is defined everywhere:

    D=R.\mathcal{D}=\mathbb{R}.

    The number 3.143.14 here is a decimal constant (written 3,143{,}14 in comma-decimal notation), not π\pi — it makes no difference to the differentiation, but it matters if you later solve y=0y=0 numerically.

  2. Identify the inner and outer functions. Set

    u=3.143x2,y=12sinu.u=\frac{3.14}{3}-x^{2},\qquad y=-\frac12\sin u.

    Naming the inner function explicitly is what keeps the chain rule honest; the constant 12-\tfrac12 simply rides along as a multiplier.

  3. Differentiate the outer function. Since ddusinu=cosu\frac{d}{du}\sin u=\cos u,

    dydu=12cosu.\frac{dy}{du}=-\frac12\cos u.

    The constant multiple rule lets the 12-\tfrac12 pass straight through the derivative untouched.

  4. Differentiate the inner function and multiply. The constant 3.143\frac{3.14}{3} differentiates to 00, so

    dudx=2x,\frac{du}{dx}=-2x,

    and by the chain rule

    dydx=dydududx=(12cosu)(2x)=xcos ⁣(3.143x2).\frac{dy}{dx}=\frac{dy}{du}\cdot\frac{du}{dx}=\left(-\frac12\cos u\right)(-2x)=x\cos\!\left(\frac{3.14}{3}-x^{2}\right).

    The two minus signs cancel and the 12\tfrac12 cancels against the 22, which is why the tidy answer has coefficient exactly 11.

  5. Check numerically and note the critical points. At x=1.1x=1.1 a central difference of yy gives 1.08535981.0853598, while xcos ⁣(3.143x2)=1.0853598x\cos\!\left(\frac{3.14}{3}-x^{2}\right)=1.0853598 ✓. The derivative vanishes when x=0x=0 or when cos ⁣(3.143x2)=0\cos\!\left(\frac{3.14}{3}-x^{2}\right)=0, i.e. x2=3.143π2kπx^{2}=\frac{3.14}{3}-\frac{\pi}{2}-k\pi — so x=0x=0 is always a critical point, and the others are spaced by the cosine zeros.

Answer

D=R,dydx=xcos ⁣(3.143x2)\mathcal{D}=\mathbb{R},\qquad \frac{dy}{dx}=x\cos\!\left(\frac{3.14}{3}-x^{2}\right)

Need to solve a different problem like this? Open the solver →