1
$\begingroup$

I would like to get The first five derivatives of (1 + x)^a for x = 0 using Table.

I can do it for x, but I do not know how to do it for x = 0.

$\endgroup$
  • 1
    $\begingroup$ If you managed for any x, you can add /.x->0 at the end of your code. $\endgroup$ – anderstood Nov 5 '16 at 15:59
  • 1
    $\begingroup$ Table[D[(1 + x)^a, {x, i}], {i, 1, 5}] /. x -> 0 $\endgroup$ – corey979 Nov 5 '16 at 16:40
  • $\begingroup$ This should be an application of induction (without Mathematica ;-) ) and one would come up with Product[a - i, {i, 0, n-1}] for the n. derivative $\endgroup$ – mgamer Nov 5 '16 at 18:50
  • 1
    $\begingroup$ Possible duplicate of Table the 8 first derivatives of Sin[x] $\endgroup$ – Michael E2 Nov 5 '16 at 23:27
2
$\begingroup$

In addition to using Replace you can define the derivatives using Function.

Table[
  Function[
    x,
    D[(1 + x)^a, {x, n}]
    ][x], 

  {n, 1, 5}
  ] // Column

Mathematica graphics

| improve this answer | |
$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.