Plot both sets and I want to highlight the intersection of A and B.

Click For Summary

Discussion Overview

The discussion revolves around the plotting of two mathematical sets defined in three-dimensional space, specifically focusing on how to visualize their intersection. The sets are described using equations that define conic sections, and participants explore methods for highlighting this intersection in graphical representations.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • Initial definitions of the sets A and B are provided, with A representing a cone and B defined by a condition involving an arbitrary point k.
  • One participant questions the feasibility of displaying a four-dimensional set on a two-dimensional monitor, indicating a potential misunderstanding of the dimensionality of the problem.
  • A correction is made to clarify that the sets should be represented in three dimensions, prompting a revised definition of A and B.
  • Another participant suggests using ContourPlot3D in Mathematica for generating the plots and mentions the need to solve the equations simultaneously to highlight the intersection.
  • It is noted that the intersection of the two conic sections could result in conic shapes like ellipses.
  • A follow-up question is raised regarding the visualization of overlapping cones and how to highlight their intersection, which is seen as related to the original question.
  • One participant reiterates that the sets A and B are indeed cones, emphasizing their geometric nature.

Areas of Agreement / Disagreement

Participants generally agree on the nature of the sets being conic sections and the need for a three-dimensional plot. However, there is no consensus on the specific methods for highlighting the intersection or the best approach to visualize the sets.

Contextual Notes

The discussion includes various assumptions about the dimensionality of the sets and the methods available in Mathematica for plotting. There are unresolved questions regarding the specifics of highlighting the intersection in the graphical representation.

parton
Messages
79
Reaction score
1
I've two problems:

Given are the two sets
[tex]A = \left \lbrace (x_{0}, x_{1}, x_{2}, x_{3}) \in \mathbb{R}^{4} \mid x_{0}^{2} = \vec{x} \, ^{2}, x_{0} \geq 0 \right \rbrace[/tex]
and
[tex]B = \left \lbrace (x_{0}, x_{1}, x_{2}, x_{3}) \in \mathbb{R}^{4} \mid (k_{0} - x_{0})^{2} = (\vec{k} - \vec{x})^{2}, x_{0} \leq k_{0} \right \rbrace[/tex]

where [tex]\vec{x} = (x_{1}, x_{2}, x_{3})[/tex]

and [tex]k = (k_{0}, k_{1}, k_{2}, k_{3})[/tex] should be an arbitrary point (i.e. free of choice, but fix) with [tex]k_{0} > 0[/tex]. For example: [tex]k = (k_{0}, 0, 0, 0)[/tex]

Now I want to plot both sets and I want to highlight the intersection of A and B.

How do I do that? Has someone any idea? I've some basics in Maple and Mathematica, but plotting is not one my strengths.
 
Physics news on Phys.org


How do you plan to display a four-dimensional set on a two-dimensional monitor? Once you have that figured out then programming it should be straightforward, but I have no idea how you plan to do that.
 


I'm sorry, I did a mistake. I need a 3-dimensional plot of the two sets

[tex]A = \left \lbrace (x_{0}, x_{1}, x_{2}) \in \mathbb{R}^{3} \mid x_{0}^{2} = \vec{x} \, ^{2}, x_{0} \geq 0 \right \rbrace[/tex]
and
[tex]B = \left \lbrace (x_{0}, x_{1}, x_{2}) \in \mathbb{R}^{3} \mid (k_{0} - x_{0})^{2} = (\vec{k} - \vec{x})^{2}, x_{0} \leq k_{0} \right \rbrace[/tex]

where [tex]: \vec{x} = (x_{1}, x_{2})[/tex]

and I want to highlight their intersection somehow.
 


You can directly use ContourPlot3D in Mathematica to generate the 3D plot of A and B. I don't know about any way to highlight a region directly. I would guess that you will need to simultaneously solve A and B and then probably use ParametricPlot3D to plot it with some sort of plot style that will make it visible and then Show it together with the ContourPlot3D.

Btw, A and B are cones, so I would assume that their intersections will be conic sections like ellipses etc.
 


Thanks, for you help.

But I have another question neglecting both sets defined above. How can I plot something like this:

http://www.theory.caltech.edu/people/patricia/gifs/glcaus1.gif"

In my case both cones should overlap (so we have to shift one of the cones) and I'd like to highlight the intersection of both. Is that possible and how?
 
Last edited by a moderator:


That is the same as the first question. The sets A and B are cones.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
Replies
2
Views
2K
Replies
2
Views
2K
  • · Replies 25 ·
Replies
25
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K