Notation for a "scalar absolute field"?

Click For Summary
SUMMARY

The discussion focuses on the notation for calculating a scalar absolute field derived from a vector field V in three-dimensional space. The proposed formula is F = ||∫_s|V|ds||, emphasizing that vectors in opposite directions add to the magnitude rather than canceling each other out. The Python code using NumPy demonstrates how to compute this scalar value from a 4-dimensional array representing a 3D vector. The example illustrates the forces exerted by two masses in a 2D space, leading to the calculation of the resultant vector and its absolute value.

PREREQUISITES
  • Understanding of vector calculus and integration
  • Familiarity with Python programming and NumPy library
  • Knowledge of gravitational and electromagnetic fields
  • Basic concepts of normalization in vector mathematics
NEXT STEPS
  • Study vector calculus applications in physics
  • Learn advanced NumPy techniques for multidimensional arrays
  • Explore normalization methods in vector analysis
  • Investigate the mathematical foundations of gravitational and electromagnetic fields
USEFUL FOR

Physicists, data scientists, and software developers working with vector fields and numerical simulations, particularly those interested in gravitational and electromagnetic force calculations.

timjdoom
Messages
6
Reaction score
3
TL;DR
I have a mathematical expression which I'm unsure of the formal representation or name of. The best way I can think to describe it is as a "scalar absolute field".
The notation I think best describes it is

## F = \lVert\int^{space}_s|\vec{V}|ds\rVert ##

So you have a vector field V in a 3d space. For each point you integrate over all of space (similar to a gravitational or electromagnetic field) *but* vectors in opposite directions do not cancel, they add to the magnitude (i.e. you integrate the absolute of the vector). Then finally you want the scalar value, so you normalise the vector.

For context the python (numpy) code to express it is given say a 4-dimensional array `vec` (a 3D vector in 3D space) might be

Python:
xyz = np.array([np.sum(dimension) for dimension in np.abs(vec)])
field = np.sum(xyz**2, axis=0)**0.5

Example for gravitation (or charge) in a 2D space
- You have a mass ##M_a## at position a, exerting a force ##\vec{F_a} = -3\hat{x} +3\hat{y}## on point p.
- Next you have a force ##M_b## at position b, exerting a force ##\vec{F_b} = +2\hat{x} +2\hat{y}## on point p.
- The vector force at point p is therefore ##\vec{F_p} = \vec{F_a}+\vec{F_b} = -1\hat{x} +5\hat{y}##
- Meaning the absolute of the vector is ##|\vec{F_p}| = 1\hat{x} + 5\hat{y}##, and normalising would give you the scalar of ##\lVert\vec{F_p}\rVert = \sqrt{1^2+5^2} = \sqrt{26}##
- What I need is ##|\vec{F_a}|+|\vec{F_b}| = (|-3|+|2|)\hat{x}+ (|3|+|2|)\hat{y} = 5\hat{x}+5\hat{y}##, which gives you the scalar ##\lVert|\vec{F_p}|\rVert = \sqrt{5^2+5^2} = \sqrt{50}##
 
Mathematics news on Phys.org
Just integrate the scalar rho/r2 for gravity, and whatever other magnitude you have for other forces? No need to invent more notation.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
3K
Replies
12
Views
2K
Replies
5
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
20
Views
2K
  • · Replies 25 ·
Replies
25
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K