Skip to main content
Became Hot Network Question
Tweeted twitter.com/StackMma/status/1331976063489073153
edited tags
Link
oyy
  • 187
  • 7
deleted 1 character in body; edited title
Source Link

Undefinied Undefined Indexed Variable

Hello I searched already a lot about indexed Variables, and it tends to be the most applicable way to use tensor notation. But I am having a hard time to solve for undefined indexed variables:

Here my stylized problem:

F := Table[f[i], {i, 1, n}];

The Derivative gives the correct answer if applied for a specified i=1

D[Sum[f[i], {i, 1, 100}], f[1]]

=1

If I want to solve more generally let say i \in [1,100]$ i \in [1, 100] $

D[Sum[f[i], {i, 1, 100}], f[i]]

=0

Obviously does not work, how can I solve such a problem generally?

Undefinied Indexed Variable

Hello I searched already a lot about indexed Variables, and it tends to be the most applicable way to use tensor notation. But I am having a hard time to solve for undefined indexed variables:

Here my stylized problem:

F := Table[f[i], {i, 1, n}];

The Derivative gives the correct answer if applied for a specified i=1

D[Sum[f[i], {i, 1, 100}], f[1]]

=1

If I want to solve more generally let say i \in [1,100]

D[Sum[f[i], {i, 1, 100}], f[i]]

=0

Obviously does not work, how can I solve such a problem generally?

Undefined Indexed Variable

I searched already a lot about indexed Variables, and it tends to be the most applicable way to use tensor notation. But I am having a hard time to solve for undefined indexed variables:

Here my stylized problem:

F := Table[f[i], {i, 1, n}];

The Derivative gives the correct answer if applied for a specified i=1

D[Sum[f[i], {i, 1, 100}], f[1]]

=1

If I want to solve more generally let say $ i \in [1, 100] $

D[Sum[f[i], {i, 1, 100}], f[i]]

=0

Obviously does not work, how can I solve such a problem generally?

Source Link
oyy
  • 187
  • 7

Undefinied Indexed Variable

Hello I searched already a lot about indexed Variables, and it tends to be the most applicable way to use tensor notation. But I am having a hard time to solve for undefined indexed variables:

Here my stylized problem:

F := Table[f[i], {i, 1, n}];

The Derivative gives the correct answer if applied for a specified i=1

D[Sum[f[i], {i, 1, 100}], f[1]]

=1

If I want to solve more generally let say i \in [1,100]

D[Sum[f[i], {i, 1, 100}], f[i]]

=0

Obviously does not work, how can I solve such a problem generally?