Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Math notation 2 #483

Merged
merged 4 commits into from
Apr 26, 2020
Merged

Math notation 2 #483

merged 4 commits into from
Apr 26, 2020

Conversation

hollasch
Copy link
Collaborator

Update math notation.

  • Eliminate vector barbs
  • Points get uppercase bold
  • Vectors get lowercase bold

Points are uppercase bold, vectors are lowercase bold, no barb.
Points are uppercase bold, vectors are lowercase bold, no barb.
Points are uppercase bold, vectors are lowercase bold, no barb.
@hollasch hollasch added this to the v3.1.0 milestone Apr 18, 2020
@hollasch hollasch requested a review from a team April 18, 2020 18:53
@hollasch hollasch self-assigned this Apr 18, 2020
Comment on lines 389 to 391
along a ray. Let’s think of a ray as a function $\mathbf{P}(t) = \mathbf{A} + t \mathbf{b}$. (Note:
throughout these books, we'll use uppercase bold letters for points, and lowercase bold letters for
vectors.) Here $\mathbf{P}$ is a 3D position along a line in 3D. $\mathbf{A}$ is the ray origin and
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if this note is necessary. It's a level of formalism that I question for the series

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I'll pull it.

Recall that the equation for a sphere centered at the origin of radius $R$ is $x^2 + y^2 + z^2 =
R^2$. Put another way, if a given point $(x,y,z)$ is on the sphere, then $x^2 + y^2 + z^2 = R^2$. If
the given point $(x,y,z)$ is _inside_ the sphere, then $x^2 + y^2 + z^2 < R^2$, and if a given point
$(x,y,z)$ is _outside_ the sphere, then $x^2 + y^2 + z^2 > R^2$.

It gets uglier if the sphere center is at $(\mathbf{c}_x, \mathbf{c}_y, \mathbf{c}_z)$:
It gets uglier if the sphere center is at $(\mathbf{C}_x, \mathbf{C}_y, \mathbf{C}_z)$:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if we discussed this, but I think components of a vector should be stylized as scalars, i.e.
$(c_x, c_y, c_z)$

Not sure if they should be upper case or lower case: $C_x% or $c_x$

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed — this is a mistake. Will fix.

Copy link
Collaborator Author

@hollasch hollasch Apr 21, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tried to keep the scalar components with the same case as their source. Vector components are lowercase, point components are uppercase.


$$ (x-\mathbf{c}_x)^2 + (y-\mathbf{c}_y)^2 + (z-\mathbf{c}_z)^2 = R^2 $$
$$ (x-\mathbf{C}_x)^2 + (y-\mathbf{C}_y)^2 + (z-\mathbf{C}_z)^2 = r^2 $$
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vector component styling

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@hollasch hollasch merged commit e0a3bd5 into dev-minor Apr 26, 2020
@hollasch hollasch deleted the math-notation-2 branch April 26, 2020 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants