I drew a 3d rectangular box on a coordinate plan consisting of x, y, and z. A procedure is to be created that will determine the location of the shadow of the box on one of the coordinate planes. I have trouble thinking in more than 2 dimensions so any help would be greatly appreciated!
2026-03-29 13:40:59.1774791659
Construct a procedure which determines the location of the shadow of a rectangluar box.
60 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in MULTIVARIABLE-CALCULUS
- Equality of Mixed Partial Derivatives - Simple proof is Confusing
- $\iint_{S} F.\eta dA$ where $F = [3x^2 , y^2 , 0]$ and $S : r(u,v) = [u,v,2u+3v]$
- Proving the differentiability of the following function of two variables
- optimization with strict inequality of variables
- How to find the unit tangent vector of a curve in R^3
- Prove all tangent plane to the cone $x^2+y^2=z^2$ goes through the origin
- Holding intermediate variables constant in partial derivative chain rule
- Find the directional derivative in the point $p$ in the direction $\vec{pp'}$
- Check if $\phi$ is convex
- Define in which points function is continuous
Related Questions in COORDINATE-SYSTEMS
- How to change a rectangle's area based on it's 4 coordinates?
- How to find 2 points in line?
- Am I right or wrong in this absolute value?
- Properties of a eclipse on a rotated plane to see a perfect circle from the original plane view?
- inhomogeneous coordinates to homogeneous coordinates
- Find the distance of the point $(7,1)$ from the line $3x+4y=4$ measured parallel to the line $3x-5y+2=0.$
- A Problem Based on Ellipse
- Convert a vector in Lambert Conformal Conical Projection to Cartesian
- Archimedean spiral in cartesian coordinates
- How to find the area of the square $|ABCD|$?
Related Questions in 3D
- Visualization of Projective Space
- Approximate spline equation with Wolfram Mathematica
- Three-Dimensional coordinate system
- Volume of sphere split into eight sections?
- Largest Cube that fits the space between two Spheres?
- Is $ABC$ similar with $A'B'C'$, where $A', B', C'$ are the projections of $A, B, C $ on a plane $\pi $.
- Intersection of a facet and a plane
- Distance from center of sphere to apex of pyramid?
- Looking for hints on the below 3D geometry problem.
- Finding the Euler angle/axis from a 2 axes rotation but that lies on the original 2 axes' plane
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
Assuming that you have a point source light, Find the equation of the line that passes through the light source and one of the vertexes of the box. Then project this line to the appropriate plane. Repeat for all vertexes, and you have the shadow outline. This is known in computer graphics as stencil shadows. If you want some example math, I can do that.
I assume that you know the points of your box (or other shape), and which points are connected by lines. I will use the unit cube $[0,0,0] \rightarrow [1,1,1]$ for simplicity. The light source will be at $(2,2,2)$.
For corner $(0,0,0)$: Ray goes: $(2,2,2) \rightarrow (0,0,0)$: $$\vec r_{ray}=\vec p_{cube}-\vec p_{light} = <0,0,0>-<2,2,2>=<-2,-2,-2>$$ This gives us the direction of the ray. When using a direction vector to characterize a line (this is the 3D slope), we often normalize. Therefore: $$\vec r_{normray}=\frac{\vec r_{ray}}{|\vec r_{ray}|}=<\frac{-1}{\sqrt{3}},\frac{-1}{\sqrt{3}},\frac{-1}{\sqrt{3}}>$$ The equation of a line in 3D is just like the point-slope formula, where the above direction vector is the slope. We already know that the light source must lie on the line, so that's the point we need. We now have all the information to construct the line that describes the light ray. I did not use the normalized form to simplify the algebra. $$\vec r_{lightray}(t)=\vec p_{light}+t\cdot \vec r_{ray}$$ Plug in numbers. $$\vec r_{lightray}(t)=(2,2,2)+t \cdot <-2,-2,-2>$$ For the XY plane, we have $z=0$. Solve $0=2-2t$ (z-coordinate). From that, we get the $t$ to plug into $x$ and $y$, and from that we have the point of the shadow. $$z:0=2-2t \rightarrow t=1$$ $$x:x_{lightray}=2-2(t=1) \rightarrow x_{lightray}=0$$ $$x:y_{lightray}=2-2(t=1) \rightarrow y_{lightray}=0$$ So the shadow corner is at point $(0,0,0)$.
For the XY plane, and box corner $(0,1,1)$. Therefore: $$\vec r_{ray}=\vec p_{cube}-\vec p_{light} = <0,1,1>-<2,2,2>=<-2,-1,-1>$$ $$\vec r_{lightray}(t)=\vec p_{light}+t\cdot \vec r_{ray}$$ $$\vec r_{lightray}(t)=(2,2,2)+t \cdot <-2,-1,-1>$$ $$z:0=2-1t \rightarrow t=2$$ $$x:x_{lightray}=2-2(t=2) \rightarrow x_{lightray}=-2$$ $$x:y_{lightray}=2-1(t=2) \rightarrow y_{lightray}=0$$ Therefore, the shadow point is: $(-2,0,0)$.