卡在這題?用 AI 解開它
Calculus · real student question

求 f(x) = x · cos(x + 3) + 7 的導數。

Question

對

f(x)=xcos⁡(x+3)+7f(x) = x\cos(x+3) + 7

微分。

Step-by-step solution

  1. 把函數拆成幾塊。 微分具有線性,所以可以分開處理 xcos⁡(x+3)x\cos(x+3) 與常數 77。任何常數的導數都是 00,所以 +7+7 什麼也不貢獻 —— 它只把圖形上下平移,不改變任何斜率。

  2. 對第一項架起乘法律。 取 u=xu = x 與 v=cos⁡(x+3)v = \cos(x+3):

    ddx[uv]=u′v+uv′\frac{d}{dx}\left[uv\right] = u'v + uv'

  3. 分別微分兩個因式。 u′=1u' = 1。至於 vv,連鎖律給出

    v′=−sin⁡(x+3)⋅ddx(x+3)=−sin⁡(x+3)⋅1=−sin⁡(x+3)v' = -\sin(x+3)\cdot\frac{d}{dx}(x+3) = -\sin(x+3)\cdot 1 = -\sin(x+3)

    內導數是 11,因為引數只是單純的平移;若換成 cos⁡(3x+3)\cos(3x+3),就會多出一個因子 33。

  4. 組出導數。

    f′(x)=1⋅cos⁡(x+3)+x(−sin⁡(x+3))=cos⁡(x+3)−xsin⁡(x+3)f'(x) = 1\cdot\cos(x+3) + x\left(-\sin(x+3)\right) = \cos(x+3) - x\sin(x+3)

  5. 在方便的點做檢查。 在 x=−3x = -3 處引數為 00,所以 f′(−3)=cos⁡0−(−3)sin⁡0=1f'(-3) = \cos 0 - (-3)\sin 0 = 1。步長 10−610^{-6} 的 ff 中央差分在 x=−3x = -3 也回傳 1.0000001.000000。在 x=0x = 0 處:f′(0)=cos⁡3=−0.989992f'(0) = \cos 3 = -0.989992,與數值導數吻合到小數點後六位。

Answer

f′(x)=cos⁡(x+3)−xsin⁡(x+3)f'(x) = \cos(x+3) - x\sin(x+3)

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