Thread Closed

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

 
Share Thread Thread Tools
Sep16-09, 11:01 AM   #1
 

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


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.
 
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> Front-row seats to climate change
>> Attacking MRSA with metals from antibacterial clays
>> New formula invented for microscope viewing, substitutes for federally controlled drug
Sep16-09, 02:04 PM   #2
 
Mentor
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.
 
Sep16-09, 02:25 PM   #3
 
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.
 
Sep17-09, 10:15 AM   #4
 
Mentor

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


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.
 
Sep17-09, 11:47 AM   #5
 
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...fs/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???
 
Sep18-09, 02:47 PM   #6
 
Mentor
That is the same as the first question. The sets A and B are cones.
 
Thread Closed
Thread Tools


Similar Threads for: plot both sets and I want to highlight the intersection of A and B.
Thread Forum Replies
Help with plotting in Mathematica Math & Science Software 13
Plotting (& not plotting) Asymptotes in Mathematica Math & Science Software 2
Plotting in Mathematica Math & Science Software 6
Help with plotting in Mathematica Math & Science Software 1
Plotting in gnuplot Computing & Technology 2