Tips on writing a formula in rigorous way

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
serbring
Messages
267
Reaction score
2
Dear,

I am writing a report of a tool I have developed where there is a chapter with all the formulas included in the tool. I have a formula like the following:

[tex]P(l,1)=\sum_k PF(k,l)[/tex]

but P(l,1) contains the sum of all the positive PFs, while P(l,2) contains the sum of all the negative PFs. Is there any elegant/rigorous way to write the formula?

thanks best regards
 
Mathematics news on Phys.org
With the Heaviside function: $$P(l,1)=\sum_k PF(k,l) \Theta(PF(k,l))$$
A bit ugly but compact:$$P(l,1)=\sum_{k,PF(k,l)>0} PF(k,l)$$
Maybe like this:$$P(l,1)=\sum_k \begin{cases} PF(k,l) &\mbox{if } PF(k,l)> 0 \\
0 & \mbox{else } \end{cases} $$
If you need this type of sum often, you could introduce it and then shorten it to $$P(l,1)=\sum_k PF(k,l)\: \mbox {where}\: PF(k,l)>0$$
 
  • Like
Likes   Reactions: jedishrfu
Wow! How many options! Thanks

The first one is very elegant, I like it, but not fully clear for everyone. I would go for the last one!